Function at 0x10005f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x100fc068]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x42c], ecx
mov ebx, edx
push 0
push eax
mov dword [ebp - 0x428], ebx
call fcn.10094410
lea eax, [ebp - 0x10c]
push 0x100
push eax
call fcn.100996d6
push 0x5c
push ebx
call fcn.10092650
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x100063fd
sub esi, ebx
lea eax, [ebp - 0x30c]
push esi
push ebx
push eax
call fcn.10098a80
add esp, 0xc
cmp esi, 0x100
jae 0x1000640e
lea ecx, [ebp - 0x30c]
mov byte [ebp + esi - 0x30c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006000
sub ecx, edx
je 0x100063fd
lea ecx, [ebp - 0x10c]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10006016
mov eax, dword [0x100cafcc]
xorps xmm0, xmm0
mov dword [ecx], eax
mov eax, dword [0x100cafd0]
mov dword [ecx + 4], eax
mov eax, dword [0x100cafd4]
mov dword [ecx + 8], eax
mov eax, dword [0x100cafd8]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x10c]
movups xmmword [ebp - 0x424], xmm0
mov dword [ebp - 0x414], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x410], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006066
sub ecx, edx
lea eax, [ebp - 0x10c]
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.10002820
cmp dword [ebp - 0x410], 0x10
lea eax, [ebp - 0x424]
cmovae eax, dword [ebp - 0x424]
push eax
call dword [0x100be114]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100060a8
mov bl, 1
jmp 0x100060b0
shr bl, 4
not bl
and bl, 1
mov ecx, dword [ebp - 0x410]
cmp ecx, 0x10
jb 0x100060ea
mov edx, dword [ebp - 0x424]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100060e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006413
push ecx
push edx
call fcn.10091115
add esp, 8
test bl, bl
je 0x100060fd
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [0x100be058]
lea edi, [ebp - 0x10c]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10006104
mov ax, word [0x100cafdc]
mov edx, 0x100ff9b8
mov word [edi], ax
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10006120
lea edi, [ebp - 0x10c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10006130
mov ecx, edx
mov dword [ebp - 0x414], 0
shr ecx, 2
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 0x410], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x10c]
movups xmmword [ebp - 0x424], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006170
sub ecx, edx
lea eax, [ebp - 0x10c]
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.10002820
cmp dword [ebp - 0x410], 0x10
lea eax, [ebp - 0x424]
cmovae eax, dword [ebp - 0x424]
push eax
call dword [0x100be114]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100061b2
mov bl, 1
jmp 0x100061ba
shr bl, 4
not bl
and bl, 1
mov ecx, dword [ebp - 0x410]
cmp ecx, 0x10
jb 0x100061f4
mov edx, dword [ebp - 0x424]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100061ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006418
push ecx
push edx
call fcn.10091115
add esp, 8
test bl, bl
je 0x10006207
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [0x100be058]
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x10c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x20d], al
test al, al
jne 0x10006210
lea eax, [ebp - 0x30c]
push 0x100cafdc
push eax
call fcn.10095c92
mov edx, eax
add esp, 8
test edx, edx
je 0x10006362
lea edi, [ebp - 0x20c]
dec edi
nop word [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10006250
mov ax, word [0x100cafdc]
mov esi, edx
mov word [edi], ax
mov al, byte [edx]
inc edx
test al, al
jne 0x10006265
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10006275
mov ecx, edx
mov dword [ebp - 0x414], 0
shr ecx, 2
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 0x410], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20c]
movups xmmword [ebp - 0x424], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100062b2
sub ecx, edx
lea eax, [ebp - 0x20c]
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.10002820
cmp dword [ebp - 0x410], 0x10
lea eax, [ebp - 0x424]
cmovae eax, dword [ebp - 0x424]
push eax
call dword [0x100be114]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100062f4
mov bl, 1
jmp 0x100062fc
shr bl, 4
not bl
and bl, 1
mov ecx, dword [ebp - 0x410]
cmp ecx, 0x10
jb 0x10006336
mov edx, dword [ebp - 0x424]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000632c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006413
push ecx
push edx
call fcn.10091115
add esp, 8
test bl, bl
je 0x10006349
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [0x100be058]
push 0x100cafdc
push 0
call fcn.10095c92
mov edx, eax
add esp, 8
test edx, edx
jne 0x10006243
xor ecx, ecx
mov al, byte [ebp + ecx - 0x20c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x40d], al
test al, al
jne 0x10006364
lea edi, [ebp - 0x40c]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10006380
mov ax, word [0x100cafdc]
push dword [ebp - 0x428]
mov word [edi], ax
call dword [0x100be238]
mov edx, eax
mov esi, eax
mov al, byte [edx]
inc edx
test al, al
jne 0x100063a3
lea edi, [ebp - 0x40c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100063b3
mov ecx, edx
lea eax, [ebp - 0x40c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 0x100cafe0
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.1009639c
mov esi, eax
add esp, 8
test esi, esi
je 0x100063fd
push esi
push dword [ebp + 8]
push 1
push dword [ebp - 0x42c]
call fcn.100999ae
push esi
call fcn.10096904
add esp, 0x14
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10090ad6
mov esp, ebp
pop ebp
ret
call fcn.10090ceb
call fcn.1009b5cc
call fcn.1009b5cc
int3