joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b10d
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x4da2e0]
test eax, eax
je 0x45b12a
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [0x4da77c]
test eax, eax
je 0x45b17a
jg 0x45b13a
jmp fcn.0046eb68
mov eax, dword [0x4da778]
mov eax, dword [eax]
push 0x14
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
je 0x45b16c
push 1
push 0
mov ecx, 0x4da774
call fcn.0047ab81
jmp 0x45b171
call fcn.0045afbd
test eax, eax
je 0x45b17a
call fcn.0045af8c
cmp dword [0x4da77c], 0
jg 0x45b163
ret

Function at 0x45b71b
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x49f672
call fcn.0048cfe2
call fcn.0046d63c
push eax
lea ecx, [ebp - 0x18]
call fcn.00401764
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401a17
mov edi, 0x4b8d7c
push edi
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00403260
test eax, eax
jle 0x45b787
push edi
call fcn.00403260
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004013d0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push 4
pop eax
cmp dword [ecx - 0xc], eax
mov dword [ebp - 0x14], eax
jle 0x45b7f9
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.0040fa1d
cmp al, 0x5c
jne 0x45b7eb
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004013d0
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
lea edi, [ebp - 0x18]
call fcn.00403dbc
mov ebx, edi
call fcn.00403d6e
push 0
push dword [ebp - 0x18]
call esi
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax - 0xc]
jl 0x45b79b
lea edi, [ebp - 0x10]
call fcn.00403dbc
mov ebx, edi
call fcn.00403d6e
mov edi, dword [ebp - 0x10]
push 0
push edi
call esi
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.0040174a
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, esi
call fcn.0048d0ba
ret

Function at 0x45ba3d
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x4d5674]
xor eax, esp
mov dword [esp + 0x12c], eax
xor eax, eax
mov ecx, esi
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.004600f3
test eax, eax
jne 0x45baa0
mov eax, dword [esi]
lea ecx, [esp]
push ecx
push eax
call fcn.0047e640
test eax, eax
je 0x45baa0
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00487a23
mov esp, ebp
pop ebp
ret
Function at 0x45bab2
Capabilities:
Check os version
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49ea5b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4d5674]
xor eax, esp
mov dword [esp + 0x1c8], eax
push esi
mov eax, dword [0x4d5674]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
xor esi, esi
mov ecx, edi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
call fcn.004600f3
test eax, eax
jne 0x45bbd4
mov eax, dword [edi]
lea ecx, [esp + 0xa4]
push ecx
push eax
call fcn.0047e640
test eax, eax
je 0x45bbd4
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [esp + 0x10], 5
jae 0x45bbc9
cmp dword [esp + 0x10], 4
jne 0x45bb6b
cmp dword [esp + 0x14], 0x5a
jae 0x45bbc9
call fcn.0046d63c
push eax
lea ecx, [esp + 0xc]
call fcn.00401764
mov dword [esp + 0x1e0], esi
mov esi, 0x104
push esi
lea ecx, [esp + 0xc]
call fcn.004017a2
push esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetShortPathNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0040338b
mov esi, dword [esp + 8]
push str.WININIT.INI
push esi
push 0x4bbf74
push str.rename
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
lea ecx, [esi - 0x10]
call fcn.0040174a
jmp 0x45bbd4
push 4
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_MoveFileExA]
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.00487a23
mov esp, ebp
pop ebp
ret
Function at 0x45bf3a
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x4aa458
call fcn.0048cfe2
mov edi, ecx
push str.http:
push edi
call fcn.0045fc0d
test eax, eax
pop ecx
pop ecx
jne 0x45bfe7
push str.www.
push edi
call fcn.0045fc0d
test eax, eax
pop ecx
pop ecx
jne 0x45bfe7
mov ecx, edi
call fcn.0045b9d9
test eax, eax
jne 0x45bf7d
xor eax, eax
jmp 0x45bff1
push str..exe
call fcn.0045fa8a
xor ebx, ebx
test eax, eax
pop ecx
je 0x45bfbb
lea eax, [ebp - 0x10]
push 0x4b478c
push eax
call fcn.00460b66
push edi
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0045bbf6
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040174a
cmp esi, ebx
jne 0x45bfee
mov eax, dword [edi]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call esi
cmp eax, 0x20
jg 0x45bfee
mov edi, dword [edi]
push 1
push ebx
push ebx
push edi
push ebx
push ebx
call esi
cmp eax, 0x20
jg 0x45bfee
jmp 0x45bf79
push edi
call fcn.0040732d
pop ecx
xor eax, eax
inc eax
call fcn.0048d0ba
ret

