Function at 0x594770
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d4f06
mov eax, dword fs:[0]
push eax
mov eax, 0x11d4
call fcn.005b6f10
mov eax, dword [0x65d4e4]
xor eax, esp
mov dword [esp + 0x11d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65d4e4]
xor eax, esp
push eax
lea eax, [esp + 0x11e8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11f8]
mov ecx, dword [esp + 0x1204]
mov esi, dword [esp + 0x11fc]
mov ebp, dword [esp + 0x1200]
xor ebx, ebx
push 0x104
lea edx, [esp + 0xe4]
push ebx
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.005b5540
add esp, 0xc
mov eax, esi
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x594820
lea edi, [esp + 0xe0]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x594835
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp ebp, ebx
rep movsb byte es:[edi], byte [esi]
jne 0x594873
lea edi, [esp + 0xe0]
add edi, 0xffffffff
jmp 0x594860
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x594860
mov ax, word [0x5f422c]
mov word [edi], ax
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x5948b7
xor eax, eax
cmp ebp, ebx
je 0x59488a
push ebp
call fcn.00504ca0
add esp, 4
push eax
push esi
push ebx
push 8
mov edi, dword [esp + 0x28]
push 0xfffffffffffffff1
push ebx
push 0xffffffffffffffff
push 8
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x118]
push edx
push edi
call fcn.004f4fb0
add esp, 0x40
jmp 0x5948de
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push 8
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x100]
push ecx
push edx
call fcn.004f5700
mov edi, dword [esp + 0x40]
add esp, 0x28
cmp eax, ebx
jne 0x594a44
cmp ebp, ebx
je 0x594a44
push 0x62c568
push ebp
call fcn.005b1ae9
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x5949db
push 1
push 2
lea ecx, [esp + 0x68]
call fcn.0040b040
push ebp
lea eax, [esp + 0x64]
push 0x600cfc
push eax
mov dword [esp + 0x11fc], ebx
call fcn.00409b60
add esp, 8
push eax
call fcn.00409b60
add esp, 8
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x64]
call fcn.004094f0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x11f0], 1
jb 0x59495b
mov eax, dword [eax + 4]
jmp 0x59495e
add eax, 4
push eax
push str.BaseLib::AddFileToZip
push 0x7b
push str..ywSMPpubZipFileMake.cpp
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
cmp dword [esp + 0x5c], esi
jb 0x59498f
mov edx, dword [esp + 0x48]
push edx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x11f0], 0xffffffff
call fcn.00409e00
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0xb0], vtable.std::ios_base.0
call fcn.005cdcde
push edi
call fcn.004f5c00
add esp, 8
xor eax, eax
jmp 0x594a51
push esi
call fcn.005b35b0
add esp, 4
test eax, eax
jne 0x594a3b
jmp 0x5949f0
push esi
push 0x1000
lea ecx, [esp + 0x1ec]
push 1
push ecx
call fcn.005b2836
push eax
lea edx, [esp + 0x1f8]
push edx
push edi
call fcn.004f5840
add esp, 0x1c
test eax, eax
jne 0x594a37
push esi
call fcn.005b35df
add esp, 4
test eax, eax
jne 0x594a37
push esi
call fcn.005b35b0
add esp, 4
test eax, eax
je 0x5949f0
jmp 0x594a3b
mov dword [esp + 0x14], ebx
push esi
call fcn.005b1fa4
add esp, 4
push edi
call fcn.004f5c00
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x11e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x11d0]
xor ecx, esp
call fcn.005b1988
add esp, 0x11e0
ret