joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4005d1cd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4005d226
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4005d1cd
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4005d1dc
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40462e7f
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4005d22d
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.400440a3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4005d2cc
add edi, 4
add eax, 2
dec ecx
jne 0x4005d212
call 0x4005d279
loope 0x4005d26f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4005d2c9
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4005d2da
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4005d28d
cmp eax, ecx
ja 0x4005d28d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4005d317
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4005d30d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.40044582
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4005d1dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4005d226
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4005d1cd
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4005d1dc
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40462e7f
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4005d22d
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.400440a3
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4005d2cc
add edi, 4
add eax, 2
dec ecx
jne 0x4005d212
call 0x4005d279
loope 0x4005d26f
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4005d2c9
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4005d2da
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4005d28d
cmp eax, ecx
ja 0x4005d28d
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4005d317
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4005d30d
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.40044582
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x41e885
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x41e885
lcall 0x5de5, 0x8b10c483
jmp loc.007c2104
Function at 0x100bbc60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x100bbc6f
pop dword [ebp - 8]
mov eax, 0xaec34134
sub eax, 0x9eb784c5
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x75cba
push 0
mov eax, 0x39d5f1b4
add eax, 0xd6401fe0
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0xe4e2937f
add ecx, 0x1b1db087
xor edi, edi
add edi, eax
mov esi, 0x8f277ede
add esi, 0x80f0a322
add esi, dword [ebp - 8]
mov ebx, 0x103e40cd
sub ebx, 0xa6c3807f
sub dword [ebp - 4], 0x166fdfe4
mov edx, dword [esi]
xor dword [ebp - 4], edi
add edx, ebx
xor dword [ebp - 4], 0x6d8a7579
mov dword [edi], edx
add dword [ebp - 4], edi
add edi, 0x8c21bfa9
sub edi, 0x8c21bfa5
add esi, 0xeb844af8
add esi, 0x147bb50c
loop 0x100bbcd0
add eax, 0x9a8b2607
add eax, 0x6575dce4
xor ebx, ebx
add ebx, eax
add eax, 0x94aaa11a
sub eax, 0x94aaa115
mov ecx, 0x15c854c8
add ecx, 0xfa37ab38
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x100e08a8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100e08b9
pop esi
ret
push ebx
push edi
push esi
call fcn.100bbc60
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100bbc60
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100e08e1
push ebx
push esi
push edi
call fcn.100ca6c0
add esp, 0xc
push 0
call fcn.100bbc60
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x40d24e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40d25d
pop dword [ebp - 0x44]
mov eax, 0xd986c5b2
add eax, 0x26ba0cab
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x416e8
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x569f
xor ebx, ebx
add ebx, eax
mov edi, 0x435400
add edi, dword [ebp - 0x44]
mov edx, 0x46105868
xor dword [ebp - 0x18], eax
mov esi, dword [edi]
sub dword [ebp - 0x2c], edi
sub esi, edx
xor dword [ebp - 0x1c], 0x4bc94e02
mov dword [ebx], esi
add dword [ebp - 0x28], esi
add ebx, 0x8cfcbbc1
sub ebx, 0x8cfcbbbd
add edi, 0x29c12db4
add edi, 0xd63ed250
loop 0x40d2a7
add eax, 0xd5484c23
sub eax, 0xd546fed4
xor ebx, ebx
add ebx, eax
add eax, 0x2517d445
sub eax, 0x2517d440
mov ecx, 0x44887885
sub ecx, 0x44487885
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x44b670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov esi, dword [eax*4 + 0x4820f8]
mov eax, esi
mov dword [esp + 0xc], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44b698
sub eax, edx
mov edi, eax
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0x14], edi
mov edx, edi
cmp edi, ecx
jb 0x44b6d8
movzx eax, byte [esi + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
mov esi, dword [esp + 0xc]
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x44b6b5
mov dword [esp + 0x14], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x44b752
lea ecx, [ecx]
cmp dword [eax + 0xc], edi
jne 0x44b74c
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x44b714
nop
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x44b744
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x44b700
test ecx, ecx
je 0x44b7c3
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x44b744
cmp ecx, 1
jbe 0x44b7c3
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x44b744
cmp ecx, 2
jbe 0x44b7c3
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x44b7c3
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x44b6f0
mov eax, dword [ebp + 8]
push esi
push eax
mov eax, ebx
call fcn.00431ff0
add esp, 8
mov ecx, dword [esp + 0x10]
or byte [eax + 5], 0x20
lea edx, [ecx + 1]
inc ecx
mov byte [eax + 6], dl
mov dword [esp + 0x10], ecx
cmp ecx, 0x1f
jl 0x44b684
mov ecx, dword [str.type]
test ecx, ecx
je 0x44b7bc
mov esi, 0x4821d0
mov bl, 0x2d
mov edi, edi
mov eax, ecx
add esi, 4
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x44b798
sub eax, edi
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call fcn.004320c0
or byte [eax + 5], 0x20
mov byte [eax + 6], bl
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
jne 0x44b790
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x44b761
xor cl, 3
mov byte [eax + 5], cl
jmp 0x44b761
Function at 0x45cc9a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x45ccc1
call fcn.0045d23b
mov dword [eax], esi
call fcn.0045d228
push 0x16
pop esi
mov dword [eax], esi
call fcn.00464420
mov eax, esi
jmp 0x45cd16
test dword [ebp + 0xc], 0xfffffff9
jne 0x45cca7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45ccee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045d24e
pop ecx
call fcn.0045d228
mov eax, dword [eax]
jmp 0x45cd16
test al, 0x10
jne 0x45cd14
test al, 1
je 0x45cd14
test byte [ebp + 0xc], 2
je 0x45cd14
call fcn.0045d23b
mov dword [eax], 5
call fcn.0045d228
mov dword [eax], 0xd
jmp 0x45cce5
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4715c0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4989d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00464769
and dword [ebp - 0x14], 0
cmp dword [0x49b184], 0
mov dword [ebp - 0x18], eax
jne 0x471673
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x47171b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x47171b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x480a6c
push ebx
mov dword [0x49b184], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49b188], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49b18c], eax
call edi
push eax
call esi
mov dword [0x49b194], eax
test eax, eax
je 0x471673
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49b190], eax
mov eax, dword [0x49b190]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4716cc
cmp dword [0x49b194], ecx
je 0x4716cc
push eax
call esi
push dword [0x49b194]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4716cc
test ebx, ebx
je 0x4716cc
call edi
test eax, eax
je 0x4716c3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4716c3
test byte [ebp - 8], 1
jne 0x4716cc
or dword [ebp + 0x10], 0x200000
jmp 0x4716ff
mov eax, dword [0x49b188]
cmp eax, dword [ebp - 0x18]
je 0x4716ff
push eax
call esi
test eax, eax
je 0x4716ff
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4716ff
mov eax, dword [0x49b18c]
cmp eax, dword [ebp - 0x18]
je 0x4716ff
push eax
call esi
test eax, eax
je 0x4716ff
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49b184]
call esi
test eax, eax
je 0x47171b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x47171d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459ed3
leave
ret
Function at 0x409390
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x496e7b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4b7480]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7480]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x219], eax
mov word [esp + 0x21d], ax
mov byte [esp + 0x21f], al
push 8
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x21c]
push eax
xor ebx, ebx
push ecx
mov byte [esp + 0x224], bl
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x409442
push 0x49fc70
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x409442
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x409442
push ecx
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, eax
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x409465
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
cmp eax, ebx
je 0x409465
mov dword [esi + 0x24], ebx
mov dword [esi + 0x24], edi
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0x58], ebx
mov dword [esi + 0x28], eax
jne 0x40950d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, ebx
jle 0x40950d
mov dword [esp + 0x14], ebx
lea edi, [eax + 1]
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x22c], ebx
ja 0x4094b0
cmp edi, 0xffffffff
jbe 0x4094ba
push 0x80070057
call fcn.00401160
cmp edi, 0x200
jbe 0x4094d2
push edi
lea ecx, [esp + 0x18]
call fcn.00403740
mov eax, dword [esp + 0x14]
jmp 0x4094da
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
cmp eax, ebx
mov ebp, eax
je 0x4094fc
mov ecx, dword [esi + 4]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x4094f8
push ebp
mov ecx, esi
call fcn.004080c0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x40950d
lea ecx, [esp + 0x14]
call fcn.004032a0
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0046f564
add esp, 0x21c
ret
Function at 0x40d3c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4974a9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7480]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea eax, [esi + 4]
push eax
mov dword [esi], 0x49faf0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x20]
push eax
push 4
xor ebx, ebx
push esi
push 0x4026d0
push ebx
push ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], ebx
mov dword [eax], ebx
call fcn.0046ee0d
add esp, 0x18
mov dword [esi + 0x1c], eax
mov ebp, dword [esp + 0x28]
lea edi, [esi + 0x2c]
mov dword [esi], 0x49fedc
mov dword [esi + 0x28], ebx
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x20], ebx
mov byte [edi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x40d444
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.0040ae30
mov ebp, dword [esp + 0x2c]
lea edi, [esi + 0x48]
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [esp + 0x20], 1
mov byte [edi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x40d476
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.0040ae30
mov ebp, dword [esp + 0x30]
lea edi, [esi + 0x64]
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [esp + 0x20], 2
mov byte [edi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x40d4a8
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.0040ae30
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
mov dword [esi + 0x80], eax
lea edi, [esi + 0x84]
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [esp + 0x20], 3
mov byte [edi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x40d4e7
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.0040ae30
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xa8], eax
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x20
Function at 0x4145c0
Capabilities:
Hide graphical window

Disassembly:
test ecx, ecx
push esi
je 0x4145cd
lea esi, [ecx - 0x88]
jmp 0x4145cf
xor esi, esi
mov eax, dword [esi + 4]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
ret

Function at 0x415d00
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebx, ecx
test ebx, ebx
push esi
push edi
je 0x415d15
lea esi, [ebx - 0x88]
jmp 0x415d17
xor esi, esi
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00415b70
mov edi, dword [esp + 0x44]
push 0x1000000
lea edx, [esp + 0x20]
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebx + 0x130]
push str.IDB_BITMAP_BTN_BKGND_SW
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov esi, eax
push edi
mov dword [esp + 0x14], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [esp + 0x2c]
push ecx
mov ebx, eax
xor eax, eax
push 0x18
push esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x415db3
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x14], edx
jmp 0x415db7
mov ebp, dword [esp + 0x18]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x24]
jge 0x415df9
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push 0xcc0020
push 0
push 0
push ebx
push ebp
push eax
sub ecx, ebp
push ecx
push esi
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
add esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x24]
jl 0x415dd0
mov esi, dword [esp + 0x5c]
push esi
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
test ebx, ebx
mov ebp, eax
je 0x415e11
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x10]
test eax, eax
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x415e22
push eax
call ebx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
push 0xcc0020
push eax
push ecx
push edi
sub edx, eax
push edx
mov edx, dword [esp + 0x68]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x64]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x60]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x415e60
push esi
call ebx
test edi, edi
je 0x415e6b
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x4167e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x497f93
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b7480]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov eax, 1
mov dword [esi], 0x4a0228
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], eax
mov dword [esp + 0x18], edi
mov dword [esi + 0x38], edi
push 0x405200
push 0x414d60
push 3
push 4
lea ecx, [esi + 0x3c]
push ecx
mov byte [esp + 0x2c], al
call fcn.0046fe44
mov dword [esi + 0x48], edi
mov eax, 0xffffff
push 0xc
mov ecx, esi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], edi
call fcn.00415c70
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x41b020
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4983db
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push esi
mov eax, dword [0x4b7480]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x29c], 0x14
jge 0x41b148
push 1
push 3
lea ecx, [esp + 0x2c]
call fcn.0041ab10
mov eax, 0x14
sub eax, dword [esi + 0x29c]
lea ecx, [esp + 0x2c]
push eax
push 0x4a044c
push ecx
mov dword [esp + 0xc0], 0
call fcn.00412fe0
add esp, 8
mov ecx, eax
call fcn.004131f0
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x28]
call fcn.0040eb30
cmp dword [eax + 0x18], 0x10
jb 0x41b0af
mov eax, dword [eax + 4]
jmp 0x41b0b2
add eax, 4
push eax
mov eax, dword [esi + 0x1a4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [esp + 0x20], 0x10
jb 0x41b0d4
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0046e29f
add esp, 4
mov edx, dword [esi + 0x1a4]
push edx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41b108
push eax
mov eax, dword [esi + 0x1a4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x78]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00407b80
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x7c], 0x49fae8
call fcn.0046dc67
add esp, 4
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xb0
ret
mov edx, dword [esi + 0x1a4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xb0
ret

Function at 0x41d5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49857b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b7480]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea edi, [esi + 4]
xor ebx, ebx
mov dword [esi], 0x4a054c
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x30], ebx
call fcn.0041d210
mov ecx, esi
call fcn.0041d330
mov ecx, esi
call fcn.0041d480
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0xf3
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], 0x13b
mov dword [esp + 0x30], 0x32
call dword [sym.imp.USER32.dll_InflateRect]
push 0x18
call fcn.0046f97d
add esp, 4
cmp eax, ebx
je 0x41d661
mov dword [eax], 0x4a04ec
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x10], edx
mov dword [eax], 0x4a0514
mov byte [eax + 0x14], bl
jmp 0x41d663
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0041d1a0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret