joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013bc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x401448
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
push eax
call fcn.0040cf90
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x401442
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401442
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040cea0
add esp, 8
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0xc]
push eax
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x402087
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x78], 0
jne 0x40216b
push 0x7f89
call fcn.00402480
mov ecx, eax
call fcn.00402b80
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x78], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x78], 0
jne 0x40216b
lea ecx, [ebp - 0x14]
call fcn.00401450
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0042a72a
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0042a779
push str.winhlp32.exe
lea ecx, [ebp - 0x14]
call fcn.0042a6d6
lea ecx, [ebp - 0x14]
call fcn.00402470
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40215c
push 0x6a
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x402152
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_CopyIcon]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042a2fa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x402179
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
lea eax, [ebp - 8]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4021e2
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0040cea0
add esp, 8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40224a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
cmp dword [ebp + 8], 0
je 0x402263
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x402270
mov eax, 4
add eax, 0x20
jmp 0x4023ca
mov dword [ebp - 8], str.open
cmp dword [ebp + 0x10], 0
je 0x402284
mov dword [ebp - 8], 0x44416c
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
ja 0x4023c7
lea edx, [ebp - 0x210]
push edx
push str..htm
push 0x80000000
call fcn.00402179
add esp, 0xc
test eax, eax
jne 0x4023c7
push str._shellopencommand
lea eax, [ebp - 0x210]
push eax
call fcn.0040ceb0
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0x80000000
call fcn.00402179
add esp, 0xc
test eax, eax
jne 0x4023c7
push str.__1_
lea eax, [ebp - 0x210]
push eax
call fcn.00402400
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x402370
push 0x444194
lea ecx, [ebp - 0x210]
push ecx
call fcn.00402400
add esp, 8
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x402365
lea edx, [ebp - 0x210]
push edx
call fcn.0040cf90
add esp, 4
lea eax, [ebp + eax - 0x211]
mov dword [ebp - 0x224], eax
jmp 0x40236e
mov ecx, dword [ebp - 0x224]
mov byte [ecx], 0
jmp 0x402379
mov edx, dword [ebp - 0x224]
mov byte [edx], 0
push 0x444198
mov eax, dword [ebp - 0x224]
push eax
call fcn.0040ceb0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call fcn.0040ceb0
add esp, 8
mov dword [ebp - 0x218], 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00402420
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x409e7a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4442a8]
push eax
mov ecx, dword [str.vWO8G_iq9th2HeV4_l_HJr6N_fESzzF13HAkFAYgsKfzHy1gu_3cV1sCK8Hh3t3py_HZ4fgkHpGf]
push ecx
call fcn.004068e3
add esp, 8
sub eax, 0x2942d832
mov dword [ebp - 0x30], eax
mov edx, dword [0x4442a8]
push edx
mov eax, dword [str.vWO8G_iq9th2HeV4_l_HJr6N_fESzzF13HAkFAYgsKfzHy1gu_3cV1sCK8Hh3t3py_HZ4fgkHpGf]
push eax
call fcn.004068e3
add esp, 8
sub eax, 0x2942d7f6
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x4442a8]
push ecx
mov edx, dword [str.vWO8G_iq9th2HeV4_l_HJr6N_fESzzF13HAkFAYgsKfzHy1gu_3cV1sCK8Hh3t3py_HZ4fgkHpGf]
push edx
call fcn.004068e3
add esp, 8
sub eax, 0x2942d856
mov dword [ebp - 0x18], eax
mov eax, dword [0x4442a8]
push eax
mov ecx, dword [str.vWO8G_iq9th2HeV4_l_HJr6N_fESzzF13HAkFAYgsKfzHy1gu_3cV1sCK8Hh3t3py_HZ4fgkHpGf]
push ecx
call fcn.004068e3
add esp, 8
sub eax, 0x2942d852
mov dword [ebp - 0x2c], eax
mov edx, dword [0x4442a8]
push edx
mov eax, dword [str.vWO8G_iq9th2HeV4_l_HJr6N_fESzzF13HAkFAYgsKfzHy1gu_3cV1sCK8Hh3t3py_HZ4fgkHpGf]
push eax
call fcn.004068e3
add esp, 8
sub eax, 0x2942d84e
mov dword [ebp - 0x38], eax
mov ecx, dword [0x4442a8]
push ecx
mov edx, dword [str.vWO8G_iq9th2HeV4_l_HJr6N_fESzzF13HAkFAYgsKfzHy1gu_3cV1sCK8Hh3t3py_HZ4fgkHpGf]
push edx
call fcn.004068e3
add esp, 8
sub eax, 0x2942d84a
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
add eax, dword [edx]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
add edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
jmp 0x409f9a
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 4]
jae 0x409fcd
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0xc], ecx
mov edx, dword [0x4442a8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004068e3
add esp, 8
cmp eax, dword [ebp + 0xc]
jne 0x409fcb
jmp 0x409fcd
jmp 0x409f91
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 4]
jne 0x409fd9
xor eax, eax
jmp 0x409ff8
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + edx*2]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
mov esp, ebp
pop ebp
ret
Function at 0x409ffc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4442b0]
push eax
call fcn.0040d64e
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [0x4442b4]
push ecx
call fcn.0040d64e
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0
jmp 0x40a04c
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x4442b8]
jae 0x40a079
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0x14]
mov byte [ecx], dl
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dl, byte [ecx + edx]
mov byte [eax], dl
jmp 0x40a043
mov dword [ebp - 0x14], 0
jmp 0x40a08b
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [0x4442bc]
jae 0x40a0e4
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x18]
add ecx, eax
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [edx]
add eax, ecx
xor edx, edx
div dword [0x4442c0]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
mov dl, byte [ecx]
mov byte [ebp - 0xc], dl
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov cl, byte [ebp - 0xc]
mov byte [eax], cl
jmp 0x40a082
mov dword [ebp - 0x18], 0
mov dword [0x44d368], 0
jmp 0x40a106
mov edx, dword [0x44d368]
add edx, 1
mov dword [0x44d368], edx
mov eax, dword [0x44d368]
cmp eax, dword [ebp + 0xc]
jae 0x40a1c0
mov eax, dword [ebp - 0x14]
add eax, 1
xor edx, edx
div dword [0x4442c4]
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 0x18]
add eax, edx
xor edx, edx
div dword [0x4442c8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x18]
mov cl, byte [eax]
mov byte [ebp - 0xc], cl
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov al, byte [ebp - 0xc]
mov byte [edx], al
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, edx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x18]
xor edx, edx
mov dl, byte [ecx]
add eax, edx
xor edx, edx
div dword [0x4442cc]
mov dword [ebp - 8], edx
mov eax, dword [0x4442d0]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
xor edx, edx
mov dl, byte [ecx]
xor eax, edx
mov ecx, dword [0x4442d0]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x18]
mov byte [ecx + edx], al
jmp 0x40a0f7
mov esp, ebp
pop ebp
ret
Function at 0x414739
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x44bf30
cmp edx, dword [eax]
je 0x41475b
add eax, 8
inc ecx
cmp eax, 0x44bfc0
jl 0x41474c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x44bf30]
jne 0x414889
mov eax, dword [0x44f388]
cmp eax, 1
je 0x414863
test eax, eax
jne 0x41478c
cmp dword [0x44b6c4], 1
je 0x414863
cmp edx, 0xfc
je 0x414889
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4147c3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040cea0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040cf90
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x414806
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040cf90
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43c5fc
push edi
call fcn.004118f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040cea0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040ceb0
lea eax, [ebp - 0xa0]
push 0x43c5dc
push eax
call fcn.0040ceb0
push dword [esi + 0x44bf34]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040ceb0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00417b98
add esp, 0x2c
pop edi
jmp 0x414889
lea eax, [ebp + 8]
lea esi, [esi + 0x44bf34]
push 0
push eax
push dword [esi]
call fcn.0040cf90
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x421200
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040d910
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4212cb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4212cb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42127e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x421289
or bh, 8
and edi, 0x8000000
je 0x4212a4
mov eax, dword [0x450fdc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4212cb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4216a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4216cb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4216ef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42170a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x426dff
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x426e37
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042a7a1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042a779
jmp 0x426e43
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x428c01
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x428c43
call fcn.004352c6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x428c43
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x428c3a
xor eax, eax
jmp 0x428c4b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00428c51
pop edi
pop esi
pop ebx
ret 4
Function at 0x4014a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x408024]
push eax
mov ecx, dword [str.am7A9pQ4pMFSD819W02xYNOkFCSrMcRxo1XsSW8tT7xKsMms01ejyTar3lSlY5A9cM0uGMGLL]
push ecx
call fcn.004013c7
add esp, 8
add eax, 0x112934d9
mov dword [ebp - 0x30], eax
mov edx, dword [0x408024]
push edx
mov eax, dword [str.am7A9pQ4pMFSD819W02xYNOkFCSrMcRxo1XsSW8tT7xKsMms01ejyTar3lSlY5A9cM0uGMGLL]
push eax
call fcn.004013c7
add esp, 8
add eax, 0x11293515
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x408024]
push ecx
mov edx, dword [str.am7A9pQ4pMFSD819W02xYNOkFCSrMcRxo1XsSW8tT7xKsMms01ejyTar3lSlY5A9cM0uGMGLL]
push edx
call fcn.004013c7
add esp, 8
add eax, 0x112934b5
mov dword [ebp - 0x18], eax
mov eax, dword [0x408024]
push eax
mov ecx, dword [str.am7A9pQ4pMFSD819W02xYNOkFCSrMcRxo1XsSW8tT7xKsMms01ejyTar3lSlY5A9cM0uGMGLL]
push ecx
call fcn.004013c7
add esp, 8
add eax, 0x112934b9
mov dword [ebp - 0x2c], eax
mov edx, dword [0x408024]
push edx
mov eax, dword [str.am7A9pQ4pMFSD819W02xYNOkFCSrMcRxo1XsSW8tT7xKsMms01ejyTar3lSlY5A9cM0uGMGLL]
push eax
call fcn.004013c7
add esp, 8
add eax, 0x112934bd
mov dword [ebp - 0x38], eax
mov ecx, dword [0x408024]
push ecx
mov edx, dword [str.am7A9pQ4pMFSD819W02xYNOkFCSrMcRxo1XsSW8tT7xKsMms01ejyTar3lSlY5A9cM0uGMGLL]
push edx
call fcn.004013c7
add esp, 8
add eax, 0x112934c1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
add eax, dword [edx]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
add edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0
jmp 0x4015c3
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 4]
jae 0x4015f6
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0xc], ecx
mov edx, dword [0x408024]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004013c7
add esp, 8
cmp eax, dword [ebp + 0xc]
jne 0x4015f4
jmp 0x4015f6
jmp 0x4015ba
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 4]
jne 0x401602
xor eax, eax
jmp 0x401621
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + edx*2]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
mov esp, ebp
pop ebp
ret
Function at 0x40a561
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0040a5e0
jae 0x40a56d
xor ecx, ecx
call fcn.0040a5e0
jae 0x40a597
xor eax, eax
call fcn.0040a5e0
jae 0x40a5a8
mov al, 0x10
call fcn.0040a5e0
adc al, al
jae 0x40a589
jne 0x40a5d5
stosb byte es:[edi], al
jmp 0x40a56e
call fcn.0040a5ec
dec ecx
loop 0x40a5b4
mov eax, ebp
call fcn.0040a5ea
jmp 0x40a5d6
lodsb al, byte [esi]
shr eax, 1
je 0x40a5fc
adc ecx, 2
mov ebp, eax
jmp 0x40a5d6
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0040a5ea
cmp eax, 0x7d00
jae 0x40a5d4
cmp eax, 0x500
jae 0x40a5d5
cmp eax, 0x7f
ja 0x40a5d6
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40a56e
pop ebp
ret 8

Function at 0x68e21a
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ecx
enter 0xffffffffffffae20, 0x7c
and byte [edi + 0x2709943e], cl
in al, 0xb1
invalid

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

Disassembly:
not ah
push ebp
rcl bp, cl
movsx ax, bl
mov ebp, esp
shrd ax, si, 0xe
bsf ax, sp
sub esp, 0x10
rcr ah, 6
stc
bsr ax, si
push esi
cmp ecx, 0x84c4250f
daa
aaa
push edi
lahf
cmp bh, al
push ebx
xor ax, 0x8793
push edx
das
rcr al, 3
cwde
mov eax, dword [ebp + 8]
cmp al, 0x21
test eax, eax
pushal
mov byte [esp + 0xc], 0x1c
lea esp, [esp + 0x20]
je 0x10047ae3
sar dx, cl
mov esi, dword [eax + 0x3c]
shld dx, dx, 8