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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4934d0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4c150c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x30], 0x4a3568
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebx
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 8]
xor edi, edi
cmp eax, ecx
mov dword [esp + 0x80], ecx
jle 0x4e4fcc
jmp 0x4e4fa0
cmp ebx, ecx
jl 0x4e50a6
push 0xffffffffffffffff
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x38]
call fcn.004e4a80
fldz
mov ecx, dword [esp + 0x34]
fstp qword [ecx + ebx*8]
mov ebx, dword [esp + 0x38]
inc edi
xor ecx, ecx
cmp edi, dword [esi + 8]
jl 0x4e4fa0
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0x20]
push ecx
push ecx
push 0x1004
push edx
mov dword [esp + 0x2c], ecx
call dword [fcn.0049760c]
test eax, eax
jle 0x4e508c
xor esi, esi
test ebx, ebx
jle 0x4e5068
test esi, esi
jl 0x4e50a6
mov eax, dword [ebp + 0x10]
cmp esi, dword [eax + 8]
jge 0x4e50a6
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi*4]
mov edx, dword [esp + 0x1c]
lea eax, [eax + esi*4]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call 0x502212
mov eax, dword [eax]
push eax
call 0x524007
fstp qword [esp + 0x28]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e5050
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
jge 0x4e50a6
mov eax, dword [esp + 0x34]
fld qword [eax + esi*8]
inc esi
cmp esi, ebx
fadd qword [esp + 0x24]
fstp qword [eax + esi*8 - 8]
jl 0x4e4ff2
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x1004
inc esi
push ecx
mov dword [esp + 0x2c], esi
call dword [fcn.0049760c]
cmp esi, eax
jl 0x4e4fec
call 0x5011e0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4e50ab
push 0x80004005
call fcn.004abc80
call 0x500774
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push ecx
mov byte [esp + 0x90], 1
call dword [fcn.0049760c]
push 0
push 0
push 0
push 0
push 0
push eax
push 1
mov ecx, edi
call 0x501dbe
mov edx, dword [ebp + 0xc]
push 0x4a358c
push edx
push eax
mov ecx, edi
mov dword [esp + 0x2c], eax
call 0x501c53
xor esi, esi
test ebx, ebx
jle 0x4e5157
test esi, esi
jl 0x4e50a6
cmp esi, ebx
jge 0x4e50a6
mov eax, dword [esp + 0x34]
fld qword [eax + esi*8]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x24]
push 0x49dc24
push ecx
call fcn.004ac300
mov eax, dword [ebp + 0x10]
add esp, 0x10
cmp esi, dword [eax + 8]
jge 0x4e50a6
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + esi*4]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov ecx, edi
call 0x501c53
inc esi
cmp esi, ebx
jl 0x4e5105
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x80], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e517f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4e5190
push eax
call 0x4f38d2
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret