joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4624b1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, ebx
sub edx, dword [edi + 0x6c]
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x6c], eax
jb 0x46254c
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.004aa710
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov edi, ecx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
dec edi
jne 0x462505
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov edi, ebx
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [esi], cx
dec edi
jne 0x46252a
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x462607
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x462579
xor eax, eax
jmp 0x4625ca
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x462596
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00461355
jmp 0x4625ae
cmp eax, 2
jne 0x4625b2
mov edx, dword [esi]
test edx, edx
jne 0x4625a5
xor eax, eax
jmp 0x4625af
push ecx
mov ecx, dword [esi + 0x30]
call fcn.004615f8
pop ecx
mov dword [esi + 0x30], eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp - 0xc]
call fcn.004aa710
mov eax, dword [ebp - 8]
add esp, 0xc
add dword [esi], eax
add dword [esi + 8], eax
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
jb 0x4625f2
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x462607
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x4624c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46538c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4653da
cmp dword [ebp - 0x88], 2
jne 0x4653da
cmp dword [ebp - 0x94], 6
jb 0x4653da
cmp dword [ebp - 0x90], 2
jb 0x4653da
xor eax, eax
inc eax
jmp 0x4653dc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x466526
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x466549
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
call fcn.00467879
xor al, al
jmp 0x4665f8
call fcn.00465f32
or dword [esi + 8], 0xffffffff
xor ebx, ebx
or dword [esi + 4], 0xffffffff
push 2
push ebx
push edi
call fcn.004a6a8c
push edi
call fcn.004a6e9f
push ebx
push ebx
push edi
mov dword [ebp - 4], eax
call fcn.004a6a8c
mov eax, dword [ebp - 4]
add esp, 0x1c
test eax, eax
jg 0x466585
push ebx
push ebx
push ebx
push 0xc
mov ecx, esi
jmp 0x46653d
inc eax
push eax
call fcn.00490848
push dword [ebp + 8]
mov edi, eax
push 1
push dword [ebp - 4]
push edi
mov byte [edi], bl
call fcn.004a64b1
add esp, 0x14
cmp eax, 1
je 0x4665b4
push edi
call fcn.004a525a
pop ecx
push ebx
push ebx
push ebx
push 2
jmp 0x466581
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, edi
mov byte [edi + edx], bl
cmp byte [edi], bl
je 0x4665dd
mov dl, byte [eax]
cmp dl, 0xd
jne 0x4665d5
mov byte [ecx], 0xa
inc ecx
inc eax
cmp byte [eax], 0xa
jne 0x4665d9
jmp 0x4665d8
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], bl
jne 0x4665c2
mov byte [ecx], bl
mov ecx, esi
mov eax, dword [esi]
push ebx
push ebx
push edi
call dword [eax + 8]
push edi
call fcn.004a525a
xor eax, eax
cmp byte [esi + 0x40], al
pop ecx
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x473070
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4730ed
mov edi, dword [esi + 0x20]
add edi, eax
cmp dword [edi + 8], 6
je 0x473090
mov edx, 5
call fcn.00478f40
mov ecx, dword [esi + 8]
mov eax, dword [ecx - 0x10]
mov dword [ecx], eax
mov eax, dword [ecx - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ecx - 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
mov eax, dword [edi]
mov dword [ecx - 0x10], eax
mov eax, dword [edi + 4]
mov dword [ecx - 0xc], eax
mov eax, dword [edi + 8]
mov dword [ecx - 8], eax
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 8]
cmp eax, 0x10
jg 0x4730d7
mov edx, dword [esi + 0x2c]
mov ecx, esi
cmp edx, 1
jl 0x4730d1
add edx, edx
jmp 0x4730d2
inc edx
call fcn.004790a0
add dword [esi + 8], 0x10
mov ecx, esi
mov edx, dword [esi + 8]
push 1
add edx, 0xffffffe0
call fcn.004799c0
add esp, 4
mov edx, 2
mov ecx, esi
pop edi
pop esi
jmp fcn.00478f40

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x78
push 0
push 0
mov ebx, dword [edi + 0x10]
push dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4734dd
add dword [ebx + 0x44], 0x78
mov edx, edi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x1c]
mov dword [esi], eax
movzx eax, byte [ecx + 0x14]
mov dword [ecx + 0x1c], esi
and al, 3
mov byte [esi + 5], al
mov ecx, esi
mov byte [esi + 4], 8
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x36], 0x1000000
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x30], 0
mov word [esi + 0x34], ax
mov byte [esi + 6], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x50], eax
call fcn.00473200
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
movzx eax, byte [edi + 0x38]
mov byte [esi + 0x38], al
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, esi
pop edi
mov dword [esi + 0x40], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 4
mov ecx, edi
call fcn.00478f40
int3

