joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437450
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
call fcn.00445890
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x9c0], 1
jmp 0x437492
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x9c0]
add edx, 1
mov eax, dword [ebp - 8]
mov dword [eax + 0x9c0], edx
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x9c0], 0x270
jae 0x4374e7
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x9c0]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x9c0]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4 - 4]
shr edx, 0x1e
mov ecx, dword [ebp - 8]
xor edx, dword [ecx + eax*4 - 4]
imul edx, edx, 0x6c078965
mov eax, dword [ebp - 8]
add edx, dword [eax + 0x9c0]
and edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x9c0]
mov ecx, dword [ebp - 8]
mov dword [ecx + eax*4], edx
jmp 0x43747d
mov esp, ebp
pop ebp
ret 4

Function at 0x464f20
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
movzx eax, byte [0x845365]
test eax, eax
je 0x464f37
jmp 0x464fe6
mov dword [ebp - 8], 0x80000000
mov byte [ebp - 2], 0x80
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0xd], 0x80
jmp 0x464f5b
mov cl, byte [ebp - 0xd]
shr cl, 1
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x464fa5
movzx eax, byte [ebp - 1]
movzx ecx, byte [ebp - 0xd]
and eax, ecx
je 0x464f7b
mov edx, dword [ebp - 0xc]
xor edx, 0x80000000
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 0x80000000
je 0x464f9b
mov ecx, dword [ebp - 0xc]
shl ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
xor edx, 0x4c11db7
mov dword [ebp - 0xc], edx
jmp 0x464fa3
mov eax, dword [ebp - 0xc]
shl eax, 1
mov dword [ebp - 0xc], eax
jmp 0x464f53
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00460f80
add esp, 4
mov esi, eax
movzx edx, byte [ebp - 1]
push edx
call fcn.00468c90
add esp, 4
movzx eax, al
mov dword [eax*4 + 0x845368], esi
mov cl, byte [ebp - 1]
add cl, 1
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x464f46
mov byte [0x845365], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46b460
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x9c0], 0x270
jne 0x46b480
mov ecx, dword [ebp - 8]
call fcn.004707a0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x9c0]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x9c0]
add eax, 1
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x9c0], eax
mov edx, dword [ebp - 4]
shr edx, 0xb
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 0x12
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4cee90
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x4ceed2
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d0760
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x40]
test eax, eax
je 0x4ceec8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x4cefe8
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x4cefa8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a0]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x4cef97
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x4cef0f
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1a0]
call dword [ecx]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4cef31
xor al, al
jmp 0x4cefe8
cmp dword [ebp - 4], 2
jne 0x4cef39
jmp 0x4cef97
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x4cef92
cmp dword [ebp - 4], 3
je 0x4cef4e
cmp dword [ebp - 4], 1
jne 0x4cef92
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
add edx, 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 8]
jl 0x4cef92
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x120]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
mov dword [ecx + 8], eax
jmp 0x4ceef7
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x7c]
mov dword [edx + 0x84], ecx
jmp 0x4cefdc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0xcc
je 0x4cefdc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0x15
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.004ceff0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4ceff0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x4cf026
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x190]
call dword [eax]
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x190]
movzx edx, byte [ecx + 8]
test edx, edx
je 0x4cf0eb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x78]
cmp edx, dword [ecx + 0x60]
jae 0x4cf0b7
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x4cf07f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
call dword [edx]
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 4], ecx
push 0
mov edx, dword [ebp + 8]
add edx, 0x78
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x194]
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x4cf0b5
xor al, al
jmp 0x4cf106
jmp 0x4cf03b
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x190]
call dword [ecx + 4]
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x190]
call dword [ecx]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
jmp 0x4cf026
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x41]
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 0xcd
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], ecx
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x570990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 0x130]
jge 0x5709ce
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x231]
test eax, eax
je 0x5709c9
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x81
jmp 0x570a6d
mov edx, dword [ebp + 8]
cmp dword [edx + 0x130], 0
jle 0x570a6d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
sub ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov cx, word [eax + ecx*4]
mov word [ebp - 4], cx
movzx edx, word [ebp - 4]
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x98]
cmp edx, ecx
jb 0x570a2f
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x231]
test eax, eax
je 0x570a2d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x86
jmp 0x570a86
jmp 0x570a53
movzx edx, word [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa8]
movzx edx, byte [ecx + edx]
xor edx, 1
movzx eax, word [ebp - 4]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xa8]
mov byte [eax + ecx], dl
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x130]
sub eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x130], eax
jmp 0x5709ce
mov edx, dword [ebp + 8]
mov dword [edx + 0x130], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x20], edx
mov esp, ebp
pop ebp
ret
Function at 0x5d54f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x178
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 8]
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5d5519
xor eax, eax
jmp 0x5d56c8
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x78
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 4], 8
mov edx, dword [ebp - 8]
mov byte [edx + 0x14], 0x21
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x14]
and ecx, 3
mov edx, dword [ebp - 0x10]
mov byte [edx + 5], cl
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 5]
or ecx, 0x60
mov edx, dword [ebp - 0x10]
mov byte [edx + 5], cl
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005d4f90
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x70], ecx
mov edx, dword [ebp - 8]
add edx, 0x78
mov eax, dword [ebp - 8]
mov dword [eax + 0x88], edx
mov ecx, dword [ebp - 8]
add ecx, 0x78
mov edx, dword [ebp - 8]
mov dword [edx + 0x8c], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 8]
mov dword [edx + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
mov dword [edx + 0x68], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x58], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x15], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 8]
add ecx, 0x1c
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x44], 0x178
mov edx, dword [ebp - 8]
mov dword [edx + 0x50], 0xc8
mov eax, dword [ebp - 8]
mov dword [eax + 0x54], 0xc8
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x4c], 0
mov dword [ebp - 4], 0
jmp 0x5d5682
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 9
jge 0x5d569b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x98], 0
jmp 0x5d5679
push 0
push 0x5d52c0
mov edx, dword [ebp - 0x10]
push edx
call fcn.005df1d0
add esp, 0xc
test eax, eax
je 0x5d56c5
mov eax, dword [ebp - 0x10]
push eax
call fcn.005d53a0
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x5ddd50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x14]
xor eax, 3
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x5dde20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
test eax, eax
jbe 0x5dde20
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 4]
cmp eax, 8
jne 0x5dddb3
push 0xfffffffffffffffd
mov ecx, dword [ebp - 4]
add ecx, 0x68
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005ddd50
add esp, 0xc
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 5]
xor ecx, 3
and ecx, dword [ebp - 0xc]
je 0x5dddeb
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 5]
and eax, 0xf8
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x14]
and edx, 3
movzx ecx, dl
or eax, ecx
mov edx, dword [ebp - 4]
mov byte [edx + 5], al
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], eax
jmp 0x5dde1b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x1c]
jne 0x5dde0b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ddb60
add esp, 8
jmp 0x5ddd6c
mov eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x5ffc40
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x665b6d
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x82ea48]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1a8], ecx
mov eax, dword [ebp - 0x1a8]
mov dword [eax], vtable.artemis::CClientSocket.0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1a8]
add ecx, 8
call fcn.00404ef0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1a8]
mov ax, word [ebp + 0xc]
mov word [edx + 0x24], ax
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x1a8]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0x34], 0
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x38
call fcn.004298a0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0x58], 0xffffffff
mov eax, dword [ebp - 0x1a8]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp - 0x1a8]
mov byte [edx + 0x64], 0
mov eax, dword [ebp - 0x1a8]
mov byte [eax + 0x65], 0
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0x68], 0
mov edx, dword [ebp - 0x1a8]
mov dword [edx + 0x6c], 0
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x70
call fcn.0049a070
mov eax, dword [ebp - 0x1a8]
mov dword [eax + 0x90], 0xfff
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x98
call fcn.004752b0
mov ecx, dword [ebp - 0x1a8]
mov dword [ecx + 0xb8], 0
cmp dword [0x845778], 0
jne 0x5ffd96
lea edx, [ebp - 0x1a4]
push edx
push 2
call dword [0x684330]
mov eax, dword [0x845778]
add eax, 1
mov dword [0x845778], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1890
mov esp, ebp
pop ebp
ret 8
Function at 0x62b430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x82ea48]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005e4cf0
add esp, 8
mov dword [ebp - 0x21c], 0x200
lea edx, [ebp - 0x218]
push edx
call fcn.005e5400
add esp, 4
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp + 0x10]
jbe 0x62b489
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x21c]
push eax
push 1
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.004f3a55
add esp, 0x10
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x218]
add edx, dword [ebp - 4]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 4]
mov dword [ebp + 0x10], eax
je 0x62b4cd
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x21c]
je 0x62b460
lea edx, [ebp - 0x218]
push edx
call fcn.005e53c0
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x62b500
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
call fcn.005e7280
add esp, 8
test eax, eax
ja 0x62b500
mov dword [ebp - 0x224], 0
jmp 0x62b50a
mov dword [ebp - 0x224], 1
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f1890
mov esp, ebp
pop ebp
ret

Function at 0x62be40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push eax
call fcn.005e6350
add esp, 4
sub eax, 1
mov dword [ebp - 8], eax
mov dword [ebp - 4], 1
jmp 0x62be6a
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
test edx, edx
je 0x62bf29
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005e6e40
add esp, 8
cmp eax, 3
jne 0x62bed6
cmp dword [ebp - 4], 0
je 0x62bec7
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005e6cd0
fstp qword [esp]
push str._.14g
mov edx, dword [ebp + 0xc]
push edx
call fcn.004f71d9
add esp, 0x10
test eax, eax
jle 0x62bec7
mov dword [ebp - 0x14], 1
jmp 0x62bece
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
jmp 0x62bf24
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005e5b80
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x62bf17
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
call fcn.004f5581
add esp, 0x10
cmp eax, dword [ebp - 0x10]
jne 0x62bf17
mov dword [ebp - 0x18], 1
jmp 0x62bf1e
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
jmp 0x62be61
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0062b2d0
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x64db20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x19c
call fcn.004051e0
movzx eax, al
test eax, eax
je 0x64db66
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 8]
push eax
call fcn.004cbef0
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1b8
call fcn.004c8480
jmp 0x64dc0e
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x1d0], 0
jne 0x64dba7
push 0x7a9de8
mov ecx, dword [ebp - 0x10]
add ecx, 0x19c
call fcn.00405170
push eax
call fcn.004f3712
add esp, 8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1d0], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1d0], 0
jne 0x64dba7
mov al, 1
jmp 0x64dc10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1d0]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f5581
add esp, 0x10
cmp eax, dword [ebp + 0xc]
je 0x64dbcc
mov al, 1
jmp 0x64dc10
mov ecx, dword [ebp - 0x10]
add ecx, 0x110
call fcn.00440e40
cmp eax, 1
jbe 0x64dc0e
mov ecx, dword [ebp - 0x10]
add ecx, 0x110
call fcn.004a6e00
mov edx, dword [eax]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004f37aa
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x110
call fcn.004b2310
jmp 0x64dbcc
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x65c145
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66748b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x82ea48]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 0x24]
call fcn.0064d2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00404e80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00404e80
mov byte [ebp - 4], 3
push 0x7aa24c
lea ecx, [ebp - 0x74]
call fcn.00404ef0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x74]
push edx
call fcn.00403d70
mov ecx, eax
call fcn.0045ba80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.00404f70
push 0x7aa25c
lea ecx, [ebp - 0x90]
call fcn.00404ef0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.00403d70
mov ecx, eax
call fcn.0045ba80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x90]
call fcn.00404f70
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x30]
push edx
call fcn.005f8b50
add esp, 4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.005f8b70
add esp, 8
lea edx, [ebp - 0x50]
push edx
call fcn.005f8b50
add esp, 4
cmp dword [ebp - 0x14], 0
jne 0x65c138
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00404f70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00404f70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00403250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404f70
jmp 0x65c1e5
mov dword [ebp - 0x34], 0x3e8
mov eax, dword [ebp - 0x14]
push eax
push 1
push 3
push 0x7aa26c
call fcn.004f5581
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
push 1
push 1
lea edx, [ebp + 0x28]
push edx
call fcn.004f5581
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
push 1
push 4
lea ecx, [ebp - 0x34]
push ecx
call fcn.004f5581
add esp, 0x10
mov edx, dword [ebp - 0x14]
push edx
push 1
lea ecx, [ebp - 0x58]
call fcn.0047ba50
mov eax, dword [eax + 0x10]
push eax
lea ecx, [ebp - 0x58]
call fcn.0047ba50
mov ecx, eax
call fcn.00473f90
push eax
call fcn.004f5581
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004f3fdf
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00404f70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00404f70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00403250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404f70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1890
mov esp, ebp
pop ebp
ret 0x24