joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4100e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwareITSAutomation
push SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x1e8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.HandleId
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x47254c
push 0x400
push eax
call fcn.0044db48
add esp, 0xc
mov dword [ebp - 0x808], 0x400
lea eax, [ebp - 0x80c]
push eax
push 0x20019
push 0
push 0x472558
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410276
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4101e6
cmp dword [ebp - 0x808], eax
jne 0x410229
push 0x472580
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0044db48
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x804]
push 0x47085c
push eax
call fcn.0044aa60
add esp, 8
test eax, eax
je 0x410263
inc eax
push 0x47085c
push eax
call fcn.0044aa60
add esp, 8
test eax, eax
je 0x410263
mov byte [eax], 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0044db48
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00447cbd
mov esp, ebp
pop ebp
ret 8

Function at 0x410290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push 0x4725d4
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 0x64
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x472604
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4102f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x80c]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x808], 0x800
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41038e
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push edi
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x410382
mov eax, dword [ebp - 0x808]
inc eax
push eax
call fcn.0044dcef
mov ecx, dword [ebp - 0x808]
mov esi, eax
lea eax, [ebp - 0x804]
inc ecx
push eax
push ecx
push esi
call fcn.0044db48
add esp, 0x10
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00447cbd
mov esp, ebp
pop ebp
ret 8
Function at 0x4103b0
Capabilities:
Persist via appinit_dlls registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREWOW6432NodeMicrosoftWindows_NTCurrentVersionWindows
mov ebx, ecx
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], 4
call edi
test eax, eax
je 0x410410
mov ecx, 0x51eff8
push 0
push 0
push 1
push 0x12
cmp eax, 2
jne 0x410406
push str.key_not_found
jmp 0x41040b
push str.Access_Denied
call fcn.00417510
lea eax, [ebp - 8]
push eax
lea esi, [ebx + 0x2b4]
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push str.LoadAppInit_DLLs
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x410479
mov ecx, 0x51eff8
push 0
push 0
push 1
push 0x12
cmp eax, 2
jne 0x41045f
push str.key_not_found
call fcn.00417510
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Access_Denied
call fcn.00417510
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi], 1
jne 0x4105bd
push 0x472820
lea eax, [ebp - 0x18]
push 2
push eax
call fcn.0040a640
add esp, 0xc
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREWOW6432NodeMicrosoftWindows_NTCurrentVersionWindows
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [ebp - 0xc]
push eax
lea esi, [ebx + 0x2b8]
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.AppInit_DLLs
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call ebx
mov esi, eax
lea ecx, [esi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov esi, dword [ebp - 0x10]
mov edi, eax
push edi
push 0xffffffffffffffff
add esi, 0x2b8
push esi
push 0
push 0xfde9
call ebx
push 0
push 0
push 1
push 0x12
push edi
mov ecx, 0x51eff8
call fcn.00417510
cmp dword [0x51f484], 0
je 0x4105bd
mov eax, 0x4705a0
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x410558
test cl, cl
je 0x410554
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x410558
add esi, 2
add eax, 2
test cl, cl
jne 0x410538
xor eax, eax
jmp 0x41055d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4105bd
mov ecx, 0x51eff8
mov dword [0x551410], 1
call fcn.0041ba90
push str.An_error_occurred__contact_support_for_assistance___108
push 0x4708bc
mov ecx, 0x51eff8
call fcn.0041b620
push 0x4b
mov ecx, 0x51eff8
mov dword [0x52e298], 0x4b
mov dword [0x50e0a0], 1
call fcn.0041bbb0
mov ecx, 0x51eff8
call fcn.00413790
mov ecx, 0x51eff8
call fcn.004139d0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4105d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push 0x472628
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0xe4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x472648
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410630
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x472588
push SysReAllocString
mov esi, ecx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4725c8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x4725c8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4106c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x472478
push SysReAllocString
mov esi, ecx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
mov dword [ebp - 0x10], 0xa00
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4724b4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x4724b4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410740
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x4724c4
push SysReAllocString
mov esi, ecx
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x472504
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x472504
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4107d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push 0x472740
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 0x64
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x1ec]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x47273c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push 0x4726e0
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 0x64
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x250]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x47273c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push 0x4725d4
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 8], 0x64
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x80]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x472618
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4108f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
add esi, 4
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xa
push 4
push dword [ebp + 0xc]
push dword [esi]
call fcn.0045815f
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x410960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20006
push 0
push 0x472588
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
lea eax, [esi + 8]
push eax
push 4
push 0
push 0x4725c8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4109b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20006
push 0
push 0x472478
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
push esi
push 4
push 0
push 0x4724b4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20006
push 0
push 0x4724c4
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
lea eax, [esi + 8]
push eax
push 4
push 0
push 0x472504
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410a50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x472658
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
lea eax, [esi + 0x18]
push eax
push 4
push 0
push 0x47269c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410aa0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push 0x472658
push SysReAllocString
mov esi, ecx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x47269c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0x47269c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x410b22
mov dword [esi + 0x1e4], 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410b30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x4724c4
push SysReAllocString
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x4724c4
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x4724e8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x410bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.00447f50
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.CANDIDATE
push 0xae
push 0
mov dword [ebp - 0x1854], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x1850], esi
cmp esi, 0x800
jae 0x410c8e
test esi, esi
je 0x410c7a
test edi, edi
je 0x410c35
cmp esi, 0x800
ja 0x410c35
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.0044a380
add esp, 0xc
jmp 0x410c7a
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0044a900
add esp, 0xc
test edi, edi
jne 0x410c5c
call fcn.004529ca
mov dword [eax], 0x16
jmp 0x410c6f
cmp esi, 0x800
jbe 0x410c80
call fcn.004529ca
mov dword [eax], 0x22
call fcn.004528f0
mov esi, dword [ebp - 0x1850]
cmp esi, 0x800
jae 0x410d48
mov byte [ebp + esi - 0x804], 0
lea eax, [ebp - 0x184c]
push eax
push dword [0x49c560]
push 0x49c564
call fcn.00404720
lea eax, [ebp - 0x1850]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404370
mov esi, eax
add esp, 0x14
test esi, esi
je 0x410d32
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1850]
push eax
push esi
call fcn.00404440
mov edi, eax
add esp, 0xc
test edi, edi
je 0x410d2b
mov eax, dword [ebp - 0x1850]
test eax, eax
je 0x410d24
push edi
push eax
lea eax, [ebp - 0x804]
mov ecx, 0x556050
push eax
call fcn.004449c0
lea eax, [ebp - 0x804]
cmp dword [eax], 0x3a444943
jne 0x410d24
lea eax, [ebp - 0x1854]
push eax
lea eax, [ebp - 0x800]
push 0x4707d4
push eax
call fcn.00403220
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1854]
xor ecx, ebp
pop edi
pop esi
call fcn.00447cbd
mov esp, ebp
pop ebp
ret
call fcn.004480d3
int3
Function at 0x410d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.00447f50
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push str.ECMINVERSION
push 0xa5
push 0
mov dword [ebp - 0x1854], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x1850], esi
cmp esi, 0x800
jae 0x410e32
test esi, esi
je 0x410e1e
test ebx, ebx
je 0x410dd9
cmp esi, 0x800
ja 0x410dd9
push esi
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.0044a380
add esp, 0xc
jmp 0x410e1e
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0044a900
add esp, 0xc
test ebx, ebx
jne 0x410e00
call fcn.004529ca
mov dword [eax], 0x16
jmp 0x410e13
cmp esi, 0x800
jbe 0x410e24
call fcn.004529ca
mov dword [eax], 0x22
call fcn.004528f0
mov esi, dword [ebp - 0x1850]
cmp esi, 0x800
jae 0x410f24
mov byte [ebp + esi - 0x804], 0
lea eax, [ebp - 0x184c]
push eax
push dword [0x49c560]
push 0x49c564
call fcn.00404720
lea eax, [ebp - 0x1850]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404370
mov esi, eax
add esp, 0x14
test esi, esi
je 0x410f11
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1850]
push eax
push esi
call fcn.00404440
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x410f08
mov eax, dword [ebp - 0x1850]
test eax, eax
je 0x410efd
push ebx
push eax
lea eax, [ebp - 0x804]
mov ecx, 0x556050
push eax
call fcn.004449c0
lea ecx, [ebp - 0x804]
mov eax, 0x494d4345
cmp eax, dword [ecx]
jne 0x410efd
mov eax, 0x5245564e
cmp eax, dword [ecx + 4]
jne 0x410efd
mov eax, 0x3a
cmp al, byte [ecx + 8]
jne 0x410efd
lea eax, [ebp - 0x1854]
push eax
lea eax, [ebp - 0x7fb]
push 0x4707d4
push eax
call fcn.00403220
lea ecx, [ebp - 0x7fb]
add esp, 0xc
mov eax, ecx
sub edi, eax
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x410ef0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebx
jmp 0x410f0e
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447cbd
mov esp, ebp
pop ebp
ret 4
call fcn.004480d3
int3
Function at 0x410f30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.00447f50
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.ENVIRONMENT
push 0xaa
push 0
mov dword [ebp - 0x1854], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x1850], esi
cmp esi, 0x800
jae 0x41100e
test esi, esi
je 0x410ffa
test edi, edi
je 0x410fb5
cmp esi, 0x800
ja 0x410fb5
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.0044a380
add esp, 0xc
jmp 0x410ffa
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0044a900
add esp, 0xc
test edi, edi
jne 0x410fdc
call fcn.004529ca
mov dword [eax], 0x16
jmp 0x410fef
cmp esi, 0x800
jbe 0x411000
call fcn.004529ca
mov dword [eax], 0x22
call fcn.004528f0
mov esi, dword [ebp - 0x1850]
cmp esi, 0x800
jae 0x4110c8
mov byte [ebp + esi - 0x804], 0
lea eax, [ebp - 0x184c]
push eax
push dword [0x49c560]
push 0x49c564
call fcn.00404720
lea eax, [ebp - 0x1850]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404370
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4110b2
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1850]
push eax
push esi
call fcn.00404440
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4110ab
mov eax, dword [ebp - 0x1850]
test eax, eax
je 0x4110a4
push edi
push eax
lea eax, [ebp - 0x804]
mov ecx, 0x556050
push eax
call fcn.004449c0
lea eax, [ebp - 0x804]
cmp dword [eax], 0x3a444945
jne 0x4110a4
lea eax, [ebp - 0x1854]
push eax
lea eax, [ebp - 0x800]
push 0x4707d4
push eax
call fcn.00403220
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1854]
xor ecx, ebp
pop edi
pop esi
call fcn.00447cbd
mov esp, ebp
pop ebp
ret
call fcn.004480d3
int3