joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460b70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x4d68f4]
cmp dword [ecx], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x210], eax
jne 0x460bb0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx]
push esi
push edi
push ecx
push eax
push 1
push edx
call fcn.0047697e
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x460bd0
test edi, edi
jne 0x460cf4
cmp byte [0x4d6a38], 0
je 0x460cf4
xor edi, edi
mov dword [0x4d68fe], edi
mov esi, dword [0x4d68f4]
push 0x208
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.00470280
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x460c10
push eax
call fcn.00470ed8
add esp, 4
mov dword [esi], 0
mov eax, dword [0x4d6a3e]
cmp eax, dword [0x4d6a3a]
je 0x460cf4
mov ecx, dword [0x4d68f4]
push 0x104
add ecx, 0x23
push 0
push ecx
call fcn.00470280
mov edx, dword [0x4d6a3a]
push 1
push edx
call fcn.00465d70
mov edx, dword [0x4d68f4]
add esp, 0x14
add edx, 0x23
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x460c57
mov eax, dword [0x4d6a3a]
mov ecx, dword [0x4d6a42]
imul eax, eax, 0x16
mov edx, dword [eax + ecx + 2]
mov eax, dword [0x4d68f4]
add eax, 0x23
push 0x4a2d28
push eax
mov dword [0x4d68fa], edx
call fcn.0047136f
mov ecx, dword [0x4d68f4]
mov dword [ecx], eax
mov eax, dword [0x4d68f4]
add esp, 8
cmp dword [eax], 0
je 0x460d0c
mov edx, dword [eax]
push edx
call fcn.0047b26b
push eax
call fcn.0047a308
add esp, 8
cmp eax, dword [0x4d68fa]
jne 0x460d32
mov eax, dword [0x4d68f4]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
push ecx
push esi
add edx, edi
push 1
push edx
call fcn.0047697e
inc dword [0x4d6a3a]
sub esi, eax
add esp, 0x10
add edi, eax
mov dword [ebp - 0x210], esi
test esi, esi
jg 0x460be5
add dword [0x4d68fe], edi
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
add eax, 0x23
push eax
push 0x3e8
call fcn.00462850
add esp, 8
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
push 0x4a099a
push 0x3f2
call fcn.00462850
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00470483
mov esp, ebp
pop ebp
ret
Function at 0x460dc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x460dd0
xor eax, eax
pop ebx
pop ebp
ret
mov eax, dword [0x4d68fa]
sub eax, ebx
cmp byte [0x4d6a38], 0
push esi
push edi
mov dword [0x4d68fa], eax
je 0x460fe1
test eax, eax
jns 0x460fe1
add eax, ebx
cmp byte [0x4d68f9], 0
mov dword [0x4d68fa], eax
je 0x460e6f
test eax, eax
je 0x460e6f
mov ecx, dword [0x4d68f4]
mov edx, dword [ecx + 4]
push edx
push eax
mov eax, dword [0x4d69ce]
push 1
push eax
call fcn.00476af2
mov eax, dword [0x4d6a3a]
add esp, 0x10
test eax, eax
je 0x460e2e
dec eax
jmp 0x460e30
xor eax, eax
mov ecx, dword [0x4d68f4]
push 1
push eax
add ecx, 4
push ecx
call fcn.004605e0
mov edx, dword [0x4d68f4]
add edx, 0x23
push edx
push 0xbef
call fcn.00463820
add esp, 0x14
cmp eax, 0x6b
je 0x46101e
call fcn.00460d60
test eax, eax
jne 0x46102d
mov eax, dword [0x4d6a3a]
xor edi, edi
cmp eax, dword [0x4d6a3e]
jae 0x461040
mov ecx, dword [0x4d68f4]
push 0x104
add ecx, 0x23
push 0
push ecx
call fcn.00470280
mov edx, dword [0x4d6a3a]
push 1
push edx
call fcn.00465d70
mov edx, dword [0x4d68f4]
add esp, 0x14
add edx, 0x23
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x460eb2
mov eax, dword [0x4d6a3a]
mov ecx, dword [0x4d6a42]
imul eax, eax, 0x16
mov esi, dword [eax + ecx + 2]
call fcn.00468420
mov byte [0x4d68f9], al
test al, al
je 0x460efc
mov edx, dword [0x4d68f4]
add edx, 0x23
push edx
call fcn.00460770
add esp, 4
cmp eax, 1
je 0x46102d
mov al, byte [0x4d68f9]
mov ecx, dword [0x4d68fa]
inc dword [0x4d6a3a]
mov edx, ebx
sub edx, ecx
sub edx, edi
cmp esi, edx
ja 0x460f9f
test al, al
je 0x460f62
mov eax, dword [0x4d68f4]
mov edx, dword [eax + 4]
mov eax, dword [0x4d69ce]
push edx
push esi
add eax, ecx
add eax, edi
push 1
push eax
call fcn.00476af2
mov ecx, dword [0x4d68f4]
add ecx, 0x23
push ecx
push 0xbef
call fcn.00463820
add esp, 0x18
cmp eax, 0x6b
je 0x46101e
call fcn.00460d60
test eax, eax
jne 0x46102d
mov eax, dword [0x4d6a3a]
test eax, eax
je 0x460f6e
dec eax
jmp 0x460f70
xor eax, eax
mov edx, dword [0x4d68f4]
push 1
push eax
add edx, 4
push edx
call fcn.004605e0
mov eax, dword [0x4d6a3a]
add esp, 0xc
add edi, esi
cmp eax, dword [0x4d6a3e]
jb 0x460e82
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
test al, al
je 0x460fce
mov edx, dword [0x4d68f4]
mov eax, dword [edx + 4]
push eax
mov eax, dword [0x4d69ce]
mov edx, ebx
sub edx, ecx
sub edx, edi
push edx
add eax, ecx
add eax, edi
push 1
push eax
call fcn.00476af2
mov ecx, dword [0x4d68fa]
add esp, 0x10
sub esi, ebx
add esi, edi
add ecx, esi
pop edi
pop esi
mov dword [0x4d68fa], ecx
xor eax, eax
pop ebx
pop ebp
ret
cmp byte [0x4d68f9], 0
je 0x461040
mov ecx, dword [0x4d68f4]
mov edx, dword [ecx + 4]
mov eax, dword [0x4d69ce]
push edx
push ebx
push 1
push eax
call fcn.00476af2
mov ecx, dword [0x4d68f4]
add ecx, 0x23
push ecx
push 0xbef
call fcn.00463820
add esp, 0x18
cmp eax, 0x6b
jne 0x461037
push 0
push 0x3fb
call fcn.00462850
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
call fcn.00460d60
test eax, eax
jne 0x46102d
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4610e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00470280
push 0x104
lea ecx, [ebp - 0x108]
push 0
push ecx
call fcn.00470280
add esp, 0x18
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x20c], 0
je 0x461171
lea eax, [ebp - 0x20c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x461145
sub eax, edx
cmp byte [ebp + eax - 0x20d], 0x5c
je 0x461171
lea edi, [ebp - 0x20c]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x461160
mov ax, word [0x4a0930]
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x108]
push str._sXZIP_d
push edx
call fcn.0047176b
add esp, 0x10
cmp byte [ebp - 0x108], 0
je 0x4611d1
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4611a5
sub eax, edx
cmp byte [ebp + eax - 0x109], 0x5c
je 0x4611d1
lea edi, [ebp - 0x108]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4611c0
mov ax, word [0x4a0930]
mov word [edi], ax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00460540
add esp, 4
lea eax, [ebp - 0x108]
mov edx, esi
mov ecx, eax
pop edi
sub edx, ecx
pop esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4611f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
Function at 0x463070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x30c]
push eax
push esi
mov byte [esi + 0xd], 0xfa
call fcn.00462b60
push 0x208
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.00470280
push 0x49
lea edx, [ebp - 0x30c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004713d0
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x20c]
push 0x49
push edx
call fcn.0046a470
mov eax, dword [ebp - 0x310]
lea ecx, [ebp - 0x30c]
push ecx
push esi
mov dword [esi + 0x49], eax
call fcn.00462b60
push edi
push 0x4d
lea edx, [ebp - 0x30c]
push 1
push edx
call fcn.00476af2
add esp, 0x44
cmp eax, 0x4d
je 0x46311d
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
add dword [0x4d6902], 0x4d
cmp byte [esi + 0x13], 0
jne 0x463163
cmp byte [0x4d69eb], 0
je 0x463163
mov ecx, dword [0x4d68c2]
test ecx, ecx
jle 0x463163
mov eax, dword [0x4d68ee]
test eax, eax
je 0x463163
push edi
push ecx
push 1
push eax
call fcn.00476af2
mov ecx, dword [0x4d68c2]
add esp, 0x10
cmp eax, ecx
jne 0x463108
add dword [0x4d6902], ecx
cmp byte [esi + 0x13], 0
push ebx
je 0x4631ab
movzx eax, byte [esi + 0x14]
mov ecx, dword [0x4d68f4]
movzx ebx, byte [esi + 0x14]
push edi
push eax
add ecx, 0x437
push 1
push ecx
call fcn.00476af2
add esp, 0x10
cmp eax, ebx
je 0x4631a5
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
add dword [0x4d6902], ebx
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00470483
mov esp, ebp
pop ebp
ret
Function at 0x463350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4d68c6]
push esi
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.0045fc70
push esi
call fcn.0049260c
add esp, 0xc
cmp eax, 0x4034b50
jne 0x4633c7
mov ecx, dword [0x4d68f4]
mov byte [ecx + 0xb], 1
mov edx, dword [0x4d68c6]
push edx
push esi
call fcn.0045fc70
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.00463b10
add esp, 0x10
cmp eax, 1
jne 0x4634bf
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
cmp eax, 0x70695a58
jne 0x4633b3
mov ecx, dword [0x4d68f4]
mov byte [ecx + 0xb], 0
mov edx, dword [0x4d68c6]
push edx
push esi
call fcn.0045fc70
push esi
push 0x4d
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.0047697e
add esp, 0x18
cmp eax, 0x4d
jne 0x4633b3
lea ecx, [ebp - 0x208]
push 0x4d69e0
push ecx
call fcn.00462d70
add esp, 8
cmp byte [0x4d69eb], 0
je 0x46343c
cmp byte [0x4d69f3], 0
jne 0x46343c
mov edx, dword [0x4d6a05]
push edx
push esi
call fcn.0045fca0
add esp, 8
test eax, eax
jne 0x4633b3
lea eax, [ebp - 0x208]
push eax
call fcn.00463000
add esp, 4
cmp eax, 1
je 0x4633b3
cmp byte [0x4d69f3], 0
je 0x4634bf
cmp byte [ebp + 0xc], 0
je 0x4634bf
movzx ecx, byte [0x4d69f4]
mov edx, dword [0x4d68f4]
push esi
push ecx
add edx, 0x437
push 1
push edx
call fcn.0047697e
movzx ecx, byte [0x4d69f4]
add esp, 0x10
cmp eax, ecx
jne 0x4633b3
mov dl, byte [0x4d69f3]
mov eax, dword [0x4d68f4]
mov byte [eax + 0x17], dl
mov ecx, dword [0x4d69f5]
movzx edx, byte [0x4d69f3]
push ecx
push edx
call fcn.00464860
add esp, 8
test eax, eax
jne 0x4633b3
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00470483
mov esp, ebp
pop ebp
ret

Function at 0x463b10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00477484
mov eax, dword [0x4d6a30]
add esp, 4
test eax, eax
jne 0x463b5b
push 0x108
push 1
call fcn.004721da
add esp, 8
mov dword [0x4d6a30], eax
test eax, eax
jne 0x463b5b
push str._Zip_cloacking
push 0x3fa
call fcn.00462850
add esp, 8
mov eax, 1
pop esi
pop ebp
ret
push esi
push 0x1e
push 1
push eax
call fcn.0047697e
add esp, 0x10
cmp eax, 0x1e
jne 0x463b53
mov eax, dword [0x4d6a30]
movzx ecx, word [eax + 0x1a]
push esi
push ecx
lea edx, [ebp + 0xc]
push 1
push edx
call fcn.0047697e
mov ecx, dword [0x4d6a30]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x463b53
push esi
push 0x4d
push 1
push 0x4d69e0
call fcn.0047697e
xor ecx, ecx
add esp, 0x10
cmp eax, 0x4d
setne cl
pop esi
mov eax, ecx
pop ebp
ret
Function at 0x463bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d6a30], 0
jne 0x463c19
push 0x108
push 1
call fcn.004721da
add esp, 8
mov dword [0x4d6a30], eax
test eax, eax
jne 0x463c19
push str._Zip_cloacking
push 0x3fa
call fcn.00462850
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00470280
push 0
push 0
call fcn.00465d70
lea edx, [ebp - 0x108]
add esp, 0x14
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x463c40
mov ecx, dword [0x4d6a30]
mov dword [ecx], 0x4034b50
mov eax, dword [0x4d6a30]
mov edx, 0x14
mov word [eax + 4], dx
mov edx, dword [0x4d6a30]
mov ecx, 2
mov word [edx + 6], cx
mov ecx, dword [0x4d6a30]
mov eax, 0xb
mov word [ecx + 8], ax
mov eax, dword [0x4d6a30]
xor edx, edx
mov word [eax + 0xa], dx
mov edx, dword [0x4d6a30]
xor ecx, ecx
mov word [edx + 0xc], cx
mov eax, dword [0x4d6a30]
mov dword [eax + 0xe], ecx
mov ecx, dword [0x4d6a30]
mov dword [ecx + 0x12], 0
mov edx, dword [0x4d6a42]
mov eax, dword [edx + 2]
mov ecx, dword [0x4d6a30]
mov dword [ecx + 0x16], eax
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x463cd0
sub eax, edx
mov edx, dword [0x4d6a30]
mov word [edx + 0x1a], ax
mov ecx, dword [0x4d6a30]
mov eax, 0x4d
mov word [ecx + 0x1c], ax
mov edx, dword [0x4d68f4]
mov eax, dword [edx + 4]
mov ecx, dword [0x4d6a30]
push eax
push 0x1e
push 1
push ecx
call fcn.00476af2
add esp, 0x10
cmp eax, 0x1e
je 0x463d39
push 0x4a099a
push 0x3ef
call fcn.00462850
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4d68f4]
mov eax, dword [edx + 4]
mov ecx, dword [0x4d6a30]
movzx edx, word [ecx + 0x1a]
push eax
push edx
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.00476af2
mov ecx, dword [0x4d6a30]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x463d14
mov eax, dword [0x4d68f4]
mov ecx, dword [eax + 4]
push ecx
push 0x4d69e0
call fcn.00463070
add esp, 8
test eax, eax
jne 0x463d14
push esi
mov esi, dword [0x4d6a30]
push edi
lea edi, [esi + 0x1e]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
movsw word es:[edi], word [esi]
pop edi
xor ecx, ebp
pop esi
call fcn.00470483
mov esp, ebp
pop ebp
ret
Function at 0x464400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d6a30], 0
push edi
mov edi, dword [ebp + 8]
jne 0x46445e
push 0x108
push 1
call fcn.004721da
add esp, 8
mov dword [0x4d6a30], eax
test eax, eax
jne 0x46445e
push str._Zip_cloacking
push 0x3fa
call fcn.00462850
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4d68f4]
mov ecx, dword [eax]
push ecx
call fcn.00477484
mov edx, dword [0x4d68f4]
mov eax, dword [edx]
mov ecx, dword [0x4d6a30]
push eax
push 0x1e
push 1
push ecx
call fcn.0047697e
add esp, 0x14
cmp eax, 0x1e
je 0x4644b2
push 0x4a099a
push 0x3e9
call fcn.00462850
add esp, 8
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
mov edx, dword [0x4d68f4]
mov eax, dword [edx]
mov ecx, dword [0x4d6a30]
movzx edx, word [ecx + 0x1a]
push eax
push edx
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.0047697e
mov ecx, dword [0x4d6a30]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x46448c
push esi
movzx esi, word [ecx + 0x1c]
cmp esi, 0xa00b0
jbe 0x464507
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x46451c
jmp 0x464510
push edi
call fcn.0047b177
add esp, 4
dec esi
jne 0x464510
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00470483
mov esp, ebp
pop ebp
ret
Function at 0x464530
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4c1c50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x4d6a30], esi
jne 0x46458a
push 0x108
push 1
call fcn.004721da
add esp, 8
mov dword [0x4d6a30], eax
cmp eax, esi
jne 0x46458a
push str._Zip_cloacking
push 0x3fa
call fcn.00462850
add esp, 8
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4d68f4]
mov ecx, dword [eax]
push ebx
push edi
push ecx
call fcn.00477484
push 0x104
lea edx, [ebp - 0x108]
push esi
push edx
mov dword [0x4d6a3e], esi
mov dword [0x4d6a62], esi
call fcn.00470280
mov eax, dword [0x4d68f4]
mov ecx, dword [eax]
mov edx, dword [0x4d6a30]
push ecx
push 0x1e
push 1
push edx
call fcn.0047697e
add esp, 0x20
cmp eax, 0x1e
jne 0x4646c6
jmp 0x4645e0
mov ecx, dword [0x4d68f4]
mov eax, dword [0x4d6a30]
cmp dword [eax], 0x4034b50
mov edx, dword [ecx]
push edx
jne 0x4646ee
movzx eax, word [eax + 0x1a]
push eax
lea ecx, [ebp - 0x108]
push 1
push ecx
call fcn.0047697e
mov ecx, dword [0x4d6a30]
movzx edx, word [ecx + 0x1a]
add esp, 0x10
cmp eax, edx
jne 0x4646c6
movzx esi, word [ecx + 0x1c]
mov eax, dword [0x4d68f4]
mov edi, dword [eax]
mov ebx, ecx
cmp esi, 0xa00b0
ja 0x4646c6
test esi, esi
je 0x46464c
nop
push edi
call fcn.0047b177
add esp, 4
dec esi
jne 0x464640
mov ecx, dword [ebx + 0x12]
push 1
push ecx
push edi
call fcn.0047707e
mov eax, dword [0x4d6a30]
mov edx, dword [eax + 0x16]
add dword [0x4d6a62], edx
mov eax, dword [eax + 0x16]
mov edx, dword [0x4d6a3e]
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x108]
push ecx
push edx
call fcn.0046a980
add esp, 0x24
test eax, eax
jne 0x4646d8
inc dword [0x4d6a3e]
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00470280
mov ecx, dword [0x4d68f4]
mov edx, dword [ecx]
mov eax, dword [0x4d6a30]
push edx
push 0x1e
push 1
push eax
call fcn.0047697e
add esp, 0x1c
cmp eax, 0x1e
je 0x4645e0
push 0x4a099a
push 0x3e9
call fcn.00462850
add esp, 8
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00470483
mov esp, ebp
pop ebp
ret
call fcn.00464400
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00470483
mov esp, ebp
pop ebp
ret
Function at 0x464f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4d6a34]
mov ecx, dword [eax + 0xd]
mov edx, dword [ebp + 8]
push ebx
add ecx, edx
push esi
push edi
cmp ecx, dword [eax + 9]
jle 0x4650d4
mov ecx, dword [eax + 9]
mov edi, dword [eax + 0xd]
mov esi, dword [ebp + 0x14]
mov ebx, ecx
sub ebx, edi
sub edi, ecx
add edi, edx
test ebx, ebx
jle 0x464fb3
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push ebx
push 1
push eax
call fcn.00476af2
add esp, 0x10
mov dword [esi], eax
cmp eax, ebx
jne 0x4650ca
mov eax, dword [0x4d6a34]
cmp edi, dword [eax + 9]
jle 0x46504a
lea esp, [esp]
mov edx, dword [eax + 1]
mov eax, dword [0x4d68f4]
push 1
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00464dd0
add esp, 0x10
cmp eax, 1
je 0x4650c4
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x4d6a34]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [esi]
add ecx, dword [ebp + 0xc]
push eax
push 1
push ecx
call fcn.00476af2
add dword [esi], eax
mov eax, dword [0x4d6a34]
mov edx, dword [eax + 9]
mov dword [eax + 0xd], edx
mov eax, dword [0x4d6a34]
sub edi, dword [eax + 9]
inc dword [eax + 1]
mov eax, dword [0x4d68f4]
mov ecx, dword [0x4d6a34]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
dec edx
push edx
push 0xc02
call fcn.00463910
mov eax, dword [0x4d6a34]
add esp, 0x1c
cmp edi, dword [eax + 9]
jg 0x464fc0
test edi, edi
je 0x4650ef
mov edx, dword [eax + 1]
mov eax, dword [0x4d68f4]
push 1
lea ecx, [ebp + 0x10]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00464dd0
add esp, 0x10
cmp eax, 1
je 0x4650c4
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
add edx, dword [ebp + 0xc]
push ecx
push edi
push 1
push edx
call fcn.00476af2
add dword [esi], eax
mov eax, dword [0x4d6a34]
mov dword [eax + 0xd], edi
mov eax, dword [0x4d6a34]
inc dword [eax + 1]
mov ecx, dword [0x4d68f4]
mov edx, dword [0x4d6a34]
mov eax, dword [edx + 1]
add ecx, 0x127
push ecx
dec eax
push eax
push 0xc02
call fcn.00463910
add esp, 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov dword [esi], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
add dword [eax + 0xd], edx
mov ecx, dword [ebp + 0x10]
push ecx
push edx
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.00476af2
mov ecx, dword [ebp + 0x14]
add esp, 0x10
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x465100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
cmp eax, 0x200
jle 0x4652e9
mov edx, dword [ebp + 0xc]
mov eax, dword [0x4d6a34]
mov dword [ebp - 4], edx
lea esp, [esp]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + 0xd]
add ecx, 0x200
xor edi, edi
cmp ecx, dword [eax + 9]
jle 0x465293
mov ecx, dword [eax + 9]
mov esi, dword [eax + 0xd]
mov ebx, ecx
sub ebx, esi
sub esi, ecx
add esi, 0x200
test ebx, ebx
jle 0x46517f
mov eax, dword [ebp + 0x10]
push eax
push ebx
push 1
push edx
call fcn.00476af2
mov edi, eax
mov eax, dword [0x4d6a34]
add esp, 0x10
cmp edi, ebx
jne 0x4652b5
cmp esi, dword [eax + 9]
jle 0x46521a
jmp 0x465190
mov edx, dword [eax + 1]
mov eax, dword [0x4d68f4]
push 1
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00464dd0
add esp, 0x10
cmp eax, 1
je 0x465323
mov ecx, dword [ebp + 8]
mov edx, dword [0x4d6a34]
mov eax, dword [edx + 9]
push ecx
mov ecx, dword [ebp - 4]
push eax
add ecx, edi
push 1
push ecx
call fcn.00476af2
add edi, eax
mov eax, dword [0x4d6a34]
mov edx, dword [eax + 9]
mov dword [eax + 0xd], edx
mov eax, dword [0x4d6a34]
sub esi, dword [eax + 9]
inc dword [eax + 1]
mov eax, dword [0x4d68f4]
mov ecx, dword [0x4d6a34]
mov edx, dword [ecx + 1]
add eax, 0x127
push eax
dec edx
push edx
push 0xc02
call fcn.00463910
mov eax, dword [0x4d6a34]
add esp, 0x1c
cmp esi, dword [eax + 9]
jg 0x465190
test esi, esi
je 0x4652b5
mov edx, dword [eax + 1]
mov eax, dword [0x4d68f4]
push 1
lea ecx, [ebp + 8]
push ecx
push edx
add eax, 0x127
push eax
call fcn.00464dd0
add esp, 0x10
cmp eax, 1
je 0x465323
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push ecx
push esi
add edx, edi
push 1
push edx
call fcn.00476af2
add edi, eax
mov eax, dword [0x4d6a34]
mov dword [eax + 0xd], esi
mov eax, dword [0x4d6a34]
inc dword [eax + 1]
mov ecx, dword [0x4d68f4]
mov edx, dword [0x4d6a34]
mov eax, dword [edx + 1]
add ecx, 0x127
push ecx
dec eax
push eax
push 0xc02
call fcn.00463910
add esp, 0x1c
jmp 0x4652b0
add dword [eax + 0xd], 0x200
mov ecx, dword [ebp + 8]
push ecx
push 0x200
push 1
push edx
call fcn.00476af2
add esp, 0x10
mov edi, eax
mov eax, dword [0x4d6a34]
cmp edi, 0x200
jne 0x465323
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 4]
sub esi, edi
mov edi, dword [ebp - 0xc]
add edi, 0x200
add edx, 0x200
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edx
cmp esi, 0x200
jg 0x465130
test esi, esi
je 0x465315
mov edx, dword [ebp + 0xc]
lea eax, [edi + edx]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push esi
mov dword [ebp + 8], 0
call fcn.00464f60
mov eax, dword [ebp + 8]
add esp, 0x10
cmp eax, esi
jne 0x465323
add edi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret