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

Disassembly:
sub esp, 0x5c
mov eax, dword [0xd47044]
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 0x59aaa0
mov edx, dword [esp + 0x4c]
sub edx, dword [0xd47044]
jne 0x59aa91
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 [0xd47044]
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 0x59b1e8
mov eax, dword [esp + 0xd4]
or eax, dword [esp + 0xd0]
je 0x59b150
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 0x59b232
mov ebx, dword [esp + 0xcc]
mov ebx, dword [ebx + 0x48]
test ebx, ebx
je 0x59b1d0
mov eax, dword [esp + 0xcc]
cmp dword [eax + 0x14], 2
jne 0x59b1d0
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 0x59ac78
test al, al
jne 0x59b1d0
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x59b1d0
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x59aca1
cmp word [esp + 0x9c], 0
jne 0x59b1d0
cmp dword [esp + 0xac], 0xa
ja 0x59b1d0
mov eax, dword [esp + 0xcc]
mov edi, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
test edi, edi
je 0x59b198
cmp eax, 0xffffffff
je 0x59b3b0
and dword [esp + 0xc0], 0x400
jne 0x59ace2
or ecx, edx
jne 0x59b1d0
mov eax, dword [esp + 0xb4]
movzx eax, byte [eax]
call fcn.0059f0f0
test eax, eax
je 0x59b2b8
mov eax, dword [esp + 0x94]
test eax, eax
je 0x59b380
mov eax, dword [eax]
lea ecx, [esp + 0xe2]
lea edx, [esp + 0xe0]
call fcn.00598dd0
mov esi, dword [esp + 0xc0]
test esi, esi
je 0x59b2d0
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
call fcn.0040f988
mov dword [esp + 0x94], eax
mov esi, eax
cmp eax, 0xffff
ja 0x59b2b8
mov eax, dword [esp + 0xcc]
xor edi, edi
call fcn.0059d820
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 0x59b368
mov esi, dword [ebx + 0x34]
test esi, esi
jne 0x59ae32
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 0x59b458
mov dword [ebx + 0x34], 1
mov edx, dword [esp + 0x94]
test edx, edx
jne 0x59b3d8
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 0x59b408
mov eax, dword [ebx + 0x14]
lea ecx, [eax + 1]
cmp dword [ebx + 0x18], ecx
jb 0x59b438
mov eax, dword [esp + 0x98]
xor eax, 1
and eax, 1
cmp byte [esp + 0xa0], 0
mov byte [esp + 0x70], al
je 0x59b3c8
test al, al
je 0x59b3c8
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 0x59b425
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.0059f120
test eax, eax
je 0x59b48b
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 0x59af67
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 0x59b6b2
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 0x59b4a8
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 0x59b659
cmp edx, ecx
mov eax, 0
sbb eax, ebx
jb 0x59b6a5
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.0059dab0
test eax, eax
je 0x59b508
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 0x59b4c5
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 0x59b714
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 [0xd47044]
jne 0x59b9f7
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x59b298
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 0x59abe5
cmp eax, 0xffff
jne 0x59b1a6
mov dword [ebx + 0x34], 1
cmp edx, 0
jbe 0x59accd
and dword [esp + 0xc0], 0x400
mov dword [ebx + 0x34], 1
jne 0x59ace2
lea esi, [esi]
nop
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x18
jmp 0x59b130
mov edx, dword [esp + 0xd4]
or edx, dword [esp + 0xd0]
jne 0x59b250
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 0x59ac29
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 0x59ac29
xor eax, eax
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov word [esp + 0xb8], ax
jmp 0x59abe5
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x19
jmp 0x59b130
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.00592490
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 0x59ad2c
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0xf
jmp 0x59b130
lea eax, [esp + 0xe4]
mov dword [esp], eax
call fcn.005a9690
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0xe2]
lea edx, [esp + 0xe0]
call fcn.00598dd0
jmp 0x59ad1d
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 2
jmp 0x59b130
mov dword [esp + 0x68], 0
jmp 0x59aed3
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x94]
cmp byte [eax + edx - 1], 0x2f
je 0x59b4d8
mov dword [esp + 0x58], 0
mov eax, 0x1c
jmp 0x59ae4e
mov dword [esp], 1
mov eax, dword [esp + 0xcc]
mov edx, ebx
call fcn.005937e0
test eax, eax
jne 0x59ae71
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x10
jmp 0x59b130
mov dword [esp], 1
mov eax, dword [esp + 0xcc]
lea edx, [ebx + 0x10]
call fcn.005937e0
test eax, eax
jne 0x59ae80
jmp 0x59b425
mov eax, dword [esp + 0x94]
test eax, eax
je 0x59b47c
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x94]
cmp byte [eax + edx - 1], 0x2f
je 0x59b6d4
mov dword [esp + 0x58], 0
xor eax, eax
jmp 0x59ae4e
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 0x59b130
cmp dword [esp + 0xa4], 0
jbe 0x59b51b
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x1d
jmp 0x59b130
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x13
jmp 0x59b130
mov eax, dword [esp + 0xc8]
test eax, eax
jne 0x59b1d0
mov eax, dword [esp + 0xd4]
or eax, dword [esp + 0xd0]
jne 0x59b1d0
mov dword [esp + 0x58], 0x10
jmp 0x59b3f9
mov eax, dword [esp + 0xcc]
mov dword [eax + 0x1c], 0x1b
jmp 0x59b130
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.0059dab0
test eax, eax
je 0x59b508
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 0x59b4c5
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 0x59b84d
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 0x59b130
cmp edx, ecx
mov eax, 0
lea ecx, [esp + 0xf0]
sbb eax, ebx
jae 0x59b706
lea eax, [esp + 0xe8]
lea edx, [esp + 0xd8]
mov dword [esp], eax
lea eax, [esp + 0x132]
call fcn.0059dc60
mov dword [esp + 0x70], eax
mov ecx, eax
lea eax, [esp + 0x132]
mov dword [esp + 0x88], eax
jmp 0x59afef
xor ecx, ecx
lea eax, [esp + 0xe8]
xor edx, edx
jmp 0x59b67d
mov dword [esp + 8], 0x21b9
mov dword [esp + 4], 0xd3ac08
mov dword [esp], 0xd3e4f4
call dword [0x6c767c]
jmp 0x59af67
mov eax, dword [esp + 0xc8]
test eax, eax
jne 0x59b1d0
mov eax, dword [esp + 0xd4]
or eax, dword [esp + 0xd0]
jne 0x59b1d0
mov dword [esp + 0x58], 0x10
xor eax, eax
jmp 0x59ae4e
xor eax, eax
lea edx, [esp + 0xd8]
jmp 0x59b67d
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 0x59b784
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 0x59b4c5
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 0x59b7dd
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 0x59b4c5
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 0x59b875
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 0x59bc09
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 0x59b130
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 0x59b784
cmp dword [esp + 0xc8], 0
jne 0x59bc33
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 0x59b9fc
cmp dword [esp + 0x88], 0
je 0x59b8f9
mov esi, dword [esp + 0xa0]
mov edx, 0xfffffffe
mov ecx, 0
mov edi, dword [esp + 0xa4]
cmp edx, esi
sbb eax, edi
jae 0x59bdd6
lea eax, [esp + 0xe8]
xor edx, edx
mov dword [esp], eax
lea eax, [esp + 0x132]
call fcn.0059dc60
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.0059d2f0
test eax, eax
je 0x59b130
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 0x59b132
call fcn.00401690
test byte [esp + 0xb8], 8
je 0x59bdb4
mov eax, dword [0xd416e8]
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 0x59bccc
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 0x59b130
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 0x59bbd6
xor eax, eax
mov ebx, dword [esp + 0xd0]
mov edx, 0xfffffffe
cmp edx, ebx
mov edx, 0
sbb edx, dword [esp + 0xd4]
jae 0x59be2e
lea ecx, [esp + 0xf0]
lea edx, [esp + 0xd8]
jmp 0x59b8e6
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 0x59b883
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.005a63b0
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], 0x59be80
mov dword [esp + 0xc], eax
lea eax, [esp + 0xf8]
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.005a75b0
test eax, eax
je 0x59bddf
mov dword [esp + 4], ebx
mov eax, dword [edi + 0x34]
mov dword [esp], eax
call dword [edi + 0x2c]
mov dword [edi + 0x1c], 0xc
jmp 0x59b130
cmp edx, 0
ja 0x59b4b2
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 0x59b130
add dword [esp + 0xc0], 0x10
adc dword [esp + 0xc4], 0
jmp 0x59b8f9
mov dword [esp + 8], 0x2230
mov dword [esp + 4], 0xd3ac08
mov dword [esp], 0xd3eb94
call dword [0x6c767c]
jmp 0x59ba0a
xor eax, eax
xor edx, edx
jmp 0x59b8e6
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.005a4d20
sub eax, 1
je 0x59be37
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 0x59b130
xor ecx, ecx
xor edx, edx
jmp 0x59b8e6
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 0x59b883