joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af690
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4af733
test eax, eax
jbe 0x4af733
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4af733
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4af6de
xor esi, esi
jmp 0x4af6e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4af70f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004484f0
add esi, eax
push esi
mov ebx, esi
call fcn.004484f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4af6f0
pop ebp
test edi, edi
pop edi
jne 0x4af733
test ebx, ebx
je 0x4af733
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004d0ca0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4af875
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4af98d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4af98d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004e32fa
mov esi, eax
test esi, esi
je 0x4af98d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4af98d
mov ecx, esi
call fcn.004af7e0
cmp edi, eax
jge 0x4af98d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4af913
mov dword [esp + 0x34], 1
jmp 0x4af96e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4af98d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004ae030
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4bd4a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4bd4ec
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4bd4ec
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4bd4d6
push eax
call ebp
test ax, ax
jl 0x4bd4e4
inc esi
add edi, 4
cmp esi, 6
jb 0x4bd4c8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004bd1a0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4c1220
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4c1280
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4c1280
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4c1280
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4c1280
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4c1290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4e3c9d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e3cd5
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.004e1d2a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e1d02
jmp 0x4e3ce1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e538f
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 0x4e53d1
call fcn.004eb312
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e53d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e53c8
xor eax, eax
jmp 0x4e53d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e53df
pop edi
pop esi
pop ebx
ret 4

Function at 0x4eb842
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4eb870
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4eb88e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004eb7a8
jmp 0x4eb88e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4eb88e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004eb7a8
test edi, edi
mov eax, edi
jne 0x4eb878
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4023d0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x114
mov eax, dword [0x424300]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
push edi
mov esi, ecx
xor edi, edi
lea ebx, [ebx]
call fcn.004025c0
test al, al
jne 0x4024e1
inc edi
cmp edi, 0xa
jl 0x4023f0
cmp dword [esi + 0x54], 0
je 0x4024ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x103
lea edx, [esp + 0x11]
push 0
push edx
mov byte [esp + 0x18], 0
call fcn.0040fed0
add esp, 0xc
push str.addr_F_
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0040b48f
mov edx, dword [esi + 0x54]
add esp, 0xc
push 1
lea ecx, [esp + 0x10]
push ecx
push str.TeamVoice
call edx
add esp, 0xc
push str.download_address_file_failed.
push ecx
push 0x4205e0
push 0x4267e0
call fcn.00408230
add esp, 0xc
push eax
call fcn.00408230
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402d10
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x4024a9
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4024a9
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x4024ca
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x4024c2
or eax, 4
push 0
push eax
call fcn.00401d80
mov ecx, dword [esp + 0x118]
pop edi
pop esi
xor ecx, esp
call fcn.0040ad1f
add esp, 0x114
ret
cmp dword [esi + 0x34], 8
jb 0x4024ec
mov eax, dword [esi + 0x20]
jmp 0x4024ef
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x34], 8
jb 0x402501
mov ecx, dword [esi + 0x20]
jmp 0x402504
lea ecx, [esi + 0x20]
cmp dword [esi + 0x50], 8
jb 0x40250f
mov eax, dword [esi + 0x3c]
jmp 0x402512
lea eax, [esi + 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [esi + 0x54], 0
je 0x4024ca
push 0x103
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.0040fed0
add esp, 0xc
push edi
push str.addr_S___d
lea ecx, [esp + 0x14]
push 0x104
push ecx
call fcn.0040b48f
mov eax, dword [esi + 0x54]
push 1
lea edx, [esp + 0x20]
push edx
push str.TeamVoice
call eax
add esp, 0x1c
push str._time_to_download_address_file.
push ecx
push edi
push ecx
push str.use
push ecx
push 0x4205e0
push 0x4267e0
call fcn.00408230
add esp, 0xc
push eax
call fcn.00408230
add esp, 0xc
push eax
call fcn.00402a10
add esp, 4
push eax
call fcn.00408230
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00402d10
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
jmp 0x40248b
Function at 0x4025c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x63c
mov eax, dword [0x424300]
xor eax, esp
mov dword [esp + 0x638], eax
cmp dword [esi + 0x50], 8
jb 0x4025df
mov eax, dword [esi + 0x3c]
jmp 0x4025e2
lea eax, [esi + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
cmp dword [esi + 0x50], 8
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp]
mov dword [esp + 0x1c], eax
jb 0x402611
mov edx, dword [esi + 0x3c]
jmp 0x402614
lea edx, [esi + 0x3c]
cmp dword [esi + 0x18], 8
jb 0x40261f
mov ecx, dword [esi + 4]
jmp 0x402622
lea ecx, [esi + 4]
lea eax, [esp + 4]
push eax
call fcn.00409ac0
mov ecx, dword [esp + 0x638]
test eax, eax
setne al
xor ecx, esp
call fcn.0040ad1f
add esp, 0x63c
ret

Function at 0x4034b0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, dword [esp + 8]
cmp ebx, 0xffffffff
je 0x4034ef
cmp ebx, 0xa
jne 0x4034f5
cmp dword [ecx + 0x54], 0x10
push edi
lea edi, [ecx + 0x3c]
jb 0x4034df
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00403b00
pop edi
mov eax, ebx
pop ebx
ret 4
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00403b00
pop edi
mov eax, ebx
pop ebx
ret 4
push esi
lea esi, [ecx + 0x3c]
call fcn.00403960
mov eax, dword [esp + 0xc]
pop esi
pop ebx
ret 4

Function at 0x403bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41d1b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x424300]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
mov eax, dword [0x426870]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x426870], 0x4207a8
mov edx, dword [0x426870]
mov esi, dword [edx + 4]
add esi, 0x426870
mov dword [esp + 0x10], 0x426870
call fcn.00401ee0
mov eax, dword [esp + 0x24]
push 0x20
push esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
call fcn.004075a0
mov byte [esi + 0x30], al
cmp dword [esi + 0x28], edi
jne 0x403c72
mov eax, dword [esi + 8]
or eax, 4
push edi
push eax
mov ecx, esi
call fcn.00401d80
mov eax, 0x426870
mov dword [esi + 4], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x403c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41d1b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x424300]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0xc], edi
mov eax, dword [0x4267e0]
mov ecx, dword [eax + 4]
mov dword [ecx + 0x4267e0], 0x4207f4
mov edx, dword [0x4267e0]
mov esi, dword [edx + 4]
add esi, 0x4267e0
mov dword [esp + 0x10], 0x4267e0
call fcn.00401ee0
mov eax, dword [esp + 0x24]
push esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
call fcn.00407660
mov word [esi + 0x30], ax
cmp dword [esi + 0x28], edi
jne 0x403d11
mov eax, dword [esi + 8]
or eax, 4
push edi
push eax
mov ecx, esi
call fcn.00401d80
mov eax, 0x4267e0
mov dword [esi + 4], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4

