joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10288c9e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10288cc0
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1028a47f]
mov dl, byte [eax + 0x1028a450]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10288cc0
lea eax, [ebp - 0x24]
mov dword [0x102d87b0], 0x1372
mov dword [ebp - 0x34], eax
call fcn.102893a7
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1028815c
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10288cb8
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x102d87b0]
add ecx, 0xffffdbc9
mov dword [0x102d87b0], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.102882f5
mov eax, dword [0x102d87b0]
add eax, 0xffffe005
mov dword [0x102d87b4], eax
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x22f3
mov edx, dword [ebp - 0x3c]
add edx, 0xffc00000
mov esi, dword [ebp - 0x2c]
mov dword [esi + 0x18], edx
mov dword [0x102d87b0], 0x19c4
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x30], edx
cmp edx, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10288dc3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10288ee6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102d87b8], 0
mov dword [0x102d87bc], 0
mov dword [0x102d87c8], 0
mov ebx, dword [0x102d87b4]
add ebx, 0xfffff338
mov dword [0x102d87b0], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10288f6d
jmp 0x10288f75
mov eax, dword [0x102d87b8]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x102d87bc]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10288f75
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102d87b0], 0x20d1
mov dword [0x102d87b4], 0x7e7
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102d87b8], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x38]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x102d87bc], edx
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x102d87c0], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102d87c0]
mov edx, dword [0x102d87bc]
mov byte [edi + edx], cl
mov dword [0x102d87b4], 0x2664
mov edx, dword [0x102d87b8]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102d87bc]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102d87c8], ebx
mov dword [0x102d87b0], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x34]
mov ch, byte [edx + ebx]
mov byte [0x102d87cd], ch
mov byte [0x102d87ce], cl
xor ch, cl
mov byte [0x102d87cc], ch
mov dword [0x102d87b0], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x102d87b4], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x30], ebx
je 0x10288f6d
jmp 0x10288f4f
Function at 0x102891a9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, esp
lea eax, [esi + 0x20]
mov ecx, 0x10
mov dword [esi + 0x1c], eax
mov eax, ecx
call fcn.10287db0
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0x1c]
mov dword [0x102d87b0], 0x1f19
sub esp, 4
mov dword [esp], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ecx
call fcn.1028859a
add esp, 4
lea ecx, [0x10288b1a]
mov edx, dword [esi + 0x18]
mov edi, dword [edx]
mov dword [esi + 0x44], edi
mov dword [esi + 0x70], 0x13dc00
mov edi, dword [0x102d879c]
mov dword [esi + 0x4c], edi
mov edi, dword [0x102d87a0]
mov dword [esi + 0x68], edi
mov edi, dword [0x102d87a4]
mov dword [esi + 0x28], edi
mov edi, dword [0x102d87a8]
mov dword [esi + 0x64], edi
mov edi, dword [0x102d87ac]
mov dword [esi + 0x6c], edi
mov dword [0x102d87b4], 0x4bf
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
jmp 0x1028924e
mov eax, dword [esi + 8]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0xc]
cmp word [eax], 0x5a4d
mov dword [esi + 4], eax
jne 0x10289271
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x3c]
mov dword [esi], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp dword [eax + ecx], 0x4550
je 0x10289283
mov eax, dword [esi + 4]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esi + 0xc], eax
jmp 0x1028924e
mov eax, dword [esi + 4]
mov dword [esi + 0x58], eax
mov dword [0x102d87b4], 0xe73
mov ecx, dword [esi]
mov edx, dword [eax + ecx + 0x50]
mov dword [esi + 0x5c], edx
call fcn.10288b61
xor ecx, ecx
cmp eax, 0
mov dword [esi + 8], ecx
jne 0x10289244
lea eax, [esi + 0x20]
mov dword [0x102d87b4], 0x341
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx + 8]
push edx
push eax
call fcn.10288c9e
add esp, 8
sub esp, 4
mov ecx, esp
lea edx, [esi + 0x20]
mov dword [ecx], edx
call eax
mov eax, 1
mov dword [esi + 8], eax
jmp 0x10289244
Function at 0x40196f
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x58ced85
jg 0x401995
inc edi
cmp edi, 0x1f6502b1
jl 0x40197b
cmp dword [0x280fac4], 0x400
jne 0x4019de
push str.sadahoziyofejonoh_niforapo_pihekezavokigubodatojup_rafepigojamulexiwodugaxexude_jam
push str.nelugidoneyari
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeKeepStringHandle]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
push esi
push esi
call fcn.00401dd1
push esi
call fcn.00401f47
push esi
call fcn.00401f56
add esp, 0x10
xor edi, edi
cmp edi, 0xd09a
jge 0x4019ef
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp edi, 0xd2ced2
jg 0x401a17
inc edi
cmp edi, 0x263ff
jl 0x4019e0
mov eax, dword [0x421c14]
mov dword [0x280fac4], eax
call fcn.004016e4
mov edi, 0x3078f
cmp dword [0x280fac4], 0x51f
jne 0x401a43
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x401a2b
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10
Function at 0x404f8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x421a80]
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.00403343
and dword [ebp - 0x14], 0
cmp dword [0x42c784], 0
mov dword [ebp - 0x18], eax
jne 0x40503e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4050e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4050e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42c784], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42c788], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42c78c], eax
call edi
push eax
call esi
mov dword [0x42c794], eax
test eax, eax
je 0x40503e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42c790], eax
mov eax, dword [0x42c790]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405097
cmp dword [0x42c794], ecx
je 0x405097
push eax
call esi
push dword [0x42c794]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405097
test ebx, ebx
je 0x405097
call edi
test eax, eax
je 0x40508e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40508e
test byte [ebp - 8], 1
jne 0x405097
or dword [ebp + 0x10], 0x200000
jmp 0x4050ca
mov eax, dword [0x42c788]
cmp eax, dword [ebp - 0x18]
je 0x4050ca
push eax
call esi
test eax, eax
je 0x4050ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4050ca
mov eax, dword [0x42c78c]
cmp eax, dword [ebp - 0x18]
je 0x4050ca
push eax
call esi
test eax, eax
je 0x4050ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42c784]
call esi
test eax, eax
je 0x4050e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4050e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004052f6
leave
ret

Function at 0x4052f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421a80]
jne 0x405300
repz ret
jmp fcn.004060af

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

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x1dc5164a
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x38d828e0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40633c
pop dword [ebp - 0x18]
mov eax, 0xd6a86a9c
add eax, 0x2997f8a0
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x4954a539
sub dword [ebp - 0x28], 0xfb025fee
mov dword [ebp - 0x24], 0x4e6c887a
sub dword [ebp - 0x24], 0x1c393c35
mov dword [ebp - 0x20], 0x8e9de036
add dword [ebp - 0x20], 0xbdae63f8
mov dword [ebp - 0x1c], 0xf67f0cc7
sub dword [ebp - 0x1c], 0xf67f0cc7
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xc5f3a78d
add dword [ebp - 0x28], 0xae7ec1c9
mov dword [ebp - 0x24], 0x4f4fd11a
sub dword [ebp - 0x24], 0xde36fa5
mov dword [ebp - 0x20], 0xfb92f6f7
add dword [ebp - 0x20], 0x67dc7575
mov dword [ebp - 0x1c], 0xbc737b5a
sub dword [ebp - 0x1c], 0xbc737b5a
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x7c6ad644
sub eax, 0x7c2a6544
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x35ba1
push 0
call eax
mov ecx, 0x14682e37
add ecx, 0xeb981638
xor edx, edx
add edx, eax
mov esi, 0x57b53792
add esi, 0xa88bc86e
add esi, dword [ebp - 0x18]
mov ebx, 0xb3487927
add ebx, 0xe099e52
sub dword [ebp - 0x10], 0x5a30a941
mov edi, dword [esi]
add edi, ebx
xor dword [ebp - 0x14], ecx
mov dword [edx], edi
sub dword [ebp - 4], 0xeb525d79
add edx, 0x50361bbf
sub edx, 0x50361bbb
add esi, 0xe54ce936
sub esi, 0xe54ce932
loop 0x40645b
add eax, 0x81433075
sub eax, 0x81422be6
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x543f8a2c
sub ecx, 0x53ff8a2c
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x402eb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
test eax, eax
je 0x402f18
cmp byte [esi + eax - 1], 0xa
mov ebx, eax
je 0x402f10
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4070a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x402eda
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x403590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov ebx, dword [ebp + 0xc]
mov dword [esp], ebx
call sym.___wine_dbg_get_channel_flags
movzx ecx, byte [ebp + 8]
movzx eax, al
sar eax, cl
test al, 1
je 0x403778
mov edx, dword [0x4070a4]
mov eax, dword fs:[0x18]
cmp dword [eax + 0x24], edx
je 0x403768
test byte [0x404084], 8
jne 0x403710
lea edi, [ebp - 0xd4]
mov esi, edi
test byte [0x404094], 8
jne 0x4036d0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov ecx, str._04x:
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x40361a
cmp dword [ebp + 8], 3
jbe 0x403688
mov dword [esp], 2
mov ebx, edi
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov esi, dword [ebx]
add ebx, 4
lea ecx, [esi - 0x1010101]
not esi
and ecx, esi
and ecx, 0x80808080
je 0x403629
mov dword [esp + 0xc], eax
mov esi, ecx
mov eax, 1
mov dword [esp + 4], eax
shr esi, 0x10
test ecx, 0x8080
mov dword [esp], edi
cmove ecx, esi
lea esi, [ebx + 2]
mov dl, cl
cmove ebx, esi
add dl, cl
sbb ebx, 3
sub ebx, edi
mov dword [esp + 8], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x10]
add eax, esi
inc ebx
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx*4 + 0x405388]
mov edx, str._s:_s:_s
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, edi
sub ecx, eax
add ecx, 0xc8
mov dword [esp + 4], ecx
call sym._snprintf.constprop.0
jmp 0x40361a
mov dword [esp], 0x404094
call sym.___wine_dbg_get_channel_flags
and al, 8
je 0x4035ef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov ecx, str._04x:
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym._sprintf
add esi, eax
jmp 0x4035ef
mov dword [esp], 0x404084
call sym.___wine_dbg_get_channel_flags
and al, 8
je 0x4035da
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov esi, str._3u._03u:
mov dword [esp + 4], esi
lea edi, [ebp - 0xd4]
mov dword [esp], edi
mov ecx, eax
mul edx
shr edx, 6
mov dword [esp + 8], edx
imul eax, edx, 0x3e8
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea esi, [edi + eax]
jmp 0x4035e2
add esp, 0xe0
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffff
jmp 0x403677

Function at 0x403840
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete dl
movzx edx, dl
inc edx
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

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