Function at 0x59aee0
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 [0xd47044]
mov dword [esp + 0x6c], eax
xor eax, eax
mov eax, ebx
call fcn.005956a0
test eax, eax
jne 0x59adc0
test esi, esi
je 0x59adb1
mov dword [esi + 0x1c], 0x17
xor esi, esi
jmp 0x59aea2
mov dword [esp], ebx
mov dword [esp + 4], 0xd3ed67
call sub.msvcrt.dll_fopen
mov ebx, eax
test eax, eax
je 0x59aec0
mov ecx, dword [0x6c934c]
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 [0x6c9348]
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.0059ac90
mov dword [esp], ebx
mov esi, eax
call sub.msvcrt.dll_fclose
mov eax, dword [esp + 0x6c]
sub eax, dword [0xd47044]
jne 0x59aed3
add esp, 0x7c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
test esi, esi
je 0x59adb1
mov dword [esi + 0x1c], 0x11
xor esi, esi
jmp 0x59aea2
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 [0xd47044]
mov dword [esp + 0x55c], eax
xor eax, eax
test ebx, ebx
je 0x59af68
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x78], eax
test eax, eax
je 0x59af88
cmp dword [ebx + 0x14], 2
jne 0x59af88
mov eax, dword [esi + 0x38]
test eax, eax
je 0x59af88
mov eax, dword [esi + 0x48]
mov ebx, dword [eax + 0x34]
test ebx, ebx
je 0x59af3d
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x59af88
cmp edi, dword [esi + 0x10]
jae 0x59af88
mov edx, dword [eax + 0x10]
mov edx, dword [edx + edi*4]
add edx, dword [eax]
mov dword [esp + 0x74], edx
je 0x59af88
cmp dword [edx], 0x2014b50
je 0x59af98
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 [0xd47044]
jne 0x59b609
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x18
jmp 0x59af68
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 0x59b0c0
mov ebx, dword [esp + 0x7c]
mov eax, ebx
call fcn.0059eb60
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x59b088
cmp eax, 0xffffffff
je 0x59b093
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.00595060
test eax, eax
je 0x59af68
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 0x59b0d0
mov dword [ebx + 0x1c], 0x14
jmp 0x59af68
cmp eax, 0xffff
jne 0x59aff6
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 2
jmp 0x59af68
mov ecx, dword [esp + 0x68]
cmp dword [eax + 8], ecx
jb 0x59ba38
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 0x59af68
cmp dword [esp + 0xb0], 0x4034b50
jne 0x59af58
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 0x59b3c7
cmp ebx, 0xffffffff
je 0x59b3d4
cmp dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x34], 0
je 0x59b3d4
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x34]
test eax, eax
jne 0x59b1b8
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 0x59b581
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.005a0460
test eax, eax
je 0x59af68
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 0x59b238
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 0x59b5e7
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 0x59b575
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 0x59b5ce
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
or eax, ecx
je 0x59b4c4
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], esi
jmp 0x59b349
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 0x59b60e
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 0x59b4bc
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 0x59b2f0
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 0x59af68
mov dword [esp + 0x34], 0
jmp 0x59b15b
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.00594b20
test eax, eax
je 0x59b5ce
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 0x59b5de
mov dword [esp + 0x38], ebx
mov edx, ebx
mov dword [esp + 0x34], esi
jmp 0x59b496
movzx ebx, word [edx + 2]
movzx esi, word [edx]
lea eax, [ebx + 4]
cmp ecx, eax
jb 0x59b49b
cmp si, 1
je 0x59b7a7
add edx, eax
sub ecx, eax
je 0x59b776
cmp ecx, 3
ja 0x59b474
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 0x59af68
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
test byte [esp + 0xb6], 8
je 0x59b639
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 0x59b7c3
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 0x59b3aa
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 0x59b62f
mov dword [esp + 4], edx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0x13
jmp 0x59af68
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x1c], 0x1d
jmp 0x59af68
mov eax, dword [esp + 0x78]
mov dword [esp], 1
mov ecx, edi
lea edx, [eax + 0x10]
mov eax, dword [esp + 0x7c]
call fcn.00594b20
test eax, eax
jne 0x59b72e
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
cmp dword [eax + 8], ecx
jb 0x59ba15
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 0x59af68
mov dword [esp + 4], ebx
jmp 0x59b3ae
mov dword [esp + 8], 0x2529
mov dword [esp + 4], 0xd3b55c
mov dword [esp], 0xd3ed6c
call dword [0x6c933c]
jmp 0x59b238
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 0x59af68
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 0x59b847
cmp dword [esp + 0x54], 0
ja 0x59b581
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov eax, 0xfffffffe
cmp eax, ebx
sbb ecx, esi
jb 0x59b581
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 0x59bc7a
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 0x59bc57
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x70], 0
mov dword [eax + 4], edi
jne 0x59bc26
mov eax, dword [esp + 0x78]
cmp dword [eax + 4], 0xffffffff
je 0x59b0a3
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 0x59b591
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 0x59af6a
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 0x59b15b
mov eax, ebx
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], 1
cmp eax, 0xf
ja 0x59b784
jmp 0x59b49f
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 0x59b3aa
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 0x59bc9d
lea eax, [edx + eax*4]
mov ecx, dword [0xd42500]
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 0x59b52c
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 [0xd42508]
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.005a0150
test eax, eax
je 0x59bbe6
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 0x59bba5
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 0x59bb46
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x64], 0
mov dword [eax + 4], ecx
jne 0x59bb11
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov ebx, ecx
add ecx, edi
cmp dword [eax + 8], ecx
jb 0x59b9c6
mov eax, dword [esp + 0x78]
mov dword [eax + 4], ecx
test edi, edi
jne 0x59baeb
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov edi, dword [eax + 4]
add ecx, edi
cmp dword [eax + 8], ecx
jb 0x59ba93
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x60], 0
mov dword [eax + 4], ecx
jne 0x59ba5b
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 0x59b702
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x70], ecx
call fcn.00594b20
mov ecx, dword [esp + 0x70]
test eax, eax
jne 0x59b96c
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 0x59b5c3
xor eax, eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
call fcn.00594b20
test eax, eax
jne 0x59b5c3
jmp 0x59b5ce
xor edx, edx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
call fcn.00594b20
test eax, eax
jne 0x59b0b0
jmp 0x59b0c0
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 0x59b9a3
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x70], ecx
call fcn.00594b20
mov ecx, dword [esp + 0x70]
test eax, eax
jne 0x59b991
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 0x59b5c3
jmp 0x59ba15
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 0x59b97b
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 0x59b95c
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x58], ecx
call fcn.00594b20
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x59b94a
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 0x59bc03
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
jmp 0x59b5ce
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], 1
mov dword [esp + 0x58], ecx
call fcn.00594b20
mov ecx, dword [esp + 0x58]
test eax, eax
jne 0x59b907
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 0x59af68
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 0x59af68
xor ecx, ecx
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
call fcn.00594b20
test eax, eax
jne 0x59bb95
jmp 0x59b5ce
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 0x59b702
mov dword [esp], 1
mov edx, dword [esp + 0x78]
mov ecx, edi
mov eax, dword [esp + 0x7c]
call fcn.00594b20
test eax, eax
jne 0x59b6f0
jmp 0x59b5b2
mov dword [esp], 1
mov edx, dword [esp + 0x78]
mov ecx, esi
mov eax, dword [esp + 0x7c]
call fcn.00594b20
test eax, eax
jne 0x59b6ae
jmp 0x59b5ce
lea esi, [eax*4 + 0xc]
jmp 0x59b52c