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

Disassembly:
push 0xffffffffffffffff
push 0x4c7553
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebx, dword [esi + 0x44]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x1c], edi
xor ebp, ebp
mov edi, edi
test ebx, ebx
je 0x4a2755
mov eax, dword [esi + 0x48]
sub eax, ebx
sar eax, 2
cmp ecx, eax
jae 0x4a2755
mov eax, dword [esi + 0x44]
lea edx, [ecx*4]
mov edi, dword [edx + eax]
mov edi, dword [edi]
mov eax, dword [eax + ebp]
cmp edi, dword [eax]
mov dword [esp + 0x10], edi
jle 0x4a274e
fild dword [esp + 0x10]
fcomp dword [esi + 0x54]
fnstsw ax
test ah, 0x41
jp 0x4a274e
mov dword [esp + 0x1c], ecx
mov ebp, edx
mov edi, dword [esp + 0x1c]
inc ecx
jmp 0x4a2710
cmp edi, dword [esi + 0x58]
je 0x4a2b0c
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x4a278d
push 1
call fcn.004244f0
mov ecx, dword [esi + 0x28]
test ecx, ecx
mov dword [esi + 0x28], 0
je 0x4a278d
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
test eax, eax
mov dword [ecx + 4], edx
jne 0x4a278d
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x4a27bc
push 1
call fcn.004244f0
mov ecx, dword [esi + 0x74]
test ecx, ecx
mov dword [esi + 0x74], 0
je 0x4a27bc
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
test eax, eax
mov dword [ecx + 4], edx
jne 0x4a27bc
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x44]
mov dword [esi + 0x58], edi
mov ecx, dword [eax + edi*4]
mov eax, 0x4f130c
add ecx, 0x30
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a27d0
mov edx, dword [ecx + 0x14]
sub eax, edi
push eax
push 0x4f130c
push edx
xor ebx, ebx
push ebx
call fcn.00401470
test eax, eax
jne 0x4a2893
push 0x1e8
call fcn.004ad909
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0xc0], ebx
je 0x4a2818
mov ecx, eax
call fcn.0042dd20
jmp 0x4a281a
xor eax, eax
cmp eax, ebx
mov dword [esp + 0xc0], 0xffffffff
je 0x4a282c
inc dword [eax + 4]
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
mov dword [esi + 0x28], eax
je 0x4a2849
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x4a2849
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x44]
mov edx, dword [edx + eax*4]
mov ecx, dword [esi + 0x28]
add edx, 4
push edx
call fcn.0042c070
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x58]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov edi, dword [eax + 0x28]
mov ebp, dword [esi + 0x28]
add eax, 0x20
mov eax, dword [eax + 0xc]
push eax
push edi
push edx
push ecx
lea ecx, [esp + 0x64]
call fcn.00422f90
push eax
mov ecx, ebp
call fcn.0042adf0
or ebp, 0xffffffff
jmp 0x4a290e
mov edi, dword [esi + 0x58]
mov ebp, dword [esi + 0x44]
call fcn.00415620
mov ecx, dword [ebp + edi*4]
push ebx
push ebx
add ecx, 0x30
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.00431b90
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0xc0], 1
je 0x4a28c8
inc dword [eax + 4]
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
mov dword [esi + 0x28], eax
je 0x4a28e5
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x4a28e5
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x10]
or ebp, 0xffffffff
cmp eax, ebx
mov dword [esp + 0xc0], ebp
je 0x4a290e
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x1c], edx
jne 0x4a290e
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x58]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 0x6c]
mov ecx, dword [eax + 0x68]
add eax, 0x68
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x14], edx
fld dword [esp + 0x14]
fadd dword [esi + 0xc]
push eax
sub esp, 8
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x28]
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fadd dword [esi + 8]
fstp dword [esp]
call fcn.00424870
mov eax, dword [esi + 0x28]
cmp eax, ebx
push 1
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov dword [ecx], eax
je 0x4a2963
inc dword [eax + 4]
mov dword [esp + 0xcc], 2
call fcn.0040e220
mov edx, dword [eax]
mov ecx, eax
mov dword [esp + 0xcc], ebp
call dword [edx + 0x10]
push 1
push 1
call fcn.0040d4d0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, eax
call fcn.004016d0
mov ecx, dword [esi + 0x28]
call fcn.00425c90
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx + eax*4]
mov al, byte [edx + 0x70]
test al, al
je 0x4a2bae
push 0x1e8
call fcn.004ad909
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0xc0], 3
je 0x4a29de
mov ecx, eax
call fcn.0042dd20
jmp 0x4a29e0
xor eax, eax
cmp eax, ebx
mov dword [esp + 0xc0], ebp
je 0x4a29ee
inc dword [eax + 4]
mov ecx, dword [esi + 0x74]
cmp ecx, ebx
mov dword [esi + 0x74], eax
je 0x4a2a0b
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x4a2a0b
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x58]
mov edx, dword [ecx + eax*4]
mov eax, dword [ecx + eax*4]
mov edx, dword [edx + 0x78]
mov ecx, dword [eax + 0x74]
mov edi, dword [esi + 0x74]
push edx
push ecx
push 0x43000000
push 0x43000000
lea ecx, [esp + 0x64]
call fcn.00422f90
push eax
mov ecx, edi
call fcn.0042adf0
mov eax, 0x4f7a58
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a2a56
sub eax, ecx
push eax
push 0x4f7a58
lea ecx, [esp + 0x40]
call fcn.00402cd0
mov ecx, dword [esi + 0x74]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0xc4], 4
call fcn.0042c070
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0xc0], ebp
jb 0x4a2aa1
mov eax, dword [esp + 0x3c]
push eax
call fcn.004ade5d
add esp, 4
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x58]
mov edi, dword [edx + eax*4]
fld dword [edi + 0x80]
mov ecx, dword [esi + 0x74]
fadd dword [esi + 0xc]
push 0x44480000
sub esp, 8
mov edx, edi
fstp dword [esp + 4]
fld dword [edx + 0x7c]
fadd dword [esi + 8]
fstp dword [esp]
call fcn.00424870
mov eax, dword [esi + 0x74]
cmp eax, ebx
push 1
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov dword [ecx], eax
je 0x4a2ae9
inc dword [eax + 4]
mov dword [esp + 0xcc], 5
call fcn.0040e220
mov edx, dword [eax]
mov ecx, eax
mov dword [esp + 0xcc], ebp
call dword [edx + 0x10]
jmp 0x4a2bae
lea eax, [esp + 0x10]
push eax
call fcn.0040d4d0
mov ecx, eax
call fcn.004016d0
mov ecx, dword [eax]
mov dword [esp + 0xc0], 6
call fcn.00401120
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
mov ebp, edx
mov dword [esp + 0xc0], 0xffffffff
je 0x4a2b5d
mov ebx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec ebx
mov edx, ebx
test edx, edx
mov dword [eax], ebx
jne 0x4a2b5d
mov edx, dword [ecx]
push 1
call dword [edx]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x28]
push 0
push 0
mov edx, edi
add edx, 0x190
mov eax, ebp
adc eax, 0
push eax
push edx
push ebp
push edi
push 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], 0x40c00000
mov dword [esp + 0x48], 0x40c00000
mov dword [esp + 0x4c], 0
call fcn.004239e0
fld dword [esi + 0x54]
fcomp dword [0x4f79d8]
fnstsw ax
test ah, 5
jp 0x4a2bf9
mov ecx, dword [esi + 0x28]
call fcn.00481fe0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
push 1
lea eax, [esp + 0x30]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x28]
push eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x44160000
call fcn.00424690
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb4
ret