Function at 0x10034d20
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x10158e2b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101ad3b4]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov ebx, dword [ebp + 0x20c]
mov edi, dword [ebp + 0x210]
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], eax
mov byte [ebp], al
push 0x1ff
push eax
lea edx, [ebp + 1]
push edx
call fcn.100f6b80
add esp, 0xc
mov dword [ebp - 0x28], 0
mov ecx, dword [esi + 0x32d8]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x14]
je 0x10034e60
mov ecx, dword [ecx + 0x14]
push ecx
lea eax, [ebp]
push eax
push esi
call fcn.10041a40
push 0x101618b0
push edi
call fcn.100f8c40
add esp, 0x14
test eax, eax
jne 0x10034e60
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x62
mov byte [ebp - 0x1e], al
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp]
push edx
call fcn.100f794d
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10034e60
push 2
push 0
push eax
call fcn.100f7804
mov eax, dword [ebp - 0x14]
push eax
call fcn.100f770f
mov dword [ebp - 0x18], eax
add eax, 1
push eax
call fcn.100f5b7c
add esp, 0x14
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x10034e30
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100f7244
add esp, 4
xor eax, eax
jmp 0x10035022
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.100f7804
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 1
push edi
call fcn.100f755c
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.100f7244
add esp, 0x20
push 0x1000000
call fcn.100f5b7c
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x10034e87
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.100f5c3f
add esp, 4
xor eax, eax
jmp 0x10035022
mov byte [eax], 0
mov dword [ebp - 4], 0
cmp dword [esi + 0x32c8], 0
jne 0x10034efd
push 0x1000000
push eax
cmp dword [ebp + 0x224], 0
je 0x10034ed3
mov edx, dword [ebp + 0x220]
push edx
mov eax, dword [ebp + 0x21c]
push eax
mov ecx, dword [ebp + 0x218]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x24]
push eax
push edi
push ebx
push esi
call fcn.1003ab40
add esp, 0x28
jmp 0x10034f2f
mov ecx, dword [ebp + 0x220]
push ecx
mov edx, dword [ebp + 0x21c]
push edx
mov eax, dword [ebp + 0x218]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push edi
push ebx
push esi
call fcn.10036660
add esp, 0x28
jmp 0x10034f2f
mov ecx, dword [ebp + 0x224]
push ecx
mov edx, dword [ebp + 0x220]
push edx
mov ecx, dword [ebp + 0x21c]
push ecx
mov edx, dword [ebp + 0x218]
push edx
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push edi
push esi
mov edx, eax
mov ecx, ebx
call fcn.10030da0
add esp, 0x20
mov dword [ebp - 0x2c], eax
or esi, 0xffffffff
mov dword [ebp - 4], esi
cmp eax, 1
jne 0x1003500a
lea eax, [ebp]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10034f47
sub eax, edx
je 0x10034fb5
mov byte [ebp - 0x14], 0x77
mov byte [ebp - 0x13], 0x62
mov byte [ebp - 0x12], cl
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
call fcn.100f794d
add esp, 8
mov esi, eax
test esi, esi
je 0x1003500a
mov edi, dword [ebp - 0x18]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10034f81
sub eax, edx
push esi
push 1
push eax
push edi
call fcn.100f9b6e
push esi
call fcn.100f7244
add esp, 0x14
jmp 0x1003500a
push 0x18
call fcn.100e4ac0
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x10034fe5
mov ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x35]
push edx
mov ecx, eax
call fcn.10009d00
jmp 0x10034fe7
xor eax, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], eax
test byte [ebp - 0x1c], 1
je 0x10034ff7
and dword [ebp - 0x1c], 0xfffffffe
test eax, eax
je 0x10034e29
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.10010280
mov edx, dword [ebp - 0x18]
push edx
call fcn.100f5c3f
mov eax, dword [ebp - 0x28]
push eax
call fcn.100f5c3f
add esp, 8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.100f611a
add ebp, 0x204
mov esp, ebp
pop ebp
ret