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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x100
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
xor eax, eax
mov bl, byte [esi + eax + 8]
mov byte [ebp + eax - 0x10c], bl
inc eax
cmp eax, 0x100
jne 0x40dc5e
xor ax, ax
jmp 0x40dcba
inc edx
and edx, 0xff
movzx esi, byte [ebp + edx - 0x10c]
add ecx, esi
movzx ecx, cl
movzx edi, byte [ebp + ecx - 0x10c]
mov ebx, edi
mov byte [ebp + edx - 0x10c], bl
mov ebx, esi
mov byte [ebp + ecx - 0x10c], bl
add esi, edi
and esi, 0xff
mov bl, byte [ebp + esi - 0x10c]
mov esi, dword [ebp + 0xc]
xor byte [esi + eax], bl
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x40dc76
add esp, 0x100
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40dd53
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
add esp, 0xffffff80
mov edx, dword [ebp + 8]
xor eax, eax
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor eax, eax
jmp 0x40dd8b
movzx esi, byte [edx + eax]
mov edi, esi
sar edi, 4
shl esi, 4
or esi, edi
and esi, 0xff
mov dword [ebp + eax*4 - 0x8c], esi
inc eax
cmp eax, ecx
jl 0x40dd6f
mov eax, ecx
jmp 0x40ddb1
movzx esi, al
mov edi, esi
sar edi, 5
lea edx, [esi*8]
or edx, edi
movzx edx, dl
and edx, eax
mov dword [ebp + eax*4 - 0x8c], edx
inc eax
cmp eax, 0x1f
jle 0x40dd93
mov eax, ecx
sar eax, 2
mov dl, byte [ebp + eax*4 - 0x8c]
xor edx, ecx
xor eax, eax
mov esi, dword [ebp + 0xc]
mov bl, byte [esi + eax]
xor ebx, edx
xor ebx, dword [ebp + eax*4 - 0x8c]
mov edx, dword [ebp + 0x10]
mov byte [edx + eax], bl
lea edx, [ebx*4]
xor dl, byte [esi + eax]
not edx
movzx edi, bl
lea esi, [edi*8]
sar edi, 5
or esi, edi
lea edi, [eax + ecx]
xor edi, eax
or esi, edi
mov ebx, esi
mov edi, dword [ebp + 0x10]
mov byte [edi + eax], bl
inc eax
cmp eax, 0x20
jne 0x40ddc6
sub esp, 0xffffff80
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x419282
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x419291
pop dword [ebp - 0x38]
mov eax, 0x419291
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3de58
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x488f
xor edx, edx
add edx, eax
mov esi, 0x9f7fce57
add esi, 0x60c385a9
add esi, dword [ebp - 0x38]
mov ebx, 0x4162df3b
sub ebx, 0xc0b9dc1c
xor dword [ebp - 0xc], 0x6b8363b9
mov edi, dword [esi]
sub dword [ebp - 0x20], ecx
add edi, ebx
add dword [ebp - 0x30], 0xc3ae3cdd
mov dword [edx], edi
mov dword [ebp - 0x30], 0x524cef64
add edx, 4
add esi, 4
loop 0x4192e2
add eax, 0x1150f
mov ebx, eax
add eax, 0x9cfe028b
sub eax, 0x9cfe0286
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x58b2de
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add dl, dl
jne 0x58b2fb
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x58b2ec
add dl, dl
jne 0x58b306
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x58b352
xor eax, eax
add dl, dl
jne 0x58b313
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x58b3ef
add dl, dl
jne 0x58b322
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x58b32d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x58b338
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x58b343
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x58b34d
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
jmp 0x58b2f2
mov eax, 1
add dl, dl
jne 0x58b360
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x58b36b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x58b357
sub eax, 2
jne 0x58b39a
mov ecx, 1
add dl, dl
jne 0x58b380
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x58b38b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x58b377
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x58b2f2
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x58b3b1
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x58b3bc
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x58b3a8
cmp eax, 0x7d00
jae 0x58b3df
cmp eax, 0x500
jb 0x58b3da
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x58b2f2
cmp eax, 0x7f
ja 0x58b3e2
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x58b2f2
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x58b40b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x58b2f2
pop ebp
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
popal
pop ebp
ret 8
Function at 0x41a6c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
jmp 0x41a6da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41a6e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41a6d0
mov eax, 1
add ebx, ebx
jne 0x41a6f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41a6e8
jne 0x41a704
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a6e8
xor ecx, ecx
sub eax, 3
jb 0x41a718
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41a78a
mov ebp, eax
add ebx, ebx
jne 0x41a723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41a730
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41a754
inc ecx
add ebx, ebx
jne 0x41a740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41a735
jne 0x41a751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a735
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41a774
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41a765
jmp 0x41a6d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41a774
add edi, ecx
jmp 0x41a6d6
pop esi
mov edi, esi
mov ecx, 0x3aa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41a792
cmp byte [edi], 1
jne 0x41a792
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 0x41a797
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41a80f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a08c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41a7c4
mov ecx, edi
jns 0x41a7f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a094]
or eax, eax
je 0x41a809
mov dword [ebx], eax
add ebx, 4
jmp 0x41a7e1
call dword [esi + 0x1a090]
mov ebp, dword [esi + 0x1a098]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x41a843
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push eax
nop
nop
nop
nop
mov eax, dword fs:[0x30]
nop
nop
nop
nop
mov dword [ebp - 4], eax
nop
nop
pop eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc]
mov esi, dword [edi + 0x14]
add edi, 0x14
cmp esi, edi
je 0x40208b
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x28]
push ebx
push ecx
call dword [0x427034]
test eax, eax
je 0x402094
mov esi, dword [esi]
cmp esi, edi
jne 0x402076
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0x40
call dword [0x427044]
mov ebx, eax
xor esi, esi
mov dword [ebp - 4], ebx
mov byte [ebx + edi], 0
test edi, edi
je 0x402d61
mov eax, dword [ebp + 8]
mov edi, dword [0x427040]
sub eax, ebx
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, esi
call edi
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
mov eax, dword [ebp + 0xc]
push 0x4276a5
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call edi
push 0x4276a5
call edi
push 0x4276a5
call edi
mov ebx, dword [ebp - 4]
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x402d25
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call dword [0x42703c]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404e80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x33323130
mov dword [ebp - 8], 0x37363534
mov word [ebp - 4], 0x3938
mov byte [ebp - 2], 0
mov esi, edi
mov edx, ecx
lea ebx, [ebx]
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
inc esi
add edx, eax
jne 0x404eb0
mov byte [esi], dl
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
mov cl, byte [ebp + ecx - 0xc]
dec esi
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x404ec6
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405570
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x594
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040d6d0
lea ecx, [ebp - 0x94]
push ecx
call fcn.00404f10
add esp, 0x10
push 0x5f5e0ff
mov esi, eax
mov ecx, 0xf
lea edi, [ebp - 0x58]
push 0
rep movsd dword es:[edi], dword [esi]
call dword [0x643dac]
push eax
call dword [0x643d44]
xor edi, edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
call fcn.0040d950
push eax
call dword [0x643cac]
mov edx, dword [0x632fb8]
mov ebx, eax
mov eax, dword [ebp - 0x54]
push edx
push eax
mov dword [ebp - 0x10], ebx
xor esi, esi
call dword [0x643d84]
test eax, eax
jne 0x4055f7
lea esi, [edi + 1]
test ebx, ebx
je 0x40573a
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x48]
push 0
push 0
push 3
push 0
push 0
push ecx
push edx
push ebx
call dword [0x643da8]
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x405733
mov edx, dword [ebp - 0x2c]
mov eax, esi
neg eax
sbb eax, eax
push 0
and eax, 0x800000
add eax, 0x400100
push eax
mov eax, dword [0x632e08]
push 0
push 0
push eax
push edx
push 0x42a850
push ecx
call dword [0x643dd8]
mov ebx, eax
test ebx, ebx
je 0x405726
test esi, esi
je 0x405676
or dword [ebp - 8], 0x10300
push 4
lea eax, [ebp - 8]
push eax
push 0x1f
push ebx
call dword [0x643bb4]
push 0
push 0
push 0
push 0
push ebx
call dword [0x643d70]
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x194]
push edx
push 0x13
push ebx
mov esi, eax
mov dword [ebp - 0x14], 0x100
call dword [0x643df0]
test eax, eax
jne 0x4056c6
lea ecx, [ebp + 8]
xor esi, esi
call fcn.0040d710
lea ecx, [ebp + 0x14]
call fcn.0040d710
mov eax, dword [ebp - 0x1c]
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x194]
push eax
call fcn.0040edf0
add esp, 4
cmp eax, 0xc8
jne 0x4056a8
test esi, esi
je 0x405726
cmp dword [ebp - 4], edi
jbe 0x405726
lea ecx, [ebp - 4]
push ecx
push 0x400
lea edx, [ebp - 0x594]
push edx
push ebx
call dword [0x643cd4]
xor esi, esi
cmp dword [ebp - 4], esi
jbe 0x405726
mov ecx, dword [ebp - 0xc]
push 1
lea eax, [ebp + esi - 0x594]
push eax
lea edx, [edi + ecx]
push edx
call fcn.0040ee70
mov eax, dword [ebp - 4]
inc esi
inc edi
cmp esi, eax
jb 0x405703
test eax, eax
jne 0x4056e5
push ebx
call dword [0x643ca8]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x643ca8]
push ebx
call dword [0x643ca8]
lea ecx, [ebp + 8]
call fcn.0040d710
lea ecx, [ebp + 0x14]
call fcn.0040d710
mov eax, dword [ebp - 0xc]
mov edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406170
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x974
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0040d6d0
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00404f10
mov esi, eax
add esp, 0x10
mov ecx, 0xf
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
push 0x4276a5
lea ecx, [ebp - 0x14]
call fcn.0040d690
push 0
push 0
push 0
push 1
lea ecx, [ebp + 0x18]
call fcn.0040d950
push eax
call dword [0x643cac]
mov edx, dword [0x632fb8]
mov esi, eax
mov eax, dword [ebp - 0x64]
push edx
push eax
mov dword [ebp - 0x18], esi
xor edi, edi
call dword [0x643d84]
test eax, eax
jne 0x4061e7
lea edi, [eax + 1]
test esi, esi
je 0x40634a
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
push 0
push 0
push 3
push 0
push 0
push ecx
push edx
push esi
call dword [0x643da8]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x406343
mov edx, dword [ebp - 0x3c]
mov eax, edi
neg eax
sbb eax, eax
push 0
and eax, 0x800000
add eax, 0x400100
push eax
mov eax, dword [0x632e08]
push 0
push 0
push eax
push edx
push 0x42a850
push ecx
call dword [0x643dd8]
mov esi, eax
test esi, esi
je 0x406336
test edi, edi
je 0x406266
or dword [ebp - 4], 0x10300
push 4
lea eax, [ebp - 4]
push eax
push 0x1f
push esi
call dword [0x643bb4]
push 0
push 0
push 0
push 0
push esi
call dword [0x643d70]
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1a4]
push edx
push 0x13
push esi
mov edi, eax
mov dword [ebp - 0x20], 0x100
call dword [0x643df0]
test eax, eax
jne 0x4062ac
mov esi, dword [ebp + 8]
push 0x42a854
mov ecx, esi
call fcn.0040d690
jmp 0x406358
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040edf0
add esp, 4
cmp eax, 0xc8
jne 0x406298
test edi, edi
je 0x40632f
lea ecx, [ebp - 8]
push ecx
push 0x7cf
lea edx, [ebp - 0x974]
push edx
push esi
call dword [0x643cd4]
test eax, eax
je 0x40632f
mov eax, dword [ebp - 8]
test eax, eax
je 0x40632f
mov byte [ebp + eax - 0x974], 0
lea eax, [ebp - 0x974]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040d820
push eax
lea ecx, [ebp - 0x14]
call fcn.0040d770
lea ecx, [ebp - 0x2c]
call fcn.0040d710
lea edx, [ebp - 8]
push edx
push 0x7cf
lea eax, [ebp - 0x974]
push eax
push esi
call dword [0x643cd4]
test eax, eax
jne 0x4062e1
push esi
call dword [0x643ca8]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x643ca8]
mov esi, dword [ebp - 0x18]
push esi
call dword [0x643ca8]
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
call fcn.0040d6d0
lea ecx, [ebp - 0x14]
call fcn.0040d710
lea ecx, [ebp + 0xc]
call fcn.0040d710
lea ecx, [ebp + 0x18]
call fcn.0040d710
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406ae0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x406afa
mov eax, 1
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x406ba8
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x406ba8
push edi
push ebx
push 0xf8
push eax
lea edi, [esi + 0x40]
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x406b31
mov eax, 1
pop edi
pop ebp
ret
cmp dword [edi], 0x4550
jne 0x406ba0
mov ecx, 0x10b
cmp word [esi + 0x58], cx
jne 0x406ba0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x406ba0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
mov dword [esi + 0x140], eax
call fcn.0040eeb0
add esp, 4
mov dword [esi + 0x138], eax
test eax, eax
jne 0x406b77
mov eax, 3
pop edi
pop ebp
ret
movzx edx, word [esi + 0x54]
mov ecx, dword [esi + 0x3c]
lea ecx, [edx + ecx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop edi
pop ebp
ret
mov eax, 2
pop edi
pop ebp
ret
mov eax, 2
pop ebp
ret

Function at 0x4072e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x40731c
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x40731c
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x40731c
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + ecx + 0x78]
push edx
push ecx
push eax
call fcn.00407220
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x414930
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x414945
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x41493e
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x41493e
push ebx
push esi
mov esi, dword [eax + edi + 0x78]
mov eax, dword [esi + edi + 0x1c]
add esi, edi
add eax, edi
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x24]
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x20]
add eax, edi
xor ebx, ebx
mov dword [ebp + 8], eax
cmp dword [esi + 0x18], ebx
ja 0x414993
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + ebx*4]
push ecx
add edx, edi
push edx
call fcn.0040f790
add esp, 8
test eax, eax
je 0x4149b8
inc ebx
cmp ebx, dword [esi + 0x18]
jb 0x414990
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx ecx, word [eax + ebx*2]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4dfff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x89000]
push edi
jmp 0x4e000a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e0011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0000
mov eax, 1
add ebx, ebx
jne 0x4e0023
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e0034
jne 0x4e0053
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0053
dec eax
add ebx, ebx
jne 0x4e0040
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e0018
add ebx, ebx
jne 0x4e004f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e00a5
xor ecx, ecx
sub eax, 3
jb 0x4e006b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e00da
sar eax, 1
mov ebp, eax
jmp 0x4e0076
add ebx, ebx
jne 0x4e0076
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0044
inc ecx
add ebx, ebx
jne 0x4e0084
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e0044
add ebx, ebx
jne 0x4e0091
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e0086
jne 0x4e00a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e0086
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e00c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e00b6
jmp 0x4e0006
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e00c4
add edi, ecx
jmp 0x4e0006
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e00e2
cmp byte [edi], 0x11
jne 0x4e00e2
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 0x4e00e7
lea edi, [esi + 0xd8000]
mov eax, dword [edi]
or eax, eax
je 0x4e015f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe6a64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe6be0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e0114
mov ecx, edi
jns 0x4e0143
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe6be4]
or eax, eax
je 0x4e0159
mov dword [ebx], eax
add ebx, 4
jmp 0x4e0131
call dword [esi + 0xe6bf4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e0190
cmp al, 0xef
ja 0x4e0183
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e0165
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e0172
mov ebp, dword [esi + 0xe6be8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4e01c4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x465b3c
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004659b3

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
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 eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx