joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4173f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553b13
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ba318]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00410270
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], vtable.CMMI_TxtItem.0
call fcn.0043cc81
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x417445
push 0x80004005
call fcn.004013d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x20], eax
push edi
push 0x575ce9
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 1
call fcn.004016b0
mov eax, 1
mov ecx, ebx
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], 0xffffff
call fcn.0041d850
lea esi, [eax + 0x118]
lea edi, [ebx + 0x34]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x1c], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553b7e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ba318]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.00410270
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], vtable.CMMI_HotTxtItem.0
call fcn.0043cc81
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x418b95
push 0x80004005
call fcn.004013d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x20], eax
lea ecx, [ebx + 0x78]
mov byte [ebp - 4], 1
call fcn.0041a950
push edi
push 0x575ce9
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 2
call fcn.004016b0
mov eax, 1
mov ecx, ebx
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], 0xffffff
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], eax
call fcn.0041d850
lea esi, [eax + 0x118]
xor eax, eax
movzx edx, ax
mov eax, edx
lea edi, [ebx + 0x38]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
shl edx, 0x10
or eax, edx
lea edi, [ebx + 0x9e]
mov ecx, 0x40
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x1c], 1
mov byte [ebx + 0x99], 0xf
mov dword [ebx + 0x9a], 0x10001
rep stosd dword es:[edi], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5ba318]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x30]
push eax
push 0x20019
push 0
push 0x568100
push SysReAllocString
mov ebx, ecx
call esi
test eax, eax
je 0x41a7c7
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053996e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x30]
push edi
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push 0
push str.D5F0EE5A_1156_4fc0_9901_AE490D5500E2
push edx
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x41a827
mov ecx, dword [ebp - 0x30]
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.D5F0EE5A_1156_4fc0_9901_AE490D5500E2
push ecx
call edi
test eax, eax
je 0x41a827
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053996e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
push eax
push 2
push 0
push str.Version
push ecx
call esi
test eax, eax
je 0x41a885
mov eax, dword [ebp - 0x2c]
push 0
lea edx, [ebp - 0x34]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.Version
push eax
call edi
test eax, eax
je 0x41a885
mov ecx, dword [ebp - 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [ebp - 0x2c]
push edx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053996e
mov esp, ebp
pop ebp
ret
lea edi, [ebx + 0xe0]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0053b2e1
add esp, 8
test eax, eax
jne 0x41a8a7
mov esi, dword [ebp - 0x14]
add esi, 0x76c
jmp 0x41a8a9
xor esi, esi
lea ecx, [ebp - 0x28]
push edi
push ecx
call fcn.0053b2e1
add esp, 8
test eax, eax
jne 0x41a8c0
mov eax, dword [ebp - 0x18]
inc eax
jmp 0x41a8c2
xor eax, eax
push 4
movzx edx, ax
movzx eax, si
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x3c]
push ecx
shl edx, 0x10
push 4
add edx, eax
push 0
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x34]
push str.Revision
push edx
call esi
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0xe8]
push 4
lea ecx, [ebp - 0x38]
push ecx
push 4
push 0
push str.Extended
push edx
mov dword [ebp - 0x38], eax
call esi
mov eax, dword [ebp - 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [ebp - 0x2c]
push ecx
call esi
mov edx, dword [ebp - 0x34]
push edx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0053996e
mov esp, ebp
pop ebp
ret
Function at 0x433903
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0043cba2
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43393c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00433545
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x43399a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4339be
cmp dword [edi + 0x74], 0
jne 0x4339be
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0043cba2
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0043395b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43a027
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x43a06e
call fcn.0043cba2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43a06e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x43a08a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00439b2c
mov esi, eax
test edi, edi
je 0x43a088
test ebx, ebx
je 0x43a088
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43abb6
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55f616
call fcn.0053c85a
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x43abdb
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x43ac2d
call fcn.0043cc81
push eax
lea ecx, [ebp - 0x10]
call fcn.00401530
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0053e226
push eax
call fcn.0043a76a
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004013f0
mov eax, esi
call fcn.0053c932
ret 8
Function at 0x43b21e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0043ac35
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43b268
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00438199
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004364f7
jmp 0x43b273
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0045d43f
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43b279
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0043a838
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x43b2b6
call fcn.0043ac35
mov dword [esi + 0xc], 1
jmp 0x43b2bb
call fcn.0043ac35
cmp dword [esi], 0
je 0x43b304
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x43b2dc
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00438199
jmp 0x43b2ee
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401670
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004364f7
jmp 0x43b328
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x43b328
push dword [esi]
push dword [ebp + 8]
call fcn.0045d43f
pop esi
pop ebp
ret 0xc

Function at 0x44a5e0
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x44a61e
push 0x571160
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x44a62c
push str.MoveFileTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44a62c
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x44a62e
cmp dword [esi + 4], 0
je 0x44a62c
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x44e5bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0043cba2
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x44e5e8
xor eax, eax
jmp 0x44e68f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x44e5e1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44e5e1
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00432e56
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x44e640
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 2
cmp eax, edx
jl 0x44e62e
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0044d30c
push edi
mov ebx, eax
call fcn.00432e85
pop ecx
test ebx, ebx
je 0x44e682
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.0044d930
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0044d9e4
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x454ab9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5ba318]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x454b01
push 0x572608
push 4
push eax
call fcn.0053e654
push eax
call fcn.0043a76a
add esp, 0x10
jmp 0x454b17
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x454b9a
push edi
call fcn.0053cc89
mov edi, dword [eax]
call fcn.0053cc89
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0053994d
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0053cc89
cmp dword [eax], 0
je 0x454b6e
call fcn.0053cc89
push dword [eax]
call fcn.00433a0e
pop ecx
jmp 0x454b75
call fcn.0053cc89
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x454b9a
cmp dword [ebp - 0x11c], esi
jae 0x454b9a
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x454b9c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0053996e
leave
ret
Function at 0x454ba9
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5ba318]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.004355c9
pop ecx
cmp eax, esi
je 0x454c93
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x454c93
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0053c640
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x454c93
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x454c93
cmp esi, 0x14
jge 0x454c93
push 0x10
push 0
push edi
call fcn.0053f122
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x454c82
call fcn.0053cc89
cmp dword [eax], 0x22
je 0x454c82
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0053e2cf
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x454c58
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5bd964], 0
jne 0x454d1e
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x454d47
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00454ab9
pop ecx
pop ecx
test eax, eax
jne 0x454d49
inc edi
cmp edi, esi
jl 0x454d24
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053996e
leave
ret 8

Function at 0x458255
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
mov ecx, esi
test al, 1
je 0x458279
mov eax, dword [esi]
push 0
call dword [eax + 0xe0]
test eax, eax
jne 0x458287
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0xe0]
jmp 0x458273
xor eax, eax
inc eax
pop esi
ret
Function at 0x460850
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5ba318]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x460885
xor eax, eax
jmp 0x4608d8
lea eax, [ebp - 0x210]
push eax
call fcn.0053e2cf
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x4608b6
push 0x573590
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0053fec8
add esp, 0xc
test eax, eax
jne 0x460881
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0053fec8
add esp, 0xc
test eax, eax
jne 0x460881
lea eax, [ebp - 0x210]
push eax
call fcn.0043564f
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0053996e
leave
ret

Function at 0x462ab5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x5572f7
call fcn.0053c85a
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00418f20
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x462b17
call fcn.0043c43c
cmp eax, 1
jne 0x462b17
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041b6c0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403590
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004013f0
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004013f0
mov eax, esi
call fcn.0053c932
ret 0x10

Function at 0x462b40
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x5572f7
call fcn.0053c85a
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00418f20
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x462ba2
call fcn.0043c43c
cmp eax, 1
jne 0x462ba2
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041b6c0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403590
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004013f0
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004013f0
mov eax, esi
call fcn.0053c932
ret 0x14
Function at 0x462bce
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x5572f7
call fcn.0053c85a
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00418f20
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
cmp esi, 0x80000000
jne 0x462c30
call fcn.0043c43c
cmp eax, 1
jne 0x462c30
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041b6c0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403590
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004013f0
inc esi
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
test ecx, ecx
je 0x462c42
call fcn.0045701c
jmp 0x462c48
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004013f0
mov eax, esi
call fcn.0053c932
ret 0xc

Function at 0x4b9fca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4b9fe4
call fcn.0043cba2
mov esi, dword [eax + 0xc]
push dword [0x5bf800]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4ba002
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4b9ffa
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4ba02f
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4b9ffc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004b9ef8
mov esi, eax
jmp 0x4ba021

Function at 0x51be83
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00438589
call fcn.0043302a
cmp eax, esi
pop esi
jne 0x51be9f
mov ecx, 0x5bdce8
jmp fcn.00461677
ret
Function at 0x51f78e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x51f7a6
mov edi, dword [esi + 0xc]
jmp 0x51f7e6
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x51f7bf
call fcn.0043eebe
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x51f7d4
call fcn.0043eebe
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x51f7e6
call fcn.0043eebe
call fcn.0043cba2
cmp dword [eax + 0x3c], 0
je 0x51f7fb
push edi
mov ecx, ebx
call fcn.0051e64c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0051f6a8
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x51f819
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x51f825
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x53996e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ba318]
jne 0x539978
repz ret
jmp fcn.00542511