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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x70], edx
mov ecx, 4
mov dword [esp + 0x3c], ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x70], eax
xor eax, eax
test edx, edx
mov dword [esp + 0x78], esi
push edi
sete al
sub ecx, eax
xor eax, eax
test esi, esi
sete al
sub ecx, eax
mov dword [esp + 0x38], ecx
lea esp, [esp]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.00550c20
add esp, 0x10
test eax, eax
jne 0x51d1c7
push dword [ebx + 0x24]
lea ecx, [esp + 0x94]
call fcn.00528900
mov esi, dword [ebx + 0x24]
lea ecx, [esp + 0xb0]
push esi
call fcn.00528900
mov edi, dword [esi + 8]
lea ecx, [esp + 0xb0]
mov esi, dword [esi + 0xc]
call fcn.005289b0
test edi, edi
jne 0x51ce50
test esi, esi
je 0x51d1b2
jmp 0x51ce50
push dword [ebx + 0x24]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
call fcn.00528900
push 0
sub esp, 8
lea ecx, [esp + 0x6c]
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], esi
call fcn.00525da0
mov edi, dword [esp + 0x60]
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
test ebx, ebx
jne 0x51cebc
test esi, esi
jne 0x51cebc
xorps xmm0, xmm0
mov dword [esp + 0x10], esi
movlpd qword [esp + 0x88], xmm0
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
jmp 0x51cedf
push esi
push ebx
call fcn.00557360
push esi
push ebx
call fcn.00557360
push esi
push ebx
mov dword [esp + 0x18], eax
call fcn.00557380
push dword [esp + 0x10]
call dword [0x100d328c]
cmp dword [esp + 0x68], 0
jne 0x51cef1
cmp dword [esp + 0x6c], 0
je 0x51cf73
push edi
call dword [0x100d3288]
test eax, eax
jne 0x51cf66
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
test ecx, ecx
jne 0x51cf12
test eax, eax
je 0x51cf5b
push eax
push ecx
call fcn.00557360
push eax
mov dword [esp + 0x50], eax
call dword [0x100d3288]
test eax, eax
jne 0x51cf40
mov ecx, dword [esp + 0x4c]
call fcn.0051a840
mov eax, dword [esp + 0x4c]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.00557340
push dword [esp + 0x5c]
push dword [esp + 0x54]
call fcn.00557380
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.00557340
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.00557380
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0xd0]
movlpd qword [esp + 0x68], xmm0
call fcn.005289b0
test ebx, ebx
jne 0x51cfa9
test esi, esi
jne 0x51cfa9
xorps xmm0, xmm0
xor edi, edi
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], edi
jmp 0x51d000
push esi
push ebx
call fcn.00557360
push esi
push ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
call fcn.00557360
push esi
mov edi, eax
push ebx
mov dword [esp + 0x28], edi
call fcn.00557380
push edi
call dword [0x100d328c]
push dword [esp + 0x10]
call dword [0x100d3288]
test eax, eax
jne 0x51cff9
mov ecx, dword [esp + 0x10]
call fcn.0051a840
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.00557340
push esi
push ebx
call fcn.00557380
cmp dword [edi + 0x18], 0
lea esi, [edi + 0x18]
mov ebx, dword [esp + 0x44]
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x80], 0
je 0x51d076
push dword [esp + 0x54]
mov ecx, dword [ebx + 0x24]
push dword [esp + 0x5c]
call fcn.0051b8c0
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
je 0x51d1e5
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x64]
call fcn.0051ab30
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x51d151
mov ecx, dword [eax]
mov esi, dword [eax + 0xc]
push eax
call dword [ecx + 0xc]
push esi
mov dword [esp + 0x40], 0
call dword [0x100d3250]
jmp 0x51d151
cmp dword [ebx + 0x60], 0
push dword [ebx + 0x5c]
jne 0x51d147
call dword [0x100d3250]
push 0x18
call fcn.0055b7c0
mov esi, eax
add esp, 4
test esi, esi
je 0x51d0dd
push 0
push 0
push 0
mov dword [esi], 0x100d3448
push 0
mov dword [esi + 4], 0
mov dword [esi], 0x100e8f88
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call dword [0x100d308c]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x51d0df
xor esi, esi
lea edi, [esi + 0x10]
push edi
push 0
push esi
push 0x10086e80
push 0
push 0
call dword [0x100d3090]
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push esi
mov dword [esp + 0x4c], esi
call dword [eax + 8]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x3c]
add ecx, 0xb4
push eax
call fcn.004e5a90
mov eax, dword [esp + 0x34]
test eax, eax
je 0x51d131
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [esp + 0x34], 0
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push esi
mov dword [esp + 0x4c], 0
call dword [eax + 0xc]
jmp 0x51d14d
call dword [0x100d3250]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
jne 0x51d15f
cmp dword [esp + 0x2c], 0
je 0x51d189
push edi
call dword [0x100d3288]
test eax, eax
jne 0x51d17c
mov ecx, edi
call fcn.0051a840
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.00557340
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.00557380
mov edi, dword [esp + 0x1c]
xorps xmm0, xmm0
mov esi, dword [esp + 0x40]
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], 0
test edi, edi
jne 0x51ce50
test esi, esi
jne 0x51ce50
lea ecx, [esp + 0x90]
call fcn.005289b0
mov ecx, dword [esp + 0x38]
jmp 0x51cdf0
cmp eax, 1
je 0x51d208
cmp eax, 2
je 0x51d1fa
cmp eax, 0x83
je 0x51d2f7
mov ecx, dword [esp + 0x38]
jmp 0x51cdf0
lea ecx, [esp + 0x20]
call fcn.00519d20
lea ecx, [esp + 0x90]
call fcn.005289b0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edi, [ebx + 0xb4]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edi
push eax
mov ecx, edi
call fcn.004e9750
mov esi, dword [esp + 0x18]
cmp esi, dword [edi + 4]
jne 0x51d22f
xor ebx, ebx
test esi, esi
je 0x51d247
jmp 0x51d241
mov ebx, esi
test esi, esi
je 0x51d247
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
test ebx, ebx
je 0x51d2f7
nop
lea eax, [ebx + 0xc]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x51d261
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push ebx
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.004faa50
mov esi, dword [esp + 0x14]
cmp esi, dword [edi + 4]
jne 0x51d289
xor edi, edi
test esi, esi
je 0x51d2a3
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], edi
jmp 0x51d2a3
mov edi, esi
test esi, esi
je 0x51d2a3
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x51d2ad
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
mov ebx, edi
test edi, edi
je 0x51d2b9
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
mov esi, dword [esp + 0x18]
mov esi, dword [esi]
test esi, esi
je 0x51d2c9
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [esi + 0xc], 0
je 0x51d2e5
push dword [esi + 0x14]
call dword [0x100d3250]
push 0xffffffffffffffff
push dword [esi + 0xc]
call fcn.00550c90
add esp, 8
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
test edi, edi
mov edi, dword [esp + 0x1c]
jne 0x51d250
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc