joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa79058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xa791a8
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 0xa7907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa7906a
add dl, dl
jne 0xa79089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa790dc
xor eax, eax
add dl, dl
jne 0xa79096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa7917d
add dl, dl
jne 0xa790a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa790b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa790bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa790c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa790d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa79075
mov eax, 1
add dl, dl
jne 0xa790ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa790f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa790e1
sub eax, ebx
mov ebx, 1
jne 0xa79128
mov ecx, 1
add dl, dl
jne 0xa7910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa79119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa79105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa79075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa7913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa7914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa79136
cmp eax, 0x7d00
jae 0xa7916d
cmp eax, 0x500
jb 0xa79168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa79075
cmp eax, 0x7f
ja 0xa79170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa79075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa7919e
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 0xa79075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x81b47c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x81b4a3
push ebx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, esi
push 5
pop ebx
div ebx
mov al, byte [edx + ecx]
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x81b48c
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x81f08f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
or ebx, 0xffffffff
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
cmp dword [ebp + 8], ebx
jne 0x81f0b0
xor eax, eax
jmp 0x81f231
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x81f0de
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x81f0de
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x81f231
cmp dword [esi + 0x4c], 0
je 0x81f22f
mov ecx, esi
call fcn.0081f7eb
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x81f112
push dword [esi + 0x4c]
movsx eax, al
push eax
call fcn.00888d8a
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x81f22f
push ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
push 8
mov byte [esp + 0x1b], al
mov dword [esp + 0x44], 0xf
call fcn.0081f73d
lea eax, [esi + 0x40]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esi + 0x38]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmp edi, 0x10
lea edx, [esp + 0x2c]
mov edi, dword [esi]
cmovae ecx, dword [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x27]
push eax
push dword [esp + 0x30]
call dword [edi + 0x1c]
test eax, eax
js 0x81f222
cmp eax, 1
jg 0x81f203
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp edi, 0x10
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub edx, eax
mov dword [esp + 0x20], edx
je 0x81f1d0
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.0088990f
mov edx, dword [esp + 0x30]
add esp, 0x10
cmp edx, eax
jne 0x81f222
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x13]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x24], eax
jne 0x81f1fe
test edx, edx
jne 0x81f13d
cmp dword [esp + 0x38], 0x20
jae 0x81f222
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.0081f78b
jmp 0x81f139
mov ebx, dword [ebp + 8]
jmp 0x81f222
cmp eax, 3
jne 0x81f222
mov eax, dword [esp + 0x14]
push dword [eax + 0x4c]
movsx eax, byte [esp + 0x17]
push eax
call fcn.00888d8a
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0081a66c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x81f873
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x81f981
cmp byte [ebx + 0x3d], 0
je 0x81f981
push 0xffffffffffffffff
call fcn.0081f08f
cmp eax, 0xffffffff
jne 0x81f8a8
xor al, al
jmp 0x81f983
xor eax, eax
mov dword [esp + 0x24], 0xf
push eax
push 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov byte [esp + 0x18], al
call fcn.0081f73d
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
cmp ecx, 0x10
lea eax, [esp + 0xc]
mov ecx, dword [ebx + 0x38]
lea edi, [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x14]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x81f90c
sub eax, 1
je 0x81f910
dec eax
sub eax, 1
je 0x81f96e
xor bl, bl
jmp 0x81f970
mov byte [ebx + 0x3d], 0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
mov edx, dword [esp + 0x10]
cmp ecx, 0x10
mov esi, dword [esp + 0xc]
cmovae eax, edx
sub esi, eax
je 0x81f94f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0088990f
add esp, 0x10
cmp esi, eax
jne 0x81f908
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
cmp byte [ebx + 0x3d], 0
je 0x81f96e
test esi, esi
jne 0x81f8ce
push esi
push 8
lea ecx, [esp + 0x18]
call fcn.0081f78b
jmp 0x81f8c6
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.0081a66c
mov al, bl
jmp 0x81f983
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x825cd7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x48]
mov edx, 0x4a1c90
push eax
push dword [edi + 0x48]
call fcn.00882831
call eax
test eax, eax
jne 0x825d02
inc eax
jmp 0x825ebb
mov ebx, dword [ebp - 0x48]
mov esi, ebx
and esi, 1
mov eax, ebx
mov ecx, esi
or ecx, 2
and al, 2
mov eax, ebx
cmove ecx, esi
mov edx, ecx
or edx, 4
and al, 4
cmove edx, ecx
mov ecx, ebx
mov eax, edx
or eax, 0x10
and ecx, 0x10
cmove eax, edx
mov edx, eax
or edx, 0x20
and bl, 0x20
cmove edx, eax
test ecx, ecx
je 0x825d46
or edx, 0x40000000
jmp 0x825d4c
or edx, 0x80000000
or edx, 0x1000000
mov ebx, edx
or ebx, 0x800000
test esi, esi
push 0
push dword [edi + 0x48]
cmovne ebx, edx
mov edx, 0x4a1dd0
call fcn.00882831
call eax
mov dword [edi + 0x3c], eax
mov esi, ebx
cmp eax, 0x28
jbe 0x825e66
cmp dword [edi + 0x10], 0
jne 0x825e66
xor esi, esi
mov edx, 0x4a1dc0
push esi
push esi
push esi
push dword [edi + 0x48]
call fcn.00882831
call eax
push esi
lea eax, [ebp - 8]
mov edx, 0x4a1db4
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [edi + 0x48]
call fcn.00882831
call eax
push esi
push esi
push 0x24
push dword [edi + 0x48]
mov edx, 0x4a1dc0
call fcn.00882831
call eax
push esi
lea eax, [ebp - 8]
mov edx, 0x4a1db4
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [edi + 0x48]
call fcn.00882831
call eax
mov eax, 0x54ad
mov esi, ebx
cmp word [ebp - 4], ax
jne 0x825e52
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + 0x34]
cmp dword [edi + 0x3c], eax
jbe 0x825e52
xor esi, esi
mov edx, 0x4a1dc0
push esi
push esi
push ecx
push dword [edi + 0x48]
call fcn.00882831
call eax
push esi
lea eax, [ebp - 8]
mov edx, 0x4a1db4
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x48]
call fcn.00882831
call eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x5a4d
je 0x825e4a
cmp eax, 0x454e
je 0x825e4a
cmp eax, 0x454c
je 0x825e4a
mov esi, ebx
cmp eax, 0x4550
jne 0x825e52
mov esi, ebx
or esi, 0x400000
xor eax, eax
mov edx, 0x4a1dc0
push eax
push eax
push eax
push dword [edi + 0x48]
call fcn.00882831
call eax
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
mov dword [ebx + 0x10], esi
call fcn.00825c5d
push dword [ebp - 0x30]
mov dword [ebx], eax
push dword [ebp - 0x34]
call fcn.00825c5d
push dword [ebp - 0x40]
mov dword [ebx + 4], eax
push dword [ebp - 0x44]
call fcn.00825c5d
push dword [ebp - 0x30]
lea edx, [ebp - 8]
mov dword [ebx + 8], eax
push dword [ebp - 0x34]
lea ecx, [ebp - 4]
call fcn.00825bfa
movzx ecx, word [ebp - 4]
add esp, 0x20
movzx eax, word [ebp - 8]
shl ecx, 0x10
or ecx, eax
xor eax, eax
mov dword [ebx + 0xc], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x827136
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x1fffc
mov edi, edx
mov byte [esi + 0x6af81], 1
lea ecx, [esi + 0x4af54]
mov dword [esi + 0x6af54], 0x10000
mov dword [esi + 0x6af50], ebx
call fcn.0082b48a
movzx eax, word [edi*8 + 0x49c442]
mov dword [esi + 0x6af74], eax
movzx eax, word [edi*8 + 0x49c440]
pop ecx
mov dword [esi + 0x6af78], eax
movzx eax, word [edi*8 + 0x49c444]
push 2
mov dword [esi + 0x6af7c], eax
movzx eax, word [edi*8 + 0x49c446]
pop ecx
mov dword [esi + 0x6af70], eax
cmp edi, ecx
ja 0x8271b2
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x8271bd
cmp edi, 8
jb 0x8271bd
mov eax, dword [ebp + 8]
or word [eax], cx
mov ecx, dword [esi]
lea edi, [esi + 0x1af54]
push 0x10000
mov edx, edi
call fcn.00827e7d
mov dword [esi + 0x6af6c], eax
pop ecx
test eax, eax
je 0x82721f
mov byte [esi + 0x6af80], bl
mov dword [esi + 0x6af58], ebx
mov dword [esi + 0x6af64], ebx
cmp eax, 0x106
jae 0x8271fc
mov ecx, esi
call fcn.00827382
mov dword [esi + 0x6af5c], ebx
mov ecx, ebx
movzx eax, byte [edi + ebx]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc ebx
mov dword [esi + 0x6af5c], ecx
cmp ebx, 2
jb 0x827204
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x827adc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x827ae7
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x827ba3
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
sub edi, 1
jne 0x827afc
pop edi
test esi, esi
je 0x827bbf
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
inc edx
sub esi, 1
jne 0x827ba7
not ecx
mov eax, ecx
pop esi
pop ebp
ret

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

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x49bfc0]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x49bfc0]
mov dword [edi + 8], ecx
pop edi
pop esi
ret
Function at 0x8337a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx + 8]
mov eax, edx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], eax
test edi, edi
jle 0x8337d6
push ebx
mov ebx, dword [ecx]
mov al, byte [edx + eax]
xor byte [ebx + esi], al
lea eax, [esi + 1]
xor esi, esi
inc edx
cmp eax, dword [ecx + 4]
cmovl esi, eax
mov eax, dword [ebp - 4]
cmp edx, edi
jl 0x8337bc
pop ebx
add dword [ecx + 0xc], edi
pop edi
mov dword [ecx + 8], esi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, dword [edi + 0x88]
test esi, esi
je 0x836e8e
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [esi + 0x10]
mov dword [edi + 0x88], eax
mov eax, dword [esi + 8]
and dword [esi + 0x10], 0
and dword [eax], 0
and dword [eax + 4], 0
jmp 0x836eef
movzx eax, word [edi + 0x8c]
cdq
add eax, 0x28
adc edx, 0
push edx
push eax
call fcn.0082da96
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ecx], esi
test esi, esi
jne 0x836ed8
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 0x98]
dec ecx
push esi
cdq
push ecx
push edx
push eax
call fcn.008a0e00
mov ecx, dword [edi + 0x3c]
push edx
mov edx, dword [ebp + 8]
push eax
call fcn.0082cf6a
pop ecx
pop ecx
push 7
pop eax
jmp 0x836f00
lea eax, [esi + 0x28]
mov dword [esi + 0x14], edi
mov dword [esi + 8], eax
push 0x20
pop eax
mov word [esi + 0x1c], ax
xor eax, eax
inc eax
mov word [esi + 0x1e], ax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [esi + 4], eax
mov dword [esi + 0x18], ecx
inc dword [edi + 0x78]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x844fa0
Capabilities:
Terminate process

Disassembly:
push esi
push edx
push 0x40
pop edx
mov esi, ecx
call fcn.00844d63
mov eax, dword [esi + 0xc]
pop ecx
mov byte [eax + 0x13], 0
mov eax, dword [esi + 0xc]
pop esi
and dword [eax + 0x1c], 0
ret

Function at 0x84f135
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0082f465

Function at 0x853da0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push 0
push 0x43
pop edx
call fcn.00844d77
push edi
push 0x25
pop edx
mov ecx, ebx
call fcn.00844d63
add esp, 0xc
mov ecx, ebx
mov esi, eax
push dword [ebp + 8]
push 0
push edi
push 0x62
pop edx
call fcn.00844cf3
add esp, 0xc
mov edx, 0x80
mov ecx, ebx
call fcn.00845280
mov edx, esi
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.00845298
Function at 0x8552e9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov ebx, edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
mov ecx, dword [edi + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], esi
test ecx, ecx
jne 0x855324
xor eax, eax
jmp 0x855df2
test ebx, ebx
jne 0x85532d
push 0x67
pop edx
jmp 0x855330
movzx edx, byte [ebx]
lea eax, [edx - 0x13]
mov dword [esp + 0x14], edx
cmp eax, 0x8c
ja 0x855c74
movzx eax, byte [eax + 0x441e71]
jmp dword [eax*4 + 0x441df9]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], esi
lea edx, [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
call fcn.00844fbd
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
test edx, edx
je 0x855cfd
push 0xc
mov esi, edx
lea edi, [esp + 0x3c]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x3c]
mov ecx, edi
call fcn.0085525e
pop ecx
mov edx, eax
lea ecx, [esp + 0x38]
call fcn.0085524b
push 0x30
xor ebx, ebx
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.008856c0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x44]
mov dword [esp + 0x80], eax
add esp, 0xc
lea eax, [esp + 0x68]
mov byte [esp + 0x68], 0x35
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0xc]
lea ecx, [eax - 1]
test ecx, ecx
jle 0x855d9b
lea eax, [ecx - 1]
shr eax, 1
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, edi
call fcn.00854fb4
mov eax, dword [eax]
test edx, edx
je 0x855d34
mov dword [esp + 0x78], eax
jmp 0x855d38
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.00844fbd
push 0x10
mov esi, eax
push esi
push dword [esp + 0x20]
push edi
call fcn.008565b1
mov edx, dword [esp + 0x30]
mov ecx, edi
push ebx
mov edx, dword [edx + 0x18]
call fcn.0085600b
mov edx, dword [esp + 0x38]
add esp, 0x14
mov ecx, dword [esp + 0xc]
call fcn.00844d8c
mov ecx, edi
call fcn.00854fb8
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.00844fff
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add eax, 0x30
sub dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
jne 0x855d21
mov eax, dword [esp + 0x14]
test al, 1
je 0x855dc1
mov ecx, edi
call fcn.00854fb4
imul edx, eax, 0x18
mov eax, dword [esp + 0x34]
push ebx
mov edx, dword [edx + eax - 0x14]
call fcn.0085600b
pop ecx
mov ecx, edi
call fcn.00854fb8
jmp 0x855dd0
push ebx
push 0
push 0x46
pop edx
mov ecx, esi
call fcn.00844d77
pop ecx
pop ecx
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.00844fff
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.00857122
mov edx, dword [esp + 0x2c]
call fcn.00857122
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x858e21
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
push edi
cmp dword [esi + 0x24], 0
mov ebx, dword [esi]
jne 0x858f3a
mov edx, dword [ebp + 0x10]
lea edi, [ebp - 0x24]
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
call fcn.008589d1
test eax, eax
jne 0x858f3a
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x24]
call fcn.008589d1
test eax, eax
jne 0x858f3a
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x24]
call fcn.008589d1
test eax, eax
jne 0x858f3a
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x858eae
cmp byte [eax], 0x63
jne 0x858e92
mov eax, dword [eax + 8]
jmp 0x858e94
xor eax, eax
mov edx, dword [ebp - 8]
mov ecx, esi
push 0
push 0
push eax
call fcn.0085944e
add esp, 0xc
test eax, eax
jne 0x858f3a
mov ecx, esi
call fcn.00869fa5
push 4
pop edx
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00857165
mov edx, dword [ebp + 0x10]
mov edi, eax
push edi
mov ecx, esi
call fcn.0085600b
mov edx, dword [ebp + 0x14]
pop ecx
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.0085600b
mov edx, dword [ebp + 0x18]
lea eax, [edi + 2]
pop ecx
push eax
mov ecx, esi
call fcn.0085600b
cmp dword [ebp - 4], 0
pop ecx
je 0x858f3a
mov esi, dword [ebp + 8]
lea eax, [edi + 3]
push 0xfffffffffffffff8
push esi
push eax
movsx eax, byte [esi]
mov edx, 0xa4
sub edi, eax
add edi, 3
push edi
mov edi, dword [ebp - 4]
mov ecx, edi
push 0
call fcn.00844e3d
movzx edx, byte [esi]
add esp, 0x14
mov ecx, edi
call fcn.00845280
xor eax, eax
mov edx, 0x99
cmp dword [ebp - 8], 0x18
sete al
push eax
call fcn.00844d63
pop ecx
mov edx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.00852fd7
mov edx, dword [ebp + 0x14]
mov ecx, ebx
call fcn.00852fd7
mov edx, dword [ebp + 0x18]
mov ecx, ebx
call fcn.00852fd7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x869fc5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
cmp dword [edi + 0xc], 0
mov esi, dword [edi + 0x38]
mov dword [ebp - 0x14], esi
jne 0x86a0d2
call fcn.008551d3
test esi, esi
je 0x86a0d2
inc dword [ebx + 0x2c]
mov ecx, ebx
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 8], eax
mov dword [edi + 0xc], eax
call fcn.00869fa5
mov dword [ebp - 4], eax
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00853bdd
test eax, eax
je 0x86a05f
push dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push esi
push 0x43
pop edx
call fcn.00844d77
pop ecx
pop ecx
test esi, esi
jne 0x86a03e
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.00844d8c
jmp 0x86a08c
js 0x86a08c
mov eax, esi
cdq
push edx
push eax
call fcn.00830c91
pop ecx
pop ecx
cmp word [edi + 6], ax
jle 0x86a08c
or dword [edi + 8], 0x4000
mov word [edi + 6], ax
jmp 0x86a08c
mov esi, dword [ebp - 8]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
push esi
call fcn.0085600b
pop ecx
mov ecx, dword [ebp - 4]
push esi
push 0x11
pop edx
call fcn.00844d63
pop ecx
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
push esi
push 0x16
pop edx
call fcn.00844d77
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
je 0x86a0d2
inc dword [ebx + 0x2c]
mov ecx, ebx
mov esi, dword [ebx + 0x2c]
mov dword [edi + 0x10], esi
inc dword [ebx + 0x2c]
mov edx, dword [eax + 0x10]
push esi
call fcn.0085600b
pop ecx
mov ecx, dword [ebp - 4]
push esi
push 0x11
pop edx
call fcn.00844d63
pop ecx
mov ecx, dword [ebp - 4]
lea eax, [esi + 1]
push esi
push eax
push dword [ebp - 8]
mov edx, 0x95
call fcn.00844cf3
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x86f30e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [ebx + 0xc], 0
mov edi, ecx
jne 0x86f364
and dword [ebp + 8], 0
lea eax, [ebp + 8]
mov edx, esi
shl edx, 4
add edx, dword [ebx + 4]
push eax
movzx eax, byte [edx + 0xd]
push eax
call fcn.00833c91
movzx eax, byte [eax + 0x46]
push eax
call fcn.00833c91
mov edx, dword [edx + 4]
mov ecx, eax
call fcn.00844a54
mov edx, dword [ebp + 8]
add esp, 0xc
test edx, edx
je 0x86f364
push 0xfffffffffffffff5
mov ecx, edi
call fcn.0084551b
pop ecx
mov eax, dword [ebx + 4]
add esi, esi
cmp byte [eax + esi*8 + 0xd], 0x45
jne 0x86f37e
push dword [ebp + 0xc]
mov ecx, edi
push 0x51
pop edx
call fcn.00844d63
pop ecx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret