joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b70c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44b723
add esp, 0xfffffff0
call fcn.0040346c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004191f8
mov eax, dword [0x453fe4]
cmp word [eax + 2], 0
jne 0x44b74b
mov eax, dword [0x453fe4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044cde4
mov eax, dword [0x454090]
cmp word [eax + 2], 0
jne 0x44b765
mov eax, dword [0x454090]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044cfdc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41145c]
call fcn.00403130
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41145c]
call fcn.00403130
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b3cc]
call fcn.00421014
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44b8ec
mov eax, dword [0x453f04]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004213e4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44d57c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x453f04]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c02c
test eax, eax
je 0x44b85a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408294
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c054
test eax, eax
je 0x44b86e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404108
mov eax, dword [0x453dfc]
cmp byte [eax], 0
jne 0x44b8a2
mov eax, ebx
call fcn.0044ba14
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044d758
mov eax, ebx
call fcn.0044e11c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b8e2
call fcn.004034c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bc94
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x455bb0]
cmp dword [eax + 0x30], 0
je 0x44bd3e
cmp dword [ebx + 0x94], 0
jne 0x44bd38
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44bc24
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44bd38
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44bcfe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44bd38
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004137c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44bd0d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44c8a0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44c8d5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f88
jmp 0x44c8e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403eec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d934
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d975
mov eax, esi
call fcn.00434300
test al, al
je 0x44d975
mov eax, dword [ebx + 0x84]
call fcn.004340a0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d975
push 0
mov eax, dword [ebx + 0x84]
call fcn.004340a0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x452880
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov eax, 0x4526a0
call fcn.00405c50
xor eax, eax
push ebp
push 0x45298a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x452998
push 0
push 0
call fcn.00405e88
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4528f3
mov eax, dword [0x454074]
mov eax, dword [eax]
call fcn.0044cc4c
mov ecx, dword [0x454154]
mov eax, dword [0x454074]
mov eax, dword [eax]
mov edx, dword [0x44e1ec]
call fcn.0044cc64
mov eax, dword [0x454074]
mov eax, dword [eax]
call fcn.0044cce4
jmp 0x45297c
mov eax, 0x455c14
mov edx, 0xc8
call fcn.004044e4
mov eax, dword [0x455c14]
call fcn.00404158
push eax
mov eax, dword [0x455c14]
call fcn.00404358
push eax
mov eax, dword [0x455664]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
mov eax, dword [0x455c14]
call fcn.00404358
mov edx, eax
mov eax, 0x455c14
call fcn.00404090
push 0
push 0x452558
call sub.user32.dll_EnumWindows
cmp dword [0x455c10], 0
je 0x45297c
mov eax, dword [0x455c10]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x452971
push 0
push 0
push 0x400
mov eax, dword [0x455c10]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [0x455c10]
push eax
call sub.user32.dll_SetForegroundWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452991
ret
Function at 0x40f170
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fcd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x448104]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [0x46da9c]
mov byte [ebp - 4], 1
cmp eax, ecx
je 0x40f1f2
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x40f1c2
mov edx, dword [0x448108]
add eax, 0xfffffff4
cmp eax, edx
jne 0x40f1c9
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x40f1d8
mov eax, dword [ecx - 8]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0040ed40
jmp 0x40f1f2
lea ecx, [ebp - 0x14]
call fcn.00404050
mov eax, dword [0x46da9c]
mov dword [ebp - 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
mov ecx, 0x4679b8
test ecx, ecx
jne 0x40f1ff
xor eax, eax
jmp 0x40f20a
push 0x4679b8
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push 0x4679b8
push eax
lea ecx, [ebp - 0x14]
call fcn.00404ce0
mov edx, dword [ebp - 0x14]
push 1
push 0
push 0
push edx
push 0x4679b0
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov eax, dword [ebp - 0x14]
mov edx, dword [0x448108]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40f25c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x40f25c
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff4
push edx
call fcn.0043440c
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412540
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xa0
lea eax, [esp + 0xc]
push esi
mov esi, ecx
push eax
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x412617
cmp dword [esp + 0x20], 1
jne 0x412617
lea ecx, [esp + 4]
push ecx
push 0x44152c
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x412617
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push ebx
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x467954
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x41260b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41260b
push 0x467b20
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push 1
mov ecx, esi
mov ebx, eax
call fcn.00412630
test ebx, ebx
je 0x41260b
push edi
push 0x467b0c
push ebx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
test esi, esi
je 0x412603
mov edi, dword [esp + 0xb0]
push edi
call esi
cmp eax, 1
je 0x412603
push edi
call esi
cmp eax, 1
jne 0x4125fb
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop ebx
pop esi
add esp, 0xa0
ret 4

Function at 0x412650
Capabilities:
Check mutex on windows

Disassembly:
push esi
push 0x4678c8
push 0
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov eax, ecx
pop esi
ret
Function at 0x412af0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43ff8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
mov al, byte [esp + 0x13]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 8]
push ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0xc], al
call fcn.004012a0
mov eax, dword [esi + 4]
mov dword [esp + 0x42c], ebx
cmp eax, ebx
jne 0x412b67
mov esi, dword [esp + 0x434]
mov cl, byte [esp + 8]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004012a0
mov edx, dword [0x441278]
lea eax, [esp + 8]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00407860
mov ecx, dword [esp + 0xc]
jmp 0x412c2a
push ebp
lea ecx, [esp + 0x20]
push edi
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x444]
push edx
push ebx
push ebx
push ecx
push eax
mov dword [esp + 0x3c], 0x400
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x412bb6
lea edi, [esp + 0x28]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
call fcn.004013b0
test al, al
je 0x412bfa
mov ecx, ebp
lea esi, [esp + 0x28]
jmp 0x412bdd
mov esi, dword [esp + 0x444]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
call fcn.004013b0
test al, al
je 0x412bfa
mov ecx, ebp
mov edi, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov byte [eax + ebp], bl
mov esi, dword [esp + 0x43c]
mov cl, byte [esp + 0x10]
lea eax, [esp + 0x10]
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [0x441278]
mov ecx, esi
push edx
push ebx
push eax
call fcn.00407860
mov ecx, dword [esp + 0x14]
pop edi
pop ebp
cmp ecx, ebx
je 0x412c4a
mov al, byte [ecx - 1]
cmp al, bl
je 0x412c40
cmp al, 0xff
je 0x412c40
dec al
mov byte [ecx - 1], al
jmp 0x412c4a
dec ecx
push ecx
call fcn.0043440c
add esp, 4
mov ecx, dword [esp + 0x424]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x428
ret 0xc
Function at 0x412cc0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x43ffa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x46788c
push 0x80000001
mov dword [esp + 0x34], 0x441590
mov dword [esp + 0x38], 0
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da70]
mov esi, dword [sym.imp.advapi32.dll_RegSetValueExA]
mov dword [esp + 0xc], ecx
test edx, edx
je 0x412d3e
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467ba8
push edx
call esi
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da74]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x412d63
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467ba0
push edx
call esi
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da78]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x412d88
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467b98
push edx
call esi
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da7c]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x412dad
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467b90
push edx
call esi
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da80]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x412dd2
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467b8c
push edx
call esi
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da84]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x412df7
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467b80
push edx
call esi
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da8c]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x412e1c
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467b78
push edx
call esi
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da94]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x412e41
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467b6c
push edx
call esi
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da90]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x412e66
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467b64
push edx
call esi
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da88]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x412e8b
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467b5c
push edx
call esi
mov edx, dword [esp + 0x14]
mov ecx, dword [0x46da98]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x412eb0
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push 0x467b50
push edx
call esi
mov edx, dword [esp + 0x14]
mov ebx, dword [0x46daa0]
test edx, edx
je 0x412ed7
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push 1
push eax
push 0x467b38
push edx
call esi
mov edx, dword [esp + 0x14]
mov ebx, dword [0x46daa4]
test edx, edx
je 0x412efa
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push 1
push eax
push 0x467b30
push edx
call esi
lea ecx, [esp + 0x10]
call fcn.00412c70
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4130c0
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0x420
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.user32.dll_DefWindowProcA]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0x404
call dword [sym.imp.comctl32.dll_InitCommonControlsEx]
mov dword [0x46ee80], 0x4679a0
mov dword [0x46eea4], 0x46ee10
mov ecx, dword [esp + 0x434]
mov dword [0x46ee10], 0x84
push ecx
push ebx
push 0x46ee10
mov dword [0x46ee74], 0x300
call fcn.004132d0
mov ebp, dword [sym.imp.KERNEL32.DLL_HeapCreate]
push ebx
push ebx
push ebx
call ebp
mov dword [0x46ee28], eax
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x3c]
lea edx, [esp + 0x3c]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x40], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
cmp dword [esp + 0x4c], 2
jne 0x41317c
cmp dword [esp + 0x40], 5
jae 0x4131df
mov eax, dword [esp + 0x2c]
cmp eax, 1
jbe 0x4131df
lea edx, [eax + eax]
or ecx, 0xffffffff
xor eax, eax
test edx, 0x80000000
jne 0x41319f
shl edx, 1
shr ecx, 1
inc eax
cmp eax, 0x20
jl 0x41318d
mov edx, dword [0x46ee28]
shr ecx, 1
mov dword [0x46ee84], ecx
lea ecx, [ecx*4 + 4]
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [0x46ee88], eax
xor esi, esi
push ebx
push ebx
push ebx
call ebp
mov ecx, dword [0x46ee88]
inc esi
mov dword [ecx + esi*4 - 4], eax
mov eax, dword [0x46ee84]
cmp esi, eax
jbe 0x4131c4
jmp 0x4131eb
mov dword [0x46ee88], ebx
mov dword [0x46ee84], ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0xc
mov dword [0x46ee94], eax
mov dword [0x46ee98], ebx
call fcn.00434bf5
add esp, 4
cmp eax, ebx
je 0x413214
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x413216
xor eax, eax
cmp eax, ebx
mov dword [0x46ee98], eax
je 0x413225
mov dword [0x46ee9c], ebx
lea ecx, [esp + 0xd0]
call fcn.004102d0
mov edx, dword [esp + 0x434]
lea ecx, [esp + 0xd0]
push edx
call fcn.00410580
mov esi, dword [0x46ee9c]
mov edi, eax
cmp esi, ebx
je 0x41328b
cmp dword [esi + 4], ebx
jle 0x413267
mov eax, dword [esi]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.user32.dll_DestroyWindow]
mov esi, dword [0x46ee9c]
cmp esi, ebx
je 0x41328b
mov eax, dword [esi]
cmp eax, ebx
je 0x41327c
push eax
call fcn.0043564f
add esp, 4
mov dword [esi], ebx
push esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.0043440c
add esp, 4
mov esi, dword [0x46ee98]
cmp esi, ebx
je 0x4132a5
mov ecx, esi
call fcn.00413450
push esi
call fcn.0043440c
add esp, 4
push 0x46ee10
call fcn.00413360
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xd0]
call fcn.00410370
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x420
ret 0x10
Function at 0x413660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ffb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [esp + 0x48]
push ebx
push esi
mov esi, dword [esp + 0x4c]
mov ebx, ecx
push edi
mov dword [0x46eeb0], eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
xor edi, edi
push 0x7f00
push edi
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 0x23
mov dword [esp + 0x1c], 0x4137a0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call dword [sym.imp.user32.dll_LoadCursorA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], eax
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x467bb0
mov dword [esp + 0x3c], edi
call dword [sym.imp.user32.dll_RegisterClassExA]
test ax, ax
jne 0x413720
lea edx, [esp + 0xc]
push edx
push 0x467bb0
push esi
call dword [sym.imp.user32.dll_GetClassInfoExA]
test eax, eax
jne 0x413720
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 8
mov eax, dword [0x46eeb0]
push edi
push esi
cmp eax, edi
push edi
push edi
je 0x413753
push 0x1e0
push 0x280
push 0x80000000
push 0x80000000
push 0x16cf0000
push 0x467bf4
push 0x467bb0
push edi
jmp 0x413775
mov esi, dword [sym.imp.user32.dll_GetSystemMetrics]
push 1
call esi
push eax
push edi
call esi
push eax
push edi
push edi
push 0x96000000
push 0x467bec
push 0x467bb0
push 8
call dword [sym.imp.user32.dll_CreateWindowExA]
mov ecx, dword [esp + 0x40]
cmp eax, edi
pop edi
mov dword [ebx + 4], eax
pop esi
pop ebx
setne al
mov dword fs:[0], ecx
add esp, 0x40
ret 8
Function at 0x413f20
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x43ffd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x5c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x60]
mov esi, ecx
xor ebp, ebp
push 0x7f00
push ebp
mov dword [esi + 0x20], edi
mov dword [esi + 4], eax
mov dword [esp + 0x24], 0x30
mov dword [esp + 0x28], 0x23
mov dword [esp + 0x2c], 0x4141f0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
call dword [sym.imp.user32.dll_LoadCursorA]
push 5
mov dword [esp + 0x3c], eax
call dword [sym.imp.gdi32.dll_GetStockObject]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], eax
push ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 0x467c04
mov dword [esp + 0x4c], ebp
call dword [sym.imp.user32.dll_RegisterClassExA]
test ax, ax
jne 0x413fdc
lea edx, [esp + 0x1c]
push edx
push 0x467c04
push edi
call dword [sym.imp.user32.dll_GetClassInfoExA]
test eax, eax
jne 0x413fdc
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
push ebx
mov ebx, dword [esp + 0x68]
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebp
push edi
push ebp
sub ecx, eax
push ebx
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
mov dword [0x46eec0], esi
push edx
push eax
push ecx
push 0x50000000
push 0x467c44
push 0x467c04
push ebp
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [esi + 0x1c], eax
mov dword [0x46eec0], ebp
mov eax, dword [esi + 0x1c]
pop ebx
cmp eax, ebp
jne 0x41404c
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.user32.dll_UpdateWindow]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
Function at 0x4145b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov cl, byte [0x46eee0]
sub esp, 0x20
mov al, 1
push esi
push edi
xor edi, edi
test al, cl
jne 0x4145e6
mov dl, cl
push 0x4146b0
or dl, al
mov dword [0x46eed8], edi
mov byte [0x46eee0], dl
mov dword [0x46eedc], edi
call fcn.00434484
add esp, 4
mov eax, dword [esp + 0x2c]
push 0xa
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
cmp esi, edi
je 0x41469d
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp eax, edi
mov dword [0x46eedc], eax
je 0x41469d
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
je 0x41469d
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
cmp eax, edi
mov dword [0x46eed8], eax
je 0x41469d
mov ecx, dword [0x46eedc]
lea edx, [esp + 8]
push edx
push edi
mov dword [0x46eef0], eax
mov dword [0x46eeec], ecx
mov dword [0x46eee8], edi
mov dword [esp + 0x10], 0x414490
mov dword [esp + 0x14], 0x4144c0
mov dword [esp + 0x18], 0x414520
mov dword [esp + 0x1c], 0x414530
mov dword [esp + 0x20], 0x414540
mov dword [esp + 0x24], 0x414590
mov dword [esp + 0x28], 0x4145a0
mov dword [esp + 0x2c], edi
call fcn.00431100
cmp eax, edi
mov dword [0x46eee4], eax
pop edi
pop esi
setne al
add esp, 0x20
ret
pop edi
xor al, al
pop esi
add esp, 0x20
ret
Function at 0x41706a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x1054]
push edi
mov edi, dword [edx + 0x1048]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x4171bf
push ebx
mov ebx, 0xffc03fc0
mov edx, dword [edx + 0x1050]
lea edx, [eax + edx*4]
add edi, eax
cmp eax, edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x41719a
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [edi + 4]
mov edi, dword [edi]
mov ecx, eax
shr ecx, 2
and ecx, ebx
mov ebp, edi
shr ebp, 2
and ebp, ebx
add ecx, ebp
mov ebp, esi
shr ebp, 2
and ebp, ebx
add ecx, ebp
mov ebp, edx
shr ebp, 2
and ebp, ebx
lea ebx, [ecx + ebp - 0x7fff80]
mov ecx, eax
mov ebp, edi
and ecx, 0xff00ff
and ebp, 0xff00ff
add ecx, ebp
mov ebp, esi
and ebp, 0xff00ff
add ecx, ebp
mov ebp, edx
and ebp, 0xff00ff
shr eax, 2
lea ecx, [ecx + ebp + 0x20002]
shr ecx, 2
xor ebx, ecx
mov ecx, 0x3fc03fc0
and eax, ecx
shr edi, 2
and edi, ecx
add eax, edi
mov edi, dword [esp + 0x18]
shr esi, 2
and esi, ecx
add eax, esi
shr edx, 2
and edx, ecx
lea eax, [eax + edx + 0x800080]
and ebx, 0xff00ff
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 4
mov dword [eax], ebx
mov eax, dword [esp + 0x14]
add eax, 8
add edi, 8
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov ebx, 0xffc03fc0
jb 0x4170cd
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1048]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1048]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x4170aa
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret