joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004005c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push ecx
mov edi, ecx
mov ecx, esi
push 0xffffffffffffffff
call fcn.10050040
xor ecx, ecx
test eax, eax
je 0x1004009c
cmp dword [esi + 0x10], ecx
je 0x1004009c
cmp eax, 0xffffffff
jne 0x100400a6
cmp dword [esi + 0x14], 8
jb 0x10040089
mov esi, dword [esi]
push 1
push ecx
push ecx
push esi
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x100400af
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x100400af
push ecx
push eax
mov ecx, edi
call fcn.1002f713
pop edi
pop esi
pop ecx
pop ebp
ret 4
Function at 0x1004606f
Capabilities:
Hide graphical window

Disassembly:
push 0x30
mov eax, 0x10063b23
call fcn.1005fe9d
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [edi + 0xb0]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x20], esi
je 0x10046230
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
cmp dword [ebx], 0
mov ecx, dword [edi + 0xac]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
je 0x100460ec
cmp eax, dword [ebx + 0xc]
je 0x100460c7
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x10]
test eax, eax
mov eax, dword [ebp - 0x14]
je 0x100460e3
and dword [ebx], 0
jmp 0x100460e3
push str.WCL_HANDLE
push dword [ebx]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x100460b0
mov ecx, dword [ebp - 0x10]
cmp dword [eax + 4], ecx
jne 0x100460b0
mov eax, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x100461ea
test ecx, ecx
jne 0x10046151
mov edx, dword [0x1008395c]
push ecx
push dword [0x10088748]
push ecx
mov ecx, dword [0x10083958]
push eax
mov eax, dword [0x10083964]
sub eax, edx
push eax
mov eax, dword [0x10083960]
sub eax, ecx
push eax
push edx
push ecx
push 0x80000003
push 0
push str.tooltips_class32
push 0x8000088
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x1f4
push 0
push 0x418
push eax
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ecx, ebx
call fcn.100462db
jmp 0x100461f0
and dword [ebp - 0x18], 0
and dword [ebp - 4], 0
mov eax, dword [edi + 0xc]
push 0x24
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x10046188
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.10050cfa
mov esi, eax
jmp 0x1004618a
xor esi, esi
mov byte [ebp - 4], 0
push 0
mov dword [ebp - 0x18], esi
call sym.WCLDll.dll_wclGetApp20191211
pop ecx
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x3c]
push 0
mov edx, dword [eax]
lea esi, [ebp - 0x30]
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0x100239da
lea edi, [ebp - 0x3c]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
mov ecx, eax
push dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x70]
mov eax, dword [ebp - 0x18]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
mov eax, dword [eax + 4]
or dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
call fcn.100515b9
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x10], 0
jne 0x100461f8
push edi
mov ecx, ebx
call fcn.10045f5a
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x10046209
mov esi, dword [esi]
mov dword [ebx + 0x28], esi
lea esi, [ebx + 4]
push esi
push 0
push 0x432
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 3
push esi
push dword [ebx]
mov ecx, edi
push 0x8245
call fcn.1002f51c
call fcn.1005fe66
ret 4
Function at 0x1004904f
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10083010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10089481], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
je 0x10049195
cmp dword [0x1008946c], 0
je 0x10049195
test dword [esi], 0x2800
je 0x10049195
push edi
call fcn.100305c7
push eax
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov edi, eax
test edi, edi
je 0x10049194
mov ecx, dword [0x1008946c]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], ecx
mov ecx, 0x800
push 0x100
push eax
test dword [esi], ecx
je 0x10049107
push ecx
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x100491a3
xor ecx, ecx
mov word [ebp + eax - 0x204], cx
lea eax, [ebp - 0x204]
push eax
push ecx
push 0xc2
lea ecx, [ebp - 0x208]
call fcn.100056fd
and dword [esi], 0xfffff7ff
jmp 0x10049185
push 8
push edi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov esi, eax
mov ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x200
jae 0x100491a3
xor eax, eax
and dword [ebp - 0x20c], eax
mov word [ebp + ecx - 0x204], ax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0xb0
lea ecx, [ebp - 0x208]
call fcn.100056fd
lea eax, [ebp - 0x204]
push eax
push 0
push 0xc2
lea ecx, [ebp - 0x208]
call fcn.100056fd
mov edx, dword [ebp - 0x20c]
lea ecx, [ebp - 0x208]
lea eax, [edx + esi]
push eax
push edx
push 0xb1
call fcn.100056fd
push edi
mov ecx, ebx
call fcn.100305c7
push eax
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1005eacb
leave
ret
call fcn.1005eecb
int3
Function at 0x10054eaf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov dword [esp + 0x10], ecx
mov eax, edx
mov dword [esp + 0x14], eax
push esi
push edi
test ecx, ecx
jne 0x10054ecf
xor eax, eax
jmp 0x1005504d
or edi, 0xffffffff
lea ecx, [esp + 0x18]
test eax, eax
xorps xmm1, xmm1
cmovne edi, eax
xor esi, esi
mov edx, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], esi
call fcn.100595d9
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov byte [esp + 0xb], al
mov dword [esp + 0x10], ecx
cmp edx, edi
jae 0x1005504b
movsd xmm2, qword [0x1006ea20]
movzx eax, word [edx]
mov dword [esp + 0x18], eax
add eax, 0xffffffd0
cmp eax, 9
ja 0x10054f3b
mov eax, dword [esp + 0x18]
sub esi, ecx
add eax, 0xffffffd0
mulsd xmm1, xmm2
inc dword [esp + 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
jmp 0x10054f46
cmp word [edx], 0x2e
jne 0x10054f4d
test ecx, ecx
jne 0x10054f4d
inc ecx
add edx, 2
cmp edx, edi
jb 0x10054f0d
cmp dword [esp + 0x10], 0
push 0
mov dword [esp + 0x10], esi
pop ecx
je 0x1005504b
movzx eax, word [edx]
cmp eax, 0x65
je 0x10054f6c
cmp eax, 0x45
jne 0x10054fdd
cmp edx, edi
jae 0x10054fdd
add edx, 2
mov byte [esp + 0xa], cl
mov esi, edx
movzx eax, word [edx]
sub eax, 0x2b
je 0x10054f8c
dec eax
sub eax, 1
jne 0x10054f91
mov byte [esp + 0xa], 1
add edx, 2
mov esi, edx
cmp esi, edi
jae 0x10054fc5
movzx eax, word [edx]
mov ecx, eax
mov dword [esp + 0x18], ecx
cmp ecx, 0x30
mov ecx, dword [esp + 0x14]
jb 0x10054fc5
cmp eax, 0x39
ja 0x10054fc5
imul eax, ecx, 0xa
lea edx, [esi + 2]
mov ecx, dword [esp + 0x18]
mov esi, edx
add ecx, 0xffffffd0
add ecx, eax
mov dword [esp + 0x14], ecx
cmp edx, edi
jb 0x10054f95
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, dword [esp + 0x14]
add ecx, dword [esp + 0x14]
cmp byte [esp + 0xa], 0
cmovne ecx, eax
jmp 0x10054fe1
mov ecx, dword [esp + 0xc]
lea eax, [ecx + 0x3fd]
cmp eax, 0x7fd
ja 0x10055035
cmp byte [esp + 0xb], 0
jne 0x10054ffc
xorps xmm1, xmmword [0x1006ebb0]
test ecx, ecx
jns 0x1005501a
neg ecx
je 0x1005503d
test cl, 1
je 0x1005500d
divsd xmm1, xmm2
sar ecx, 1
movaps xmm0, xmm2
mulsd xmm2, xmm0
jne 0x10055004
jmp 0x1005503d
je 0x1005503d
test cl, 1
je 0x10055028
movaps xmm0, xmm2
mulsd xmm1, xmm0
sar ecx, 1
movaps xmm0, xmm2
mulsd xmm2, xmm0
jne 0x1005501c
jmp 0x1005503d
movsd xmm1, qword [0x1006eaa8]
mov eax, dword [ebp + 8]
cmp edx, edi
cmovae edx, dword [esp + 0x1c]
movsd qword [eax], xmm1
mov eax, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1005533a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10058f8c
mov edi, eax
mov eax, dword [ecx + 4]
cdq
mov esi, eax
mov eax, dword [ecx + 8]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
imul esi, eax
lea eax, [esi + edi]
cmp edi, eax
jae 0x100553b1
add edi, 2
mov dword [ebp - 4], 0xff
dec esi
shr esi, 2
inc esi
push ebx
movzx ecx, byte [edi + 1]
xor edx, edx
movzx eax, byte [edi - 2]
imul eax, ecx
mov bl, byte [edi]
div dword [ebp - 4]
xor edx, edx
mov byte [edi], al
lea edi, [edi + 4]
movzx eax, byte [edi - 5]
imul eax, ecx
div dword [ebp - 4]
xor edx, edx
mov byte [edi - 5], al
movzx eax, bl
imul eax, ecx
mov ecx, 0xff
div ecx
mov byte [edi - 6], al
sub esi, 1
jne 0x10055373
pop ebx
pop edi
pop esi
leave
ret

Function at 0x10055efc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 8]
cdq
mov edi, eax
mov eax, dword [esi + 4]
xor edi, edx
sub edi, edx
cdq
xor eax, edx
shr edi, 2
sub eax, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], eax
test edi, edi
je 0x10055f96
mov dword [ebp - 4], 0xff
xor ecx, ecx
mov dword [ebp - 8], ecx
test eax, eax
jle 0x10055f91
mov edi, dword [ebp - 0xc]
push ecx
mov ecx, esi
call fcn.10058f5b
xor edx, edx
lea esi, [eax + ebx*4]
movzx eax, byte [ebp + 9]
movzx ecx, byte [esi + 3]
imul eax, ecx
div dword [ebp - 4]
xor edx, edx
mov byte [esi + 1], al
movzx eax, byte [ebp + 8]
imul eax, ecx
div dword [ebp - 4]
xor edx, edx
mov byte [esi], al
movzx eax, byte [ebp + 0xa]
imul eax, ecx
mov ecx, 0xff
div ecx
mov ecx, dword [ebp - 8]
inc ecx
mov byte [esi + 2], al
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp ecx, edi
jl 0x10055f3e
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
inc ebx
cmp ebx, edi
jl 0x10055f32
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1005e4b8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x28
sub dword [esp + 4], 8
jmp method.AT::CHtmlNodeHN.virtual_4

Function at 0x1005e51c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub dword [esp + 4], 0x10
jmp method.AT::CHtmlNodeHN.virtual_4
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1acb6c9b
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x476f1f03
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x49037b03
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
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
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x363b0e9b
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40de38
nop
mov ecx, 0x54661298
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..text
mov ebx, 0x4304d8
nop
mov ecx, 0x13e65430
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406690
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41fbcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40443c
call fcn.00409224
push 4
mov dword [esp + 0x18], 0
call fcn.0040a9d6
mov edi, eax
add esp, 4
test edi, edi
je 0x406704
push ebx
call fcn.0040901f
mov dword [edi], eax
call fcn.00408dde
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004091e5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4066f8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040920d
pop ebx
jmp 0x406706
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b4ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4233dc]
jne 0x40b4d8
repz ret
jmp fcn.0041263c
Function at 0x417ffb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4233dc]
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.0040e305
and dword [ebp - 0x14], 0
cmp dword [0x4474f4], 0
mov dword [ebp - 0x18], eax
jne 0x4180ae
push 0x403fc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x418156
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fb4
push ebx
call edi
test eax, eax
je 0x418156
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fa4
push ebx
mov dword [0x4474f4], eax
call edi
push eax
call esi
push 0x403f90
push ebx
mov dword [0x4474f8], eax
call edi
push eax
call esi
push 0x403f74
push ebx
mov dword [0x4474fc], eax
call edi
push eax
call esi
mov dword [0x447504], eax
test eax, eax
je 0x4180ae
push 0x403f5c
push ebx
call edi
push eax
call esi
mov dword [0x447500], eax
mov eax, dword [0x447500]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x418107
cmp dword [0x447504], ecx
je 0x418107
push eax
call esi
push dword [0x447504]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x418107
test ebx, ebx
je 0x418107
call edi
test eax, eax
je 0x4180fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4180fe
test byte [ebp - 8], 1
jne 0x418107
or dword [ebp + 0x10], 0x200000
jmp 0x41813a
mov eax, dword [0x4474f8]
cmp eax, dword [ebp - 0x18]
je 0x41813a
push eax
call esi
test eax, eax
je 0x41813a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41813a
mov eax, dword [0x4474fc]
cmp eax, dword [ebp - 0x18]
je 0x41813a
push eax
call esi
test eax, eax
je 0x41813a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4474f4]
call esi
test eax, eax
je 0x418156
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x418158
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b4ce
leave
ret
Function at 0x427f00
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.00427f8f
jae 0x427f0e
xor ecx, ecx
call fcn.00427f8f
jae 0x427f3d
xor eax, eax
call fcn.00427f8f
jae 0x427f4d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.00427f8f
adc al, al
jae 0x427f2f
jne 0x427f79
stosb byte es:[edi], al
jmp 0x427f11
call fcn.00427f9b
sub ecx, ebx
jne 0x427f56
call fcn.00427f99
jmp 0x427f75
lodsb al, byte [esi]
shr eax, 1
je 0x427f83
adc ecx, ecx
jmp 0x427f72
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00427f99
cmp eax, 0x7d00
jae 0x427f72
cmp ah, 5
jae 0x427f73
cmp eax, 0x7f
ja 0x427f74
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x427f11
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100023fd
Capabilities:
Identify system language via api

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
je 0x1000240f
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
jmp 0x10002415
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
call fcn.1000d480
mov esi, eax
pop ecx
cmp esi, edi
je 0x1000243f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x29c]
push esi
mov edi, eax
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x1000244d
push str.memory_allocation_error
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
mov eax, edi
pop edi
pop esi
ret 0xc