Function at 0x595240
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.0058fa00
test eax, eax
jne 0x595120
test esi, esi
je 0x595111
mov dword [esi + 0x1c], 0x17
xor esi, esi
jmp 0x595202
mov dword [esp], ebx
mov dword [esp + 4], 0xd3624c
call sub.msvcrt.dll_fopen
mov ebx, eax
test eax, eax
je 0x595220
mov ecx, dword [0x6c22ec]
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 [0x6c22e8]
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.00594ff0
mov dword [esp], ebx
mov esi, eax
call sub.msvcrt.dll_fclose
mov eax, dword [esp + 0x6c]
sub eax, dword [0xd41044]
jne 0x595233
add esp, 0x7c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x595111
mov dword [esi + 0x1c], 0x11
xor esi, esi
jmp 0x595202
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 0x5952c8
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x78], eax
test eax, eax
je 0x5952e8
cmp dword [ebx + 0x14], 2
jne 0x5952e8
mov eax, dword [esi + 0x38]
test eax, eax
je 0x5952e8
mov eax, dword [esi + 0x48]
mov ebx, dword [eax + 0x34]
test ebx, ebx
je 0x59529d
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x5952e8
cmp edi, dword [esi + 0x10]
jae 0x5952e8
mov edx, dword [eax + 0x10]
mov edx, dword [edx + edi*4]
add edx, dword [eax]
mov dword [esp + 0x74], edx
je 0x5952e8
cmp dword [edx], 0x2014b50
je 0x5952f8
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 0x595969
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x18
jmp 0x5952c8
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 0x595420
mov ebx, dword [esp + 0x7c]
mov eax, ebx
call fcn.00598ec0
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x5953e8
cmp eax, 0xffffffff
je 0x5953f3
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.0058f3c0
test eax, eax
je 0x5952c8
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 0x595430
mov dword [ebx + 0x1c], 0x14
jmp 0x5952c8
cmp eax, 0xffff
jne 0x595356
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 2
jmp 0x5952c8
mov ecx, dword [esp + 0x68]
cmp dword [eax + 8], ecx
jb 0x595d98
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 0x5952c8
cmp dword [esp + 0xb0], 0x4034b50
jne 0x5952b8
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 0x595727
cmp ebx, 0xffffffff
je 0x595734
cmp dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x34], 0
je 0x595734
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x595518
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 0x5958e1
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.0059a7c0
test eax, eax
je 0x5952c8
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 0x595598
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 0x595947
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 0x5958d5
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 0x59592e
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
or eax, ecx
je 0x595824
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], esi
jmp 0x5956a9
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 0x59596e
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 0x59581c
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 0x595650
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 0x5952c8
mov dword [esp + 0x34], 0
jmp 0x5954bb
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.0058ee80
test eax, eax
je 0x59592e
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 0x59593e
mov dword [esp + 0x38], ebx
mov edx, ebx
mov dword [esp + 0x34], esi
jmp 0x5957f6
movzx ebx, word [edx + 2]
movzx esi, word [edx]
lea eax, [ebx + 4]
cmp ecx, eax
jb 0x5957fb
cmp si, 1
je 0x595b07
add edx, eax
sub ecx, eax
je 0x595ad6
cmp ecx, 3
ja 0x5957d4
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 0x5952c8
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
test byte [esp + 0xb6], 8
je 0x595999
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 0x595b23
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 0x59570a
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 0x59598f
mov dword [esp + 4], edx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x13
jmp 0x5952c8
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x1d
jmp 0x5952c8
mov eax, dword [esp + 0x78]
mov dword [esp], 1
mov ecx, edi
lea edx, [eax + 0x10]
mov eax, dword [esp + 0x7c]
call fcn.0058ee80
test eax, eax
jne 0x595a8e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
cmp dword [eax + 8], ecx
jb 0x595d75
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 0x5952c8
mov dword [esp + 4], ebx
jmp 0x59570e
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 [0x6c22dc]
jmp 0x595598
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 0x5952c8
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 0x595ba7
cmp dword [esp + 0x54], 0
ja 0x5958e1
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov eax, 0xfffffffe
cmp eax, ebx
sbb ecx, esi
jb 0x5958e1
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 0x595fda
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 0x595fb7
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x70], 0
mov dword [eax + 4], edi
jne 0x595f86
mov eax, dword [esp + 0x78]
cmp dword [eax + 4], 0xffffffff
je 0x595403
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 0x5958f1
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 0x5952ca
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 0x5954bb
mov eax, ebx
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], 1
cmp eax, 0xf
ja 0x595ae4
jmp 0x5957ff
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 0x59570a
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 0x595ffd
lea eax, [edx + eax*4]
mov ecx, dword [0xd3b708]
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 0x59588c
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 [0xd3b70c]
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.0059a4b0
test eax, eax
je 0x595f46
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 0x595f05
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 0x595ea6
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x64], 0
mov dword [eax + 4], ecx
jne 0x595e71
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov ebx, ecx
add ecx, edi
cmp dword [eax + 8], ecx
jb 0x595d26
mov eax, dword [esp + 0x78]
mov dword [eax + 4], ecx
test edi, edi
jne 0x595e4b
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov edi, dword [eax + 4]
add ecx, edi
cmp dword [eax + 8], ecx
jb 0x595df3
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x60], 0
mov dword [eax + 4], ecx
jne 0x595dbb
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 0x595a62
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x70], ecx
call fcn.0058ee80
mov ecx, dword [esp + 0x70]
test eax, eax
jne 0x595ccc
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 0x595923
xor eax, eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
call fcn.0058ee80
test eax, eax
jne 0x595923
jmp 0x59592e
xor edx, edx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
call fcn.0058ee80
test eax, eax
jne 0x595410
jmp 0x595420
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 0x595d03
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x70], ecx
call fcn.0058ee80
mov ecx, dword [esp + 0x70]
test eax, eax
jne 0x595cf1
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 0x595923
jmp 0x595d75
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 0x595cdb
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 0x595cbc
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x58], ecx
call fcn.0058ee80
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x595caa
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 0x595f63
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
jmp 0x59592e
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x58], ecx
call fcn.0058ee80
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x595c67
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 0x5952c8
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 0x5952c8
xor ecx, ecx
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
call fcn.0058ee80
test eax, eax
jne 0x595ef5
jmp 0x59592e
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 0x595a62
mov dword [esp], 1
mov edx, dword [esp + 0x78]
mov ecx, edi
mov eax, dword [esp + 0x7c]
call fcn.0058ee80
test eax, eax
jne 0x595a50
jmp 0x595912
mov dword [esp], 1
mov edx, dword [esp + 0x78]
mov ecx, esi
mov eax, dword [esp + 0x7c]
call fcn.0058ee80
test eax, eax
jne 0x595a0e
jmp 0x59592e
lea esi, [eax*4 + 0xc]
jmp 0x59588c