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

Disassembly:
sub esp, 0x5c
mov eax, dword [0xd46044]
mov dword [esp + 0x4c], eax
xor eax, eax
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x74]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call 0x59a3f0
mov edx, dword [esp + 0x4c]
sub edx, dword [0xd46044]
jne 0x59a3e1
add esp, 0x5c
ret
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor ebx, ebx
and esp, 0xfffffff0
sub esp, 0x170
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x30]
mov esi, dword [ebp + 0x40]
mov dword [esp + 0xa8], edi
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x9c], edi
mov edi, dword [ebp + 0x20]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xc0], edi
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0x94], edx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x90], edi
mov edi, dword [ebp + 0x34]
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], edi
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x3c]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0x78], edi
mov edi, dword [ebp + 0x28]
mov edx, dword [0xd46044]
mov dword [esp + 0x16c], edx
xor edx, edx
mov dword [esp + 0xd8], esi
xor edx, edx
mov word [esp + 0xe2], bx
mov ebx, dword [ecx + 4]
mov dword [esp + 0xd0], esi
mov ecx, dword [ecx]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0xdc], edi
mov word [esp + 0xe0], dx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xd4], edi
test esi, esi
js 0x59ab38
mov eax, dword [esp + 0xd4]
or eax, dword [esp + 0xd0]
je 0x59aaa0
mov eax, 8
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov word [esp + 0xb8], ax
movzx edi, word [esp + 0xb8]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x98], 1
mov ebx, edi
or bh, 8
test esi, 0x10000
mov eax, ebx
cmovne eax, edi
mov word [esp + 0xb8], ax
mov eax, esi
and eax, 0xf
mov dword [esp + 0xac], eax
jne 0x59ab82
mov ebx, dword [esp + 0xcc]
mov ebx, dword [ebx + 0x48]
test ebx, ebx
je 0x59ab20
mov eax, dword [esp + 0xcc]
cmp dword [eax + 0x14], 2
jne 0x59ab20
mov eax, dword [esp + 0xc8]
mov esi, dword [esp + 0xb0]
test eax, eax
setne byte [esp + 0xa0]
movzx eax, byte [esp + 0xa0]
test esi, esi
jne 0x59a5c8
test al, al
jne 0x59ab20
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x59ab20
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x59a5f1
cmp word [esp + 0x9c], 0
jne 0x59ab20
cmp dword [esp + 0xac], 0xa
ja 0x59ab20
mov eax, dword [esp + 0xcc]
mov edi, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
test edi, edi
je 0x59aae8
cmp eax, 0xffffffff
je 0x59ad00
and dword [esp + 0xc0], 0x400
jne 0x59a632
or ecx, edx
jne 0x59ab20
mov eax, dword [esp + 0xb4]
movzx eax, byte [eax]
call fcn.0059ea40
test eax, eax
je 0x59ac08
mov eax, dword [esp + 0x94]
test eax, eax
je 0x59acd0
mov eax, dword [eax]
lea ecx, [esp + 0xe2]
lea edx, [esp + 0xe0]
call fcn.00598720
mov esi, dword [esp + 0xc0]
test esi, esi
je 0x59ac20
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.0040f988
mov dword [esp + 0x94], eax
mov esi, eax
cmp eax, 0xffff
ja 0x59ac08
mov eax, dword [esp + 0xcc]
xor edi, edi
call fcn.0059d170
xor edx, edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], eax
movzx eax, word [esp + 0x9c]
mov dword [esp + 0x74], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0x58], eax
add eax, 0x4a
adc edx, 0
add eax, dword [esp + 0x70]
adc edx, dword [esp + 0x74]
mov dword [esp + 0x64], edi
add eax, esi
adc edx, edi
mov ecx, edx
mov edx, eax
mov eax, 0xfffffffe
cmp eax, edx
mov eax, 0
sbb eax, ecx
jb 0x59acb8
mov esi, dword [ebx + 0x34]
test esi, esi
jne 0x59a782
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
xor edx, edx
mov ecx, dword [esp + 0xcc]
add eax, 0x72
adc edx, 0
xor edi, edi
add esi, eax
adc edi, edx
mov eax, esi
add eax, dword [esp + 0x58]
mov edx, edi
adc edx, dword [esp + 0x5c]
add eax, dword [ecx]
adc edx, dword [ecx + 4]
add eax, dword [esp + 0x70]
adc edx, dword [esp + 0x74]
mov esi, eax
mov eax, dword [esp + 0x60]
mov edi, edx
mov edx, dword [esp + 0x64]
shld edx, eax, 1
add eax, eax
add eax, esi
mov esi, dword [esp + 0x6c]
adc edx, edi
xor edi, edi
add eax, esi
adc edx, edi
cmp edx, 0
jbe 0x59ada8
mov dword [ebx + 0x34], 1
mov edx, dword [esp + 0x94]
test edx, edx
jne 0x59ad28
mov dword [esp + 0x58], 0
mov eax, 0x1c
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x68]
lea ecx, [esi + edx + 0x2e]
mov edx, dword [esp + 0x94]
add ecx, edx
add ecx, eax
cmp dword [ebx + 8], ecx
jb 0x59ad58
mov eax, dword [ebx + 0x14]
lea ecx, [eax + 1]
cmp dword [ebx + 0x18], ecx
jb 0x59ad88
mov eax, dword [esp + 0x98]
xor eax, 1
and eax, 1
cmp byte [esp + 0xa0], 0
mov byte [esp + 0x70], al
je 0x59ad18
test al, al
je 0x59ad18
mov edx, dword [esp + 0xcc]
mov dword [esp + 8], 0x4df40
mov dword [esp + 4], 1
mov eax, dword [edx + 0x34]
mov dword [esp], eax
call dword [edx + 0x28]
mov dword [esp + 0x68], eax
test eax, eax
je 0x59ad75
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0xcc]
call fcn.0059ea70
test eax, eax
je 0x59addb
xor edx, edx
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x88]
adc edx, dword [esp + 0x8c]
mov dword [esp + 0xa0], eax
mov esi, eax
mov dword [esp + 0xa4], edx
mov edi, edx
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0xe8], eax
mov eax, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov ecx, edx
or ecx, eax
je 0x59a8b7
add eax, 0xffffffff
mov ecx, esi
adc edx, 0xffffffff
and ecx, eax
mov dword [esp + 0x88], ecx
mov ecx, edi
and ecx, edx
mov eax, ecx
or eax, dword [esp + 0x88]
jne 0x59b002
mov eax, dword [esp + 0xc0]
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [esp + 0x14e], xmm0
vmovdqu xmmword [esp + 0x15c], xmm0
test eax, eax
setne al
or al, byte [esp + 0x70]
movzx eax, al
shl eax, 3
mov esi, eax
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x59adf8
mov eax, dword [esp + 0xd0]
mov edx, 0xfffffffe
xor ecx, ecx
mov ebx, dword [esp + 0xa4]
cmp edx, eax
sbb ecx, dword [esp + 0xd4]
mov ecx, dword [esp + 0xa0]
jb 0x59afa9
cmp edx, ecx
mov eax, 0
sbb eax, ebx
jb 0x59aff5
mov dword [esp + 0x70], 0
xor ecx, ecx
mov dword [esp + 0x88], 0
movzx eax, word [esp + 0xe2]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
add cx, word [esp + 0x84]
mov dword [esp + 0x20], eax
movzx eax, word [esp + 0xe0]
movzx ecx, cx
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0x94]
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0xb8]
mov dword [esp], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x18], eax
movzx eax, si
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x14e]
call fcn.0059d400
test eax, eax
je 0x59ae58
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0x14e]
mov dword [esp + 0x10], 0x1e
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x44]
mov dword [esp], eax
call dword [edx + 0x3c]
cmp eax, 0x1e
jne 0x59ae15
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0xb4]
add edx, 0x1e
mov esi, dword [esp + 0xcc]
adc ecx, 0
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
mov dword [esp], eax
call dword [esi + 0x3c]
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
cmp ebx, eax
je 0x59b064
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x34]
mov dword [esp], eax
call dword [esi + 0x2c]
mov dword [esi + 0x1c], 0x13
nop
xor eax, eax
mov edx, dword [esp + 0x16c]
sub edx, dword [0xd46044]
jne 0x59b347
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x59abe8
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xd0]
shr eax, 0xa
mov edx, eax
xor edx, 1
and edx, 1
lea eax, [edx*8]
mov edx, dword [esp + 0xd4]
mov word [esp + 0xb8], ax
jmp 0x59a535
cmp eax, 0xffff
jne 0x59aaf6
mov dword [ebx + 0x34], 1
cmp edx, 0
jbe 0x59a61d
and dword [esp + 0xc0], 0x400
mov dword [ebx + 0x34], 1
jne 0x59a632
lea esi, [esi]
nop
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x18
jmp 0x59aa80
mov edx, dword [esp + 0xd4]
or edx, dword [esp + 0xd0]
jne 0x59aba0
test eax, eax
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xac], 6
setne al
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xc0], 6
movzx eax, al
shl eax, 3
or ah, 8
mov word [esp + 0xb8], ax
mov eax, dword [esp + 0xc0]
shr eax, 0xa
mov ebx, eax
and ebx, 1
mov dword [esp + 0x98], ebx
jmp 0x59a579
mov edi, 0x808
mov dword [esp + 0x98], 0
mov ecx, dword [esp + 0xd0]
mov word [esp + 0xb8], di
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xc0], 6
mov dword [esp + 0xac], 6
jmp 0x59a579
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov word [esp + 0xb8], ax
jmp 0x59a535
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x19
jmp 0x59aa80
mov edi, dword [esp + 0xc8]
mov edx, dword [esp + 0xb0]
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], edi
call fcn.00591de0
mov dword [esp + 0xd0], edi
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xd4], 0
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xd8], eax
mov eax, 3
cmp eax, edi
mov dword [esp + 0xdc], edx
mov edx, esi
mov eax, 1
sbb edx, dword [esp + 0xd4]
mov edx, dword [esp + 0xac]
cmovb eax, dword [esp + 0x98]
cmovae edx, esi
mov dword [esp + 0x98], eax
mov dword [esp + 0xac], edx
jmp 0x59a67c
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0xf
jmp 0x59aa80
lea eax, [esp + 0xe4]
mov dword [esp], eax
call fcn.005a8ea0
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0xe2]
lea edx, [esp + 0xe0]
call fcn.00598720
jmp 0x59a66d
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 2
jmp 0x59aa80
mov dword [esp + 0x68], 0
jmp 0x59a823
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x94]
cmp byte [eax + edx - 1], 0x2f
je 0x59ae28
mov dword [esp + 0x58], 0
mov eax, 0x1c
jmp 0x59a79e
mov dword [esp], 1
mov eax, dword [esp + 0xcc]
mov edx, ebx
call fcn.00593130
test eax, eax
jne 0x59a7c1
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x10
jmp 0x59aa80
mov dword [esp], 1
mov eax, dword [esp + 0xcc]
lea edx, [ebx + 0x10]
call fcn.00593130
test eax, eax
jne 0x59a7d0
jmp 0x59ad75
mov eax, dword [esp + 0x94]
test eax, eax
je 0x59adcc
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x94]
cmp byte [eax + edx - 1], 0x2f
je 0x59b024
mov dword [esp + 0x58], 0
xor eax, eax
jmp 0x59a79e
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0xcc]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x34]
mov dword [esp], eax
call dword [esi + 0x2c]
jmp 0x59aa80
cmp dword [esp + 0xa4], 0
jbe 0x59ae6b
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x1d
jmp 0x59aa80
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x13
jmp 0x59aa80
mov eax, dword [esp + 0xc8]
test eax, eax
jne 0x59ab20
mov eax, dword [esp + 0xd4]
or eax, dword [esp + 0xd0]
jne 0x59ab20
mov dword [esp + 0x58], 0x10
jmp 0x59ad49
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x1b
jmp 0x59aa80
movzx eax, word [esp + 0xe2]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
movzx ecx, word [esp + 0x84]
mov dword [esp + 0x20], eax
movzx eax, word [esp + 0xe0]
mov edx, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0xb8]
mov dword [esp], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x18], eax
movzx eax, si
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x14e]
call fcn.0059d400
test eax, eax
je 0x59ae58
lea ecx, [esp + 0x14e]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x10], 0x1e
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov eax, dword [ecx + 0x44]
mov dword [esp], eax
call dword [ecx + 0x3c]
cmp eax, 0x1e
jne 0x59ae15
mov dword [esp + 0x10], ebx
mov eax, esi
mov esi, ebx
mov edx, edi
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0xb4]
add eax, 0x1e
adc edx, 0
mov dword [esp + 4], eax
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xcc]
mov ecx, edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc0], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0xc4], ecx
mov dword [esp], eax
call dword [ebx + 0x3c]
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
cmp esi, eax
je 0x59b19d
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x34]
mov dword [esp], eax
call dword [ebx + 0x2c]
mov dword [ebx + 0x1c], 0x13
jmp 0x59aa80
cmp edx, ecx
mov eax, 0
lea ecx, [esp + 0xf0]
sbb eax, ebx
jae 0x59b056
lea eax, [esp + 0xe8]
lea edx, [esp + 0xd8]
mov dword [esp], eax
lea eax, [esp + 0x132]
call fcn.0059d5b0
mov dword [esp + 0x70], eax
mov ecx, eax
lea eax, [esp + 0x132]
mov dword [esp + 0x88], eax
jmp 0x59a93f
xor ecx, ecx
lea eax, [esp + 0xe8]
xor edx, edx
jmp 0x59afcd
mov dword [esp + 8], 0x21b9
mov dword [esp + 4], 0xd39910
mov dword [esp], 0xd3c9b8
call dword [0x6c667c]
jmp 0x59a8b7
mov eax, dword [esp + 0xc8]
test eax, eax
jne 0x59ab20
mov eax, dword [esp + 0xd4]
or eax, dword [esp + 0xd0]
jne 0x59ab20
mov dword [esp + 0x58], 0x10
xor eax, eax
jmp 0x59a79e
xor eax, eax
lea edx, [esp + 0xd8]
jmp 0x59afcd
mov eax, dword [esp + 0x88]
add edx, dword [esp + 0x60]
adc ecx, dword [esp + 0x64]
mov dword [esp + 0xc0], edx
mov esi, edx
mov dword [esp + 0xc4], ecx
mov edi, ecx
test eax, eax
je 0x59b0d4
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0xcc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x132]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call dword [ebx + 0x3c]
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jne 0x59ae15
xor edx, edx
add esi, ecx
adc edi, edx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], edi
mov ebx, dword [esp + 0x84]
test ebx, ebx
je 0x59b12d
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0xc4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov eax, dword [ecx + 0x44]
mov dword [esp], eax
call dword [ecx + 0x3c]
cmp ebx, eax
jne 0x59ae15
xor edx, edx
add esi, ebx
adc edi, edx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], edi
mov ebx, dword [esp + 0x98]
test ebx, ebx
je 0x59b1c5
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0xcc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x10], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [esi + 0x44]
mov dword [esp], eax
call dword [esi + 0x3c]
cmp ebx, eax
je 0x59b559
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x34]
mov dword [esp], eax
call dword [esi + 0x2c]
mov dword [esi + 0x1c], 0x13
jmp 0x59aa80
add edx, dword [esp + 0x60]
adc ecx, dword [esp + 0x64]
xor esi, esi
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x88], esi
jmp 0x59b0d4
cmp dword [esp + 0xc8], 0
jne 0x59b583
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0xcc]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x34]
mov dword [esp], eax
call dword [edx + 0x2c]
mov eax, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
or eax, ebx
jne 0x59b34c
cmp dword [esp + 0x88], 0
je 0x59b249
mov esi, dword [esp + 0xa0]
mov edx, 0xfffffffe
mov ecx, 0
mov edi, dword [esp + 0xa4]
cmp edx, esi
sbb eax, edi
jae 0x59b726
lea eax, [esp + 0xe8]
xor edx, edx
mov dword [esp], eax
lea eax, [esp + 0x132]
call fcn.0059d5b0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], eax
movzx eax, word [esp + 0xe2]
mov dword [esp + 0x30], eax
movzx eax, word [esp + 0xe0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
movzx eax, word [esp + 0x70]
mov edi, dword [esp + 0xcc]
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, edi
call fcn.0059cc40
test eax, eax
je 0x59aa80
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
add dword [edi + 0x10], 1
mov dword [edi], eax
mov eax, 1
mov dword [edi + 4], edx
jmp 0x59aa82
call fcn.00401690
test byte [esp + 0xb8], 8
je 0x59b704
mov eax, dword [0xd40824]
cmp dword [esp + 0x88], 0
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0xf0]
je 0x59b61c
mov ebx, eax
mov ecx, dword [esp + 0xd0]
vmovd xmm1, edx
vmovd xmm0, eax
shr ebx, 8
mov dword [esp + 0x10], 0x18
vmovd xmm2, dword [esp + 0xd0]
vmovd xmm4, dword [esp + 0xd4]
mov esi, ebx
mov ebx, eax
shr ebx, 0x10
vpinsrb xmm0, xmm0, esi, 1
mov edi, ebx
mov ebx, eax
lea eax, [esp + 0x110]
shr ebx, 0x18
vmovd xmm3, edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xb8], ebx
mov ebx, edx
vpinsrb xmm3, xmm3, byte [esp + 0xb8], 1
shr ebx, 8
mov dword [esp + 4], eax
mov dword [esp + 0xc8], ebx
mov ebx, edx
vpunpcklwd xmm0, xmm0, xmm3
vpinsrb xmm1, xmm1, byte [esp + 0xc8], 1
shr ebx, 0x10
mov dword [esp + 0xb0], ebx
mov ebx, edx
mov edx, dword [esp + 0xc4]
shr ebx, 0x18
mov dword [esp + 0xac], ebx
mov ebx, ecx
vmovd xmm7, dword [esp + 0xb0]
shr ebx, 8
mov dword [esp + 8], edx
vpinsrb xmm7, xmm7, byte [esp + 0xac], 1
mov dword [esp + 0x98], ebx
mov ebx, ecx
shr ecx, 0x18
vpinsrb xmm2, xmm2, byte [esp + 0x98], 1
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xd4]
shr ebx, 0x10
vpunpcklwd xmm1, xmm1, xmm7
mov dword [esp + 0x84], ebx
mov edx, dword [esp + 0xcc]
vpunpckldq xmm0, xmm0, xmm1
mov ebx, ecx
shr ebx, 8
mov eax, dword [edx + 0x44]
vmovd xmm6, dword [esp + 0x84]
mov dword [esp + 0x70], ebx
mov ebx, ecx
vpinsrb xmm6, xmm6, byte [esp + 0x7c], 1
shr ebx, 0x10
shr ecx, 0x18
vpinsrb xmm4, xmm4, byte [esp + 0x70], 1
mov dword [esp], eax
vmovd xmm5, ebx
vpunpcklwd xmm2, xmm2, xmm6
vpinsrb xmm5, xmm5, ecx, 1
vpunpcklwd xmm4, xmm4, xmm5
vpunpckldq xmm1, xmm2, xmm4
vpunpcklqdq xmm0, xmm0, xmm1
vmovdqu xmmword [esp + 0x118], xmm0
call dword [edx + 0x3c]
cmp eax, 0x18
jne 0x59aa80
mov edx, dword [esp + 0xa0]
mov eax, 0xfffffffe
mov ecx, dword [esp + 0xa4]
add dword [esp + 0xc0], 0x18
adc dword [esp + 0xc4], 0
cmp eax, edx
mov eax, 0
sbb eax, ecx
lea eax, [esp + 0xe8]
jb 0x59b526
xor eax, eax
mov ebx, dword [esp + 0xd0]
mov edx, 0xfffffffe
cmp edx, ebx
mov edx, 0
sbb edx, dword [esp + 0xd4]
jae 0x59b77e
lea ecx, [esp + 0xf0]
lea edx, [esp + 0xd8]
jmp 0x59b236
mov eax, dword [esp + 0xc8]
xor edx, edx
add dword [esp + 0xc0], eax
mov dword [esp + 0xf4], edx
adc dword [esp + 0xc4], edx
mov dword [esp + 0xf0], eax
jmp 0x59b1d3
mov edx, dword [esp + 0xc4]
xor ecx, ecx
mov dword [esp + 4], 0xfffffff1
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x100], eax
mov dword [esp], edx
mov dword [esp + 0xf8], edi
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ecx
call fcn.005a5bc0
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], 0x59b7d0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xf8]
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.005a6dc0
test eax, eax
je 0x59b72f
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0xc
jmp 0x59aa80
cmp edx, 0
ja 0x59ae02
mov edx, dword [esp + 0xd0]
mov ebx, eax
mov ecx, eax
shr ebx, 0x18
shr ecx, 0x10
mov dword [esp + 0xb8], edx
shr edx, 0x10
movzx ecx, cl
mov edi, edx
mov edx, ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0x10], 0x10
shl edx, 8
or edx, ecx
movzx ecx, ah
shl edx, 8
or edx, ecx
movzx ecx, al
mov eax, edx
mov edx, edi
shl eax, 8
movzx edx, dl
mov esi, eax
mov eax, ebx
shr eax, 0x18
shl eax, 8
or eax, edx
movzx edx, bh
mov ebx, esi
shl eax, 8
or ebx, ecx
or eax, edx
movzx edx, byte [esp + 0xd0]
mov dword [esp + 0xb8], ebx
shl eax, 8
or eax, edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x110]
vmovq xmm3, qword [esp + 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 4], eax
vmovq qword [esp + 0x118], xmm3
mov eax, dword [edx + 0x44]
mov dword [esp], eax
call dword [edx + 0x3c]
cmp eax, 0x10
jne 0x59aa80
add dword [esp + 0xc0], 0x10
adc dword [esp + 0xc4], 0
jmp 0x59b249
mov dword [esp + 8], 0x2230
mov dword [esp + 4], 0xd39910
mov dword [esp], 0xd3ca3c
call dword [0x6c667c]
jmp 0x59b35a
xor eax, eax
xor edx, edx
jmp 0x59b236
mov eax, dword [esp + 0xc8]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.005a4530
sub eax, 1
je 0x59b787
mov esi, dword [esp + 0xcc]
mov dword [esp + 4], ebx
mov eax, dword [esi + 0x34]
mov dword [esp], eax
call dword [esi + 0x2c]
mov dword [esi + 0x1c], 0xc
jmp 0x59aa80
xor ecx, ecx
xor edx, edx
jmp 0x59b236
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0x104]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], edx
jmp 0x59b1d3