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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
mov ebx, ecx
mov dword [esi + 0x11c], esp
mov dword [esi + 0x128], 0xffffffff
lea eax, [esi + 0x120]
mov dword [esi + 0x124], 0x53f290
mov ecx, dword fs:[0]
mov dword [esi + 0x120], ecx
mov dword fs:[0], eax
call fcn.0053edd0
cmp byte [ebx + 0x688], 0
jne 0x51aba1
test byte [ebx + 0x68c], 0x20
je 0x51ab9a
mov edx, eax
cmp dword [0xb54388], 0
mov dword [esi + 0x10], ebx
jne 0x51a751
mov eax, dword [0xb0ade8]
mov edi, dword [0xb0adcc]
mov ecx, 0xccdf
mov dword [esi], edx
sub ecx, edx
mov dword [esi + 8], ecx
sub edi, ecx
add edi, eax
mov ecx, edi
call dword [0xb0836c]
mov ecx, 0x4f8
call edi
mov dword [esi + 0x128], 0
mov dword [esi + 4], eax
mov ecx, eax
call fcn.00529c80
mov eax, dword [esi + 4]
mov dword [0xb54388], eax
mov edx, dword [esi]
mov eax, dword [0xb54388]
mov dword [esi + 0xc], eax
cmp dword [eax + 0x2e4], 0
je 0x51aba1
cmp dword [0xb53288], 0
jne 0x51a7ca
mov eax, dword [0xb0ade8]
mov ecx, dword [0xb0adcc]
add ecx, edx
lea edi, [eax + ecx]
add edi, 0xffff3321
mov dword [esi + 0x128], 0xffffffff
mov ecx, edi
mov dword [esi], edx
call dword [0xb0836c]
mov ecx, 0xc8
call edi
mov edx, dword [esi]
mov dword [eax], 0x799e1c
movaps xmm0, xmmword [0x799590]
movups xmmword [eax + 0x1c], xmm0
mov byte [eax + 0xc], 0
mov dword [eax + 8], 0x799e70
mov dword [eax + 4], 0
mov dword [0xb53288], eax
mov eax, dword [0xb53288]
movzx eax, word [eax + 6]
cmp eax, 0x5ff
ja 0x51a7eb
or byte [0xb52b2d], 0x80
mov dword [esi + 0x128], 0xffffffff
mov dword [esi + 0x14], 0
xorps xmm0, xmm0
movaps xmmword [esi + 0x50], xmm0
movups xmmword [esi + 0x108], xmm0
movups xmmword [esi + 0xf8], xmm0
movups xmmword [esi + 0xe8], xmm0
movups xmmword [esi + 0xd8], xmm0
mov dword [esi + 0xd4], 0x44
mov eax, dword [0xb52be2]
mov dword [esi], eax
mov eax, dword [0xb52bde]
mov dword [esi + 8], eax
mov edi, 0xccdf
sub edi, edx
mov eax, dword [0xb0add0]
mov ebx, dword [0xb0adb4]
sub ebx, edi
add ebx, eax
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [0xb0836c]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 8]
push 0x3760f143
call ebx
add esp, 4
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov byte [esi + 0x7c], 1
movaps xmm0, xmmword [0x7995a0]
movups xmmword [esi + 0x80], xmm0
cmp dword [esi], 0
mov dword [esi + 4], edi
je 0x51a8cc
mov dword [esi + 8], eax
mov eax, dword [0xb0adec]
mov ebx, dword [0xb0adb0]
sub ebx, edi
add ebx, eax
mov ecx, ebx
call dword [0xb0836c]
mov edi, dword [esi]
mov ecx, edi
mov edx, 0x4b1133b5
call ebx
mov ebx, eax
mov eax, dword [esi + 8]
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
test eax, eax
je 0x51a8d0
push edi
push eax
push ebx
call fcn.0077cce0
jmp 0x51a8d9
xor ebx, ebx
jmp 0x51a8e3
push edi
push 0
push ebx
call fcn.0077d260
add esp, 0xc
movaps xmm0, xmmword [0x7995a0]
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], 0x79b810
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [esi + 0x3c], 1
movups xmmword [esi + 0x40], xmm0
mov dword [esi + 0x2c], 0x79b810
mov dword [esi + 0x128], 2
lea ecx, [esi + 0x6c]
lea edx, [esi + 0x2c]
call fcn.0053d5b0
lea eax, [esi + 0x14]
mov dword [esi + 0x18], eax
lea eax, [esi + 0xc]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0xd4]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x50]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x28], eax
lea eax, [esi + 0xbc]
push eax
call fcn.0051ad20
add esp, 4
cmp dword [esi + 0xcc], 0
je 0x51a97c
mov dword [esi + 0x128], 3
lea ecx, [esi + 0x18]
lea edx, [esi + 0xbc]
call fcn.0051b190
jmp 0x51aa21
mov eax, dword [0xb0ade4]
mov edi, dword [0xb0adc8]
sub edi, dword [esi + 4]
add edi, eax
mov dword [esi + 0x128], 0xffffffff
mov ecx, edi
call dword [0xb0836c]
mov ecx, 0x9fb5eda0
call edi
mov eax, dword [esi + 0x28]
mov dword [esi + 0xa4], eax
movups xmm0, xmmword [esi + 0x18]
movups xmmword [esi + 0x94], xmm0
mov dword [esi + 0x90], 0x79b874
lea eax, [esi + 0x90]
mov dword [esi + 0xb4], eax
mov edx, dword [esi + 0x34]
mov ecx, edx
test edx, edx
je 0x51a9db
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x128], 4
push eax
call fcn.0053d5c0
add esp, 4
mov edi, dword [esi + 0xb4]
test edi, edi
je 0x51aa21
xor ebx, ebx
lea eax, [esi + 0x90]
cmp edi, eax
setne bl
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
mov dword [esi], ecx
mov dword [esi + 0x128], 0xffffffff
call dword [0xb0836c]
mov ecx, edi
push ebx
call dword [esi]
mov eax, dword [esi + 0x14]
mov dword [esi + 8], eax
test eax, eax
je 0x51aacc
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x6a0], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x214]
mov edi, dword [esi + 0x54]
mov dword [esi + 0x128], 0xffffffff
call dword [0xb0836c]
mov dword [esi + 0x128], 3
push edi
call ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x214]
mov edi, dword [esi + 0x50]
mov dword [esi + 0x128], 0xffffffff
call dword [0xb0836c]
mov dword [esi + 0x128], 3
push edi
call ecx
xor eax, eax
nop
mov dword [esi], eax
cmp eax, 0x1387
ja 0x51aacc
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x1e8]
mov dword [esi + 0x128], 0xffffffff
call dword [0xb0836c]
mov dword [esi + 0x128], 3
call ecx
test eax, eax
jne 0x51aacc
call fcn.0053d5d0
mov eax, dword [esi]
inc eax
jmp 0x51aa90
mov eax, dword [esi + 0xd0]
cmp eax, 8
jb 0x51ab4c
mov edi, dword [esi + 0xbc]
mov edx, dword [0xb53224]
lea ecx, [edx + eax*2]
add ecx, 2
cmp ecx, 0x1000
jb 0x51ab18
mov ecx, dword [edi - 4]
add edi, 0xfffffffc
sub edi, ecx
cmp edi, 0x20
jae 0x51abb7
lea eax, [edx + eax*2]
add eax, 0x25
mov dword [esi], eax
mov dword [esi + 0x128], 0xffffffff
mov edi, ecx
jmp 0x51ab1a
mov dword [esi], ecx
mov ecx, dword [esi + 4]
mov eax, dword [0xb0add4]
mov ebx, dword [0xb0adb8]
sub ebx, ecx
add ebx, eax
mov dword [esi + 0x128], 0xffffffff
mov ecx, ebx
call dword [0xb0836c]
mov ecx, edi
mov edx, dword [esi]
push 0x36329719
call ebx
add esp, 4
mov eax, dword [0xb0ade0]
mov edi, dword [0xb0adc4]
mov ebx, dword [esi + 4]
sub edi, ebx
add edi, eax
mov dword [esi + 0x128], 0xffffffff
mov ecx, edi
call dword [0xb0836c]
lea ecx, [esi + 0x2c]
call edi
mov eax, dword [0xb0ade0]
mov edi, dword [0xb0adc4]
sub edi, ebx
add edi, eax
mov ecx, edi
call dword [0xb0836c]
lea ecx, [esi + 0x6c]
call edi
cmp dword [esi + 8], 0
mov ebx, dword [esi + 0x10]
je 0x51aba1
mov byte [ebx + 0x688], 1
mov eax, dword [esi + 0x120]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esi + 0x128], 1
call fcn.00748ef1
nop word cs:[eax + eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x12c]
mov ebp, dword [esi + 0x118]
mov edi, dword [esi + 0xb4]
test edi, edi
je 0x51ac13
xor ebx, ebx
lea eax, [esi + 0x90]
cmp edi, eax
setne bl
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
mov dword [esi], ecx
call dword [0xb0836c]
mov ecx, edi
push ebx
call dword [esi]
mov dword [esi + 0xb4], 0
add esp, 0xc
pop ebp
ret