joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54e330
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x4c]
add eax, 0x493e0
cmp edi, eax
jbe 0x54e35d
mov ecx, esi
call fcn.0054e2f0
push 0x5d4260
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret

Function at 0x554350
Capabilities:
Print debug messages

Disassembly:
mov ecx, dword [ecx + 0x1f4]
test ecx, ecx
jne 0x55435f
xor eax, eax
ret 8
jmp 0x559590
mov edx, dword [esp + 4]
fld dword [edx]
sub esp, 8
fld qword [0x5c4768]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jnp 0x559694
fldz
fcom dword [edx]
fnstsw ax
test ah, 0x41
je 0x559692
fld dword [edx + 8]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
je 0x559694
fcomp dword [edx + 8]
fnstsw ax
test ah, 0x41
je 0x559696
push esi
fnstcw word [esp + 0x10]
mov esi, dword [esp + 0x14]
fld dword [esi + 8]
fld qword [0x5c3098]
movzx eax, word [esp + 0x10]
fdiv st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fxch st(1)
fistp qword [esp + 4]
mov eax, dword [esp + 4]
push eax
fldcw word [esp + 0x14]
fld dword [esi]
fdiv st(1)
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp qword [esp + 8]
mov eax, dword [esp + 8]
push eax
fldcw word [esp + 0x18]
fld dword [edx + 8]
fdiv st(1)
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0xc]
mov eax, dword [esp + 0xc]
push eax
fldcw word [esp + 0x1c]
fdivr dword [edx]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
fldcw word [esp + 0x20]
call fcn.00558fb0
pop esi
add esp, 8
ret 8
fstp st(0)
fstp st(0)
push str._____________________________.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add esp, 8
ret 8

