joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbec390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
or eax, 0xffffffff
push ebx
mov ebx, 1
push ebp
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.00bfe838
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0xb9ef60]
fadd qword [0xb9ef78]
call fcn.00c02830
mov ebp, eax
xor esi, esi
xor edi, edi
test ebp, ebp
jle 0xbec4b0
call fcn.00bfe838
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0xb9ef60]
fmul qword [0xb9ef70]
fadd qword [0xb9ef68]
call fcn.00c02830
mov ecx, eax
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0xbec498
lea esp, [esp]
add ecx, ebx
cmp ecx, 0x1a
jne 0xbec489
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0xbec480
add esi, dword [esp + ecx*4 + 0x18]
mov eax, dword [esp + 0x84]
add ecx, 0x61
mov word [eax + edi*2], cx
add edi, ebx
cmp edi, ebp
jl 0xbec447
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret

Function at 0xbec550
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xba3c20]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.00c00b10
add esp, 0xc
cmp edi, esi
je 0xbec638
mov eax, 0xb9ebb4
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0xbec595
sub eax, edx
sar eax, 1
je 0xbec5bf
push 0xb9ebb8
lea edx, [esp + 8]
push 0xb9ebb4
push edx
call fcn.00bfec8b
add esp, 0xc
jmp 0xbec5fa
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [fcn.00b99234]
push 0xb9ebc0
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.00bfe73a
push 0xb9ebdc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00bfec8b
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0xbec61d
push eax
push 1
push 0x200
push edi
call fcn.00bff251
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00bff012
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00bfe72b
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00bfe72b
add esp, 0x214
ret
Function at 0xbec650
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0xb9ebe4
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.00bfec8b
add esp, 0xc
test eax, eax
je 0xbec674
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.00bff35d
mov eax, dword [esp + 0x1c]
push eax
call fcn.00bff57f
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.00bff35d
lea ebp, [esi + 0x32]
push ebp
call fcn.00bff63c
mov edx, dword [esp + 0x30]
push edx
push 1
mov edi, eax
push esi
push edi
call fcn.00bfef7e
mov eax, dword [esp + 0x40]
push eax
call fcn.00bff012
lea ebx, [edi + esi]
mov eax, 0x32
call fcn.00bec720
mov ecx, dword [esp + 0x4c]
push 0xb9ebec
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00bfec8b
add esp, 0x40
test eax, eax
je 0xbec6f2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push eax
push 1
push ebp
push edi
call fcn.00bff251
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00bff012
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret

Function at 0xbee340
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.00c02fc0
mov eax, dword [0xba3c20]
xor eax, esp
mov dword [esp + 0x1008], eax
mov edx, dword [edi]
mov eax, dword [esp + 0x1010]
push ebx
push ebp
mov ebp, dword [0xb993f4]
xor ebx, ebx
push ebx
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call ebp
cmp eax, 4
je 0xbee398
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.00bfe72b
add esp, 0x100c
ret
cmp dword [esp + 8], ebx
jbe 0xbee3d7
push esi
nop
mov ecx, dword [edi]
push 0
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
mov esi, eax
test esi, esi
je 0xbee3d6
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.00bff251
add ebx, esi
add esp, 0x10
cmp ebx, dword [esp + 0xc]
jb 0xbee3a0
pop esi
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
call fcn.00bff012
mov ecx, dword [esp + 0x1014]
add esp, 4
cmp ebx, dword [esp + 8]
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.00bfe72b
add esp, 0x100c
ret
Function at 0xbf0000
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
mov eax, 0x1068
call fcn.00c02fc0
mov eax, dword [0xba3c20]
xor eax, esp
mov dword [esp + 0x1064], eax
mov eax, dword [esp + 0x106c]
push ebx
push ebp
push 0xb9e980
push eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x14], ebx
xor ebp, ebp
call fcn.00bfec8b
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, ebx
jne 0xbf006b
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
pop ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
pop ebx
mov ecx, dword [esp + 0x1064]
xor ecx, esp
call fcn.00bfe72b
add esp, 0x1068
ret
push esi
push 2
push ebx
push eax
call fcn.00bff35d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00bff57f
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push edx
mov dword [esp + 0x2c], eax
call fcn.00bff35d
mov eax, dword [esp + 0x28]
push eax
push 0x1000
lea ecx, [esp + 0x94]
push 1
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 0x67452301
mov dword [esp + 0x4c], 0xefcdab89
mov dword [esp + 0x50], 0x98badcfe
mov dword [esp + 0x54], 0x10325476
mov dword [esp + 0x58], 0xc3d2e1f0
call fcn.00bfef7e
mov esi, eax
add esp, 0x2c
cmp esi, ebx
jbe 0xbf0116
lea edx, [esp + 0x70]
push esi
push edx
lea ebx, [esp + 0x1c]
call fcn.00befe70
mov eax, dword [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x80]
push 1
push ecx
add ebp, esi
call fcn.00bfef7e
mov esi, eax
add esp, 0x18
test esi, esi
ja 0xbf00e1
xor ebx, ebx
push edi
lea esi, [esp + 0x18]
call fcn.00beff10
mov edx, dword [esp + 0x10]
push edx
call fcn.00bff012
add esp, 8
pop esi
cmp ebp, dword [esp + 0xc]
jb 0xbf0044
mov ecx, dword [esp + 0x106c]
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00bfe72b
add esp, 0x1068
ret

Function at 0xbf1ed0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jne 0xbf1ed7
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0xbf1fb4
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xb9dde0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xb9dde0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xb9dde0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xb9dde0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xb9dde0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xb9dde0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xb9dde0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xb9dde0]
inc ecx
sub edx, 8
sub esi, 1
jne 0xbf1ef0
pop edi
test edx, edx
je 0xbf1fdb
jmp 0xbf1fc0
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0xb9dde0]
inc ecx
sub edx, 1
jne 0xbf1fc0
not eax
pop esi
ret
Function at 0xbf1fe0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0xb9dde0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0xb9dde0]
mov dword [edx + 8], ecx
ret

Function at 0xbf2030
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0xb9dde0]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0xb9dde0]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0xbf3430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0xbf344e
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0xbf3442
cmp dword [edi + 0x7c], ebx
je 0xbf345d
call fcn.00bf3810
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00bf31a0
add esp, 0xc
test eax, eax
je 0xbf3484
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x7e
call fcn.00bff63c
mov esi, eax
add esp, 4
cmp esi, ebx
je 0xbf34c2
push 0x4000
call fcn.00bff63c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0xbf34cf
push esi
call fcn.00bffb97
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0xbf3517
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00bf22f0
test eax, eax
jne 0xbf3517
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0xbf353e
mov cl, byte [edi + 0x39]
mov byte [esi + 0x7d], cl
jmp 0xbf3544
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x7d], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x6d]
mov dword [esi + 0x79], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
cmp ebp, ebx
je 0xbf3581
lea ecx, [ecx]
mov cl, byte [ebp]
cmp cl, bl
je 0xbf3581
call fcn.00bf1fe0
add ebp, 1
jne 0xbf3570
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x5fa930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a6000]
push edi
jmp 0x5fa94a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5fa951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fa940
mov eax, 1
add ebx, ebx
jne 0x5fa963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5fa974
jne 0x5fa993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fa993
dec eax
add ebx, ebx
jne 0x5fa980
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5fa958
add ebx, ebx
jne 0x5fa98f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5fa9e5
xor ecx, ecx
sub eax, 3
jb 0x5fa9ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5faa1a
sar eax, 1
mov ebp, eax
jmp 0x5fa9b6
add ebx, ebx
jne 0x5fa9b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fa984
inc ecx
add ebx, ebx
jne 0x5fa9c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fa984
add ebx, ebx
jne 0x5fa9d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5fa9c6
jne 0x5fa9e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5fa9c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5faa04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5fa9f6
jmp 0x5fa946
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5faa04
add edi, ecx
jmp 0x5fa946
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5faa22
cmp byte [edi], 0x11
jne 0x5faa22
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 0x5faa27
lea edi, [esi + 0x1f3000]
mov eax, dword [edi]
or eax, eax
je 0x5faa9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31e3d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31e550]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5faa54
mov ecx, edi
jns 0x5faa83
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 + 0x31e554]
or eax, eax
je 0x5faa99
mov dword [ebx], eax
add ebx, 4
jmp 0x5faa71
call dword [esi + 0x31e564]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5faad0
cmp al, 0xef
ja 0x5faac3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5faaa5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5faab2
mov ebp, dword [esi + 0x31e558]
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 0x5fab04
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x406010
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42704b
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], 0x4042e4
call fcn.00406c71
push 4
mov dword [esp + 0x18], 0
call fcn.004079a7
mov edi, eax
add esp, 4
test edi, edi
je 0x406084
push ebx
call fcn.00406b49
mov dword [edi], eax
call fcn.00406908
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406c32
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406078
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406c5a
pop ebx
jmp 0x406086
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 0x408421
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a510]
jne 0x40842b
repz ret
jmp fcn.0040c62c
Function at 0x425100
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.004112b0
cmp dword [0x7b33ec], 0x37
jne 0x42519a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea eax, [esp + 0x810]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b43e0]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x43443c]
mov byte [ecx + esi], al
add esp, 0x100c
ret
Function at 0x425430
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b33ec]
sub esp, 0x97c
push ebx
push ebp
push esi
mov esi, dword [0x43443c]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x425646
mov dword [esp + 0x30], 0x9e3779b9
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jmp 0x425476
mov esi, dword [esp + 0x24]
xor edi, edi
cmp dword [0x7b33ec], 0x1c
jne 0x42548d
lea eax, [esp + 0x40]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x42b2c0]
mov ebx, dword [0x42b2c8]
mov ebp, dword [0x42b2cc]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42b2c4]
mov dword [esp + 0x1c], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], 0x20
jmp 0x4254d6
mov eax, dword [esp + 0x1c]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x20], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0x7b335c], edi
mov eax, dword [esp + 0x20]
add dword [0x7b335c], eax
mov eax, dword [0x7b335c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x3c]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x38]
add dword [esp + 0x10], eax
cmp dword [0x7b33ec], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x42556d
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x34]
cmp dword [0x7b33ec], 0x979
mov dword [0x7b3360], 0xff6b3619
mov dword [0x7b3364], 0xffffffff
mov dword [esp + 0x20], eax
jne 0x4255b7
push 0
lea ecx, [esp + 0x18c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
lea edx, [esp + 0x48]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x30]
add dword [esp + 0x18], eax
sub esi, dword [esp + 0x18]
dec dword [esp + 0x2c]
jne 0x4254d0
cmp dword [0x7b33ec], 0x8d4
jne 0x4255fb
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp dword [0x7b33ec], 0x17
jne 0x425635
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x48]
push edx
push 0x403f50
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x24], esi
jne 0x425470
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x97c
ret
Function at 0x173a0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0173a200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x173a0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x173a0c2
add dl, dl
jne 0x173a0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x173a134
xor eax, eax
add dl, dl
jne 0x173a0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x173a1d5
add dl, dl
jne 0x173a0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x173a108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x173a113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x173a11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x173a12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x173a0cd
mov eax, 1
add dl, dl
jne 0x173a142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x173a14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x173a139
sub eax, ebx
mov ebx, 1
jne 0x173a180
mov ecx, 1
add dl, dl
jne 0x173a166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x173a171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x173a15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x173a0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x173a197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x173a1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x173a18e
cmp eax, 0x7d00
jae 0x173a1c5
cmp eax, 0x500
jb 0x173a1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x173a0cd
cmp eax, 0x7f
ja 0x173a1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x173a0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x173a1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x173a0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10