joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402670
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x4026dd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4026dd
push esi
call fcn.004174b0
add esp, 4
test eax, eax
je 0x4026ba
mov ecx, 0x1505
xor edi, edi
nop dword [eax]
movzx edx, byte [esi + edi]
test edx, edx
je 0x4026c1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x4026a0
jmp 0x4026c3
mov ebx, 0x1505
jmp 0x4026c3
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x4026e5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4026f4
inc ebp
dec edi
je 0x4026db
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x4026db
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x4026f0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.004174b0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4026f0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004174d0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4026f0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x4026dd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x4026dd
Function at 0x4028f0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
test ecx, ecx
je 0x4029ed
mov ebx, edx
test edx, edx
je 0x4029ed
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x4029ed
push ebx
call fcn.004174b0
add esp, 4
test eax, eax
je 0x40294a
mov ecx, 0x1505
xor esi, esi
movzx edx, byte [ebx + esi]
test edx, edx
je 0x402951
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc esi
mov ecx, ebp
cmp eax, esi
jne 0x402930
jmp 0x402953
mov ebp, 0x1505
jmp 0x402953
mov ebp, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp]
mov edi, dword [ecx + 0x20]
lea esi, [edi - 1]
mov edx, edi
sub edx, 1
mov dword [esp + 4], ebx
jae 0x4029f5
mov eax, 0xffffffff
mov edi, dword [ecx + 0x18]
cmp edi, dword [ecx + 0x1c]
mov ebx, dword [esp + 4]
jb 0x4029b4
call fcn.00402b20
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
jne 0x4029ed
push ebx
call fcn.004174b0
add esp, 4
lea esi, [esp + 0x14]
mov edi, dword [esp]
mov ecx, edi
mov edx, ebx
push esi
push ebp
push eax
call fcn.00402a70
mov ecx, edi
add esp, 0xc
mov edi, dword [edi + 0x18]
mov esi, ecx
mov edx, dword [ecx + 0xc]
mov dword [edx + edi*4], ebx
mov ecx, dword [ecx + 4]
mov edx, dword [esi + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
mov edi, dword [esp + 0x2c]
mov dword [ecx + edx*4], edi
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4], ebp
inc dword [esi + 0x18]
mov eax, dword [esi]
mov dword [edi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and esi, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
jmp 0x402a0a
inc esi
dec edi
mov edx, ebx
je 0x40296f
mov eax, esi
mov ebx, edx
and eax, edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + eax*4]
cmp edx, 0xffffffff
je 0x402974
mov eax, dword [ecx + 8]
cmp dword [eax + edx*4], ebp
jne 0x402a00
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edx*4]
mov dword [esp + 0xc], eax
push eax
call fcn.004174b0
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x402a00
push dword [esp + 8]
push dword [esp + 0x10]
push dword [esp + 0xc]
call fcn.004174d0
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402a00
mov eax, 0xffffffff
jmp 0x4029ed
Function at 0x4032b0
Capabilities:
Compute adler32 checksum
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x403456
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test ebx, ebx
je 0x40344f
mov edx, 0x5e6ea9af
mov eax, ebx
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov esi, ebx
sub esi, eax
jmp 0x403348
add ebp, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov eax, edi
mov esi, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
mov eax, ecx
mul esi
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov edx, dword [esp + 4]
mov eax, edx
xor eax, ebx
not edx
and edx, ebx
add edx, edx
mov ebx, edx
mov esi, 0x15b0
sub ebx, eax
je 0x40344f
xor eax, eax
cmp esi, 8
jb 0x4033b1
mov eax, esi
and eax, 0x1ff8
mov dword [esp], eax
mov edx, 7
nop
movzx eax, byte [ebp]
add eax, edi
add ecx, eax
mov edi, esi
movzx esi, byte [ebp + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 6]
add eax, esi
mov esi, edi
add ecx, eax
movzx edi, byte [ebp + 7]
add edi, eax
add ecx, edi
add ebp, 8
add edx, 8
cmp edx, esi
jb 0x403360
mov eax, dword [esp]
mov edx, esi
sub edx, eax
mov dword [esp + 4], esi
jbe 0x403308
mov dword [esp + 0xc], edx
mov dword [esp], eax
not eax
add eax, esi
mov edx, esi
and edx, 3
mov dword [esp + 0x10], ebx
je 0x403401
mov dword [esp + 8], eax
neg edx
xor eax, eax
mov ebx, ebp
nop
movzx esi, byte [ebx]
inc ebx
add edi, esi
add ecx, edi
dec eax
cmp edx, eax
jne 0x4033e0
mov edx, dword [esp]
sub edx, eax
mov eax, dword [esp + 8]
cmp eax, 3
jb 0x403300
jmp 0x40340f
mov ebx, ebp
mov edx, dword [esp]
cmp eax, 3
jb 0x403300
mov eax, dword [esp + 4]
sub eax, edx
xor edx, edx
nop word [eax + eax]
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x403420
jmp 0x403300
shl ecx, 0x10
or ecx, edi
jmp 0x40345b
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x417c10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx edx, word [edi]
test dx, dx
je 0x417d2c
lea eax, [edi + 2]
xor ebx, ebx
mov ecx, 1
nop word [eax + eax]
movzx esi, dx
xor edx, edx
cmp esi, 0x800
setb dl
xor edx, 3
cmp esi, 0x80
cmovb edx, ecx
add ebx, edx
movzx edx, word [eax]
add eax, 2
test dx, dx
jne 0x417c40
lea esi, [ebx + 1]
push esi
call fcn.0043b230
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x417d3a
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x417ca8
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x417d3c
movzx edx, word [edi]
test dx, dx
je 0x417d3c
cmp dx, 0x7f
jbe 0x417c90
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
mov dword [esp + 4], esi
cmp esi, 0x7ff
ja 0x417cf0
cmp ecx, 2
jb 0x417cf0
mov ecx, edx
shr ecx, 6
add cl, 0xc0
mov byte [eax], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
mov esi, 2
jmp 0x417c97
xor esi, esi
cmp ecx, 3
jb 0x417c97
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
mov ecx, edx
not ecx
or ecx, 0x3f
add ecx, edx
add cl, 0x81
mov byte [eax + 2], cl
mov esi, 3
jmp 0x417c97
push 1
call fcn.0043b230
add esp, 4
mov ebp, eax
jmp 0x417d3c
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x417d67
mov ebx, eax
mov byte [esp + ecx + 0xc], bl
inc ecx
movzx eax, byte [ebp + ecx]
mov bl, 0x2f
cmp eax, 0x5c
je 0x417d62
test eax, eax
jne 0x417d60
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.0040edd0
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3d8d6a04
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7c217fc3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
nop
mov ecx, 0x61e77734
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x4b3f05e9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402730
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4061cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x8c], eax
mov al, byte [esi]
xor edx, edx
push edi
mov dword [ebp - 0x90], esi
mov ecx, esi
lea edi, [edx + 1]
test al, al
je 0x402789
cmp al, 0x22
jne 0x402774
xor eax, eax
test edx, edx
sete al
mov edx, eax
jmp 0x402781
cmp al, 0x20
je 0x40277c
test al, al
jne 0x402781
test edx, edx
jne 0x402781
inc edi
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x402765
mov ebx, dword [sym.imp.MSVCR110.dll_malloc]
lea eax, [edi*4 + 4]
push eax
call ebx
add esp, 4
mov dword [ebp - 0x88], eax
push 0x80
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4027c0
lea esi, [ebp - 0x84]
sub ecx, edx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4027d2
sub esi, edx
lea eax, [esi + ecx]
test eax, eax
je 0x4028cb
add eax, 2
push eax
call ebx
mov edi, eax
add esp, 4
test edi, edi
jne 0x4027fd
push 0xffffffffffffffff
call dword [sym.imp.MSVCR110.dll_exit]
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
call sub.MSVCR110.dll_memcpy
lea ecx, [ebp - 0x84]
add esp, 0xc
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402820
mov ebx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x88]
sub ecx, edx
mov dword [eax], edi
lea esi, [ecx + 1]
mov ecx, ebx
add esi, edi
mov edi, 1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402846
sub ecx, edx
lea eax, [ecx + 1]
push eax
push ebx
push esi
call sub.MSVCR110.dll_memcpy
mov ecx, esi
add esp, 0xc
xor edx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402864
mov eax, dword [ebp - 0x88]
sub ecx, ebx
mov dword [eax + 4], esi
lea ebx, [ecx + 1]
test ebx, ebx
jle 0x4028cb
lea ecx, [esi + 1]
movsx eax, byte [esi]
sub eax, 0
je 0x4028c7
sub eax, 0x20
je 0x4028b3
sub eax, 2
je 0x402896
inc esi
inc ecx
jmp 0x4028c8
xor eax, eax
test edx, edx
sete al
mov byte [esi], 0
mov edx, eax
test edx, edx
je 0x4028af
mov eax, dword [ebp - 0x88]
mov dword [eax + edi*4], ecx
inc esi
inc ecx
jmp 0x4028c8
test edx, edx
jne 0x4028c3
mov eax, dword [ebp - 0x88]
inc edi
mov byte [esi], dl
mov dword [eax + edi*4], ecx
inc esi
inc ecx
jmp 0x4028c8
inc edi
dec ebx
jne 0x402880
mov eax, dword [ebp - 0x8c]
push dword [ebp - 0x88]
mov dword [0x406f40], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [0x406f44], eax
call fcn.00402370
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
xor eax, eax
pop ebx
call fcn.00403328
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402910
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4061cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 1
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
cmp edi, esi
jle 0x4029c5
lea esp, [esp]
mov edx, dword [ebx + esi*4]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x110], eax
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402960
sub ecx, dword [ebp - 0x110]
cmp ecx, 3
jbe 0x4029c0
cmp byte [edx], 0x2d
jne 0x4029c0
cmp byte [edx + 2], 0x3d
jne 0x4029c0
movsx eax, byte [edx + 1]
push eax
call dword [sym.imp.MSVCR110.dll_toupper]
add esp, 4
cmp eax, 0x49
je 0x4029aa
cmp eax, 0x50
jne 0x4029c0
mov eax, dword [ebx + esi*4]
add eax, 3
push eax
call dword [sym.imp.MSVCR110.dll_atol]
mov dword [ebp - 0x10c], eax
jmp 0x4029bd
mov eax, dword [ebx + esi*4]
add eax, 3
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
mov dword [ebp - 0x108], eax
add esp, 4
inc esi
cmp esi, edi
jl 0x402950
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.00402cd0
add esp, 8
test eax, eax
je 0x402a20
push 0x10
push str.SAP_Graphics_Fatal_Error
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [ebp - 0x10c]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402a18
push 0
push dword [ebp - 0x108]
push 0x601
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x6f
call dword [sym.imp.MSVCR110.dll_exit]
lea eax, [edi*4]
push eax
call dword [sym.imp.MSVCR110.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x402a4a
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403328
mov esp, ebp
pop ebp
ret
test edi, edi
jle 0x402a5f
mov ecx, esi
sub ebx, esi
mov edx, edi
mov eax, dword [ebx + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x402a54
push 1
push esi
push edi
call sub.gnwie.dll_WIinitialise
mov esi, eax
add esp, 0xc
test esi, esi
je 0x402a37
push 1
push esi
call sub.gnwie.dll_WIgetvar
mov ecx, dword [0x406f44]
mov edx, dword [0x406f40]
push ecx
push edx
push str.hInst__X__hPrev__X_n
push esi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call sub.gnwie.dll_Wtrace
push sym.gnxlx.exe_cbexit
push esi
call sub.gnwie.dll_Wregexitproc
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403328
mov esp, ebp
pop ebp
ret

Function at 0x402c80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x402cc1
push 1
push dword [ebp + 8]
call sub.gnwie.dll_WIgetvar
mov edi, eax
add esp, 8
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402cb8
push dword [edi]
push dword [edi + 0x14]
push 0x601
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_PostMessageA]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR110.dll_exit]
pop ebp
ret
Function at 0x402fc8
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x406f48]
push esi
mov esi, dword [0x40614c]
test eax, eax
jne 0x402fe8
push 0x40
call fcn.004030aa
mov eax, dword [0x406f48]
pop ecx
cmp esi, eax
jle 0x402ff3
xor eax, eax
jmp 0x40307f
push ebx
xor ebx, ebx
push edi
cmp byte [ebp + 0x10], bl
je 0x40302b
push dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [0x406f4c]
push ebx
push ebx
push ebx
push 2
push eax
mov dword [ecx + esi*8], eax
lea edi, [ecx + esi*8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 4], eax
jmp 0x403040
push dword [ebp + 0xc]
mov eax, dword [0x406f4c]
push 2
lea edi, [eax + esi*8]
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [edi], eax
mov ecx, dword [0x40614c]
mov eax, dword [0x406150]
cmp ecx, eax
jge 0x40306b
mov edx, dword [0x406f4c]
cmp dword [edx + ecx*8], ebx
je 0x403061
inc ecx
cmp ecx, eax
jl 0x403055
jmp 0x40306b
mov dword [0x40614c], ecx
cmp ecx, eax
jne 0x403076
inc eax
mov dword [0x406150], eax
mov dword [0x40614c], eax
xor eax, eax
cmp dword [edi], ebx
pop edi
cmovne eax, esi
pop ebx
pop esi
pop ebp
ret
Function at 0x431004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
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
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x7e72438c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2ad900a2
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1f0a6c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1478000]
push edi
or ebp, 0xffffffff
jmp 0x1f0a6e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1f0a6e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0a6d8
mov eax, 1
add ebx, ebx
jne 0x1f0a6fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1f0a70c
jne 0x1f0a72b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0a72b
dec eax
add ebx, ebx
jne 0x1f0a718
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1f0a6f0
add ebx, ebx
jne 0x1f0a727
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1f0a77d
xor ecx, ecx
sub eax, 3
jb 0x1f0a743
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1f0a7b2
sar eax, 1
mov ebp, eax
jmp 0x1f0a74e
add ebx, ebx
jne 0x1f0a74e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0a71c
inc ecx
add ebx, ebx
jne 0x1f0a75c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0a71c
add ebx, ebx
jne 0x1f0a769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1f0a75e
jne 0x1f0a77a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1f0a75e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1f0a79c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1f0a78e
jmp 0x1f0a6de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1f0a79c
add edi, ecx
jmp 0x1f0a6de
pop esi
mov edi, esi
mov ecx, 0x660a7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1f0a7ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x1f0a7bf
lea edi, [esi + 0x1b05000]
mov eax, dword [edi]
or eax, eax
je 0x1f0a827
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b3dbf4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b3dd90]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1f0a7e5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b3dd98]
or eax, eax
je 0x1f0a821
mov dword [ebx], eax
add ebx, 4
jmp 0x1f0a802
call dword [esi + 0x1b3dd94]
mov ebp, dword [esi + 0x1b3dd9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1f0a85b
sub esp, 0xffffff80
jmp 0x163acd4