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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 4], ebx
mov eax, dword [ebx]
test eax, eax
je 0x5192e1
push eax
call fcn.0050edcc
add esp, 4
mov dword [ebx], 0
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ebp + 8], eax
test eax, eax
je 0x519341
mov ebx, eax
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x5192f2
sub ebx, ecx
mov edx, 2
sar ebx, 1
xor ecx, ecx
lea esi, [ebx + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050f771
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.0058c8f0
lea eax, [ebx + ebx]
mov ebx, dword [ebp - 4]
push eax
push dword [ebp + 8]
push dword [ebx]
call fcn.0058bd80
add esp, 0x1c
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x51935a
mov eax, dword [ecx]
test eax, eax
je 0x51935a
mov eax, dword [eax]
jmp 0x51935f
mov eax, 0xff00ff
mov dword [ebx + 4], eax
lea ecx, [ebx + 8]
push dword [edi + 0x2c]
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [edi + 0x14]
push dword [edi + 0x10]
call fcn.0051ad20
push dword [edi + 0x54]
lea ecx, [ebx + 0x30]
push dword [edi + 0x50]
push dword [edi + 0x4c]
push dword [edi + 0x48]
push dword [edi + 0x44]
push dword [edi + 0x40]
push dword [edi + 0x3c]
push dword [edi + 0x38]
call fcn.0051ad20
push dword [edi + 0x7c]
lea ecx, [ebx + 0x58]
push dword [edi + 0x78]
push dword [edi + 0x74]
push dword [edi + 0x70]
push dword [edi + 0x6c]
push dword [edi + 0x68]
push dword [edi + 0x64]
push dword [edi + 0x60]
call fcn.0051ad20
push dword [edi + 0xa4]
lea ecx, [ebx + 0x80]
push dword [edi + 0xa0]
push dword [edi + 0x9c]
push dword [edi + 0x98]
push dword [edi + 0x94]
push dword [edi + 0x90]
push dword [edi + 0x8c]
push dword [edi + 0x88]
call fcn.0051ad20
push dword [edi + 0xcc]
lea ecx, [ebx + 0xa8]
push dword [edi + 0xc8]
push dword [edi + 0xc4]
push dword [edi + 0xc0]
push dword [edi + 0xbc]
push dword [edi + 0xb8]
push dword [edi + 0xb4]
push dword [edi + 0xb0]
call fcn.0051ad20
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xd8]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x519457
mov eax, dword [ecx]
test eax, eax
je 0x519457
mov eax, dword [eax]
jmp 0x51945c
mov eax, 0xff00ff
mov dword [ebx + 0xd0], eax
lea esi, [ebx + 0xd8]
mov eax, dword [edi + 0xe4]
mov dword [ebx + 0xd4], eax
xor ebx, ebx
mov eax, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [edi + 0xec]
mov ecx, dword [edi + 0xe8]
sub eax, ecx
test eax, 0xfffffffc
jle 0x5194c4
lea eax, [ecx + ebx*4]
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x5194a5
mov eax, dword [eax]
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x5194ae
push eax
push ecx
mov ecx, esi
call fcn.00517170
mov eax, dword [edi + 0xec]
inc ebx
mov ecx, dword [edi + 0xe8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jl 0x519490
mov esi, dword [ebp - 4]
xor ebx, ebx
add esi, 0xe4
mov eax, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [edi + 0xf8]
mov ecx, dword [edi + 0xf4]
sub eax, ecx
test eax, 0xfffffffc
jle 0x519524
nop dword [eax]
lea eax, [ecx + ebx*4]
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x519505
mov eax, dword [eax]
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x51950e
push eax
push ecx
mov ecx, esi
call fcn.00517170
mov eax, dword [edi + 0xf8]
inc ebx
mov ecx, dword [edi + 0xf4]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jl 0x5194f0
mov eax, dword [ebp - 4]
movsd xmm0, qword [edi + 0x100]
movsd qword [eax + 0xf0], xmm0
movsd xmm0, qword [edi + 0x108]
movsd qword [eax + 0xf8], xmm0
movsd xmm0, qword [edi + 0x110]
pop edi
pop esi
movsd qword [eax + 0x100], xmm0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4