joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415200
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 0x47aa20
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 0x47aa7c
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 0x415260
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 0x47a978
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 0x47a9bc
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 0x4152c0
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 0x47a8c0
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.0045fc21
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x415330
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 0x47a92c
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 0x47a96c
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 0x415380
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 0x47a81c
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
push esi
push 4
push 0
push 0x47a858
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 0x4153d0
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 0x47a868
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 0x47a8a8
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 0x415420
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 0x47a868
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 0x47a868
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x47a88c
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 0x4154a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.0044d300
mov eax, dword [0x4d9770]
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 0x41557e
test esi, esi
je 0x41556a
test edi, edi
je 0x415525
cmp esi, 0x800
ja 0x415525
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.0044fb70
add esp, 0xc
jmp 0x41556a
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004500f0
add esp, 0xc
test edi, edi
jne 0x41554c
call fcn.0045861e
mov dword [eax], 0x16
jmp 0x41555f
cmp esi, 0x800
jbe 0x415570
call fcn.0045861e
mov dword [eax], 0x22
call fcn.00458520
mov esi, dword [ebp - 0x1850]
cmp esi, 0x800
jae 0x415638
mov byte [ebp + esi - 0x804], 0
lea eax, [ebp - 0x184c]
push eax
push dword [0x4a7630]
push 0x4a7634
call fcn.00404a00
lea eax, [ebp - 0x1850]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404650
mov esi, eax
add esp, 0x14
test esi, esi
je 0x415622
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1850]
push eax
push esi
call fcn.00404720
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41561b
mov eax, dword [ebp - 0x1850]
test eax, eax
je 0x415614
push edi
push eax
lea eax, [ebp - 0x804]
mov ecx, 0x5647e0
push eax
call fcn.00449d80
lea eax, [ebp - 0x804]
cmp dword [eax], 0x3a444943
jne 0x415614
lea eax, [ebp - 0x1854]
push eax
lea eax, [ebp - 0x800]
push 0x4787e4
push eax
call fcn.00403500
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.0044d06d
mov esp, ebp
pop ebp
ret
call fcn.0044d487
int3
Function at 0x415640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.0044d300
mov eax, dword [0x4d9770]
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 0x415722
test esi, esi
je 0x41570e
test ebx, ebx
je 0x4156c9
cmp esi, 0x800
ja 0x4156c9
push esi
lea eax, [ebp - 0x804]
push ebx
push eax
call fcn.0044fb70
add esp, 0xc
jmp 0x41570e
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004500f0
add esp, 0xc
test ebx, ebx
jne 0x4156f0
call fcn.0045861e
mov dword [eax], 0x16
jmp 0x415703
cmp esi, 0x800
jbe 0x415714
call fcn.0045861e
mov dword [eax], 0x22
call fcn.00458520
mov esi, dword [ebp - 0x1850]
cmp esi, 0x800
jae 0x415814
mov byte [ebp + esi - 0x804], 0
lea eax, [ebp - 0x184c]
push eax
push dword [0x4a7630]
push 0x4a7634
call fcn.00404a00
lea eax, [ebp - 0x1850]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404650
mov esi, eax
add esp, 0x14
test esi, esi
je 0x415801
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1850]
push eax
push esi
call fcn.00404720
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4157f8
mov eax, dword [ebp - 0x1850]
test eax, eax
je 0x4157ed
push ebx
push eax
lea eax, [ebp - 0x804]
mov ecx, 0x5647e0
push eax
call fcn.00449d80
lea ecx, [ebp - 0x804]
mov eax, 0x494d4345
cmp eax, dword [ecx]
jne 0x4157ed
mov eax, 0x5245564e
cmp eax, dword [ecx + 4]
jne 0x4157ed
mov eax, 0x3a
cmp al, byte [ecx + 8]
jne 0x4157ed
lea eax, [ebp - 0x1854]
push eax
lea eax, [ebp - 0x7fb]
push 0x4787e4
push eax
call fcn.00403500
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 0x4157e0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
call ebx
jmp 0x4157fe
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.0044d06d
mov esp, ebp
pop ebp
ret 4
call fcn.0044d487
int3
Function at 0x415820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.0044d300
mov eax, dword [0x4d9770]
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 0x4158fe
test esi, esi
je 0x4158ea
test edi, edi
je 0x4158a5
cmp esi, 0x800
ja 0x4158a5
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.0044fb70
add esp, 0xc
jmp 0x4158ea
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004500f0
add esp, 0xc
test edi, edi
jne 0x4158cc
call fcn.0045861e
mov dword [eax], 0x16
jmp 0x4158df
cmp esi, 0x800
jbe 0x4158f0
call fcn.0045861e
mov dword [eax], 0x22
call fcn.00458520
mov esi, dword [ebp - 0x1850]
cmp esi, 0x800
jae 0x4159b8
mov byte [ebp + esi - 0x804], 0
lea eax, [ebp - 0x184c]
push eax
push dword [0x4a7630]
push 0x4a7634
call fcn.00404a00
lea eax, [ebp - 0x1850]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404650
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4159a2
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1850]
push eax
push esi
call fcn.00404720
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41599b
mov eax, dword [ebp - 0x1850]
test eax, eax
je 0x415994
push edi
push eax
lea eax, [ebp - 0x804]
mov ecx, 0x5647e0
push eax
call fcn.00449d80
lea eax, [ebp - 0x804]
cmp dword [eax], 0x3a444945
jne 0x415994
lea eax, [ebp - 0x1854]
push eax
lea eax, [ebp - 0x800]
push 0x4787e4
push eax
call fcn.00403500
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.0044d06d
mov esp, ebp
pop ebp
ret
call fcn.0044d487
int3
Function at 0x4159c0
Capabilities:
Create directory
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040ea20
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push esi
mov esi, dword [ebp + 0xc]
push esi
push edi
call fcn.0045e4b4
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
call fcn.004532c3
add esp, 0x18
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x479574
push esi
push edi
call fcn.004532c3
push str.ProcessCheck.dll
push esi
push edi
call fcn.004532c3
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x47a67c
push 0xb9
push 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]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push edi
mov dword [ebp - 0x210], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x415adf
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x210]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
mov ecx, 0x52abf8
call fcn.00421180
push eax
push str._dllPath_
push str.You_do_not_have_write_and_execute_permissions_to_at_least_one_of_the_following_folders._To_use_this_application__you_must_have_write_execute_access._r_n_dllPath_.
push str.NoFolderAccess
mov ecx, 0x52abf8
call fcn.00420b00
push 1
mov ecx, 0x52abf8
mov dword [0x53b6b0], 1
mov dword [0x5162c8], 1
call fcn.004211f0
mov ecx, 0x52abf8
call fcn.004186d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x415b50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.0044d300
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.INSTITUTION
push 0xad
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 0x415c2e
test esi, esi
je 0x415c1a
test edi, edi
je 0x415bd5
cmp esi, 0x800
ja 0x415bd5
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.0044fb70
add esp, 0xc
jmp 0x415c1a
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004500f0
add esp, 0xc
test edi, edi
jne 0x415bfc
call fcn.0045861e
mov dword [eax], 0x16
jmp 0x415c0f
cmp esi, 0x800
jbe 0x415c20
call fcn.0045861e
mov dword [eax], 0x22
call fcn.00458520
mov esi, dword [ebp - 0x1850]
cmp esi, 0x800
jae 0x415ce8
mov byte [ebp + esi - 0x804], 0
lea eax, [ebp - 0x184c]
push eax
push dword [0x4a7630]
push 0x4a7634
call fcn.00404a00
lea eax, [ebp - 0x1850]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404650
mov esi, eax
add esp, 0x14
test esi, esi
je 0x415cd2
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1850]
push eax
push esi
call fcn.00404720
mov edi, eax
add esp, 0xc
test edi, edi
je 0x415ccb
mov eax, dword [ebp - 0x1850]
test eax, eax
je 0x415cc4
push edi
push eax
lea eax, [ebp - 0x804]
mov ecx, 0x5647e0
push eax
call fcn.00449d80
lea eax, [ebp - 0x804]
cmp dword [eax], 0x3a444949
jne 0x415cc4
lea eax, [ebp - 0x1854]
push eax
lea eax, [ebp - 0x800]
push 0x4787e4
push eax
call fcn.00403500
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.0044d06d
mov esp, ebp
pop ebp
ret
call fcn.0044d487
int3
Function at 0x415cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.0044d300
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.INTERVAL
push 0x85
push 0
mov dword [ebp - 0x1854], 0x1d4c0
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 0x415dce
test esi, esi
je 0x415dba
test edi, edi
je 0x415d75
cmp esi, 0x800
ja 0x415d75
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.0044fb70
add esp, 0xc
jmp 0x415dba
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004500f0
add esp, 0xc
test edi, edi
jne 0x415d9c
call fcn.0045861e
mov dword [eax], 0x16
jmp 0x415daf
cmp esi, 0x800
jbe 0x415dc0
call fcn.0045861e
mov dword [eax], 0x22
call fcn.00458520
mov esi, dword [ebp - 0x1850]
cmp esi, 0x800
jae 0x415e88
mov byte [ebp + esi - 0x804], 0
lea eax, [ebp - 0x184c]
push eax
push dword [0x4a7630]
push 0x4a7634
call fcn.00404a00
lea eax, [ebp - 0x1850]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404650
mov esi, eax
add esp, 0x14
test esi, esi
je 0x415e72
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1850]
push eax
push esi
call fcn.00404720
mov edi, eax
add esp, 0xc
test edi, edi
je 0x415e6b
mov eax, dword [ebp - 0x1850]
test eax, eax
je 0x415e64
push edi
push eax
lea eax, [ebp - 0x804]
mov ecx, 0x5647e0
push eax
call fcn.00449d80
lea eax, [ebp - 0x804]
cmp dword [eax], 0x3a544e49
jne 0x415e64
lea eax, [ebp - 0x1854]
push eax
lea eax, [ebp - 0x800]
push 0x4787e4
push eax
call fcn.00403500
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.0044d06d
mov esp, ebp
pop ebp
ret
call fcn.0044d487
int3
Function at 0x415f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1054
call fcn.0044d300
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebp + 8]
push ebx
push esi
push edi
push eax
push ecx
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x41604f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1050], eax
inc eax
push eax
push 0x2040
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov eax, dword [ebp - 0x1050]
test eax, eax
je 0x415fb5
lea ecx, [eax + 1]
test edi, edi
jne 0x415f82
call fcn.0045861e
mov dword [eax], 0x16
jmp 0x415faa
cmp ecx, eax
jb 0x415f93
push eax
push ebx
push edi
call fcn.0044fb70
add esp, 0xc
jmp 0x415faf
push ecx
push 0
push edi
call fcn.004500f0
add esp, 0xc
call fcn.0045861e
mov dword [eax], 0x22
call fcn.00458520
mov eax, dword [ebp - 0x1050]
mov byte [edi + eax], 0
lea eax, [ebp - 0x104c]
push eax
push dword [0x4a7630]
push 0x4a7634
call fcn.00404a00
lea eax, [ebp - 0x1050]
push eax
push edi
call fcn.00404650
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
add esp, 0x14
mov dword [ebp - 0x1054], eax
push edi
call ebx
mov eax, dword [ebp - 0x1054]
test eax, eax
je 0x41604f
lea ecx, [ebp - 0x104c]
push ecx
lea ecx, [ebp - 0x1050]
push ecx
push eax
call fcn.00404720
mov edi, eax
add esp, 0xc
test edi, edi
je 0x416046
mov eax, dword [ebp - 0x1050]
test eax, eax
je 0x416043
shr eax, 1
inc eax
push eax
push 0x2040
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push dword [ebp - 0x1050]
mov esi, eax
mov ecx, 0x5647e0
push esi
call fcn.00449d80
push edi
call ebx
mov eax, dword [ebp - 0x1054]
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
Function at 0x416070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1858
call fcn.0044d300
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.OPTIONS
push 0x88
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x1858], xmm0
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 0x41614f
test esi, esi
je 0x41613b
test edi, edi
je 0x4160f6
cmp esi, 0x800
ja 0x4160f6
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.0044fb70
add esp, 0xc
jmp 0x41613b
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004500f0
add esp, 0xc
test edi, edi
jne 0x41611d
call fcn.0045861e
mov dword [eax], 0x16
jmp 0x416130
cmp esi, 0x800
jbe 0x416141
call fcn.0045861e
mov dword [eax], 0x22
call fcn.00458520
mov esi, dword [ebp - 0x1850]
cmp esi, 0x800
jae 0x41621a
mov byte [ebp + esi - 0x804], 0
lea eax, [ebp - 0x184c]
push eax
push dword [0x4a7630]
push 0x4a7634
call fcn.00404a00
lea eax, [ebp - 0x1850]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404650
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4161fe
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1850]
push eax
push esi
call fcn.00404720
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4161f7
mov eax, dword [ebp - 0x1850]
test eax, eax
je 0x4161f0
push edi
push eax
lea eax, [ebp - 0x804]
mov ecx, 0x5647e0
push eax
call fcn.00449d80
lea ecx, [ebp - 0x804]
mov eax, 0x5354504f
cmp eax, dword [ecx]
jne 0x4161f0
mov eax, 0x3a
cmp al, byte [ecx + 4]
jne 0x4161f0
lea eax, [ebp - 0x1858]
push eax
lea eax, [ebp - 0x7ff]
push 0x47ab7c
push eax
call fcn.00403500
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 - 0x1858]
xor ecx, ebp
mov edx, dword [ebp - 0x1854]
pop edi
pop esi
call fcn.0044d06d
mov esp, ebp
pop ebp
ret
call fcn.0044d487
int3
Function at 0x416220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1854
call fcn.0044d300
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.PROGRAM
push 0xab
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 0x4162fe
test esi, esi
je 0x4162ea
test edi, edi
je 0x4162a5
cmp esi, 0x800
ja 0x4162a5
push esi
lea eax, [ebp - 0x804]
push edi
push eax
call fcn.0044fb70
add esp, 0xc
jmp 0x4162ea
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004500f0
add esp, 0xc
test edi, edi
jne 0x4162cc
call fcn.0045861e
mov dword [eax], 0x16
jmp 0x4162df
cmp esi, 0x800
jbe 0x4162f0
call fcn.0045861e
mov dword [eax], 0x22
call fcn.00458520
mov esi, dword [ebp - 0x1850]
cmp esi, 0x800
jae 0x4163b8
mov byte [ebp + esi - 0x804], 0
lea eax, [ebp - 0x184c]
push eax
push dword [0x4a7630]
push 0x4a7634
call fcn.00404a00
lea eax, [ebp - 0x1850]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00404650
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4163a2
lea eax, [ebp - 0x184c]
push eax
lea eax, [ebp - 0x1850]
push eax
push esi
call fcn.00404720
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41639b
mov eax, dword [ebp - 0x1850]
test eax, eax
je 0x416394
push edi
push eax
lea eax, [ebp - 0x804]
mov ecx, 0x5647e0
push eax
call fcn.00449d80
lea eax, [ebp - 0x804]
cmp dword [eax], 0x3a444950
jne 0x416394
lea eax, [ebp - 0x1854]
push eax
lea eax, [ebp - 0x800]
push 0x4787e4
push eax
call fcn.00403500
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.0044d06d
mov esp, ebp
pop ebp
ret
call fcn.0044d487
int3