Function at 0x5959b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
lea edx, [esp + 0x68]
mov dword [esp + 0x68], 0
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x58], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x6c], eax
xor eax, eax
mov eax, ebx
call fcn.00590170
test eax, eax
jne 0x595890
test esi, esi
je 0x595881
mov dword [esi + 0x1c], 0x17
xor esi, esi
jmp 0x595972
mov dword [esp], ebx
mov dword [esp + 4], 0xd37be0
call sub.msvcrt.dll_fopen
mov ebx, eax
test eax, eax
je 0x595990
mov ecx, dword [0x6c356c]
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp + 0x5c], ecx
mov dword [esp + 8], 0
mov dword [esp], eax
call ecx
mov dword [esp], ebx
call dword [0x6c3568]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call ecx
movzx eax, word [esp + 0x58]
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x68]
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov dword [esp], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call fcn.00595760
mov dword [esp], ebx
mov esi, eax
call sub.msvcrt.dll_fclose
mov eax, dword [esp + 0x6c]
sub eax, dword [0xd41044]
jne 0x5959a3
add esp, 0x7c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x595881
mov dword [esi + 0x1c], 0x11
xor esi, esi
jmp 0x595972
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x560
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, eax
mov dword [esp + 0x7c], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x55c], eax
xor eax, eax
test ebx, ebx
je 0x595a38
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x78], eax
test eax, eax
je 0x595a58
cmp dword [ebx + 0x14], 2
jne 0x595a58
mov eax, dword [esi + 0x38]
test eax, eax
je 0x595a58
mov eax, dword [esi + 0x48]
mov ebx, dword [eax + 0x34]
test ebx, ebx
je 0x595a0d
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x595a58
cmp edi, dword [esi + 0x10]
jae 0x595a58
mov edx, dword [eax + 0x10]
mov edx, dword [edx + edi*4]
add edx, dword [eax]
mov dword [esp + 0x74], edx
je 0x595a58
cmp dword [edx], 0x2014b50
je 0x595a68
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 9
lea esi, [esi]
nop
xor eax, eax
mov edx, dword [esp + 0x55c]
sub edx, dword [0xd41044]
jne 0x5960d9
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x18
jmp 0x595a38
movzx ecx, word [edx + 0x1c]
movzx eax, word [edx + 0x1e]
movzx ebx, word [edx + 0x20]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], eax
add eax, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x5c], eax
add eax, ebx
mov dword [esp + 0x70], eax
add eax, dword [ecx + 4]
mov dword [esp + 0x60], ebx
cmp eax, 0xffffffb1
je 0x595b90
mov ebx, dword [esp + 0x7c]
mov eax, ebx
call fcn.00599630
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x595b58
cmp eax, 0xffffffff
je 0x595b63
lea eax, [esp + 0xd0]
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x74]
mov edx, edi
mov dword [esp], eax
mov eax, esi
call fcn.0058fb30
test eax, eax
je 0x595a38
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
lea edi, [esp + 0xb0]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x10], 0x1e
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esi + 0x44]
mov dword [esp], eax
call dword [esi + 0x38]
cmp eax, 0x1e
je 0x595ba0
mov dword [ebx + 0x1c], 0x14
jmp 0x595a38
cmp eax, 0xffff
jne 0x595ac6
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 2
jmp 0x595a38
mov ecx, dword [esp + 0x68]
cmp dword [eax + 8], ecx
jb 0x596508
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x68]
mov dword [eax + 4], edi
lea esi, [esi]
nop
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0xf
jmp 0x595a38
cmp dword [esp + 0xb0], 0x4034b50
jne 0x595a28
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0xc6]
mov ebx, dword [esp + 0xc2]
add edx, 0x1e
adc ecx, 0
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0xca]
mov dword [esp + 0x44], ecx
movzx ecx, word [esp + 0xcc]
mov dword [esp + 0x40], edx
xor edx, edx
mov dword [esp + 0x28], eax
add eax, ecx
add eax, dword [esp + 0xf0]
adc edx, dword [esp + 0xf4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
test ecx, ecx
je 0x595e97
cmp ebx, 0xffffffff
je 0x595ea4
cmp dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x34], 0
je 0x595ea4
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x595c88
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ecx, dword [ecx + 4]
add eax, 0xb2
adc edx, 0
add eax, dword [esp + 0x48]
adc edx, dword [esp + 0x4c]
xor ebx, ebx
add eax, ecx
mov ecx, dword [esp + 0x70]
adc edx, ebx
xor ebx, ebx
add eax, ecx
mov ecx, dword [esp + 0x50]
adc edx, ebx
xor ebx, ebx
add eax, ecx
mov ecx, 0xfffffffe
adc edx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov edx, eax
xor eax, eax
cmp ecx, edx
sbb eax, dword [esp + 0x3c]
jb 0x596051
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x7c]
mov dword [esp], ebx
call fcn.0059af30
test eax, eax
je 0x595a38
mov eax, dword [esp + 0x7c]
xor edx, edx
mov ecx, ebx
add ecx, dword [esp + 0x48]
mov ebx, edx
mov dword [esp + 0x28], ecx
adc ebx, dword [esp + 0x4c]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x2c], ebx
mov ecx, edx
mov dword [esp + 0x8c], ebx
or ecx, eax
je 0x595d08
add eax, 0xffffffff
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
adc edx, 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x50]
mov eax, ecx
and eax, edx
mov edx, dword [esp + 0x54]
and edx, ebx
or edx, eax
jne 0x5960b7
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x10], 0x1e
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [edi + 0x44]
mov dword [esp], eax
call dword [edi + 0x3c]
cmp eax, 0x1e
jne 0x596045
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], 1
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
add eax, 0x1e
adc edx, 0
mov dword [esp + 0x50], eax
mov eax, 0x10000
mov dword [esp + 0x54], edx
xor edx, edx
cmp eax, ecx
mov edi, edx
sbb edi, ebx
cmovae edx, dword [esp + 0x6c]
cmovae eax, ecx
mov ecx, 0x20
xor edi, edi
cmp eax, ecx
sbb edx, edi
mov edi, dword [esp + 0x7c]
cmovb eax, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x28]
mov edx, eax
test eax, eax
je 0x59609e
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
or eax, ecx
je 0x595f94
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], esi
jmp 0x595e19
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x7c]
add dword [esp + 0x40], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x44]
adc dword [esp + 0x44], edi
mov dword [esp], eax
call dword [ecx + 0x3c]
cmp ebx, eax
jne 0x5960de
add dword [esp + 0x50], ebx
adc dword [esp + 0x54], edi
sub dword [esp + 0x68], ebx
mov eax, dword [esp + 0x68]
sbb dword [esp + 0x6c], edi
mov ecx, dword [esp + 0x6c]
or ecx, eax
je 0x595f8c
mov ecx, dword [esp + 0x68]
mov edx, 0x10000
xor eax, eax
mov ebx, edx
cmp edx, ecx
mov ecx, eax
sbb ecx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmovae eax, ecx
mov ecx, dword [esp + 0x38]
cmovae ebx, edx
mov edx, dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x84], ebx
mov dword [esp], eax
call dword [ecx + 0x38]
cmp ebx, eax
je 0x595dc0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x14
jmp 0x595a38
mov dword [esp + 0x34], 0
jmp 0x595c2b
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x38], ecx
lea edx, [esp + 0x90]
mov dword [esp], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 1
call fcn.0058f5f0
test eax, eax
je 0x59609e
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x90]
xor edx, edx
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esi + 0x44]
mov dword [esp + 0x94], ecx
mov dword [esp], eax
call dword [esi + 0x38]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jne 0x5960ae
mov dword [esp + 0x38], ebx
mov edx, ebx
mov dword [esp + 0x34], esi
jmp 0x595f66
movzx ebx, word [edx + 2]
movzx esi, word [edx]
lea eax, [ebx + 4]
cmp ecx, eax
jb 0x595f6b
cmp si, 1
je 0x596277
add edx, eax
sub ecx, eax
je 0x596246
cmp ecx, 3
ja 0x595f44
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 9
jmp 0x595a38
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
test byte [esp + 0xb6], 8
je 0x596109
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x44]
mov esi, dword [esp + 0x34]
or esi, dword [eax + 0x34]
je 0x596293
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], 0x18
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call edi
mov edx, dword [esp + 0x68]
cmp eax, 0x18
jne 0x595e7a
xor eax, eax
cmp dword [edx], 0x8074b50
sete al
lea esi, [eax*4 + 0x14]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x84], esi
mov dword [esp], eax
call dword [edi + 0x3c]
mov edx, dword [esp + 0x68]
cmp eax, esi
je 0x5960ff
mov dword [esp + 4], edx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x13
jmp 0x595a38
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x1d
jmp 0x595a38
mov eax, dword [esp + 0x78]
mov dword [esp], 1
mov ecx, edi
lea edx, [eax + 0x10]
mov eax, dword [esp + 0x7c]
call fcn.0058f5f0
test eax, eax
jne 0x5961fe
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
cmp dword [eax + 8], ecx
jb 0x5964e5
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x68]
mov dword [eax + 4], edi
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x10
jmp 0x595a38
mov dword [esp + 4], ebx
jmp 0x595e7e
mov dword [esp + 8], 0x2529
mov dword [esp + 4], str._home_anal_bot_zip_include_miniz.h
mov dword [esp], str._local_dir_header_ofs___pZip__m_file_offset_alignment___1____0
call dword [0x6c355c]
jmp 0x595d08
call fcn.00401690
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x13
jmp 0x595a38
xor edi, edi
add dword [esp + 0x50], esi
adc dword [esp + 0x54], edi
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], edx
lea edi, [esp + 0x528]
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov ecx, dword [eax + 4]
cmp dword [eax + 0x34], 0
mov dword [esp + 0x68], ecx
mov ecx, 0x2e
rep movsb byte es:[edi], byte [esi]
jne 0x596317
cmp dword [esp + 0x54], 0
ja 0x596051
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov eax, 0xfffffffe
cmp eax, ebx
sbb ecx, esi
jb 0x596051
mov eax, dword [esp + 0x68]
mov dword [esp + 0x552], ebx
lea esi, [eax + 0x2e]
mov eax, dword [esp + 0x78]
cmp dword [eax + 8], esi
jb 0x59674a
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
mov dword [edi + 4], esi
imul edx, eax
add edx, dword [edi]
imul eax, eax, 0x2e
mov dword [esp], edx
mov dword [esp + 8], eax
lea eax, [esp + 0x528]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x70]
mov eax, edi
lea edi, [ecx + esi]
cmp dword [eax + 8], edi
jb 0x596727
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x70], 0
mov dword [eax + 4], edi
jne 0x5966f6
mov eax, dword [esp + 0x78]
cmp dword [eax + 4], 0xffffffff
je 0x595b73
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x14]
lea edi, [esi + 1]
cmp dword [eax + 0x18], edi
jb 0x596061
mov ecx, dword [esp + 0x78]
mov eax, esi
mov edx, dword [ecx + 0x1c]
mov dword [ecx + 0x14], edi
imul eax, edx
add eax, dword [ecx + 0x10]
lea ecx, [esp + 0x84]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [ecx], eax
mov eax, 1
add dword [ecx + 0x10], 1
mov dword [ecx + 4], edx
jmp 0x595a3a
xor eax, eax
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [esp + 0x90], xmm0
jmp 0x595c2b
mov eax, ebx
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], 1
cmp eax, 0xf
ja 0x596254
jmp 0x595f6f
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], 0x10
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call edi
mov edx, dword [esp + 0x68]
cmp eax, 0x10
jne 0x595e7a
mov edi, dword [esp + 0x7c]
mov eax, dword [edx]
mov ecx, dword [edi + 0x48]
cmp eax, 0x8074b50
sete al
cmp dword [ecx + 0x34], 0
movzx eax, al
je 0x59676d
lea eax, [edx + eax*4]
mov ecx, dword [str.PK_a_b]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx], ecx
mov dword [edx + 4], esi
mov esi, 0x18
mov dword [edx + 8], edi
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 0
jmp 0x595ffc
or eax, 0xffffffff
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0x53c], eax
mov dword [esp + 0x540], eax
mov eax, dword [0xd3c444]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x552], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa4], ebx
lea ecx, [eax + edi + 0x2e]
lea eax, [esp + 0x88]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0xf8]
mov dword [esp + 8], eax
lea eax, [esp + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xac], 1
mov dword [esp], eax
lea eax, [esp + 0xa0]
call fcn.0059ac20
test eax, eax
je 0x5966b6
movzx eax, word [esp + 0xa4]
mov edi, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
mov word [esp + 0x546], ax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
add ecx, 0x2e
cmp dword [eax + 8], ecx
jb 0x596675
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 4], ecx
imul edx, eax
add edx, dword [ebx]
imul eax, eax, 0x2e
mov dword [esp], edx
mov dword [esp + 8], eax
lea eax, [esp + 0x528]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x70], ecx
add ecx, edx
cmp dword [ebx + 8], ecx
jb 0x596616
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x64], 0
mov dword [eax + 4], ecx
jne 0x5965e1
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov ebx, ecx
add ecx, edi
cmp dword [eax + 8], ecx
jb 0x596496
mov eax, dword [esp + 0x78]
mov dword [eax + 4], ecx
test edi, edi
jne 0x5965bb
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov edi, dword [eax + 4]
add ecx, edi
cmp dword [eax + 8], ecx
jb 0x596563
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x60], 0
mov dword [eax + 4], ecx
jne 0x59652b
mov edi, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [esp + 0xa0], xmm0
jmp 0x5961d2
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x70], ecx
call fcn.0058f5f0
mov ecx, dword [esp + 0x70]
test eax, eax
jne 0x59643c
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x78]
vpxor xmm0, xmm0, xmm0
mov edi, dword [esp + 0x68]
vmovdqu xmmword [esp + 0xa0], xmm0
cmp dword [eax + 8], edi
jae 0x596093
xor eax, eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
call fcn.0058f5f0
test eax, eax
jne 0x596093
jmp 0x59609e
xor edx, edx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
call fcn.0058f5f0
test eax, eax
jne 0x595b80
jmp 0x595b90
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x60]
imul edi, eax
imul ecx, eax
add edx, edi
mov edi, dword [esp + 0x5c]
mov eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 8], eax
lea ecx, [ecx + edi + 0x2e]
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
jmp 0x596473
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x70], ecx
call fcn.0058f5f0
mov ecx, dword [esp + 0x70]
test eax, eax
jne 0x596461
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x78]
vpxor xmm0, xmm0, xmm0
mov ecx, dword [esp + 0x68]
vmovdqu xmmword [esp + 0xa0], xmm0
cmp dword [eax + 8], ecx
jae 0x596093
jmp 0x5964e5
mov ecx, dword [esp + 0x78]
mov eax, ebx
mov edx, dword [ecx + 0xc]
imul edi, edx
imul eax, edx
add eax, dword [ecx]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], edi
call sub.msvcrt.dll_memcpy
jmp 0x59644b
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov eax, dword [ecx + 0xc]
imul edx, eax
add edx, dword [ecx]
mov ecx, dword [esp + 0x64]
mov dword [esp], edx
imul ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], eax
add ecx, 0x2e
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
jmp 0x59642c
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x58], ecx
call fcn.0058f5f0
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x59641a
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x78]
vpxor xmm0, xmm0, xmm0
mov edi, dword [esp + 0x68]
vmovdqu xmmword [esp + 0xa0], xmm0
cmp dword [eax + 8], edi
jb 0x5966d3
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
jmp 0x59609e
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x58], ecx
call fcn.0058f5f0
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x5963d7
mov edi, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x10
jmp 0x595a38
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x34]
mov dword [esp], eax
call dword [ecx + 0x2c]
jmp 0x595a38
xor ecx, ecx
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
call fcn.0058f5f0
test eax, eax
jne 0x596665
jmp 0x59609e
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x70]
mov ecx, esi
mov eax, dword [edi + 0xc]
imul ecx, eax
add ecx, dword [edi]
imul edx, eax
mov eax, dword [esp + 0x74]
mov dword [esp], ecx
add eax, 0x2e
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
jmp 0x5961d2
mov dword [esp], 1
mov edx, dword [esp + 0x78]
mov ecx, edi
mov eax, dword [esp + 0x7c]
call fcn.0058f5f0
test eax, eax
jne 0x5961c0
jmp 0x596082
mov dword [esp], 1
mov edx, dword [esp + 0x78]
mov ecx, esi
mov eax, dword [esp + 0x7c]
call fcn.0058f5f0
test eax, eax
jne 0x59617e
jmp 0x59609e
lea esi, [eax*4 + 0xc]
jmp 0x595ffc