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

Disassembly:
sub esp, 0x44
push ebx
mov ebx, ecx
mov ecx, dword [0x826818]
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + 0x394]
test eax, eax
jge 0x4d8f02
test ecx, ecx
jne 0x4d944a
lea edx, [eax*8]
push 1
sub edx, eax
lea eax, [edx + ebx + 0xd4]
push eax
call fcn.004467b0
test eax, eax
mov dword [esp + 0x18], eax
je 0x4d944a
push ebp
push esi
push edi
mov edi, dword [fcn.0065f600]
lea esi, [ebx + 0x404]
mov ebp, 5
lea ecx, [esi - 0x50]
push ecx
call edi
push esi
call edi
lea edx, [esi + 0x50]
push edx
call edi
lea eax, [esi + 0xa0]
push eax
call edi
add esi, 0x10
dec ebp
jne 0x4d8f3a
fld dword [ebx + 0xa8]
fadd dword [ebx + 0x80]
mov dword [esp + 0x20], 1
fadd dword [ebx + 0x74]
fadd dword [ebx + 0x70]
fadd dword [ebx + 0x78]
fcomp dword [0x65f998]
fnstsw ax
test ah, 1
jne 0x4d8f8a
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x60]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
mov esi, dword [esp + 0x68]
shr eax, 0x1f
mov edi, 6
mov ebp, 0xe
lea edx, [edx + eax + 7]
mov eax, 0x2aaaaaab
mov dword [esp + 0x1c], edx
lea edx, [ecx*4]
imul edx
mov eax, edx
add ecx, ecx
shr eax, 0x1f
add edx, eax
mov eax, 0x2aaaaaab
mov dword [esp + 0x30], edx
imul ecx
mov ecx, edx
lea eax, [ebx + 0xcc]
shr ecx, 0x1f
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], 0x10
lea edx, [edx + ecx - 6]
lea ecx, [ebx + 0x494]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x28]
mov ecx, dword [0x73a974]
mov eax, dword [edx + 0x6c08ac]
lea edx, [esp + 0x3c]
push eax
push ecx
push edi
push 4
push esi
push edx
push 0x732bc0
call fcn.00496340
mov eax, dword [esp + 0x3c]
add esp, 0x1c
test eax, eax
jne 0x4d9155
mov eax, dword [esp + 0x14]
fld dword [eax - 0x14]
fst dword [esp + 0x68]
fcomp dword [0x65f998]
fnstsw ax
test ah, 0x41
jne 0x4d9108
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 0xd0]
push 0
push ecx
mov ecx, dword [eax + 0xe8]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x74]
push ecx
push edx
push edi
push eax
lea ecx, [esp + 0x60]
push esi
push ecx
mov ecx, 0x732bc0
call fcn.00496a70
mov eax, dword [ebx + 0x3a0]
test eax, eax
je 0x4d9108
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
lea ebx, [edx + eax + 8]
mov edx, dword [esp + 0x18]
lea eax, [ebp + 0x12]
add edx, 0xffffff60
lea ecx, [ebx + 0x12]
push eax
push ecx
push ebp
push ebx
push edx
call dword [fcn.0065f4dc]
test esi, esi
jne 0x4d90b8
xor eax, eax
jmp 0x4d90bb
mov eax, dword [esi + 4]
push 0
push ebp
push ebx
push eax
mov eax, dword [0x897514]
push 0
push eax
call dword [fcn.0065e034]
mov edx, dword [esp + 0x18]
add ebx, 0x14
lea eax, [ebp + 0x12]
lea ecx, [ebx + 0x12]
push eax
push ecx
push ebp
push ebx
push edx
call dword [fcn.0065f4dc]
test esi, esi
jne 0x4d90ee
xor eax, eax
jmp 0x4d90f1
mov eax, dword [esi + 4]
push 0
push ebp
push ebx
push eax
mov eax, dword [0x897514]
push 1
push eax
call dword [fcn.0065e034]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], 0
mov ecx, dword [ecx]
mov dword [esp + 0x34], ecx
fild qword [esp + 0x34]
fcomp dword [0x65f998]
fnstsw ax
test ah, 0x41
jne 0x4d9155
mov edx, dword [esp + 0x10]
mov eax, dword [0x73a998]
push ecx
mov ecx, dword [esp + 0x34]
push 0x6b71c8
push edx
push eax
push edi
push ecx
lea edx, [esp + 0x64]
push esi
push edx
push 0x732bc0
call fcn.00496440
add esp, 0x24
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub eax, 4
add edi, 0x1b
add ebp, 0x1b
sub ecx, 4
sub edx, 0x10
cmp eax, 0xfffffffc
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jg 0x4d8ffb
mov ecx, dword [esp + 0x60]
add edi, 6
lea eax, [edi - 1]
push eax
push ecx
push eax
push 0
push esi
mov ecx, 0x732bc0
call fcn.00495d40
add edi, 5
lea edx, [ebx + 0x94]
lea eax, [ebx + 0x4a4]
mov dword [esp + 0x28], 0x6c08d4
lea ebp, [edi + 8]
mov dword [esp + 0x68], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [0x73a974]
mov edx, dword [ecx]
lea ecx, [esp + 0x4c]
push edx
push eax
push edi
push 4
push esi
push ecx
push 0x732bc0
call fcn.00496340
mov eax, dword [esp + 0x3c]
add esp, 0x1c
test eax, eax
jne 0x4d931d
mov edx, dword [esp + 0x68]
fld dword [edx - 0x14]
fst dword [esp + 0x14]
fcomp dword [0x65f998]
fnstsw ax
test ah, 0x41
jne 0x4d92cf
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0xd0]
push 0
push eax
mov eax, dword [edx + 0xe8]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edi
push edx
lea eax, [esp + 0x60]
push esi
push eax
mov ecx, 0x732bc0
call fcn.00496a70
mov eax, dword [ebx + 0x3a0]
test eax, eax
je 0x4d92cf
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x12]
lea ebx, [ecx + edx + 8]
mov ecx, dword [esp + 0x18]
push eax
add ecx, 0xffffff60
lea eax, [ebx + 0x12]
push eax
push ebp
push ebx
push ecx
call dword [fcn.0065f4dc]
test esi, esi
jne 0x4d927d
xor eax, eax
jmp 0x4d9280
mov eax, dword [esi + 4]
mov edx, dword [0x897514]
push 0
push ebp
push ebx
push eax
push 0
push edx
call dword [fcn.0065e034]
mov ecx, dword [esp + 0x18]
add ebx, 0x14
lea eax, [ebp + 0x12]
push eax
lea eax, [ebx + 0x12]
push eax
push ebp
push ebx
push ecx
call dword [fcn.0065f4dc]
test esi, esi
jne 0x4d92b4
xor eax, eax
jmp 0x4d92b7
mov eax, dword [esi + 4]
mov edx, dword [0x897514]
push 0
push ebp
push ebx
push eax
push 1
push edx
call dword [fcn.0065e034]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], 0
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
fild qword [esp + 0x34]
fcomp dword [0x65f998]
fnstsw ax
test ah, 0x41
jne 0x4d931d
mov edx, dword [0x73a998]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x14]
push 0x6b71c8
push ecx
push edx
push edi
push eax
lea ecx, [esp + 0x54]
push esi
push ecx
push 0x732bc0
call fcn.00496440
add esp, 0x24
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x18]
add eax, 4
add edi, 0x1b
add ebp, 0x1b
add ecx, 4
add edx, 0x10
cmp eax, 0x6c08e8
mov dword [esp + 0x28], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x18], edx
jl 0x4d91c1
mov edx, dword [esp + 0x60]
add edi, 5
push edi
push edx
push edi
push 0
push esi
mov ecx, 0x732bc0
call fcn.00495d40
push 7
push esi
mov ecx, 0x732bc0
call fcn.00495d00
mov edx, dword [0x73a974]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
add edi, 0xc
lea ecx, [eax + 0x18]
push ecx
push eax
push 0x6b7250
push edx
push edi
push 4
lea eax, [esp + 0x64]
push esi
push eax
push 0x732bc0
call fcn.00496340
mov ebp, dword [eax]
add esp, 0x24
add ebp, 8
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x38], ecx
jne 0x4d9437
fld dword [ebx + 0x78]
fst dword [esp + 0x68]
fcomp dword [0x65f998]
fnstsw ax
test ah, 0x41
jne 0x4d9437
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 0xd0]
push 0
push 0
mov ecx, dword [eax + 0xe8]
push edx
mov edx, dword [esp + 0x74]
push ecx
push edx
push edi
push ebp
lea eax, [esp + 0x68]
push esi
push eax
mov ecx, 0x732bc0
call fcn.00496a70
mov ebx, dword [ebx + 0x398]
mov ecx, eax
cmp ebx, 1
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
lea eax, [eax + ebp + 2]
mov dword [esp + 0x38], edx
jne 0x4d941c
mov ecx, dword [0x7399fc]
jmp 0x4d9427
cmp ebx, 2
jne 0x4d9437
mov ecx, dword [0x7399f8]
mov edx, dword [esi + 4]
add edi, 2
push ecx
push edi
push eax
push edx
call dword [fcn.0065f5d0]
mov eax, dword [esp + 0x58]
mov ecx, 0x732bc0
push eax
push esi
call fcn.00495d20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x14