Function at 0x4690a0
Capabilities:
Write file on windows

Disassembly:
jmp 0x4690a0
push 0xffffffffffffffff
push 0x5555f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c1d10]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x18]
call fcn.004044e9
mov dword [esp + 0x24], 0
cmp dword [esp + 0x30], 1
jne 0x469107
lea ecx, [esi + 4]
call fcn.004015c3
test eax, eax
mov ecx, esi
je 0x4690fc
call fcn.00402b49
mov dword [esi + 0x1a0], eax
jmp 0x469107
call fcn.00402b49
mov dword [esi + 0xa8], eax
cmp dword [esi + 0x2a4], 0
jne 0x46912b
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004014b5
mov eax, 8
jmp 0x46934b
mov eax, dword [esp + 0x2c]
push 0x585ef0
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004f9b26
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x469165
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004014b5
mov eax, 1
jmp 0x46934b
lea ebp, [esi + 4]
push eax
push 1
mov ecx, ebp
mov dword [esp + 0x38], ebp
call fcn.0040376a
push eax
lea edx, [esi + 0x10]
push edx
call fcn.004fa265
add esp, 0x10
lea ebx, [esi + 0x250]
push 0
mov ecx, ebx
call fcn.00403c06
push eax
call fcn.004b14ff
mov edi, eax
add esp, 4
test edi, edi
je 0x4691c9
push edi
mov ecx, ebx
call fcn.00403c06
mov eax, dword [esp + 0x14]
push eax
push 1
push 0
mov ecx, ebx
call fcn.00403c06
push eax
push edi
call fcn.004fa265
push edi
call fcn.004b1504
add esp, 0x14
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
call fcn.004fa081
add esp, 0xc
mov ecx, ebp
call fcn.004015c3
test eax, eax
je 0x4691fc
mov eax, dword [esp + 0x14]
push eax
push 1
push 0x108
lea ecx, [esi + 0x148]
push ecx
jmp 0x46920c
mov edx, dword [esp + 0x14]
push edx
push 1
push 0xf8
lea eax, [esi + 0x50]
push eax
call fcn.004fa265
mov eax, dword [esi + 0x29c]
mov eax, dword [eax]
lea ebx, [esi + 0x298]
add esp, 0x10
mov esi, ebx
mov edi, eax
test esi, esi
mov ebp, dword [ebx + 4]
je 0x469231
cmp esi, ebx
je 0x469236
call fcn.00402590
cmp edi, ebp
je 0x469270
test esi, esi
jne 0x469243
call fcn.00402590
cmp edi, dword [esi + 4]
jne 0x46924d
call fcn.00402590
mov ecx, dword [esp + 0x14]
push ecx
push 1
lea edx, [edi + 0x14]
push 0x28
push edx
call fcn.004fa265
add esp, 0x10
cmp edi, dword [esi + 4]
jne 0x46926c
call fcn.00402590
mov edi, dword [edi]
jmp 0x469226
mov eax, dword [esp + 0x14]
push eax
call fcn.004f9f8c
mov ecx, dword [esp + 0x34]
add esp, 4
mov esi, eax
push esi
call fcn.004037e7
cmp esi, eax
jae 0x4692a5
sub eax, esi
mov esi, eax
mov ecx, dword [esp + 0x14]
push ecx
push 0
call fcn.004f9b76
add esp, 8
sub esi, 1
jne 0x469291
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov edi, ebx
mov esi, eax
mov edi, edi
test edi, edi
mov ebp, dword [ebx + 4]
je 0x4692bb
cmp edi, ebx
je 0x4692c0
call fcn.00402590
cmp esi, ebp
je 0x46932b
test edi, edi
jne 0x4692cd
call fcn.00402590
cmp esi, dword [edi + 4]
jne 0x4692d7
call fcn.00402590
mov eax, dword [esi + 0x28]
test eax, eax
je 0x46931d
cmp dword [esi + 0x24], 0
je 0x46931d
mov edx, dword [esp + 0x14]
push 0
push eax
push edx
call fcn.004fa081
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x10]
add esp, 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x46931d
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x10]
push edx
push 1
push eax
push ecx
call fcn.004fa265
add esp, 0x10
cmp esi, dword [edi + 4]
jne 0x469327
call fcn.00402590
mov esi, dword [esi]
jmp 0x4692b0
mov edx, dword [esp + 0x14]
push edx
call fcn.004f984c
add esp, 4
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004014b5
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8