Function at 0x478f40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x478f62
mov dword [eax + 0x44], edx
mov eax, dword [esi + 0x70]
push 1
add eax, 4
push eax
call fcn.004b1540
mov eax, dword [esi + 0x10]
mov byte [esi + 6], dl
cmp dword [eax + 0x58], 0
je 0x478f7f
call fcn.00478ec0
mov eax, dword [esi + 0x10]
push esi
mov eax, dword [eax + 0x58]
call eax
add esp, 4
push 1
call fcn.004a5c93
int3
Function at 0x47a070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 8]
mov ebx, edx
mov edi, edx
mov dword [esp + 0xc], ecx
shr edi, 5
mov esi, edx
inc edi
cmp edx, edi
jb 0x47a0be
mov edx, dword [esp + 0x10]
lea esp, [esp]
movzx ecx, byte [edx + esi - 1]
mov eax, ebx
shl eax, 5
sub esi, edi
add ecx, eax
mov eax, ebx
shr eax, 2
add ecx, eax
xor ebx, ecx
cmp esi, edi
jae 0x47a0a0
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, ebx
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x47a154
cmp dword [edi + 0xc], edx
jne 0x47a14a
mov esi, dword [ebp + 8]
lea eax, [edi + 0x10]
mov edx, dword [esp + 0x10]
sub esi, 4
jb 0x47a101
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x47a10a
add edx, 4
add eax, 4
sub esi, 4
jae 0x47a0f0
cmp esi, 0xfffffffc
je 0x47a1fa
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x47a147
cmp esi, 0xfffffffd
je 0x47a1fa
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x47a147
cmp esi, 0xfffffffe
je 0x47a1fa
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x47a147
cmp esi, 0xffffffff
je 0x47a1fa
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x47a1fa
mov edx, dword [ebp + 8]
mov edi, dword [edi]
test edi, edi
jne 0x47a0d8
mov esi, dword [esp + 0xc]
lea eax, [edx + 1]
cmp eax, 0xffffffed
jbe 0x47a16d
push str.memory_allocation_error:_block_too_big
push esi
call fcn.00473100
mov edx, dword [ebp + 8]
add esp, 8
lea eax, [edx + 0x11]
mov ecx, esi
push eax
push 0
xor edx, edx
call fcn.00489820
mov ecx, dword [esp + 0x14]
mov edi, eax
mov esi, dword [ebp + 8]
push esi
push dword [esp + 0x1c]
mov dword [edi + 0xc], esi
lea eax, [edi + 0x10]
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
mov cl, byte [ecx + 0x14]
and cl, 3
mov byte [edi + 4], 4
mov byte [edi + 5], cl
mov byte [edi + 6], 0
call fcn.004aa710
mov byte [edi + esi + 0x10], 0
add esp, 0x14
mov esi, dword [esp + 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 8]
dec eax
and eax, ebx
lea ecx, [eax*4]
mov eax, dword [edx]
mov eax, dword [ecx + eax]
mov dword [edi], eax
mov eax, dword [edx]
mov dword [ecx + eax], edi
inc dword [edx + 4]
mov eax, dword [edx + 8]
cmp dword [edx + 4], eax
jbe 0x47a1f1
cmp eax, 0x3ffffffe
jg 0x47a1f1
lea edx, [eax + eax]
mov ecx, esi
call fcn.00479fa0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov al, byte [edi + 5]
movzx edx, al
and edx, 3
movzx ecx, byte [ecx + 0x14]
not ecx
test cl, dl
je 0x47a1f1
xor al, 3
mov byte [edi + 5], al
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482fa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 0x224], ecx
mov edi, ecx
mov dword [ebp - 0x21c], eax
lea esi, [ebp - 0x20c]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x210], edi
mov ebx, 0x200
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], 0
lea ecx, [ecx]
lea ecx, [ebp - 0x218]
sub esi, ecx
sub esi, 0xc
je 0x483059
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x48300f
mov ecx, edi
call fcn.004765f0
mov edi, dword [edi + 8]
lea edx, [ebp - 0x20c]
push esi
mov esi, dword [ebp - 0x220]
mov ecx, esi
call fcn.0047a070
mov dword [edi], eax
lea ecx, [ebp - 0x218]
mov dword [edi + 8], 4
lea eax, [ebp - 0x20c]
add dword [esi + 8], 0x10
add esp, 4
inc dword [ebp - 0x214]
mov dword [ebp - 0x218], eax
call fcn.00471b40
mov eax, dword [ebp - 0x21c]
mov edi, dword [ebp + 8]
cmp ebx, edi
push eax
cmova ebx, edi
lea eax, [ebp - 0x20c]
push ebx
push 1
push eax
call fcn.004a64b1
mov esi, dword [ebp - 0x218]
add esp, 0x10
add esi, eax
sub edi, eax
mov dword [ebp - 0x218], esi
mov dword [ebp + 8], edi
je 0x4830a4
cmp eax, ebx
jne 0x4830a4
mov edi, dword [ebp - 0x210]
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], edi
jmp 0x482ff0
lea ecx, [ebp - 0x218]
call fcn.00471ad0
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
call fcn.00470b70
mov dword [ebp - 0x214], 1
test edi, edi
je 0x4830f1
mov ecx, dword [ebp - 0x224]
or edx, 0xffffffff
call fcn.004701f0
test eax, eax
jne 0x4830f1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a5088
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x483510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x1c], edx
push edi
mov edi, 1
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
sar eax, 4
dec eax
je 0x4835df
mov ebx, dword [ebp + 8]
lea ebx, [ebx]
dec eax
mov edx, ebx
mov ecx, esi
mov dword [esp + 0x24], eax
call fcn.0046fe80
cmp eax, 0x4e7f90
je 0x483613
cmp dword [eax + 8], 3
jne 0x483613
test edi, edi
je 0x4835d0
mov edx, ebx
mov ecx, esi
call fcn.0046fe80
mov ecx, dword [eax + 8]
cmp ecx, 3
je 0x4835ab
cmp ecx, 4
jne 0x48360e
mov ecx, dword [eax]
lea edx, [esp + 0x28]
add ecx, 0x10
call fcn.00473770
test eax, eax
je 0x48360e
movsd xmm0, qword [esp + 0x28]
lea eax, [esp + 0x30]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 3
movsd xmm0, qword [eax]
sub esp, 8
movsd qword [esp], xmm0
push str._.14g
push dword [esp + 0x2c]
call fcn.004aa423
add esp, 0x10
test eax, eax
jg 0x4836d7
xor edi, edi
mov eax, dword [esp + 0x24]
inc ebx
test eax, eax
jne 0x483540
call fcn.004ace6c
mov ebx, dword [eax]
mov eax, dword [esi + 8]
test edi, edi
je 0x4836e1
mov dword [eax], 1
mov dword [eax + 8], 1
mov eax, 1
add dword [esi + 8], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
jmp 0x4835af
mov edx, ebx
mov ecx, esi
call fcn.0046fe80
cmp dword [eax + 8], 4
je 0x483656
mov edx, eax
mov ecx, esi
call fcn.00476850
test eax, eax
jne 0x48363b
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
jmp 0x483668
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x48364d
mov ecx, esi
call fcn.004765f0
mov edx, ebx
mov ecx, esi
call fcn.0046fe80
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x4836b5
mov edx, ebx
mov ecx, esi
call fcn.0046fe80
cmp eax, 0x4e7f90
je 0x483689
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x483689
mov eax, dword [eax*4 + 0x4e4544]
jmp 0x48368e
mov eax, str.no_value
push eax
push dword [0x4e4554]
push str._s_expected__got__s
push esi
call fcn.004703a0
push eax
mov edx, ebx
mov ecx, esi
call fcn.00470cd0
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, dword [esp + 0x1c]
test edi, edi
je 0x4835d0
push dword [esp + 0x20]
push ecx
push 1
push eax
call fcn.004a9744
add esp, 0x10
cmp eax, dword [esp + 0x18]
jne 0x4835d0
mov edi, 1
jmp 0x4835d2
mov dword [eax + 8], 0
add dword [esi + 8], 0x10
push ebx
call fcn.004b0be6
add esp, 4
push eax
push 0x4e8dfc
push esi
call fcn.004703a0
mov eax, dword [esi + 8]
add esp, 0xc
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mov dword [eax + 8], 3
pop edi
movsd qword [eax], xmm0
mov eax, 3
add dword [esi + 8], 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c15e5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004ae8bf
mov dword [ebp - 0x14], eax
cmp dword [0x51a1d4], esi
jne 0x4c16d8
push 0x800
push esi
push 0x4dcbe8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4c1665
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4c17b8
push esi
push esi
push 0x4dcbe8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4c17b8
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c17b8
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x51a1d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x51a1d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x51a1dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x51a1e4], eax
test eax, eax
je 0x4c16d5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x51a1e0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4c16fd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4c16f0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4c1712
push 4
pop eax
jmp 0x4c17ba
cmp dword [ebp - 0x14], esi
je 0x4c1712
push dword [0x51a1d4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4c16f7
mov eax, dword [0x51a1e0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4c1770
cmp dword [0x51a1e4], edi
je 0x4c1770
push eax
call ebx
push dword [0x51a1e4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4c1770
test eax, eax
je 0x4c1770
call ecx
test eax, eax
je 0x4c1765
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4c1765
test byte [ebp - 8], 1
jne 0x4c1770
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4c17a0
mov eax, dword [0x51a1d8]
cmp eax, edi
je 0x4c179d
push eax
call ebx
test eax, eax
je 0x4c179d
call eax
mov esi, eax
test esi, esi
je 0x4c179d
mov eax, dword [0x51a1dc]
cmp eax, edi
je 0x4c179d
push eax
call ebx
test eax, eax
je 0x4c179d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x51a1d4]
call ebx
test eax, eax
je 0x4c17b8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4c17ba
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x2a932dfe
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x7d0a1753
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x67d2679b
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
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
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, 0x28d24a53
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219