Function at 0x5979d0
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 [0xd44044]
mov dword [esp + 0x6c], eax
xor eax, eax
mov eax, ebx
call fcn.00592190
test eax, eax
jne 0x5978b0
test esi, esi
je 0x5978a1
mov dword [esi + 0x1c], 0x17
xor esi, esi
jmp 0x597992
mov dword [esp], ebx
mov dword [esp + 4], 0xd3a403
call sub.msvcrt.dll_fopen
mov ebx, eax
test eax, eax
je 0x5979b0
mov ecx, dword [0x6c582c]
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 [0x6c5828]
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.00597780
mov dword [esp], ebx
mov esi, eax
call sub.msvcrt.dll_fclose
mov eax, dword [esp + 0x6c]
sub eax, dword [0xd44044]
jne 0x5979c3
add esp, 0x7c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x5978a1
mov dword [esi + 0x1c], 0x11
xor esi, esi
jmp 0x597992
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 [0xd44044]
mov dword [esp + 0x55c], eax
xor eax, eax
test ebx, ebx
je 0x597a58
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x78], eax
test eax, eax
je 0x597a78
cmp dword [ebx + 0x14], 2
jne 0x597a78
mov eax, dword [esi + 0x38]
test eax, eax
je 0x597a78
mov eax, dword [esi + 0x48]
mov ebx, dword [eax + 0x34]
test ebx, ebx
je 0x597a2d
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x597a78
cmp edi, dword [esi + 0x10]
jae 0x597a78
mov edx, dword [eax + 0x10]
mov edx, dword [edx + edi*4]
add edx, dword [eax]
mov dword [esp + 0x74], edx
je 0x597a78
cmp dword [edx], 0x2014b50
je 0x597a88
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 [0xd44044]
jne 0x5980f9
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x18
jmp 0x597a58
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 0x597bb0
mov ebx, dword [esp + 0x7c]
mov eax, ebx
call fcn.0059b650
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x597b78
cmp eax, 0xffffffff
je 0x597b83
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.00591b50
test eax, eax
je 0x597a58
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 0x597bc0
mov dword [ebx + 0x1c], 0x14
jmp 0x597a58
cmp eax, 0xffff
jne 0x597ae6
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 2
jmp 0x597a58
mov ecx, dword [esp + 0x68]
cmp dword [eax + 8], ecx
jb 0x598528
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 0x597a58
cmp dword [esp + 0xb0], 0x4034b50
jne 0x597a48
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 0x597eb7
cmp ebx, 0xffffffff
je 0x597ec4
cmp dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x34], 0
je 0x597ec4
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x597ca8
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 0x598071
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.0059cf50
test eax, eax
je 0x597a58
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 0x597d28
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 0x5980d7
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 0x598065
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 0x5980be
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
or eax, ecx
je 0x597fb4
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], esi
jmp 0x597e39
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 0x5980fe
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 0x597fac
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 0x597de0
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 0x597a58
mov dword [esp + 0x34], 0
jmp 0x597c4b
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.00591610
test eax, eax
je 0x5980be
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 0x5980ce
mov dword [esp + 0x38], ebx
mov edx, ebx
mov dword [esp + 0x34], esi
jmp 0x597f86
movzx ebx, word [edx + 2]
movzx esi, word [edx]
lea eax, [ebx + 4]
cmp ecx, eax
jb 0x597f8b
cmp si, 1
je 0x598297
add edx, eax
sub ecx, eax
je 0x598266
cmp ecx, 3
ja 0x597f64
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 0x597a58
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
test byte [esp + 0xb6], 8
je 0x598129
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 0x5982b3
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 0x597e9a
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 0x59811f
mov dword [esp + 4], edx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x13
jmp 0x597a58
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x1d
jmp 0x597a58
mov eax, dword [esp + 0x78]
mov dword [esp], 1
mov ecx, edi
lea edx, [eax + 0x10]
mov eax, dword [esp + 0x7c]
call fcn.00591610
test eax, eax
jne 0x59821e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
cmp dword [eax + 8], ecx
jb 0x598505
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 0x597a58
mov dword [esp + 4], ebx
jmp 0x597e9e
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 [0x6c581c]
jmp 0x597d28
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 0x597a58
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 0x598337
cmp dword [esp + 0x54], 0
ja 0x598071
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov eax, 0xfffffffe
cmp eax, ebx
sbb ecx, esi
jb 0x598071
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 0x59876a
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 0x598747
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x70], 0
mov dword [eax + 4], edi
jne 0x598716
mov eax, dword [esp + 0x78]
cmp dword [eax + 4], 0xffffffff
je 0x597b93
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 0x598081
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 0x597a5a
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 0x597c4b
mov eax, ebx
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], 1
cmp eax, 0xf
ja 0x598274
jmp 0x597f8f
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 0x597e9a
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 0x59878d
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 0x59801c
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 [0xd3f45c]
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.0059cc40
test eax, eax
je 0x5986d6
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 0x598695
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 0x598636
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x64], 0
mov dword [eax + 4], ecx
jne 0x598601
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov ebx, ecx
add ecx, edi
cmp dword [eax + 8], ecx
jb 0x5984b6
mov eax, dword [esp + 0x78]
mov dword [eax + 4], ecx
test edi, edi
jne 0x5985db
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov edi, dword [eax + 4]
add ecx, edi
cmp dword [eax + 8], ecx
jb 0x598583
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x60], 0
mov dword [eax + 4], ecx
jne 0x59854b
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 0x5981f2
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x70], ecx
call fcn.00591610
mov ecx, dword [esp + 0x70]
test eax, eax
jne 0x59845c
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 0x5980b3
xor eax, eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
call fcn.00591610
test eax, eax
jne 0x5980b3
jmp 0x5980be
xor edx, edx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
call fcn.00591610
test eax, eax
jne 0x597ba0
jmp 0x597bb0
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 0x598493
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x70], ecx
call fcn.00591610
mov ecx, dword [esp + 0x70]
test eax, eax
jne 0x598481
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 0x5980b3
jmp 0x598505
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 0x59846b
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 0x59844c
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x58], ecx
call fcn.00591610
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x59843a
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 0x5986f3
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
jmp 0x5980be
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x58], ecx
call fcn.00591610
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x5983f7
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 0x597a58
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 0x597a58
xor ecx, ecx
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
call fcn.00591610
test eax, eax
jne 0x598685
jmp 0x5980be
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 0x5981f2
mov dword [esp], 1
mov edx, dword [esp + 0x78]
mov ecx, edi
mov eax, dword [esp + 0x7c]
call fcn.00591610
test eax, eax
jne 0x5981e0
jmp 0x5980a2
mov dword [esp], 1
mov edx, dword [esp + 0x78]
mov ecx, esi
mov eax, dword [esp + 0x7c]
call fcn.00591610
test eax, eax
jne 0x59819e
jmp 0x5980be
lea esi, [eax*4 + 0xc]
jmp 0x59801c