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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b876
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x679440
mov dword [ebp - 0x120], 0x679440
call fcn.004ef6fb
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x118], ebx
xor eax, eax
push 0x3e
mov dword [ebp - 0x6b], eax
mov dword [ebp - 0x67], eax
mov dword [ebp - 0x63], eax
mov dword [ebp - 0x5f], eax
mov dword [ebp - 0x5b], eax
mov dword [ebp - 0x57], eax
mov dword [ebp - 0x53], eax
mov byte [ebp - 0x4f], al
lea eax, [ebp - 0x4e]
push ebx
push eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x6c], bl
call fcn.00534b40
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x118]
push 0x57ae8c
push edx
call fcn.00433410
add esp, 0x18
test eax, eax
jne 0x4337d4
mov eax, dword [ebp - 0x118]
cmp eax, ebx
je 0x4337b9
push eax
call fcn.00536f74
add esp, 4
mov ecx, 0x679440
mov dword [ebp - 4], 0xffffffff
call fcn.004ef710
mov eax, 1
jmp 0x433a3e
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x110]
push ecx
mov dword [ebp - 0x114], ebx
mov byte [ebp - 0x10f], bl
mov word [ebp - 0x10c], bx
mov byte [ebp - 0x110], al
call fcn.0053b3d3
mov esi, dword [ebp - 0x118]
add esp, 4
mov dword [ebp - 0x11c], ebx
cmp dword [ebp - 0x4a], ebx
jle 0x433977
mov edi, 0x5c
lea esp, [esp]
push 0x9a
lea edx, [ebp - 0x108]
push ebx
push edx
call fcn.00534b40
push ebx
push edi
push esi
call fcn.00536a84
push esi
push 1
lea eax, [ebp - 0x108]
push 0x9a
push eax
call fcn.00535632
lea ecx, [ebp - 0x108]
push ecx
call fcn.00433130
mov dl, byte [ebp - 0x104]
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 0x10c], dl
call fcn.0053b3d3
mov eax, dword [ebp - 0x108]
add esp, 0x30
cmp eax, 1
je 0x43390d
mov cl, byte [ebp - 0x10c]
cmp cl, byte [ebp - 0x110]
jne 0x43390d
cmp dword [ebp - 0x114], ebx
jne 0x433901
cmp eax, 3
je 0x433901
push 0x9a
lea edx, [ebp - 0x108]
push ebx
push edx
call fcn.00534b40
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
push ecx
mov dword [ebp - 0x108], 3
call fcn.00433260
add esp, 0x14
cmp byte [ebp - 0x104], bl
je 0x43394f
lea edx, [ebp - 0x108]
push edx
call fcn.00433130
push ebx
push edi
push esi
call fcn.00536a84
push esi
push 1
lea eax, [ebp - 0x108]
push 0x9a
push eax
call fcn.00535138
add esp, 0x20
mov dword [ebp - 0x114], 1
jmp 0x43394f
cmp eax, 3
jne 0x43394f
cmp byte [ebp - 0x104], bl
je 0x43394f
lea ecx, [ebp - 0x108]
push ecx
mov dword [ebp - 0x108], 2
call fcn.00433130
push ebx
push edi
push esi
call fcn.00536a84
push esi
push 1
lea edx, [ebp - 0x108]
push 0x9a
push edx
call fcn.00535138
add esp, 0x20
mov eax, dword [ebp - 0x11c]
inc eax
add edi, 0x9a
mov dword [ebp - 0x11c], eax
cmp eax, dword [ebp - 0x4a]
jl 0x433820
cmp dword [ebp - 0x114], ebx
jne 0x433a1e
push 0x9a
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00534b40
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x104]
push ecx
push edx
mov dword [ebp - 0x108], 3
call fcn.00433260
add esp, 0x14
cmp byte [ebp - 0x104], bl
jne 0x4339d3
cmp esi, ebx
je 0x4339bb
push esi
call fcn.00536f74
add esp, 4
mov ecx, 0x679440
mov dword [ebp - 4], 0xffffffff
call fcn.004ef710
mov eax, 3
jmp 0x433a3e
lea eax, [ebp - 0x108]
push eax
call fcn.00433130
push 2
push ebx
push esi
call fcn.00536a84
push esi
mov edi, 1
push edi
lea ecx, [ebp - 0x108]
push 0x9a
push ecx
call fcn.00535138
add dword [ebp - 0x4a], edi
add dword [ebp - 0x46], edi
push ebx
push ebx
push esi
call fcn.00536a84
push esi
push edi
lea edx, [ebp - 0x6c]
push 0x5c
push edx
call fcn.00535138
add esp, 0x3c
cmp esi, ebx
je 0x433a2b
push esi
call fcn.00536f74
add esp, 4
mov ecx, 0x679440
mov dword [ebp - 4], 0xffffffff
call fcn.004ef710
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret