joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f40ae
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x598be0]
je 0x4f40c9
inc edi
cmp edi, 0x17
jb 0x4f40ba
cmp edi, 0x17
jae 0x4f4249
push ebp
push 3
call fcn.004fb7cf
cmp eax, 1
pop ecx
je 0x4f4215
push 3
call fcn.004fb7cf
test eax, eax
pop ecx
jne 0x4f40fd
cmp dword [0x597f70], 1
je 0x4f4215
cmp ebx, 0xfc
je 0x4f4248
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x59d6f8
push ebp
call fcn.004ec526
add esp, 0xc
test eax, eax
je 0x4f4133
push esi
push esi
push esi
push esi
push esi
call fcn.004e2c71
add esp, 0x14
push 0x104
mov esi, 0x59d711
push esi
push 0
mov byte [0x59d815], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4f4177
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004ec526
add esp, 0xc
test eax, eax
je 0x4f4177
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004e2c71
add esp, 0x14
push esi
call fcn.004e29d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4f41bc
push esi
call fcn.004e29d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x59da0c
push 0x531270
sub ecx, eax
push ecx
push eax
call fcn.004ec1e3
add esp, 0x14
test eax, eax
je 0x4f41bc
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004e2c71
add esp, 0x14
jmp 0x4f41be
xor esi, esi
push 0x52f550
push ebx
push ebp
call fcn.004ec6d3
add esp, 0xc
test eax, eax
je 0x4f41de
push esi
push esi
push esi
push esi
push esi
call fcn.004e2c71
add esp, 0x14
push dword [edi*8 + 0x598be4]
push ebx
push ebp
call fcn.004ec6d3
add esp, 0xc
test eax, eax
je 0x4f4200
push esi
push esi
push esi
push esi
push esi
call fcn.004e2c71
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004fb612
add esp, 0xc
jmp 0x4f4248
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4f4248
cmp ebp, 0xffffffff
je 0x4f4248
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x598be4]
push dword [esi]
call fcn.004e29d0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4fb612
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004eebbf
xor ebx, ebx
cmp dword [0x59dc60], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4fb6e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4fb7c8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x54a7f8
push edi
call esi
cmp eax, ebx
je 0x4fb7c8
push eax
call fcn.004eeb51
mov dword [esp], 0x54a7e8
push edi
mov dword [0x59dc60], eax
call esi
push eax
call fcn.004eeb51
mov dword [esp], 0x54a7d4
push edi
mov dword [0x59dc64], eax
call esi
push eax
call fcn.004eeb51
mov dword [0x59dc68], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004e4b75
test eax, eax
pop ecx
pop ecx
je 0x4fb6b6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004e2c71
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4fb6e8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004eeb51
cmp eax, ebx
pop ecx
mov dword [0x59dc70], eax
je 0x4fb6e8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004eeb51
pop ecx
mov dword [0x59dc6c], eax
mov eax, dword [0x59dc6c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4fb76d
cmp dword [0x59dc70], ecx
je 0x4fb76d
push eax
call fcn.004eebc8
push dword [0x59dc70]
mov esi, eax
call fcn.004eebc8
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4fb76d
cmp edi, ebx
je 0x4fb76d
call esi
cmp eax, ebx
je 0x4fb73a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4fb73a
test byte [ebp - 0x18], 1
jne 0x4fb76d
lea eax, [ebp - 0x10]
push eax
call fcn.004e4bac
test eax, eax
pop ecx
je 0x4fb755
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004e2c71
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4fb764
or dword [ebp + 0x10], 0x200000
jmp 0x4fb7a8
or dword [ebp + 0x10], 0x40000
jmp 0x4fb7a8
mov eax, dword [0x59dc64]
cmp eax, dword [ebp - 8]
je 0x4fb7a8
push eax
call fcn.004eebc8
cmp eax, ebx
pop ecx
je 0x4fb7a8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4fb7a8
mov eax, dword [0x59dc68]
cmp eax, dword [ebp - 8]
je 0x4fb7a8
push eax
call fcn.004eebc8
cmp eax, ebx
pop ecx
je 0x4fb7a8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x59dc60]
call fcn.004eebc8
cmp eax, ebx
pop ecx
je 0x4fb7c8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4fb7ca
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4fedca
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x597f54]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004fed5f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004e3e60
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4fee19
cmp dword [ebp - 0x1c], 5
jb 0x4fee31
jmp 0x4fee2d
cmp dword [ebp - 0x10], 1
jne 0x4fee31
cmp dword [ebp - 0x1c], 4
ja 0x4fee2d
jne 0x4fee31
cmp dword [ebp - 0x18], 0
jbe 0x4fee31
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x54b164
call fcn.004fec33
test eax, eax
jge 0x4fee52
mov byte [0x599f84], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004e2867
add ebp, 0x78
leave
ret

Function at 0x4ff440
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x4ff450
xor eax, eax
pop esi
ret 8
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4ff44a
push eax
mov eax, dword [esp + 0xc]
push ecx
push 1
push eax
call fcn.004e3bd5
add dword [esi + 8], eax
add esp, 0x10
pop esi
ret 8

Function at 0x4ff470
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
push edi
je 0x4ff4af
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4ff4af
push eax
call fcn.004ea814
mov eax, dword [esi + 4]
push 0
push 0
push eax
call fcn.004e7e42
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x1c]
push ecx
push edi
push 1
push edx
call fcn.004e8163
add esp, 0x20
pop edi
pop esi
ret 8
pop edi
xor eax, eax
pop esi
ret 8
Function at 0x4ffe40
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x10]
push edi
xor ebx, ebx
lea eax, [esi + 0x1050]
push 0x52e76c
push ecx
mov dword [esi + 0x4c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x14], 0x1000
mov dword [esi + 0x10], eax
mov dword [esi + 0x3c], ebx
call fcn.004e3d1b
mov edx, dword [esp + 0x18]
push 0x532c4c
push edx
mov dword [esi + 0x44], eax
call fcn.0049f530
add esp, 0x10
mov edi, eax
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x4ffea9
lea eax, [esi + 0x50]
push 0x1000
push eax
push edi
mov dword [esi + 4], eax
call fcn.0049fa40
add esp, 0xc
cmp eax, ebx
mov dword [esi + 8], eax
je 0x4ffecd
mov ecx, dword [esi + 0x44]
push ecx
push eax
lea edx, [esi + 0x50]
push 1
push edx
call fcn.004e3bd5
add esp, 0x10
cmp eax, dword [esi + 8]
jne 0x4ffec6
mov dword [esi + 8], ebx
jmp 0x4ffe86
mov dword [esi + 0x4c], 0xffffffff
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x4ffee9
cmp eax, 1
je 0x4ffee9
mov eax, dword [esi]
mov edx, dword [eax + 4]
push str.Zlib_Error
mov ecx, esi
call edx
jmp 0x4ffefa
mov eax, dword [esi]
mov edx, dword [eax + 4]
push str.Success
mov ecx, esi
call edx
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x44]
push eax
call fcn.004e39fa
push edi
mov dword [esi + 0x44], ebx
call fcn.0049fd80
add esp, 8
cmp dword [esi + 0x3c], ebx
mov eax, 0xfffffff9
jne 0x4fff1c
mov eax, dword [esi + 0x4c]
pop edi
pop esi
pop ebx
ret 8
Function at 0x50c610
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push 1
push edx
call fcn.004e8163
add esp, 0x10
ret
Function at 0x517de0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test al, al
je 0x517df9
mov ecx, esi
pop esi
jmp fcn.004c2ee4
mov eax, 2
pop esi
ret
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x405a12
pop dword [ebp - 0x34]
mov eax, 0x530bab49
add eax, 0xad34aec9
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xb11abd60
sub dword [ebp - 0x44], 0x62c87815
mov dword [ebp - 0x40], 0x103a8ed6
sub dword [ebp - 0x40], 0xde074291
mov dword [ebp - 0x3c], 0xc940d523
sub dword [ebp - 0x3c], 0x7cf490f5
mov dword [ebp - 0x38], 0x2229e12
sub dword [ebp - 0x38], 0x2229e12
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xd9cd058
sub dword [ebp - 0x44], 0x992a6702
mov dword [ebp - 0x40], 0x2aeb8d19
sub dword [ebp - 0x40], 0xe97f2ba4
mov dword [ebp - 0x3c], 0xad184df9
add dword [ebp - 0x3c], 0xb6571e73
mov dword [ebp - 0x38], 0x307e607a
sub dword [ebp - 0x38], 0x307e607a
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x1bb60dd6
add eax, 0xe48a732a
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x396d4
push 0
call eax
mov ecx, 0x51c9
mov ebx, eax
mov edi, 0xf17f858e
sub edi, 0xf138a18e
add edi, dword [ebp - 0x34]
mov edx, 0xf144c0a4
sub edx, 0x2808fe8b
sub dword [ebp - 8], edx
mov esi, dword [edi]
xor dword [ebp - 0x1c], 0x58d227af
add esi, edx
sub dword [ebp - 0x2c], 0xc000d24f
mov dword [ebx], esi
mov dword [ebp - 0x20], 0x6be9f94f
add ebx, 0x71abf55
sub ebx, 0x71abf51
add edi, 4
loop 0x405b29
add eax, 0xac8a8f0
add eax, 0xf5389107
xor ebx, ebx
add ebx, eax
add eax, 0xb354a4d8
sub eax, 0xb354a4d3
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
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
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x417e10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc0
push esi
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [0x4c6adc]
push ecx
call sub.IMM32.dll_ImmGetContext
test esi, esi
mov dword [0x4c6adc], eax
je 0x417e53
lea edx, [esp + 4]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
pop esi
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xe]
mov eax, dword [esp + 0xc4]
and ecx, 0xffff
and edx, 0xffff
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa]
invalid
invalid

Function at 0x42f100
Capabilities:
Encode data using xor

Disassembly:
mov dh, 0xcb
push es
mov cl, 0x3f
jnp 0x42f161
adc al, 0xff
mov esp, 0x46b1433
xchg esi, eax
imul eax, dword [esi + edx*4], 0xb
push 0x1d
cmp ebx, ebp
pop ebx
cmpsb byte [esi], byte es:[edi]
sub byte [ecx - 0x32485dc5], cl
sub al, 0xf3
jge 0x42f10c
push 0x7c615f96
test dword [eax - 0x2bdaa1a9], 0x57f82c1
pop ss
ljmp 0xf5e

Function at 0x4376b5
Capabilities:
Encode data using xor

Disassembly:
push esp
cmp dword [ebp - 0x33e62a39], esp
stc
jmp 0xc148f101

Function at 0x4bb3b5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3398
cmp edx, dword [eax]
je 0x4bb3d7
add eax, 8
inc ecx
cmp eax, 0x4c3428
jl 0x4bb3c8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3398]
jne 0x4bb505
mov eax, dword [0x4c7d1c]
cmp eax, 1
je 0x4bb4df
test eax, eax
jne 0x4bb408
cmp dword [0x4c32c4], 1
je 0x4bb4df
cmp edx, 0xfc
je 0x4bb505
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb43f
lea eax, [ebp - 0x1a4]
push 0x4c0848
push eax
call fcn.004bbda0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc230
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb482
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc230
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c0844
push edi
call fcn.004be100
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0828
push eax
call fcn.004bbda0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bbdb0
lea eax, [ebp - 0xa0]
push 0x4c0824
push eax
call fcn.004bbdb0
push dword [esi + 0x4c339c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bbdb0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c07fc
push eax
call fcn.004be074
add esp, 0x2c
pop edi
jmp 0x4bb505
lea eax, [ebp + 8]
lea esi, [esi + 0x4c339c]
push 0
push eax
push dword [esi]
call fcn.004bc230
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 0x402540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 8], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x10]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call sub.msvcrt.dll___getmainargs
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 al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [ebp - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00402600
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
push ebp
mov ebp, esp
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
pop ebp
shl edx, 5
add eax, edx
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6b796bb1
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x162d1fdd
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4da960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x84000]
push edi
jmp 0x4da97a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4da981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4da970
mov eax, 1
add ebx, ebx
jne 0x4da993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4da9a4
jne 0x4da9c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4da9c3
dec eax
add ebx, ebx
jne 0x4da9b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4da988
add ebx, ebx
jne 0x4da9bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4daa15
xor ecx, ecx
sub eax, 3
jb 0x4da9db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4daa4a
sar eax, 1
mov ebp, eax
jmp 0x4da9e6
add ebx, ebx
jne 0x4da9e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4da9b4
inc ecx
add ebx, ebx
jne 0x4da9f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4da9b4
add ebx, ebx
jne 0x4daa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4da9f6
jne 0x4daa12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4da9f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4daa34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4daa26
jmp 0x4da976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4daa34
add edi, ecx
jmp 0x4da976
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4daa52
cmp byte [edi], 0x11
jne 0x4daa52
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 0x4daa57
lea edi, [esi + 0xd3000]
mov eax, dword [edi]
or eax, eax
je 0x4daacf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdc744]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdc8c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4daa84
mov ecx, edi
jns 0x4daab3
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 + 0xdc8c4]
or eax, eax
je 0x4daac9
mov dword [ebx], eax
add ebx, 4
jmp 0x4daaa1
call dword [esi + 0xdc8d4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4dab00
cmp al, 0xef
ja 0x4daaf3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4daad5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4daae2
mov ebp, dword [esi + 0xdc8c8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4dab34
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x42093067
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x481a56b8
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x405a60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405e4c
mov byte [esp], al
cmp byte [esp], 0
jne 0x405be9
test edi, edi
je 0x405be9
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405b20
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405afb
cmp edi, 0xffffffff
je 0x405abf
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405abf
mov byte [esp], 0
jmp 0x405be9
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405afb
test ebx, ebx
jne 0x405af4
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402524
test eax, eax
jne 0x405af4
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405be9
pause
dec ebp
test ebp, ebp
jg 0x405aa4
cmp edi, 0xffffffff
je 0x405b20
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405b1e
mov byte [esp], 0
jmp 0x405be9
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405a6e
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402524
cmp ebx, eax
jne 0x405b20
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405c5c
mov edx, eax
mov ebx, dword [0x4ba8c4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405b87
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405b85
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405b87
xor edi, edi
cmp byte [esp], 0
je 0x405bb0
mov ebx, dword [esi]
test bl, 1
jne 0x405bc9
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402524
cmp ebx, eax
jne 0x405b8d
mov byte [esp + 1], 1
jmp 0x405bc9
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402524
cmp ebx, eax
jne 0x405bb0
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405b3a
cmp byte [esp], 0
je 0x405be9
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x406a28
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ba04c], 0
je 0x406a89
cmp word [0x4ba328], 0xd7b2
jne 0x406a51
cmp dword [0x4ba330], 0
jbe 0x406a51
mov eax, 0x4ba324
call dword [0x4ba340]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x406ab4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b502a], 0
jne 0x406aa5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret