joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004e3d00
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
cmp dword [ebp + 0xc], 0
jne 0x4e3ddc
call fcn.0040ec70
mov dword [ebp + 0xc], eax
push 0xf1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e3e2d
call fcn.0040ec70
cmp eax, dword [ebp + 0xc]
je 0x4e3e20
call fcn.0040ec70
mov dword [ebp + 0xc], eax
push 0xf1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e3e2d
xor eax, eax
jmp 0x4e3f11
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4e3e4b
xor eax, eax
jmp 0x4e3f11
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4e3e65
xor eax, eax
jmp 0x4e3f11
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 4]
push ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x2c]
call eax
test eax, eax
je 0x4e3eee
mov ecx, dword [ebp - 0x1c]
add ecx, 0x20
call fcn.004d99b0
mov dword [ebp - 0x14], 0
jmp 0x4e3eb2
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x14], eax
jge 0x4e3eee
mov ecx, dword [ebp - 4]
call fcn.004fa3d0
mov ecx, dword [ebp - 0x14]
movzx edx, word [eax + ecx*2]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x4e3eec
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x20
call fcn.004fcb70
mov dword [ebp - 8], 1
jmp 0x4e3ea9
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004fa020
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x38]
call eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4f23b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call fcn.0040ec70
mov dword [ebp - 8], eax
push 2
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4f23dc
xor eax, eax
jmp 0x4f2444
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4f23f7
xor eax, eax
jmp 0x4f2444
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4f240e
xor eax, eax
jmp 0x4f2444
mov edx, dword [ebp - 0xc]
push edx
call fcn.004e09c0
add esp, 4
mov word [ebp - 4], ax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
movzx ecx, word [ebp - 4]
cmp ecx, 0x10
je 0x4f2435
xor eax, eax
jmp 0x4f2444
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0053daeb
mov esp, ebp
pop ebp
ret
Function at 0x509aa0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586190
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x604e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x10]
call fcn.00404cb0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
call fcn.0048cc40
test eax, eax
je 0x509b13
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00509dd0
test eax, eax
je 0x509b13
push 5
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00506460
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404cf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x509c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5861d6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x604e14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
cmp dword [0x609124], 0
jne 0x509d39
lea ecx, [ebp - 0x10]
call fcn.00404cb0
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00404d50
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0050a110
push str.winhlp32.exe
lea ecx, [ebp - 0x10]
call fcn.004fb790
lea ecx, [ebp - 0x10]
call fcn.00506460
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x509d20
push 0x6a
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x509d20
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [0x609124], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00404cf0
mov eax, dword [0x609124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x50cd70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x604e14]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 3
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x50cdbb
cmp dword [ebp - 0x110], 1
jne 0x50ce36
cmp dword [ebp - 0x118], 0
jne 0x50ce36
lea ecx, [ebp - 0x124]
push ecx
push 1
push 0
push str.Control_PanelDesktop
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x50ce34
mov dword [ebp - 0x22c], 0x100
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x128]
push ecx
push 0
push str.WheelScrollLines
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x50ce27
push 0xa
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.00555d80
add esp, 0xc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x50ce46
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00555ac5
mov esp, ebp
pop ebp
ret
Function at 0x5306e8
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 0x53072f
call fcn.00531692
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x53072f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x53074b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00530260
mov esi, eax
test edi, edi
je 0x530749
test ebx, ebx
je 0x530749
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x5320c5
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 + 0x58], ebx
test ebx, 0xffff0000
jne 0x5320e9
cmp dword [edi + 0x54], 0
jne 0x5320e9
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00531692
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.00532086
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 0x53426c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5875a2
call fcn.0056292e
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x534291
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x5342d7
lea ecx, [ebp - 0x10]
call fcn.00404cb0
mov ecx, dword [esi + 0x50]
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.0053255f
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404e60
mov eax, esi
call fcn.00562a06
ret 8
Function at 0x5390e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x539129
call fcn.00531692
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x539129
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x53916c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x539155
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x539155
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x539169
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x53e980
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.00531692
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x53e9ad
xor eax, eax
jmp 0x53ea53
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x53e9a6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x53e9a6
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.0052601f
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x53ea04
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x53e9f3
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0053d6e5
push edi
mov ebx, eax
call fcn.0052604e
pop ecx
test ebx, ebx
je 0x53ea46
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.0053dd95
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0053de49
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 0x5478a4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x588482
call fcn.0056292e
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040f120
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x547906
call fcn.00530f6c
cmp eax, 1
jne 0x547906
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x5ce590
push eax
call fcn.005382d5
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404ea0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404e60
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_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404e60
mov eax, esi
call fcn.00562a06
ret 0x10

Function at 0x54792f
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x588482
call fcn.0056292e
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040f120
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x547991
call fcn.00530f6c
cmp eax, 1
jne 0x547991
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x5ce590
push eax
call fcn.005382d5
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404ea0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404e60
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_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404e60
mov eax, esi
call fcn.00562a06
ret 0x14

Function at 0x555ac5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x604e14]
jne 0x555acf
repz ret
jmp fcn.005656fc

Function at 0x5702df
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x570310
call fcn.0055c5f4
mov dword [eax], esi
call fcn.0055c5e1
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00557ffc
add esp, 0x14
push 0x16
pop eax
jmp 0x570365
test dword [ebp + 0xc], 0xfffffff9
jne 0x5702ec
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x57033d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0055c607
pop ecx
call fcn.0055c5e1
mov eax, dword [eax]
jmp 0x570365
test al, 0x10
jne 0x570363
test al, 1
je 0x570363
test byte [ebp + 0xc], 2
je 0x570363
call fcn.0055c5f4
mov dword [eax], 5
call fcn.0055c5e1
mov dword [eax], 0xd
jmp 0x570334
xor eax, eax
pop esi
pop ebp
ret
Function at 0x578af9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005642fd
and dword [ebp - 4], 0
cmp dword [0x60bd70], 0
mov ebx, eax
jne 0x578baa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x578c5b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5de6b4
push edi
call esi
test eax, eax
je 0x578c5b
push eax
call fcn.0056428b
mov dword [esp], 0x5de6a4
push edi
mov dword [0x60bd70], eax
call esi
push eax
call fcn.0056428b
mov dword [esp], 0x5de690
push edi
mov dword [0x60bd74], eax
call esi
push eax
call fcn.0056428b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x60bd78], eax
call esi
push eax
call fcn.0056428b
pop ecx
mov dword [0x60bd80], eax
test eax, eax
je 0x578baa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0056428b
pop ecx
mov dword [0x60bd7c], eax
mov eax, dword [0x60bd7c]
cmp eax, ebx
je 0x578c02
cmp dword [0x60bd80], ebx
je 0x578c02
push eax
call fcn.00564306
push dword [0x60bd80]
mov esi, eax
call fcn.00564306
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x578c02
test edi, edi
je 0x578c02
call esi
test eax, eax
je 0x578bf9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x578bf9
test byte [ebp - 0xc], 1
jne 0x578c02
or dword [ebp + 0x10], 0x200000
jmp 0x578c3b
mov eax, dword [0x60bd74]
cmp eax, ebx
je 0x578c3b
push eax
call fcn.00564306
pop ecx
test eax, eax
je 0x578c3b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x578c3b
mov eax, dword [0x60bd78]
cmp eax, ebx
je 0x578c3b
push eax
call fcn.00564306
pop ecx
test eax, eax
je 0x578c3b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x60bd70]
call fcn.00564306
pop ecx
test eax, eax
je 0x578c5b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x578c5d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x408923
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x408932
pop dword [ebp - 0x2c]
mov eax, 0xd2539645
add eax, 0x2decf2ed
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x618fc2a7
add dword [ebp - 0x3c], 0xecc282a4
mov dword [ebp - 0x38], 0x37161fef
add dword [ebp - 0x38], 0xfb1d2c56
mov dword [ebp - 0x34], 0xfafec02
sub dword [ebp - 0x34], 0xc363a7d4
mov dword [ebp - 0x30], 0xe65e7617
sub dword [ebp - 0x30], 0xe65e7617
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x3ac777e9
add eax, 0xc5792823
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xc8b093d
sub dword [ebp - 0x3c], 0x98189fe7
mov dword [ebp - 0x38], 0x10bb873c
add dword [ebp - 0x38], 0x30b0da39
mov dword [ebp - 0x34], 0xeb6d1a08
add dword [ebp - 0x34], 0x78025264
mov dword [ebp - 0x30], 0x6807c0ef
sub dword [ebp - 0x30], 0x6807c0ef
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x30cc6e8e
add eax, 0xcf743186
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x37797
push 0
call eax
mov ecx, 0x4293
mov edx, eax
mov edi, 0x77dc6d05
sub edi, 0x7798af05
add edi, dword [ebp - 0x2c]
mov esi, 0xcdade020
add dword [ebp - 0x20], 0xecc9e440
mov ebx, dword [edi]
mov dword [ebp - 0x1c], 0xe3242ee7
xor ebx, esi
mov dword [ebp - 0x10], 0x1991fb4c
mov dword [edx], ebx
add edx, 0xec302080
add edx, 0x13cfdf84
add edi, 0x21d15863
sub edi, 0x21d1585f
loop 0x408a48
add eax, 0x40184c2c
sub eax, 0x40174f0d
mov ebx, eax
add eax, 0xedbd59b4
sub eax, 0xedbd59af
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x408d51
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408d8f
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x408d96
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
add edx, 0x40c6a8
add eax, ebx
mov dword [esp + 4], str._s_S.dll
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x408f64
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43a424], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
jne 0x408fa1
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x408f7e
mov dword [ecx*4 + 0x43a420], eax
inc ecx
cmp ecx, 0x100
jne 0x408f77
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x408fc4
inc edx
mov cl, byte [edx - 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43a420]
jmp 0x408fab
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi