Function at 0x4eb4f0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53e638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
mov ebx, dword [esp + 0xe8]
push ebp
push esi
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0xc], eax
lea edx, [esp + 0x24]
push edi
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
call fcn.004f4120
mov ecx, dword [esp + 0xf8]
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.004fe950
add esp, 8
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xb4]
push edx
call fcn.004da530
fld dword [0x5828cc]
fmul dword [0x545330]
fld st(0)
fadd dword [esp + 0xc0]
fdiv dword [0x5828cc]
call sub.msvcrt.dll__ftol
fld st(0)
fadd dword [esp + 0xbc]
mov esi, eax
fdiv dword [0x5828cc]
call sub.msvcrt.dll__ftol
fld st(0)
fadd dword [esp + 0xb8]
mov edi, eax
fdiv dword [0x5828cc]
call sub.msvcrt.dll__ftol
fadd dword [esp + 0xb4]
mov ebp, eax
fdiv dword [0x5828cc]
call sub.msvcrt.dll__ftol
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], esi
call fcn.004f4170
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
cmp ecx, edx
jge 0x4eb6fe
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
cmp esi, eax
jge 0x4eb6fe
mov ebp, dword [esp + 0x40]
xor edi, edi
cmp ebp, edi
jle 0x4eb6fe
cmp dword [esp + 0x44], edi
jle 0x4eb6fe
cmp ecx, edi
mov eax, 1
jge 0x4eb647
mov dword [esp + 0x38], edi
xor eax, eax
cmp esi, edi
jge 0x4eb651
mov dword [esp + 0x3c], edi
xor eax, eax
cmp ebp, edx
jle 0x4eb65b
mov dword [esp + 0x40], edx
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
cmp edx, ecx
jle 0x4eb6f6
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x4b]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0xf0], edi
call fcn.0050e020
mov ebp, dword [esp + 0x104]
mov byte [esp + 0xec], 2
mov esi, dword [ebp]
mov eax, dword [ebp + 4]
cmp esi, eax
jg 0x4eb759
lea edi, [esi + esi]
xor eax, eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x3f800000
call fcn.00518f60
mov dword [esp + 0x68], 0x548ffc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
mov byte [esp + 0xec], 3
je 0x4eb705
lea ecx, [esp + 0x68]
push ecx
push eax
call fcn.004fbff0
mov eax, dword [esp + 0x38]
add esp, 8
add eax, 0x20
mov dword [esp + 0x30], eax
jmp 0x4eb71d
cmp eax, edi
jge 0x4eb66f
xor al, al
jmp 0x4ebc37
push 1
lea edx, [esp + 0x23]
push 1
lea ecx, [esp + 0x70]
push edx
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.004f70e0
lea ecx, [esp + 0x78]
mov byte [esp + 0xec], 2
call fcn.004f7080
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x100]
push 0x3f800000
push edi
push edx
lea ecx, [eax - 0x20]
call fcn.0050dee0
mov eax, dword [ebp + 4]
inc esi
add edi, 2
cmp esi, eax
jle 0x4eb6a4
xor edi, edi
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x44]
mov esi, eax
cmp eax, ecx
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0x18], esi
jge 0x4ebbe8
lea ecx, [esp + 0x1f]
mov byte [esp + 0xec], 4
push ecx
lea ecx, [esp + 0x60]
call fcn.0050e020
mov eax, dword [esp + 0xf8]
mov ecx, dword [0x5828cc]
lea edx, [esp + 0x5c]
mov byte [esp + 0xec], 6
push edx
push eax
push ecx
push esi
call fcn.004ea5a0
add esp, 0x10
cmp eax, edi
jle 0x4ebbab
test al, 1
jne 0x4ebbab
mov ecx, dword [esp + 0x5c]
mov edx, ecx
mov dword [esp + 0x24], edx
lea eax, [ecx + 4]
mov ebp, dword [edx]
mov esi, dword [eax]
cmp ebp, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ebp
jg 0x4ebb00
mov esi, dword [esp + 0x10c]
test esi, esi
je 0x4eb932
mov eax, dword [esp + 0x18]
mov edx, ebp
and eax, 0xffff
and edx, 0xffff
shl eax, 0x10
or eax, edx
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00441410
push eax
lea ecx, [esp + 0xcc]
call fcn.0043edd0
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x4eb857
fld dword [eax + 8]
jmp 0x4eb98c
fld dword [0x5828cc]
fmul dword [0x545330]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xf8]
push ecx
lea eax, [esp + 0xa0]
push edx
push eax
fstp dword [esp + 0x1c]
fild dword [esp + 0x24]
fmul dword [0x5828cc]
fadd dword [esp + 0x1c]
fild dword [esp + 0x20]
fmul dword [0x5828cc]
fadd dword [esp + 0x1c]
fstp dword [esp + 0xa8]
fstp dword [esp + 0xac]
call fcn.004ea380
fstp dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x20]
push esi
push ecx
mov ecx, esi
call fcn.00441410
push eax
lea ecx, [esp + 0xd4]
call fcn.0043edd0
push esi
push 0
lea ecx, [esp + 0xdc]
call fcn.0043edd0
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd4]
cmp eax, ecx
jne 0x4eb927
lea edx, [esp + 0x88]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0x90], 0
call fcn.004f70c0
push eax
mov ecx, esi
call fcn.004f9060
fld dword [esp + 0x10]
add eax, 4
fst dword [eax]
jmp 0x4eb98c
fld dword [esp + 0x10]
add eax, 8
fst dword [eax]
jmp 0x4eb98c
fld dword [0x5828cc]
fmul dword [0x545330]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xf8]
push ecx
lea eax, [esp + 0x98]
push edx
push eax
fstp dword [esp + 0x1c]
fild dword [esp + 0x24]
fmul dword [0x5828cc]
fadd dword [esp + 0x1c]
fild dword [esp + 0x20]
fmul dword [0x5828cc]
fadd dword [esp + 0x1c]
fstp dword [esp + 0xa0]
fstp dword [esp + 0xa4]
call fcn.004ea380
add esp, 0xc
fcom dword [0x545374]
fnstsw ax
test ah, 1
jne 0x4ebba4
fdiv dword [0x5828cc]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
sub esi, eax
mov eax, dword [0x57f180]
push eax
mov ecx, dword [eax]
sar esi, 5
fstp dword [esp + 0x14]
call dword [ecx + 0x20]
xor edx, edx
div esi
mov esi, dword [esp + 0x2c]
shl edx, 5
add edx, esi
mov esi, edx
mov edi, dword [esi + 0x18]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x4ebae7
mov ebp, dword [esi + 0x1c]
mov eax, edi
mov edi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x40]
cdq
sub eax, edx
sar eax, 1
sub edi, eax
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
sub ecx, eax
inc edi
sub ecx, edx
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov eax, dword [0x57f180]
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
fild qword [esp + 0x8c]
mov ecx, dword [esi + 0x1c]
mov edi, dword [esi + 0x18]
fmul qword [0x547968]
fcomp dword [esp + 0x108]
fnstsw ax
test ah, 1
mov eax, dword [esi + 8]
lea edx, [eax + ecx]
mov ecx, dword [esi + 4]
je 0x4ebb1b
mov dword [esp + 0x50], eax
add edi, ecx
mov dword [esp + 0x4c], ecx
lea eax, [esp + 0x4c]
lea ecx, [esp + 0xa4]
push eax
push ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
call fcn.004f8fb0
add esp, 8
test eax, eax
jl 0x4ebae3
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
cmp ecx, eax
jge 0x4ebae3
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
cmp eax, edx
jge 0x4ebada
mov edi, dword [esi + 8]
mov ebp, dword [esi + 4]
mov edx, eax
sub edx, edi
mov edi, dword [esi + 0x14]
mov edx, dword [edi + edx*4]
mov edi, ecx
sub edi, ebp
inc eax
fld dword [edx + edi*4]
mov edx, dword [ebx + 0x60]
fmul dword [esi + 0xc]
mov edx, dword [edx + eax*4 - 4]
fadd dword [edx + ecx*8]
fstp dword [edx + ecx*8]
mov edx, dword [esp + 0x58]
cmp eax, edx
jl 0x4ebaa6
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
inc ecx
cmp ecx, edi
jl 0x4ebaa2
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc ebp
mov dword [esp + 0x14], ebp
cmp ebp, dword [eax]
jle 0x4eb7fd
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x60]
add edx, 8
cmp edx, esi
mov dword [esp + 0x24], edx
je 0x4ebbb1
add eax, 8
jmp 0x4eb7e9
mov dword [esp + 0x6c], eax
add edi, ecx
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x68]
lea ecx, [esp + 0xa4]
push eax
push ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edx
call fcn.004f8fb0
add esp, 8
test eax, eax
jl 0x4ebae3
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
cmp ecx, eax
jge 0x4ebae3
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
cmp eax, edx
jge 0x4ebb96
mov edi, dword [esi + 8]
mov ebp, dword [esi + 4]
mov edx, eax
sub edx, edi
mov edi, dword [esi + 0x14]
mov edx, dword [edi + edx*4]
mov edi, ecx
sub edi, ebp
inc eax
fld dword [edx + edi*4]
mov edx, dword [ebx + 0x60]
fmul dword [esi + 0xc]
mov edx, dword [edx + eax*4 - 4]
fld dword [edx + ecx*8]
fsub st(1)
fstp dword [edx + ecx*8]
mov edx, dword [esp + 0x74]
cmp eax, edx
fstp st(0)
jl 0x4ebb5e
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
inc ecx
cmp ecx, edi
jl 0x4ebb5a
jmp 0x4ebae3
fstp st(0)
jmp 0x4ebae7
mov ecx, dword [esp + 0x5c]
jmp 0x4ebbb7
mov esi, dword [esp + 0x18]
xor edi, edi
cmp ecx, edi
mov byte [esp + 0xec], 7
je 0x4ebbd7
mov eax, dword [esp + 0x64]
sub eax, ecx
sar eax, 2
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.004fdfd0
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x4eb791
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, ebx
mov dword [esp + 0xec], 8
je 0x4ebc12
lea ecx, [esi + 0x10]
call fcn.004f7080
add esi, 0x20
cmp esi, ebx
jne 0x4ebbff
mov esi, dword [esp + 0x2c]
cmp esi, edi
mov dword [esp + 0xec], 9
je 0x4ebc35
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x34]
sub eax, esi
sar eax, 5
push eax
push esi
call fcn.004fdfd0
mov al, 1
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe0
ret