Function at 0x45bff7
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a2bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4d5674]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov eax, dword [0x4d5674]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov eax, dword [ebx]
push 0x80
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
mov ecx, ebx
call fcn.0045b82d
or eax, edx
jne 0x45c05f
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
xor eax, eax
inc eax
jmp 0x45c133
xor edi, edi
lea eax, [esp + 0x10]
push edi
push eax
mov esi, ebx
call fcn.00406b17
lea ecx, [esp + 0x14]
push edi
push ecx
mov esi, eax
mov dword [esp + 0x180], edi
call fcn.00406b17
add esp, 0x10
mov byte [esp + 0x170], 2
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 3
push dword [eax - 0xc]
lea ecx, [esp + 0x10]
call fcn.004017a2
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], edi
mov word [esp + 0x28], 0x454
mov dword [esp + 0x2e], edi
mov dword [esp + 0x32], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x45c0ec
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.0040174a
jmp 0x45c057
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.0047e640
test eax, eax
je 0x45c0db
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
je 0x45c125
xor edi, edi
inc edi
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, edi
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00487a23
mov esp, ebp
pop ebp
ret
Function at 0x45cb41
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x49ea35
call fcn.0048cfe2
mov edi, dword [ebp + 8]
xor esi, esi
mov ecx, edi
mov dword [ebp - 0x14], esi
call fcn.00401a80
xor ebx, ebx
mov dword [ebp - 4], esi
inc ebx
mov ecx, edi
mov dword [ebp - 0x14], ebx
call fcn.00401979
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45cbc4
mov eax, 0x200
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004017a2
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
push esi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
mov ecx, edi
mov ebx, eax
call fcn.0040338b
cmp ebx, esi
je 0x45cbbb
mov ecx, edi
call fcn.00401979
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.0048d0ba
ret

Function at 0x45cbcc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, 0x200
push esi
call fcn.00488d06
push esi
mov ebx, eax
push 0
push ebx
call fcn.00487f00
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsConnections
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45cc29
lea eax, [ebp - 8]
push eax
push ebx
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 8], esi
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 eax, ebx
pop ebx
leave
ret

Function at 0x45cc2f
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
call fcn.0046d63c
push eax
lea ecx, [ebp - 8]
call fcn.00401764
lea ecx, [ebp - 8]
call fcn.00401979
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
xor esi, esi
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45cca5
cmp dword [ebp + 0xc], esi
jne 0x45cc82
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x45cc9c
push dword [ebp + 0xc]
call fcn.004875a0
pop ecx
push eax
push dword [ebp + 0xc]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.0040174a
pop esi
leave
ret
Function at 0x45ccd3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4d5674]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
xor esi, esi
cmp edi, esi
je 0x45cd51
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
je 0x45cd51
lea eax, [ebp - 0x7c]
push eax
push 8
push esi
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x45cd51
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x45cd4b
xor esi, esi
inc esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x45cd54
cmp eax, esi
je 0x45cd3e
jmp 0x45cd3b
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
pop esi
call fcn.00487a23
add ebp, 0x18c
leave
ret

Function at 0x45cd6a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x49ea01
call fcn.0048cfe2
xor esi, esi
cmp dword [ebp + 8], esi
je 0x45ce69
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
je 0x45ce69
lea eax, [ebp - 0x14]
push eax
push 1
push esi
push dword [ebp + 8]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x45ce69
call fcn.0046d63c
push eax
lea ecx, [ebp + 8]
call fcn.00401764
mov dword [ebp - 4], esi
call fcn.0046d63c
push eax
lea ecx, [ebp - 0x10]
call fcn.00401764
push 0x64
pop eax
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x1c], eax
call fcn.004017a2
push dword [ebp - 0x18]
lea ecx, [ebp + 8]
mov edi, eax
call fcn.004017a2
lea ecx, [ebp - 0x1c]
push ecx
push edi
lea ecx, [ebp - 0x20]
push ecx
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
mov edi, eax
call fcn.0040338b
cmp edi, 0x103
jne 0x45ce46
inc esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, esi
jmp 0x45ce6c
cmp edi, esi
je 0x45ce23
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040174a
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
call fcn.0048d0ba
ret
Function at 0x45d2c5
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4d5674]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
mov ebx, dword [ebp + 0x19c]
push esi
mov esi, dword [ebp + 0x198]
push edi
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x80], esi
je 0x45d373
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
test eax, eax
je 0x45d373
lea eax, [ebp - 0x78]
push eax
push 0x10008
push edi
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x45d378
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, 0x103
je 0x45d35c
cmp esi, edi
jne 0x45d368
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call fcn.0045d2c5
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x45d31b
jmp 0x45d368
push ebx
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45d378
mov esi, 0x3f2
mov ecx, dword [ebp + 0x18c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00487a23
add ebp, 0x190
leave
ret

Function at 0x45d392
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push 1
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45d3e2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0xc], 4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45d3d9
mov dword [ebp - 4], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x45ec6a
Capabilities:
Resolve dns

Disassembly:
push 0x2c
mov eax, 0x49e9cc
call fcn.0048d04b
call dword [0x4d699c]
push 0
push str.GR_AddressToLong
push 1
push 1
lea ecx, [ebp - 0x2c]
call fcn.0047160b
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x38]
call fcn.004517bc
push 0x10
lea eax, [ebp - 0x24]
push 0
push eax
mov byte [ebp - 4], 1
call fcn.00487f00
mov eax, dword [edi]
add esp, 0xc
push dword [eax - 0xc]
mov ecx, edi
call fcn.004017a2
mov esi, eax
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
jne 0x45ece7
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45ecf5
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.0040338b
mov esi, dword [ebp - 0x20]
jmp 0x45ed02
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
xor esi, esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00451844
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00471656
mov eax, esi
call fcn.0048d0ce
ret
Function at 0x45f404
Capabilities:
Encode data using xor

Disassembly:
push 8
mov eax, 0x49e9a1
call fcn.0048cfe2
mov ebx, dword [ebp + 8]
push str.MIKEBURF
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040145d
add esp, 0xc
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
mov edi, dword [eax - 0xc]
mov eax, dword [ebx]
inc edi
cmp dword [eax - 0xc], esi
jle 0x45f484
lea ebx, [esi + 1]
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f9fd
xor ecx, ecx
mov ch, al
push esi
movzx eax, cx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0040f9fd
movzx eax, al
or eax, dword [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.0040f9fd
movzx eax, al
shl eax, 0x10
or eax, dword [ebp - 0x14]
add esi, 3
xor edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp esi, dword [eax - 0xc]
jl 0x45f438
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, edi
call fcn.0048d0ba
ret

Function at 0x464ac8
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4d5674]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x1c], 5
jb 0x464c60
jne 0x464b15
cmp dword [ebp - 0x18], 1
jb 0x464c60
jne 0x464b15
cmp dword [ebp - 0x14], 0x9c9
jb 0x464c60
xor ebx, ebx
cmp dword [0x4da2f0], ebx
jne 0x464c01
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
cmp eax, ebx
mov dword [0x4da2f0], eax
je 0x464c60
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push edi
push str.OpenThemeData
push eax
call esi
push str.CloseThemeData
push dword [0x4da2f0]
mov dword [0x4da2f4], eax
call esi
push str.IsAppThemed
push dword [0x4da2f0]
mov dword [0x4da2f8], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [0x4da2f0]
mov dword [0x4da2fc], eax
call esi
push str.DrawThemeBackground
push dword [0x4da2f0]
mov dword [0x4da300], eax
call esi
mov edi, str.DrawThemeText
push edi
push dword [0x4da2f0]
mov dword [0x4da304], eax
call esi
push edi
push dword [0x4da2f0]
mov dword [0x4da308], eax
call esi
push str.GetThemeSysSize
push dword [0x4da2f0]
mov dword [0x4da30c], eax
call esi
push str.GetThemeRect
push dword [0x4da2f0]
mov dword [0x4da310], eax
call esi
push str.GetThemePartSize
push dword [0x4da2f0]
mov dword [0x4da314], eax
call esi
push str.SetWindowTheme
push dword [0x4da2f0]
mov dword [0x4da318], eax
call esi
mov dword [0x4da31c], eax
pop edi
mov esi, dword [0x4da468]
call fcn.00471426
mov eax, dword [eax + 4]
push 1
push str.DoXPThemes
push esi
mov ecx, eax
call fcn.0047086f
cmp dword [0x4da2f4], ebx
mov dword [0x4d6e70], eax
je 0x464c60
cmp dword [0x4da2f8], ebx
je 0x464c60
cmp dword [0x4da2fc], ebx
je 0x464c60
cmp dword [0x4da300], ebx
je 0x464c60
cmp dword [0x4da304], ebx
je 0x464c60
cmp dword [0x4da308], ebx
je 0x464c60
cmp dword [0x4da318], ebx
je 0x464c60
xor eax, eax
inc eax
jmp 0x464c62
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.00487a23
add ebp, 0x78
leave
ret
Function at 0x46815f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x49d072
call fcn.0048d015
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00471426
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4681aa
call fcn.00471426
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x4681bb
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4681c8
or eax, 0xffffffff
jmp 0x468324
mov ecx, esi
call fcn.00467ca6
mov dword [ebp - 0x14], eax
call fcn.0046aae0
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x468246
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x468246
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x468246
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00467b35
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x468246
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x468246
mov ecx, ebx
call fcn.0046df02
test eax, eax
je 0x468246
push 0
mov ecx, ebx
call fcn.0046df1d
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0046c4a7
push dword [ebp - 0x14]
call fcn.0046aa38
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00467f67
xor edi, edi
cmp eax, edi
je 0x4682a3
test byte [esi + 0x3c], 0x10
je 0x46828d
push 4
pop edi
mov ecx, esi
call fcn.0046ddbf
test ax, 0x100
je 0x468283
push 5
pop edi
push edi
mov ecx, esi
call fcn.0046a600
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4682a3
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0046e0ec
or dword [ebp - 4], 0xffffffff
jmp 0x4682ce
cmp dword [ebp - 0x28], edi
je 0x4682dc
push 1
mov ecx, ebx
call fcn.0046df1d
cmp dword [ebp - 0x2c], edi
je 0x4682ec
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x468305
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x468305
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00467ce0
cmp dword [esi + 0x58], edi
je 0x468321
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0048d0ba
ret