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

Disassembly:
push 0xffffffffffffffff
push 0x49cd50
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov ebx, dword [eax]
xor eax, eax
lea esi, [esp + 0x24]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.0036c6d0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x7c], 0
mov dword [ecx], 0
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov ebp, dword [eax + 0x20]
mov ecx, 0xa
mov esi, ebx
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
cmp ebp, dword [eax + 0x1c]
je 0x37b668
lea esp, [esp]
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x10]
test byte [eax + 0x19d], 0x10
je 0x37b655
fld qword [eax + 0xa0]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x37b655
fld qword [ebx + 0x10]
sub esp, 0x10
fld qword [ebx + 8]
lea ecx, [esp + 0x4c]
fxch st(1)
lea edi, [esp + 0x44]
fstp qword [esp + 8]
fstp qword [esp]
push ecx
call fcn.003730f0
fld qword [esp + 0x34]
fst qword [esp + 0x4c]
fld qword [esp + 0x3c]
fst qword [esp + 0x54]
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x194]
test al, 1
je 0x37b56e
mov ecx, dword [ebx + 0x18]
neg ecx
mov dword [esp + 0x5c], ecx
test al, 2
je 0x37b57b
mov eax, dword [ebx + 0x1c]
neg eax
mov dword [esp + 0x60], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, esi
fstp qword [esp]
call edx
test al, al
je 0x37b655
mov edi, dword [ebp - 4]
xor eax, eax
mov ebx, edi
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.0036c6d0
mov esi, dword [esp + 0x94]
mov byte [esp + 0x7c], 1
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x1c]
push ecx
push eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov edx, dword [edi]
mov edx, dword [edx + 0x70]
push ebx
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x37b6c6
cmp dword [esp + 0x24], ebx
jne 0x37b618
mov ebx, dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.0036c6d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], ebx
jne 0x37b706
mov byte [esp + 0x7c], bl
cmp eax, ebx
je 0x37b64e
mov edi, dword [esp + 0x30]
mov edx, dword [edi]
call fcn.0037ad90
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push ebx
call eax
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
add ebp, 0xfffffffc
cmp ebp, dword [ecx + 0x1c]
jne 0x37b500
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x14]
mov dword [ecx], eax
mov ecx, dword [esp + 0x94]
mov dword [ecx], edx
mov dword [esp + 0x7c], 0xffffffff
test eax, eax
je 0x37b6ae
mov edi, dword [esp + 0x28]
mov edx, dword [edi]
call fcn.0037ad90
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0
call eax
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x14
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x14]
mov dword [edx], eax
mov dword [esi], ecx
mov dword [esp + 0x7c], 0xffffffff
cmp eax, ebx
je 0x37b700
mov edi, dword [esp + 0x28]
mov edx, dword [edi]
call fcn.0037ad90
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push ebx
call eax
mov eax, dword [esp + 0x20]
jmp 0x37b6b0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
mov dword [ecx], edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x94]
mov dword [edx], ecx
mov byte [esp + 0x7c], bl
cmp eax, ebx
je 0x37b747
mov edi, dword [esp + 0x30]
mov edx, dword [edi]
call fcn.0037ad90
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push ebx
call edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x7c], 0xffffffff
cmp dword [esp + 0x24], ebx
je 0x37b770
mov edi, dword [esp + 0x28]
mov edx, dword [edi]
call fcn.0037ad90
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push ebx
call edx
mov eax, dword [esp + 0x20]
jmp 0x37b6b0