Function at 0x555850
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1f4], 0
push edi
je 0x5558ff
mov edi, dword [esp + 0x14]
test edi, edi
je 0x5558ff
push 0
push 1
push 0x7201a0
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x5558ff
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [0x72018c], ecx
mov edx, dword [eax + 4]
mov dword [0x720190], edx
mov eax, dword [eax + 8]
mov dword [0x720194], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [0x720180], ecx
mov edx, dword [eax + 4]
mov dword [0x720184], edx
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x18]
mov dword [0x720188], eax
mov ecx, dword [esi + 0x1f4]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x5557c0
push 0
push 0
mov dword [0x72019c], ecx
mov dword [0x720198], edi
mov dword [0x6e1b84], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x555906
push eax
push 0x7201a0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
xor eax, eax
pop esi
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
ret 0x10
Function at 0x55afd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea edi, [ebx + 0xa0]
mov ecx, edi
call fcn.0040a8c0
mov ebp, 1
cmp dword [ebx + 0x88], ebp
jbe 0x55b153
fldz
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul qword [0x5bd7b0]
fstp qword [esp + 0x14]
jmp 0x55b010
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x84]
xor eax, eax
test ecx, ecx
je 0x55b027
mov ecx, dword [ecx]
test ecx, ecx
je 0x55b027
mov eax, dword [ecx]
lea ecx, [edx + ebp]
test eax, eax
je 0x55b03a
mov eax, dword [eax]
test eax, eax
je 0x55b03a
mov eax, dword [eax]
test eax, eax
jne 0x55b03e
xor edx, edx
jmp 0x55b040
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x55b051
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x55b073
fadd dword [0x5ba9e4]
fmul dword [esp + 0x3c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x84]
xor edx, edx
fadd qword [esp + 0x14]
fstp dword [esp + 0x1c]
test eax, eax
je 0x55b096
mov eax, dword [eax]
test eax, eax
je 0x55b096
mov edx, dword [eax]
add ecx, ebp
test edx, edx
je 0x55b0a8
mov edx, dword [edx]
test edx, edx
je 0x55b0a8
mov edx, dword [edx]
test edx, edx
jne 0x55b0ac
xor edx, edx
jmp 0x55b0ae
mov edx, dword [edx]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x55b0bf
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x55b0e1
fadd dword [0x5ba9e4]
fmul dword [esp + 0x3c]
mov ecx, dword [edi + 0x10]
inc ecx
fadd qword [esp + 0x14]
fstp dword [esp + 0x24]
cmp dword [edi + 8], ecx
ja 0x55b0ff
push 1
mov ecx, edi
call fcn.0040a770
mov esi, dword [edi + 0xc]
add esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
cmp eax, esi
ja 0x55b10e
sub esi, eax
mov edx, dword [edi + 4]
cmp dword [edx + esi*4], 0
jne 0x55b12b
push 0xc
call fcn.00589a56
add esp, 4
test eax, eax
je 0x55b16b
mov ecx, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
lea edx, [esp + 0x1c]
push edx
push ecx
lea edx, [edi + 0x14]
push edx
call fcn.0040aa30
inc dword [edi + 0x10]
inc ebp
add esp, 0xc
cmp ebp, dword [ebx + 0x88]
jb 0x55b010
mov esi, dword [esp + 0x38]
push edi
mov ecx, esi
call fcn.0055ee60
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0
call fcn.0058a7a0
push 0x5edeb0
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.0058a6bb
int3
Function at 0x55b1a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea edi, [ebx + 0xb8]
mov ecx, edi
call fcn.0040a8c0
xor ebp, ebp
cmp dword [ebx + 0x88], ebp
jbe 0x55b323
fldz
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul qword [0x5bd7b0]
fstp qword [esp + 0x14]
jmp 0x55b1e0
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x84]
xor eax, eax
test ecx, ecx
je 0x55b1f7
mov ecx, dword [ecx]
test ecx, ecx
je 0x55b1f7
mov eax, dword [ecx]
lea ecx, [edx + ebp]
test eax, eax
je 0x55b20a
mov eax, dword [eax]
test eax, eax
je 0x55b20a
mov eax, dword [eax]
test eax, eax
jne 0x55b20e
xor edx, edx
jmp 0x55b210
mov edx, dword [eax]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x55b221
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x55b243
fadd dword [0x5ba9e4]
fmul dword [esp + 0x3c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x84]
xor edx, edx
fadd qword [esp + 0x14]
fstp dword [esp + 0x1c]
test eax, eax
je 0x55b266
mov eax, dword [eax]
test eax, eax
je 0x55b266
mov edx, dword [eax]
add ecx, ebp
test edx, edx
je 0x55b278
mov edx, dword [edx]
test edx, edx
je 0x55b278
mov edx, dword [edx]
test edx, edx
jne 0x55b27c
xor edx, edx
jmp 0x55b27e
mov edx, dword [edx]
mov esi, dword [edx + 8]
mov eax, ecx
shr eax, 2
and ecx, 3
cmp esi, eax
ja 0x55b28f
sub eax, esi
mov edx, dword [edx + 4]
mov eax, dword [edx + eax*4]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jns 0x55b2b1
fadd dword [0x5ba9e4]
fmul dword [esp + 0x3c]
mov ecx, dword [edi + 0x10]
inc ecx
fadd qword [esp + 0x14]
fstp dword [esp + 0x24]
cmp dword [edi + 8], ecx
ja 0x55b2cf
push 1
mov ecx, edi
call fcn.0040a770
mov esi, dword [edi + 0xc]
add esi, dword [edi + 0x10]
mov eax, dword [edi + 8]
cmp eax, esi
ja 0x55b2de
sub esi, eax
mov edx, dword [edi + 4]
cmp dword [edx + esi*4], 0
jne 0x55b2fb
push 0xc
call fcn.00589a56
add esp, 4
test eax, eax
je 0x55b33b
mov ecx, dword [edi + 4]
mov dword [ecx + esi*4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*4]
lea edx, [esp + 0x1c]
push edx
push ecx
lea edx, [edi + 0x14]
push edx
call fcn.0040aa30
inc dword [edi + 0x10]
inc ebp
add esp, 0xc
cmp ebp, dword [ebx + 0x88]
jb 0x55b1e0
mov esi, dword [esp + 0x38]
push edi
mov ecx, esi
call fcn.0055ee60
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0
call fcn.0058a7a0
push 0x5edeb0
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.0058a6bb
int3
Function at 0x56e900
Capabilities:
Set current directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
cmp esi, 0x12
jb 0x56e91e
push 0
push 0x72
push 0x5d6178
call fcn.0052c780
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x56e936
cmp esi, 0x11
je 0x56e936
mov eax, dword [edi + esi*4 + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [edi + 0x50], esi
pop edi
pop esi
ret 4
Function at 0x581450
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
sub esp, 0x804
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
xor ecx, ecx
push esi
lea eax, [ecx + 1]
push edi
lea ecx, [ecx]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
lea esi, [eax + eax]
and edx, 0x1b
mov dword [esp + ecx*4 + 0x410], eax
mov dword [esp + eax*4 + 0x10], ecx
xor edx, esi
xor eax, edx
inc ecx
and eax, 0xff
cmp ecx, 0x100
jl 0x581470
mov eax, 1
mov ecx, 0x7210b0
lea esp, [esp]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov dword [ecx], eax
add eax, eax
and edx, 0x1b
xor eax, edx
add ecx, 4
and eax, 0xff
cmp ecx, 0x7210d8
jl 0x5814b0
mov byte [0x7231d8], 0x63
mov byte [0x72213b], 0
mov ebx, 1
mov ecx, dword [esp + ebx*4 + 0x10]
add ecx, ecx
add ecx, ecx
lea edx, [esp + 0x80c]
sub edx, ecx
mov eax, dword [edx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, 0xff
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, 0xff
xor eax, edx
mov byte [ebx + 0x7231d8], al
mov byte [eax + 0x7220d8], bl
inc ebx
cmp ebx, 0x100
jl 0x5814e8
xor ecx, ecx
lea ebx, [ebx]
movzx esi, byte [ecx + 0x7231d8]
mov edx, esi
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
and edx, 0x1b
lea eax, [esi + esi]
xor edx, eax
and edx, 0xff
mov eax, edx
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, edx
mov dword [ecx*4 + 0x722dd8], eax
rol eax, 8
mov dword [ecx*4 + 0x7229d8], eax
rol eax, 8
mov dword [ecx*4 + 0x7225d8], eax
rol eax, 8
mov dword [ecx*4 + 0x7221d8], eax
movzx eax, byte [ecx + 0x7220d8]
test eax, eax
je 0x581616
mov esi, dword [esp + eax*4 + 0x10]
mov edx, dword [esp + 0x48]
lea eax, [esi + edx]
cdq
mov edi, 0xff
idiv edi
mov eax, dword [esp + 0x34]
add eax, esi
mov ebp, dword [esp + edx*4 + 0x410]
cdq
idiv edi
mov ebx, dword [esp + edx*4 + 0x410]
mov edx, dword [esp + 0x44]
lea eax, [esi + edx]
cdq
idiv edi
mov eax, dword [esp + 0x3c]
add eax, esi
mov esi, 0xff
mov edi, dword [esp + edx*4 + 0x410]
cdq
idiv esi
mov edx, dword [esp + edx*4 + 0x410]
jmp 0x58161e
xor ebp, ebp
xor ebx, ebx
xor edi, edi
xor edx, edx
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ebx
shl edx, 8
xor edx, ebp
mov dword [ecx*4 + 0x721cd8], edx
rol edx, 8
mov dword [ecx*4 + 0x7218d8], edx
rol edx, 8
mov dword [ecx*4 + 0x7214d8], edx
rol edx, 8
mov dword [ecx*4 + 0x7210d8], edx
inc ecx
cmp ecx, 0x100
jl 0x581560
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00589b64
add esp, 0x804
ret
Function at 0x581680
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x11c
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x118], eax
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x124]
mov eax, edx
sub eax, 0x80
push edi
mov edi, dword [esp + 0x124]
je 0x5816d1
sub eax, 0x40
je 0x5816c9
sub eax, 0x40
jne 0x581884
mov dword [edi], 0xe
jmp 0x5816d7
mov dword [edi], 0xc
jmp 0x5816d7
mov dword [edi], 0xa
push esi
push edx
push ecx
lea eax, [esp + 0x10]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.00580ef0
mov eax, dword [esp + 0x14]
shl eax, 4
add eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [edi]
dec ecx
add esi, 0x10
sub eax, 0x10
test ecx, ecx
jle 0x58186d
nop
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x7231d8]
mov edx, dword [edx*4 + 0x7210d8]
movzx edi, byte [eax + 2]
movzx edi, byte [edi + 0x7231d8]
xor edx, dword [edi*4 + 0x7214d8]
movzx edi, byte [eax + 1]
movzx edi, byte [edi + 0x7231d8]
xor edx, dword [edi*4 + 0x7218d8]
mov edi, dword [eax]
and edi, 0xff
movzx edi, byte [edi + 0x7231d8]
xor edx, dword [edi*4 + 0x721cd8]
dec ecx
mov dword [esi], edx
mov edx, dword [eax + 4]
movzx edi, byte [eax + 7]
movzx edi, byte [edi + 0x7231d8]
and edx, 0xff
movzx edx, byte [edx + 0x7231d8]
mov edx, dword [edx*4 + 0x721cd8]
xor edx, dword [edi*4 + 0x7210d8]
movzx edi, byte [eax + 6]
movzx edi, byte [edi + 0x7231d8]
xor edx, dword [edi*4 + 0x7214d8]
movzx edi, byte [eax + 5]
movzx edi, byte [edi + 0x7231d8]
xor edx, dword [edi*4 + 0x7218d8]
add esi, 0x10
mov dword [esi - 0xc], edx
mov edx, dword [eax + 8]
movzx edi, byte [eax + 0xb]
movzx edi, byte [edi + 0x7231d8]
and edx, 0xff
movzx edx, byte [edx + 0x7231d8]
mov edx, dword [edx*4 + 0x721cd8]
xor edx, dword [edi*4 + 0x7210d8]
movzx edi, byte [eax + 0xa]
movzx edi, byte [edi + 0x7231d8]
xor edx, dword [edi*4 + 0x7214d8]
movzx edi, byte [eax + 9]
movzx edi, byte [edi + 0x7231d8]
xor edx, dword [edi*4 + 0x7218d8]
sub eax, 0x10
mov dword [esi - 8], edx
mov edx, dword [eax + 0x1c]
movzx edi, byte [eax + 0x1f]
movzx edi, byte [edi + 0x7231d8]
and edx, 0xff
movzx edx, byte [edx + 0x7231d8]
mov edx, dword [edx*4 + 0x721cd8]
xor edx, dword [edi*4 + 0x7210d8]
movzx edi, byte [eax + 0x1e]
movzx edi, byte [edi + 0x7231d8]
xor edx, dword [edi*4 + 0x7214d8]
movzx edi, byte [eax + 0x1d]
movzx edi, byte [edi + 0x7231d8]
xor edx, dword [edi*4 + 0x7218d8]
mov dword [esi - 4], edx
test ecx, ecx
jg 0x581720
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
pop esi
mov ecx, dword [esp + 0x11c]
pop edi
xor ecx, esp
call fcn.00589b64
add esp, 0x11c
ret
Function at 0x582610
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x730
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x72c], eax
mov eax, dword [esp + 0x738]
push ebx
mov ebx, dword [esp + 0x738]
push esi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x582649
xor eax, eax
jmp 0x5827ec
test eax, eax
je 0x582642
push edi
push ebx
push 1
lea eax, [esp + 0x1a]
push 1
push eax
call fcn.0058a499
push 0x200
xor edi, edi
lea ecx, [esp + 0x54c]
push edi
push ecx
add esi, 0x10
call fcn.005899a0
lea edx, [esp + 0x30]
push edx
push str._02X
push esi
call fcn.0058bbc2
add esp, 0x28
test eax, eax
jle 0x5826be
lea esp, [esp]
cmp edi, 0x200
jge 0x5826be
mov al, byte [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
add esi, 2
push str._02X
mov byte [esp + edi + 0x540], al
push esi
inc edi
call fcn.0058bbc2
add esp, 0xc
test eax, eax
jg 0x582690
push ebp
push 0x100
lea edx, [esp + 0x540]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00581680
mov ebp, dword [esp + 0x758]
mov cl, byte [esp + 0x75c]
add esp, 0xc
xor edi, edi
mov byte [esp + 0x13], cl
test ebp, ebp
jle 0x58279d
push ebx
push 0x10
lea edx, [esp + 0x144]
push 1
push edx
call fcn.0058a499
add esp, 0x10
cmp eax, 0x10
jne 0x5827c6
lea eax, [esp + 0x13c]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.005818a0
mov ecx, dword [esp + 0x30]
xor eax, eax
add esp, 0x10
xor dl, dl
mov byte [esp + 0x15], al
mov byte [esp + 0x14], al
lea esi, [ecx + edi + 1]
mov cl, byte [esp + eax + 0x13c]
add byte [esp + 0x13], cl
mov byte [esi + eax - 1], cl
mov cl, byte [esp + eax + 0x13d]
add byte [esp + 0x14], cl
mov byte [esi + eax], cl
mov cl, byte [esp + eax + 0x13e]
add byte [esp + 0x15], cl
mov byte [esi + eax + 1], cl
mov cl, byte [esp + eax + 0x13f]
mov byte [esi + eax + 2], cl
add eax, 4
add dl, cl
cmp eax, 0x10
jl 0x582741
add dl, byte [esp + 0x15]
mov ebx, dword [esp + 0x1c]
add dl, byte [esp + 0x14]
add edi, 0x10
add byte [esp + 0x13], dl
cmp edi, ebp
jl 0x5826f5
push ebx
push 1
lea edx, [esp + 0x1f]
push 1
push edx
call fcn.0058a499
mov al, byte [esp + 0x26]
add esp, 0x10
cmp al, byte [esp + 0x17]
jne 0x5827d4
cmp al, byte [esp + 0x13]
jne 0x5827d4
mov eax, 1
jmp 0x5827ea
push 0
push 0x5d8470
push 0x5d8478
jmp 0x5827e0
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
pop edi
mov ecx, dword [esp + 0x734]
pop esi
pop ebx
xor ecx, esp
call fcn.00589b64
add esp, 0x730
ret 0x10

Function at 0x589b64
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6e30d0]
jne 0x589b6e
repz ret
jmp fcn.005919f6
Function at 0x5a036f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6e30d0]
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.0059682f
and dword [ebp - 0x14], 0
cmp dword [0x724100], 0
mov dword [ebp - 0x18], eax
jne 0x5a0422
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5a04ca
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x5a04ca
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5df1b0
push ebx
mov dword [0x724100], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x724104], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x724108], eax
call edi
push eax
call esi
mov dword [0x724110], eax
test eax, eax
je 0x5a0422
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x72410c], eax
mov eax, dword [0x72410c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5a047b
cmp dword [0x724110], ecx
je 0x5a047b
push eax
call esi
push dword [0x724110]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5a047b
test ebx, ebx
je 0x5a047b
call edi
test eax, eax
je 0x5a0472
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5a0472
test byte [ebp - 8], 1
jne 0x5a047b
or dword [ebp + 0x10], 0x200000
jmp 0x5a04ae
mov eax, dword [0x724104]
cmp eax, dword [ebp - 0x18]
je 0x5a04ae
push eax
call esi
test eax, eax
je 0x5a04ae
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5a04ae
mov eax, dword [0x724108]
cmp eax, dword [ebp - 0x18]
je 0x5a04ae
push eax
call esi
test eax, eax
je 0x5a04ae
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x724100]
call esi
test eax, eax
je 0x5a04ca
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5a04cc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00589b64
leave
ret
Function at 0x10020c30
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10020df4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x10020c5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10020c61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10020c50
mov eax, 1
add ebx, ebx
jne 0x10020c73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10020c68
jne 0x10020c84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10020c68
xor ecx, ecx
sub eax, 3
jb 0x10020c98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10020d0a
mov ebp, eax
add ebx, ebx
jne 0x10020ca3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10020cb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10020cd4
inc ecx
add ebx, ebx
jne 0x10020cc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10020cb5
jne 0x10020cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10020cb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10020cf4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10020ce5
jmp 0x10020c56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10020cf4
add edi, ecx
jmp 0x10020c56
pop esi
mov edi, esi
mov ecx, 0x4c4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10020d12
cmp byte [edi], 7
jne 0x10020d12
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 0x10020d17
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x10020d86
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x201ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x201fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10020d44
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x20200]
or eax, eax
je 0x10020d80
mov dword [ebx], eax
add ebx, 4
jmp 0x10020d61
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10020db7
cmp al, 0xef
ja 0x10020daa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10020d8c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10020d99
mov ebp, dword [esi + 0x20204]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x10020deb
sub esp, 0xffffff80
jmp 0x100046c9
Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219