Function at 0x405590
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41cb0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x424300]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040aa47
push 4
mov dword [esp + 0x20], 0
call fcn.0040b17f
mov edi, eax
add esp, 4
test edi, edi
je 0x40560e
call fcn.0040a1a2
mov dword [edi], eax
call fcn.00409fd0
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00409ef4
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405603
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00409f1c
jmp 0x405610
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x405690
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41cb0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x424300]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0040aa47
push 4
mov dword [esp + 0x20], 0
call fcn.0040b17f
mov edi, eax
add esp, 4
test edi, edi
je 0x40570e
call fcn.0040a1a2
mov dword [edi], eax
call fcn.00409fd0
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00409ef4
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405703
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00409f1c
jmp 0x405710
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4098f0
Capabilities:
Parse url

Disassembly:
sub esp, 0x3c
push edi
mov edi, eax
test ebx, ebx
jne 0x409901
xor eax, eax
pop edi
add esp, 0x3c
ret
push esi
push 0x208
lea esi, [edi + 0x1c]
push 0
push esi
call fcn.0040fed0
push 0x208
add edi, 0x224
push 0
push edi
call fcn.0040fed0
push 0x3c
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0040fed0
add esp, 0x24
lea ecx, [esp + 8]
push ecx
mov eax, 0x103
push 0
push ebx
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
pop esi
pop edi
add esp, 0x3c
ret

Function at 0x409970
Capabilities:
Check http status code

Disassembly:
sub esp, 0x88
mov eax, dword [0x424300]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push 0
mov esi, ecx
mov edx, dword [esi + 0xc]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x13
push edx
mov dword [esp + 0x1c], 0x20
call edi
test eax, eax
jne 0x4099ca
call fcn.00409890
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0040ad1f
add esp, 0x88
ret
lea eax, [esp + 0xc]
push eax
call fcn.0040b4f6
add esp, 4
cmp eax, 0xc8
je 0x4099e5
cmp eax, 0xce
jne 0x4099ae
mov eax, dword [esi + 0xc]
push 0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x54]
push edx
push 5
push eax
mov dword [esp + 0x1c], 0x20
call edi
cmp eax, 1
jne 0x409a2a
lea ecx, [esp + 0x4c]
push ecx
call fcn.0040b4f6
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0040ad1f
add esp, 0x88
ret
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040ad1f
add esp, 0x88
ret

Function at 0x409a50
Capabilities:
Get file size

Disassembly:
push ecx
push esi
mov esi, eax
xor eax, eax
cmp dword [esi + 0x14], eax
push 0
setne al
push 0x8000000
lea eax, [eax + eax + 2]
push eax
push 0
push 0
push 0x40000000
lea eax, [esi + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x409a8d
call fcn.00409890
pop esi
pop ecx
ret
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esi]
push 2
push 0
push 0
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x40ad1f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424300]
jne 0x40ad29
repz ret
jmp fcn.0040edae

Function at 0x418044
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041042a
and dword [ebp - 4], 0
cmp dword [0x4264c8], 0
mov ebx, eax
jne 0x4180f5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4181a6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4181a6
push eax
call fcn.004103b8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4264c8], eax
call esi
push eax
call fcn.004103b8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4264cc], eax
call esi
push eax
call fcn.004103b8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4264d0], eax
call esi
push eax
call fcn.004103b8
pop ecx
mov dword [0x4264d8], eax
test eax, eax
je 0x4180f5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004103b8
pop ecx
mov dword [0x4264d4], eax
mov eax, dword [0x4264d4]
cmp eax, ebx
je 0x41814d
cmp dword [0x4264d8], ebx
je 0x41814d
push eax
call fcn.00410433
push dword [0x4264d8]
mov esi, eax
call fcn.00410433
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41814d
test edi, edi
je 0x41814d
call esi
test eax, eax
je 0x418144
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x418144
test byte [ebp - 0xc], 1
jne 0x41814d
or dword [ebp + 0x10], 0x200000
jmp 0x418186
mov eax, dword [0x4264cc]
cmp eax, ebx
je 0x418186
push eax
call fcn.00410433
pop ecx
test eax, eax
je 0x418186
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x418186
mov eax, dword [0x4264d0]
cmp eax, ebx
je 0x418186
push eax
call fcn.00410433
pop ecx
test eax, eax
je 0x418186
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4264c8]
call fcn.00410433
pop ecx
test eax, eax
je 0x4181a6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4181a8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x435440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x30000]
push edi
jmp 0x43545a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x435461
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x435450
mov eax, 1
add ebx, ebx
jne 0x435473
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x435468
jne 0x435484
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x435468
xor ecx, ecx
sub eax, 3
jb 0x435498
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43550a
mov ebp, eax
add ebx, ebx
jne 0x4354a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4354b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4354d4
inc ecx
add ebx, ebx
jne 0x4354c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4354b5
jne 0x4354d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4354b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4354f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4354e5
jmp 0x435456
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4354f4
add edi, ecx
jmp 0x435456
pop esi
mov edi, esi
mov ecx, 0x254
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x435512
cmp byte [edi], 2
jne 0x435512
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 0x435517
lea edi, [esi + 0x33000]
mov eax, dword [edi]
or eax, eax
je 0x43558f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3b0cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3b180]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x435544
mov ecx, edi
jns 0x435573
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3b184]
or eax, eax
je 0x435589
mov dword [ebx], eax
add ebx, 4
jmp 0x435561
call dword [esi + 0x3b194]
mov ebp, dword [esi + 0x3b188]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4355c3
sub esp, 0xffffff80
jmp 0x403291