joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3ee430c2
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x73570c0d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
or esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
push edx
pop edi
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
push esi
pop eax
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
push eax
pop esi
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x4182a0
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push edi
mov edi, edx
test esi, esi
je 0x4182dc
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
lea ecx, [ebp - 4]
push ecx
push esi
push edi
push eax
call ebx
test eax, eax
je 0x4182e5
add edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
sub esi, dword [ebp - 4]
jne 0x4182c4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4184c0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x108c
call fcn.004a3ec0
mov eax, dword [0x57b070]
xor eax, esp
mov dword [esp + 0x1088], eax
push ebx
push esi
push edi
sub esp, 0xc
mov dword [esp + 0x18], edx
mov esi, ecx
call fcn.004182f0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x41865c
push 0x800
lea eax, [esp + 0x94]
push 0
push eax
call fcn.004a64e0
push 0x800
lea eax, [esp + 0x8a0]
push 0
push eax
call fcn.004a64e0
push 0x38
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.004a64e0
add esp, 0x24
mov dword [esp + 0x3c], 0x3c
lea eax, [esp + 0x90]
mov dword [esp + 0x50], 0x800
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x890]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push esi
mov dword [esp + 0x7c], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [esp + 0x4c]
sub esp, 0x18
mov ecx, ebx
call fcn.00418390
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
je 0x418659
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x7c]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x418653
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [esp + 0x7c]
call fcn.004189a0
cmp dword [esp + 0x8c], 8
lea ecx, [esp + 0x78]
push 0x20000000
push dword [esp + 0x8c]
cmovae ecx, dword [esp + 0x80]
push ecx
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
sub esp, 0xc
mov dword [esp + 0x20], 0x28
movups xmmword [esp + 0x34], xmm0
mov ecx, esi
mov dword [esp + 0x3c], eax
movups xmmword [esp + 0x24], xmm0
call fcn.00418430
add esp, 0xc
test eax, eax
je 0x41863a
push dword [ebp + 8]
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.004182a0
add esp, 4
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push esi
call edi
lea ecx, [esp + 0x78]
call fcn.00418a00
push dword [esp + 0x10]
call edi
push ebx
call edi
mov ecx, dword [esp + 0x1094]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a35cb
mov esp, ebp
pop ebp
ret
Function at 0x424500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x57b070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 4]
mov ebx, dword [ebp + 8]
test esi, esi
je 0x424550
mov ecx, esi
call fcn.0041d7c0
push 0x10
push esi
call fcn.004a3815
add esp, 8
mov dword [edi + 4], 0
test ebx, ebx
jne 0x42455b
xor al, al
jmp 0x424682
push 0
push 0x5147c0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0041c730
mov dword [ebp - 4], 0
cmp byte [edi], 0
jne 0x424648
push 0x551f54
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ebx
push eax
call fcn.004b1a8f
mov eax, dword [ebp - 0x30]
add esp, 0xc
test eax, eax
je 0x424644
push 2
push 0
push eax
call fcn.004b1e86
add esp, 0xc
push dword [ebp - 0x30]
call fcn.004b19c3
add esp, 4
mov esi, eax
push 0
push 0
push dword [ebp - 0x30]
call fcn.004b1e86
add esp, 0xc
lea ecx, [esi + 1]
push ecx
call fcn.004a3bb6
add esp, 4
mov ebx, eax
mov byte [ebx + esi], 0
push dword [ebp - 0x30]
push esi
push 1
push ebx
call fcn.004b2cfb
add esp, 0x10
cmp eax, esi
jne 0x424616
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424603
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0041c730
push dword [ebp - 0x30]
call fcn.004b1b4c
add esp, 4
push ebx
call fcn.004a3611
add esp, 4
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.004246b0
mov bl, al
jmp 0x42464a
xor bl, bl
jmp 0x42464a
mov bl, 1
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x424680
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x424677
test cl, 0x1f
jne 0x4246a0
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4246a0
sub ecx, eax
cmp ecx, 4
jb 0x4246a0
cmp ecx, 0x23
ja 0x4246a0
mov ecx, eax
push ecx
call fcn.004a360c
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a35cb
mov esp, ebp
pop ebp
ret 4
call fcn.004a9304
int3
Function at 0x428a40
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x57b070]
xor eax, esp
mov dword [esp + 0x1c], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, edx
mov dword [esp + 0x14], 0
push esi
push edi
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428a75
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.00418a60
mov edi, dword [esp + 0x1c]
lea eax, [edi*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x428aed
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x428ae6
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
lea eax, [edi + 1]
push eax
push ecx
call fcn.004b3332
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x428aed
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0xc]
call fcn.00418a00
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.004a35cb
mov esp, ebp
pop ebp
ret 4
Function at 0x42d6c0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x57b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x42d6ea
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x10], 0
jne 0x42d703
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a35cb
mov esp, ebp
pop ebp
ret 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42d6f0
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp byte [esi + 0x128], 0
lea eax, [esi + 0x18]
jne 0x42d724
mov eax, dword [esi + 0x14]
add eax, 4
push eax
call fcn.00428a40
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0x1c
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 1
push eax
push 4
mov dword [ebp - 0x70], 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x74], 0x1d0000
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], 0x2f0000
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0x2f0000
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x1d0000
mov dword [ebp - 0x38], 0xa
mov dword [ebp - 0x1c], 0xa
call dword [sym.imp.USER32.dll_SendInput]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004a35cb
mov esp, ebp
pop ebp
ret 8

Function at 0x42f480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x138]
test eax, eax
je 0x42f4ef
cmp byte [ebp + 8], 0
je 0x42f4e6
mov ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x110]
mov edx, dword [esi + 0x118]
mov dword [ebp + 8], eax
mov dword [ebp - 4], edx
test ecx, ecx
je 0x42f4c7
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.004510d0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
push 0x55
push 0
push 0
push edx
push eax
push 0
push dword [esi + 0x138]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x42f660
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
push edi
push dword [esi + 0x138]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esi + 0x108]
mov edi, eax
test ecx, ecx
je 0x42f68f
push ecx
call fcn.004ac7ec
add esp, 4
mov dword [esi + 0x108], 0
lea eax, [edi*2 + 2]
push eax
call fcn.004b12a2
add esp, 4
mov dword [esi + 0x108], eax
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 1]
push eax
push dword [esi + 0x108]
push dword [esi + 0x138]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x108]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi + 0x108]
pop edi
pop esi
ret
Function at 0x42fbb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x93c
mov eax, dword [0x57b070]
xor eax, esp
mov dword [esp + 0x938], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x2c]
sub ebx, dword [edi + 0x11c]
push dword [edi + 0x13c]
sub ebx, dword [edi + 0x118]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
lea eax, [esp + 0x140]
push 0x400
push eax
push dword [edi + 0x138]
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [edi + 0x178], 0
je 0x42fcf1
mov ecx, dword [edi + 0x10c]
lea eax, [esp + 0x140]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42fc49
test dx, dx
je 0x42fc45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42fc49
add eax, 4
add ecx, 4
test dx, dx
jne 0x42fc23
xor eax, eax
jmp 0x42fc4e
sbb eax, eax
or eax, 1
test eax, eax
je 0x42fcf1
lea esi, [esp + 0x140]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42fc60
sub esi, ecx
lea ecx, [esp + 0x18]
sar esi, 1
call fcn.00461c60
test esi, esi
jle 0x42fc9c
nop dword [eax]
push 0x25cf
lea eax, [esp + 0x1c]
push 0x55ef04
push eax
call fcn.004623d0
add esp, 0xc
sub esi, 1
jne 0x42fc80
cmp byte [esp + 0x134], 0
lea eax, [esp + 0x24]
cmove eax, dword [esp + 0x20]
add eax, 4
push eax
lea eax, [esp + 0x144]
push 0x400
push eax
call fcn.004b3332
add esp, 0xc
mov dword [esp + 0x18], vtable.t_str.0
cmp byte [esp + 0x134], 0
jne 0x42fced
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x42fced
push eax
call fcn.004ac7ec
add esp, 4
mov esi, dword [esp + 0x10]
mov edx, dword [edi + 0xfc]
lea eax, [esp + 0x14]
push 0
push 0x800
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
lea ecx, [esp + 0x150]
mov dword [esp + 0x24], 0
call fcn.0044fb40
mov ecx, dword [edi + 0x100]
add esp, 0x10
test ecx, ecx
je 0x42fd40
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [edi + 0x100], 0
push 0x34
call fcn.004a35dc
push ecx
push ebx
mov dword [esp + 0x20], eax
mov ecx, eax
push dword [esp + 0x1c]
push esi
call fcn.0044e580
cmp byte [edi + 0x31], 0
mov edx, eax
mov dword [edi + 0x100], edx
push 0
je 0x42fda5
mov al, byte [edi + 0x134]
mov ecx, dword [edi + 0x134]
mov byte [esp + 0x14], al
mov eax, ecx
mov dword [esp + 0x18], 0xffffffff
push dword [esp + 0x18]
shr eax, 8
shr ecx, 0x10
push 0x800
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], 0xff
push dword [esp + 0x1c]
jmp 0x42fddf
mov al, byte [edi + 0x130]
mov ecx, dword [edi + 0x130]
mov byte [esp + 0x18], al
mov eax, ecx
mov dword [esp + 0x14], 0xffffffff
push dword [esp + 0x14]
shr eax, 8
shr ecx, 0x10
push 0x800
mov byte [esp + 0x21], al
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], 0xff
push dword [esp + 0x20]
push 0
push 0
push dword [edi + 0xfc]
lea eax, [esp + 0x15c]
mov ecx, edx
push eax
call fcn.0044ef20
push 0
push 0
push 0xd6
push dword [edi + 0x138]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push dword [edi + 0x138]
cwde
mov dword [edi + 0x120], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x944]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a35cb
mov esp, ebp
pop ebp
ret
Function at 0x430480
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f98b3
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x57b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x57ed55], 0
je 0x4305d0
push 0x110
lea eax, [ebp - 0x1e8]
push 0
push eax
call fcn.004a64e0
add esp, 0xc
mov dword [ebp - 0x1ec], 0x114
lea eax, [ebp - 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4304f6
mov byte [0x57ed55], 0
jmp 0x4305d0
cmp dword [ebp - 0x1e8], 5
jbe 0x4304ea
lea ecx, [ebp - 0xd8]
call fcn.0044e290
sub esp, 0xc
mov dword [ebp - 4], 0
push 0
push 0xc
push 0x551f68
call fcn.0044e3c0
cmp byte [ebp - 0x80], 0
jne 0x4305be
cmp byte [0x57ed54], 0
mov esi, 1
je 0x4305a8
xor eax, eax
mov dword [ebp - 0x74], vtable.t_cuObject.0
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x74], vtable.t_cuFont.0
mov word [ebp - 0x68], ax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], ax
mov byte [ebp - 0x22], al
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1c], si
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
sub esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
push esi
push 0xc
push 0x551f74
call fcn.0044e3c0
movzx eax, byte [0x5834d0]
lea ecx, [ebp - 0x74]
cmp byte [ebp - 0x1c], 0
mov byte [0x57ed54], 0
cmove eax, esi
mov byte [0x5834d0], al
call fcn.0044e300
movzx eax, byte [0x5834d8]
cmp byte [0x5834d0], 0
cmovne eax, esi
mov byte [0x5834d8], al
lea ecx, [ebp - 0xd8]
mov byte [0x57ed55], 0
call fcn.0044e300
mov al, byte [0x5834d8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a35cb
mov esp, ebp
pop ebp
ret

Function at 0x431770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x431789
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4317c6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4317c2
nop word [eax + eax]
cmp esi, edx
jae 0x4317c6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4317b0
cmp esi, edx
jb 0x4317cd
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x431b50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x57b070]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, ecx
push esi
push edi
mov esi, dword [ebx + 0x194]
test esi, esi
je 0x431d6e
mov eax, dword [ebp + 8]
mov dword [esi + 0x1a0], eax
cmp eax, 3
ja case.default.0x431b89
jmp dword [eax*4 + 0x431d84]
mov ecx, esi
call fcn.00435670
jmp case.default.0x431b89
mov ecx, esi
call fcn.004357e0
mov dword [esi + 0x19c], 0x5543f8
jmp case.default.0x431b89
mov ecx, esi
call fcn.004357e0
jmp case.default.0x431b89
mov ecx, esi
call fcn.00435540
mov eax, dword [esi]
mov ecx, esi
push 0xd2
push 0x172
mov dword [esi + 0x28], 0x172
mov dword [esi + 0x2c], 0xd2
call dword [eax + 0x44]
push 0x16
push 0xd2
push 0x172
push 0
push 0
push 0
push dword [esi + 0xfc]
mov byte [esi + 0x64], 1
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [esi + 0x180]
cmp byte [edi + 0x30], 1
je 0x431c1f
mov eax, dword [edi]
mov ecx, edi
push 1
mov byte [edi + 0x30], 1
call dword [eax + 0x48]
cmp dword [edi + 0x84], edi
je 0x431c2b
mov byte [edi + 0x64], 1
mov edi, dword [esi + 0x184]
cmp byte [edi + 0x30], 1
je 0x431c44
mov eax, dword [edi]
mov ecx, edi
push 1
mov byte [edi + 0x30], 1
call dword [eax + 0x48]
cmp dword [edi + 0x84], edi
je 0x431c50
mov byte [edi + 0x64], 1
mov ecx, dword [esi + 0x180]
mov eax, dword [esi + 0x2c]
sub eax, dword [ecx + 0x2c]
sub eax, 0x1a
push eax
push 0x57
call fcn.00455010
mov eax, dword [esi + 0x180]
mov ecx, dword [eax + 0x28]
push dword [eax + 0x24]
mov eax, dword [eax + 0x20]
add ecx, 0xe
add eax, ecx
mov ecx, dword [esi + 0x184]
push eax
call fcn.00455010
mov ecx, dword [esi + 0x17c]
mov eax, dword [esi + 0x28]
push 0xb
sub eax, dword [ecx + 0x28]
sub eax, 0xb
push eax
call fcn.00455010
mov dword [esi + 0x19c], 0x554404
lea eax, [esp + 0xc]
push eax
push dword [ebx + 0xfc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebx + 0x194]
mov eax, dword [ebx + 0x2c]
push 0x1d
mov ecx, dword [edi + 0x2c]
sub eax, ecx
mov esi, dword [edi + 0x28]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x14]
push ecx
push esi
push eax
mov eax, dword [ebx + 0x28]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push dword [edi + 0xfc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx + 0x194]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 4
push dword [eax + 0xfc]
call edi
mov eax, dword [ebx + 0x194]
push dword [eax + 0xfc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [ebx + 0x194]
cmp byte [esi + 0x30], 1
je 0x431d36
mov eax, dword [esi]
mov ecx, esi
push 1
mov byte [esi + 0x30], 1
call dword [eax + 0x48]
cmp dword [esi + 0x84], esi
je 0x431d42
mov byte [esi + 0x64], 1
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
neg eax
sbb eax, eax
neg eax
add eax, 4
push eax
push dword [esi + 0xfc]
call edi
push 0
push dword [ebx + 0xfc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a35cb
mov esp, ebp
pop ebp
ret 8