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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x44b3b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.004106b0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
call fcn.00413a10
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00411110
lea ecx, [ebp - 0x440]
call fcn.00413ea0
push 0x400
mov eax, dword [ebp + 8]
push eax
call fcn.00410bf0
add esp, 8
mov dword [ebp - 0x444], eax
push 2
push 0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x410ebe
call fcn.00410790
mov dword [ebp - 0x20], eax
jmp 0x410fef
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x410ee6
call fcn.00410790
mov dword [ebp - 0x20], eax
jmp 0x410fef
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x410f0a
call fcn.00410790
mov dword [ebp - 0x20], eax
jmp 0x410fef
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
add eax, 1
cmp eax, dword [ebp - 0x38]
jae 0x410f54
mov dword [ebp - 0x490], 0x8007000e
lea ecx, [ebp - 0x440]
call fcn.00413ec0
lea ecx, [ebp - 0x1c]
call fcn.00413a30
mov eax, dword [ebp - 0x490]
jmp 0x411021
mov eax, dword [ebp - 0x38]
add eax, 1
push eax
lea ecx, [ebp - 0x440]
call fcn.00413f10
lea ecx, [ebp - 0x440]
call fcn.00413ef0
test eax, eax
jne 0x410f7e
mov dword [ebp - 0x20], 0x8007000e
jmp 0x410fef
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x440]
call fcn.00413ef0
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 0
call fcn.004106b0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x410fbd
call fcn.00410790
mov dword [ebp - 0x20], eax
jmp 0x410fef
lea ecx, [ebp - 0x440]
call fcn.00413ef0
xor ecx, ecx
mov edx, dword [ebp - 0x448]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x440]
call fcn.00413ef0
push eax
lea ecx, [ebp - 0x28]
call fcn.00411140
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x2c], 0
je 0x410fff
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48c], eax
lea ecx, [ebp - 0x440]
call fcn.00413ec0
lea ecx, [ebp - 0x1c]
call fcn.00413a30
mov eax, dword [ebp - 0x48c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b86f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x412a90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x44b3b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
call fcn.004127b0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00412a20
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x412af5
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x10]
call fcn.004127e0
mov eax, dword [ebp - 0x26c]
jmp 0x412b83
mov dword [ebp - 0x20], 0x100
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x412b5b
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x10]
call fcn.00412a90
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x412b52
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x10]
call fcn.004127e0
mov eax, dword [ebp - 0x268]
jmp 0x412b83
mov dword [ebp - 0x20], 0x100
jmp 0x412afc
lea ecx, [ebp - 0x10]
call fcn.00412950
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00412890
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x10]
call fcn.004127e0
mov eax, dword [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b86f
mov esp, ebp
pop ebp
ret 4
Function at 0x413120
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x41312c
xor eax, eax
jne 0x41312c
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41314d
mov eax, 0xd
jmp 0x4131a8
xor eax, eax
jne 0x413134
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax*2]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 1
jne 0x41315e
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4158f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.004158c0
test eax, eax
je 0x41590c
xor eax, eax
jmp 0x41594a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x415919
xor eax, eax
jmp 0x41594a
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
push 0
push 0
call fcn.0041cb5c
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.004158c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x417476
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x44ceb4], 0
push esi
jne 0x4173e4
call fcn.004172f8
test eax, eax
je 0x417427
mov eax, dword [0x44ceb4]
cmp eax, 1
jne 0x417405
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x417427
pop esi
ret
push eax
call dword [0x44cebc]
test eax, eax
jne 0x41746f
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41742b
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x44ceb4]
call dword [0x44cebc]
mov edi, eax
test edi, edi
je 0x417450
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41746c
mov edi, esi
add esi, 0xff0
push edi
push dword [0x44ceb4]
call dword [0x44ceb8]
add edi, 0x10
cmp edi, esi
jb 0x417458
mov eax, edi
pop edi
pop esi
ret
jmp 0x4173d1
Function at 0x4179a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 4
cmp dword [ebp + 8], 0
je 0x417a63
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
test eax, eax
jle 0x417a63
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x417a03
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4179bb
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 4
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x20000013
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x417a4e
cmp dword [ebp - 0xc], 0xc8
jne 0x417a40
jmp 0x417a63
mov dword [ebp - 8], 0
jmp 0x4179bb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4179bb
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4181f0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4408bb
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x44b3b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x1a4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
movzx ecx, word [ebp - 0x1a4]
and ecx, 0xff
movzx edx, cl
cmp edx, 2
jne 0x418259
movzx eax, word [ebp - 0x1a4]
shr eax, 8
and eax, 0xff
movzx ecx, al
cmp ecx, 2
je 0x41826b
push str.init_socket_failed
call fcn.0041cee2
add esp, 4
jmp 0x4183ac
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
jne 0x41829c
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.pHost__NULL__n
call fcn.0041cee2
add esp, 4
jmp 0x4183ac
mov dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x1a8]
cmp dword [ecx + edx*4], 0
je 0x4183a6
mov byte [ebp - 0x2b4], 0
push 0x103
push 0
lea eax, [ebp - 0x2b3]
push eax
call fcn.0041b880
add esp, 0xc
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], ecx
mov edx, dword [ebp - 0x2d4]
mov al, byte [edx]
mov byte [ebp - 0x2dd], al
mov ecx, dword [ebp - 0x2d8]
mov dl, byte [ebp - 0x2dd]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2d4]
add eax, 1
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d8]
add ecx, 1
mov dword [ebp - 0x2d8], ecx
cmp byte [ebp - 0x2dd], 0
jne 0x418315
lea edx, [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x2d0]
call fcn.00418af0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2d0]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00418dd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d0]
call fcn.00418b70
mov ecx, dword [ebp - 0x1a8]
add ecx, 1
mov dword [ebp - 0x1a8], ecx
jmp 0x4182a6
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b86f
mov esp, ebp
pop ebp
ret
Function at 0x41b240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440c10
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x44b3b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.0041b350
test eax, eax
je 0x41b27f
mov eax, 1
jmp 0x41b333
cmp dword [ebp + 0xc], 0
je 0x41b29d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b29d
mov eax, 1
jmp 0x41b333
cmp dword [ebp + 0x10], 0
je 0x41b2ec
call fcn.004106b0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041b710
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.0041b740
push eax
call fcn.0041b5f0
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x25], al
lea ecx, [ebp - 0x2c]
call fcn.0041b730
movzx edx, byte [ebp - 0x25]
test edx, edx
je 0x41b2ec
mov eax, 1
jmp 0x41b333
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041b410
add esp, 8
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], edx
jmp 0x41b329
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41b5f0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x44b3b0]
xor eax, ebp
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], 0
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0xffffffff
jne 0x41b63f
xor eax, eax
jmp 0x41b6f6
push 0
lea ecx, [ebp - 4]
push ecx
push 0x40
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b6d7
cmp dword [ebp - 4], 0x40
jne 0x41b6d7
movzx ecx, word [ebp - 0x150]
cmp ecx, 0x5a4d
jne 0x41b6d7
push 0
push 0
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [ebp - 0x114]
jne 0x41b6d7
push 0
lea ecx, [ebp - 4]
push ecx
push 0xf8
lea edx, [ebp - 0x100]
push edx
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b6d7
cmp dword [ebp - 4], 0xf8
jne 0x41b6d7
cmp dword [ebp - 0x100], 0x4550
jne 0x41b6d7
movzx ecx, word [ebp - 0xfa]
test ecx, ecx
jne 0x41b6d9
jmp 0x41b6e3
mov dword [ebp - 0x108], 1
mov edx, dword [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x10c]
xor ecx, ebp
call fcn.0041b86f
mov esp, ebp
pop ebp
ret

Function at 0x41b86f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b3b0]
jne 0x41b879
repz ret
jmp fcn.0042001e
Function at 0x435ff7
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.00421d43
and dword [ebp - 4], 0
cmp dword [0x44d9f4], 0
mov ebx, eax
jne 0x4360a8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x436159
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x436159
push eax
call fcn.00421cd1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44d9f4], eax
call esi
push eax
call fcn.00421cd1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44d9f8], eax
call esi
push eax
call fcn.00421cd1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44d9fc], eax
call esi
push eax
call fcn.00421cd1
pop ecx
mov dword [0x44da04], eax
test eax, eax
je 0x4360a8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00421cd1
pop ecx
mov dword [0x44da00], eax
mov eax, dword [0x44da00]
cmp eax, ebx
je 0x436100
cmp dword [0x44da04], ebx
je 0x436100
push eax
call fcn.00421d4c
push dword [0x44da04]
mov esi, eax
call fcn.00421d4c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x436100
test edi, edi
je 0x436100
call esi
test eax, eax
je 0x4360f7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4360f7
test byte [ebp - 0xc], 1
jne 0x436100
or dword [ebp + 0x10], 0x200000
jmp 0x436139
mov eax, dword [0x44d9f8]
cmp eax, ebx
je 0x436139
push eax
call fcn.00421d4c
pop ecx
test eax, eax
je 0x436139
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x436139
mov eax, dword [0x44d9fc]
cmp eax, ebx
je 0x436139
push eax
call fcn.00421d4c
pop ecx
test eax, eax
je 0x436139
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44d9f4]
call fcn.00421d4c
pop ecx
test eax, eax
je 0x436159
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43615b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452004]
jne 0x401010
repz ret
jmp fcn.004016fa

Function at 0x405698
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.0040305b
and dword [ebp - 4], 0
cmp dword [0x453fd8], 0
mov ebx, eax
jne 0x405749
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4057fa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4057fa
push eax
call fcn.00402fe9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x453fd8], eax
call esi
push eax
call fcn.00402fe9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x453fdc], eax
call esi
push eax
call fcn.00402fe9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x453fe0], eax
call esi
push eax
call fcn.00402fe9
pop ecx
mov dword [0x453fe8], eax
test eax, eax
je 0x405749
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402fe9
pop ecx
mov dword [0x453fe4], eax
mov eax, dword [0x453fe4]
cmp eax, ebx
je 0x4057a1
cmp dword [0x453fe8], ebx
je 0x4057a1
push eax
call fcn.00403064
push dword [0x453fe8]
mov esi, eax
call fcn.00403064
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4057a1
test edi, edi
je 0x4057a1
call esi
test eax, eax
je 0x405798
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405798
test byte [ebp - 0xc], 1
jne 0x4057a1
or dword [ebp + 0x10], 0x200000
jmp 0x4057da
mov eax, dword [0x453fdc]
cmp eax, ebx
je 0x4057da
push eax
call fcn.00403064
pop ecx
test eax, eax
je 0x4057da
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4057da
mov eax, dword [0x453fe0]
cmp eax, ebx
je 0x4057da
push eax
call fcn.00403064
pop ecx
test eax, eax
je 0x4057da
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x453fd8]
call fcn.00403064
pop ecx
test eax, eax
je 0x4057fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4057fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44aff0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x414
mov eax, dword [0x452004]
xor eax, esp
mov dword [esp + 0x410], eax
cmp edi, 0x182
jne 0x44b026
push 0
push 0
push 0
push str.rijetinibahelohahuluru
push str.mifehiduwacirutadalorimadiwim
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
jmp 0x44b050
cmp edi, 0x19f
jne 0x44b050
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push esi
xor esi, esi
test edi, edi
jle 0x44b0d2
jmp 0x44b060
lea ecx, [esp + 0xc]
mov dword [esp + 4], 5
mov dword [esp + 0xc], 0
call fcn.0044afe0
mov eax, dword [esp + 0xc]
add eax, 0x46
mov dword [esp + 4], eax
sub dword [esp + 4], 0x46
movsx eax, byte [ebx + esi]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
xor dword [esp + 8], eax
mov cl, byte [esp + 8]
mov byte [ebx + esi], cl
cmp edi, 0xf
jne 0x44b0cd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
inc esi
cmp esi, edi
jl 0x44b060
pop esi
cmp edi, 0x2d
jne 0x44b0ec
mov dword [0x2b52200], 0xa62e7790
mov dword [0x2b52204], 0xffffffff
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00401006
add esp, 0x414
ret
Function at 0x10001076
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x100010de
push 1
mov esi, 0x94
pop ebx
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x10001138
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x100010c1
push 5
jmp 0x1000112f
cmp eax, 5
jne 0x10001130
cmp dword [edi + 8], 0
jne 0x100010d0
push 6
jmp 0x1000112f
cmp eax, 5
jne 0x10001130
cmp dword [edi + 8], ebx
jne 0x10001130
push 7
jmp 0x1000112f
cmp al, 4
jae 0x100010e6
xor ebx, ebx
jmp 0x10001138
push 2
mov esi, 0x94
pop ebx
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x10001138
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x10001130
cmp dword [edi + 8], 0xa
jne 0x10001123
push 3
jmp 0x1000112f
cmp eax, 4
jne 0x10001130
cmp dword [edi + 8], 0x5a
jne 0x10001130
push eax
pop ebx
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x100064b1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
movzx esi, word [esp + 0x14]
push 2
push esi
call sub.MFC42.DLL_AfxFindResourceHandle
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
push 2
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
jne 0x100064e4
xor ebp, ebp
push 2
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x10006508
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10006508
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x10006508
push eax
call fcn.1000647e
cmp ax, 0x10
pop ecx
je 0x1000650c
xor eax, eax
jmp 0x10006515
push 0
push edi
push ebp
call sub.MFC42.DLL_AfxLoadSysColorBitmap
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1000748f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push esi
xor esi, esi
cmp dword [0x1015b4b8], esi
je 0x100074ad
mov eax, dword [0x1015b4b4]
jmp 0x10007560
push ebx
push 1
pop ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftPlus_ThemesCurrent
push SysReAllocString
mov dword [0x1015b4b8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000755a
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 8]
push eax
push esi
push esi
mov dword [ebp - 0xc], 0x104
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10007550
push 5
mov esi, str.Windows_Classic.theme
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x134]
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x24]
push eax
call esi
cmp edi, eax
jl 0x10007550
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x24]
push eax
call esi
sub edi, eax
lea eax, [ebp + edi - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10007550
mov dword [0x1015b4b4], ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, dword [0x1015b4b4]
pop ebx
pop esi
leave
ret