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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, ecx
mov eax, dword [0x674014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov ecx, dword [ecx + 0x10]
lea eax, [ecx + 1]
cmp eax, dword [ebx + 0xc]
jbe 0x59c7fb
mov eax, ecx
jmp 0x59c845
mov edx, dword [ebx + 8]
mov dword [ebx + 0x10], eax
cmp byte [edx + ecx], 0x7b
jne 0x59c845
lea edx, [ebx + 0x14]
mov ecx, edx
shr ecx, 0xe
mov eax, 1
shl eax, cl
mov dword [esp + 0x14], eax
mov eax, edx
shr eax, 0x13
mov dword [esp + 0x10], eax
mov eax, dword [eax*4 + 0x67b000]
bt eax, ecx
mov esi, dword [ebx + 4]
mov dword [esp + 8], edx
jae 0x59c88b
push edx
call fcn.004b9fa0
mov edx, dword [esp + 0xc]
add esp, 4
jmp 0x59c897
mov dword [ebx + 0x20], 3
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x24], ecx
sub eax, dword [ebx + 0x1c]
cmp eax, 2
mov ecx, 1
cmovge ecx, eax
mov dword [ebx + 0x28], ecx
mov esi, dword [ebp + 8]
mov byte [esi], 0
pxor xmm0, xmm0
movdqu xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.005dd6f3
mov eax, esi
jmp 0x59ce46
mov eax, edx
shr eax, 0x15
mov byte [eax + 0x683000], 1
mov eax, dword [edx]
inc eax
mov dword [edx], eax
cmp eax, esi
jae 0x59cbf2
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov ecx, ebx
call fcn.0059c0a0
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 4
mov dword [esp + 4], eax
lea eax, [esp + 0x50]
jmp 0x59c8ec
test edi, edi
lea eax, [esp + 0x50]
jne 0x59cdc5
cmp esi, 4
jne 0x59cc34
lea ecx, [esp + 0x58]
pcmpeqd xmm0, xmm0
movdqu xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xffffffff
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x58], 0
mov ecx, ebx
push eax
call fcn.0059d720
test al, al
je 0x59c9c0
mov ecx, ebx
call fcn.0059c0a0
cmp eax, 0xa
jne 0x59c9f0
mov eax, dword [ebx + 0x10]
inc eax
cmp eax, dword [ebx + 0xc]
ja 0x59c949
mov dword [ebx + 0x10], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x3c], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov ecx, ebx
call fcn.0059c0a0
mov ecx, ebx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0059c750
cmp byte [esp + 0x30], 0
je 0x59ca31
cmp byte [esp + 0x58], 0
je 0x59ca59
lea ecx, [esp + 0x58]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
movq xmm0, qword [ecx + 4]
movq qword [esp + 0x18], xmm0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
jmp 0x59cabf
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov eax, dword [esp + 4]
pxor xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov esi, 4
mov edi, 1
jmp 0x59cbc0
mov esi, eax
mov dword [ebx + 0x20], 1
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x24], ecx
sub eax, dword [ebx + 0x1c]
cmp eax, 2
mov edi, 1
cmovl eax, edi
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov eax, dword [esp + 4]
pxor xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
jmp 0x59cbc0
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov eax, dword [esp + 4]
pxor xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov edi, 1
mov esi, 0xa
jmp 0x59cbc0
mov eax, dword [esp + 0x54]
cmp eax, 0xfffffff0
jae 0x59ce50
mov ecx, dword [esp + 0x50]
cmp eax, 0xb
jae 0x59ca7d
mov byte [esp + 0x23], al
lea esi, [esp + 0x18]
test eax, eax
jne 0x59caac
jmp 0x59cabb
lea edi, [eax + 0x10]
and edi, 0xfffffff0
push edi
mov dword [esp + 0x10], eax
mov esi, ecx
call fcn.005dc726
mov ecx, esi
add esp, 4
mov esi, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], esi
or edi, 0x80000000
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
push eax
push ecx
push esi
mov edi, eax
call fcn.005df8f0
mov eax, edi
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [esp + 0x28]
cmp esi, dword [esp + 0x2c]
jae 0x59cb0f
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
movq xmm0, qword [esp + 0x18]
movq qword [esi], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
lea ecx, [esi + 0xc]
lea eax, [esp + 0x34]
push eax
call fcn.004c4f70
add esi, 0x20
mov dword [esp + 0x28], esi
cmp byte [esp + 0x23], 0
jns 0x59cb35
jmp 0x59cb29
lea ecx, [esp + 0x24]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0059f8c0
cmp byte [esp + 0x23], 0
jns 0x59cb35
push dword [esp + 0x18]
call fcn.005dc756
add esp, 4
mov ecx, ebx
call fcn.0059c0a0
mov esi, eax
xor edi, edi
cmp eax, 1
je 0x59cbb0
mov eax, 1
cmp esi, 9
jne 0x59cb7a
mov eax, dword [ebx + 0x10]
inc eax
cmp eax, dword [ebx + 0xc]
ja 0x59cb5b
mov dword [ebx + 0x10], eax
mov ecx, ebx
call fcn.0059c0a0
cmp eax, 1
jne 0x59cbe7
mov esi, 1
mov eax, 4
test byte [ebx], 1
jne 0x59cbb0
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x24], ecx
sub eax, dword [ebx + 0x1c]
cmp eax, 2
mov edi, 1
cmovl eax, edi
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov eax, dword [esp + 4]
pxor xmm0, xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x10], 0
cmp byte [esp + 0x30], 0
je 0x59cbc0
lea ecx, [esp + 0x34]
call fcn.004c8290
cmp byte [esp + 0x58], 0
je 0x59c8e0
cmp byte [esp + 0x67], 0
jns 0x59c8e0
push dword [esp + 0x5c]
call fcn.005dc756
add esp, 4
jmp 0x59c8e0
mov esi, eax
cmp byte [esp + 0x30], 0
jne 0x59cbb7
jmp 0x59cbc0
mov dword [ebx + 0x20], 5
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov dword [ebx + 0x24], ecx
not edx
add edx, dword [ebx + 0x10]
cmp edx, 2
mov ecx, 1
cmovge ecx, edx
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
pxor xmm0, xmm0
movdqu xmmword [ecx + 4], xmm0
mov dword [ecx + 0x14], 0
mov ecx, dword [esp + 8]
jmp 0x59ce1b
cmp esi, 1
jne 0x59cce5
mov eax, dword [ebx + 0x10]
inc eax
cmp eax, dword [ebx + 0xc]
ja 0x59cc49
mov dword [ebx + 0x10], eax
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp edi, eax
je 0x59cd22
lea esi, [eax - 0x20]
cmp esi, edi
jbe 0x59cd24
nop word cs:[eax + eax]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov ebx, dword [esi + 8]
mov dword [edi + 8], ebx
movq xmm0, qword [esi]
movq qword [edi], xmm0
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0xffffffff
lea edx, [edi + 0xc]
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x50]
push edx
call fcn.004c4f70
lea ebx, [esi + 0xc]
mov ecx, dword [esp + 0xc]
push ebx
call fcn.004c4fd0
mov ecx, ebx
lea ebx, [esp + 0x50]
push ebx
call fcn.004c4fd0
mov ecx, ebx
call fcn.004c8290
add edi, 0x20
add esi, 0xffffffe0
cmp edi, esi
jb 0x59cc70
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
jmp 0x59cd24
mov dword [ebx + 0x20], 8
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x24], ecx
sub eax, dword [ebx + 0x1c]
cmp eax, 2
mov ecx, 1
cmovge ecx, eax
mov dword [ebx + 0x28], ecx
mov eax, dword [ebp + 8]
mov byte [eax], 0
xorps xmm0, xmm0
mov eax, dword [esp + 4]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
jmp 0x59cdc5
mov edi, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
lea ebx, [esp + 0x30]
mov ecx, ebx
push eax
push edi
call fcn.0059dde0
lea esi, [esp + 0x50]
mov ecx, esi
push ebx
call fcn.004c5480
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov ecx, dword [esp + 4]
push esi
call fcn.004c4f70
mov ecx, esi
call fcn.004c8290
mov esi, dword [esp + 0x34]
test esi, esi
je 0x59cdc5
mov edi, dword [esp + 0x38]
cmp edi, esi
jne 0x59cd96
mov eax, esi
jmp 0x59cdb8
mov edi, ebx
cmp ebx, esi
je 0x59cdb4
lea ebx, [edi - 0x20]
lea ecx, [edi - 0x14]
call fcn.004c8290
cmp byte [edi - 0x15], 0
jns 0x59cd90
push dword [edi - 0x20]
call fcn.005dc756
add esp, 4
jmp 0x59cd90
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], esi
push eax
call fcn.005dc756
add esp, 4
mov esi, dword [esp + 0x24]
test esi, esi
mov ecx, dword [esp + 8]
je 0x59ce19
mov edi, dword [esp + 0x28]
cmp edi, esi
jne 0x59cde6
mov eax, esi
jmp 0x59ce08
mov edi, ebx
cmp ebx, esi
je 0x59ce04
lea ebx, [edi - 0x20]
lea ecx, [edi - 0x14]
call fcn.004c8290
cmp byte [edi - 0x15], 0
jns 0x59cde0
push dword [edi - 0x20]
call fcn.005dc756
add esp, 4
jmp 0x59cde0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], esi
push eax
call fcn.005dc756
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
dec eax
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test dword [edx*4 + 0x67b000], eax
je 0x59ce38
push ecx
call fcn.004ba0a0
add esp, 4
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.005dd6f3
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.005f1440
int3