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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x68]
test al, 1
push edi
jne 0x4d107c
push 0x56c364
push esi
call fcn.004cf680
add esp, 8
mov edi, dword [ebp + 0x10]
cmp edi, 0x20
je 0x4d10e2
push 0x56c348
push esi
call fcn.004cf730
push edi
push esi
call fcn.004d08e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 4
je 0x4d109f
push 0x56c330
push esi
call fcn.004cf730
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.004d08e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 2
je 0x4d10b0
push 0x56c314
push esi
call fcn.004cf730
jmp 0x4d1051
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4d1054
mov eax, dword [eax + 8]
test al, 4
je 0x4d1054
test ah, 8
jne 0x4d1054
push 0x56c2fc
push esi
call fcn.004cf730
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.004d08e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 4
lea edx, [esp + 0x10]
push edx
push esi
call fcn.004c3570
push 4
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.004c37a0
mov eax, dword [esp + 0x24]
movzx edi, al
movzx ecx, ah
mov ax, word [esp + 0x26]
shl edi, 8
add edi, ecx
movzx edx, al
shl edi, 8
add edi, edx
push 4
lea ecx, [esp + 0x28]
movzx eax, ah
push ecx
shl edi, 8
push esi
add edi, eax
call fcn.004c3570
push 4
lea edx, [esp + 0x34]
push edx
push esi
call fcn.004c37a0
mov ecx, dword [esp + 0x3c]
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
mov cx, word [esp + 0x3e]
shl eax, 8
movzx edx, cl
add eax, edx
movzx ecx, ch
shl eax, 8
add esp, 0x30
add eax, ecx
cmp edi, 0x13880
ja 0x4d1542
cmp eax, 0x13880
ja 0x4d1542
lea edx, [eax + edi]
cmp edx, 0x186a0
ja 0x4d1542
mov dword [esp + 0x20], eax
push 4
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x30], edi
call fcn.004cf830
lea ecx, [esp + 0x18]
push ecx
call fcn.004cf800
push 4
lea edx, [esp + 0x20]
push edx
push esi
mov edi, eax
call fcn.004cf830
lea eax, [esp + 0x28]
push eax
call fcn.004cf800
add esp, 0x20
cmp edi, 0x13880
ja 0x4d1525
cmp eax, 0x13880
ja 0x4d1525
lea ecx, [eax + edi]
cmp ecx, 0x186a0
ja 0x4d1525
push 4
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
call fcn.004cf830
lea eax, [esp + 0x18]
push eax
call fcn.004cf800
push 4
lea ecx, [esp + 0x20]
push ecx
push esi
mov edi, eax
call fcn.004cf830
lea edx, [esp + 0x28]
push edx
call fcn.004cf800
add esp, 0x20
cmp edi, 0x13880
ja 0x4d1508
cmp eax, 0x13880
ja 0x4d1508
lea ecx, [eax + edi]
cmp ecx, 0x186a0
ja 0x4d1508
push 4
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
call fcn.004cf830
lea eax, [esp + 0x18]
push eax
call fcn.004cf800
push 4
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
push esi
mov dword [esp + 0x48], edi
call fcn.004cf830
lea edx, [esp + 0x28]
push edx
call fcn.004cf800
add esp, 0x20
cmp edi, 0x13880
mov ebx, eax
mov dword [esp + 0x28], ebx
ja 0x4d14eb
cmp ebx, 0x13880
ja 0x4d14eb
lea eax, [ebx + edi]
cmp eax, 0x186a0
ja 0x4d14eb
fild dword [esp + 0x24]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
test ch, 8
fmul dword [0x56c0ac]
fstp dword [esp + 0x44]
fild dword [esp + 0x20]
fmul dword [0x56c0ac]
fstp dword [esp + 0x40]
fild dword [esp + 0x1c]
fmul dword [0x56c0ac]
fstp dword [esp + 0x3c]
fild dword [esp + 0x18]
fmul dword [0x56c0ac]
fstp dword [esp + 0x38]
fild dword [esp + 0x14]
fmul dword [0x56c0ac]
fstp dword [esp + 0x34]
fild dword [esp + 0x10]
fmul dword [0x56c0ac]
fstp dword [esp + 0x30]
fild dword [esp + 0x2c]
fmul dword [0x56c0ac]
fstp dword [esp + 0x2c]
fild dword [esp + 0x28]
fmul dword [0x56c0ac]
fstp dword [esp + 0x28]
je 0x4d145a
mov eax, dword [esp + 0x24]
add eax, 0xffff85da
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x4d13d9
mov eax, dword [esp + 0x20]
add eax, 0xffff7f7c
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x4d13d9
mov eax, dword [esp + 0x1c]
add eax, 0xffff0600
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x4d13d9
mov eax, dword [esp + 0x18]
add eax, 0xffff7f18
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x4d13d9
mov eax, dword [esp + 0x14]
add eax, 0xffff8ad0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x4d13d9
mov eax, dword [esp + 0x10]
add eax, 0xffff15a0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x4d13d9
lea eax, [edi - 0x3a98]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jg 0x4d13d9
lea eax, [ebx - 0x1770]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jle 0x4d1448
push 0x56c2c4
push esi
call fcn.004cf730
fld dword [esp + 0x40]
fstp qword [esp]
sub esp, 0x18
fld dword [esp + 0x5c]
fstp qword [esp + 0x10]
fld dword [esp + 0x60]
fstp qword [esp + 8]
fld dword [esp + 0x64]
fstp qword [esp]
push 0x56c2a8
push 0x58f440
call fcn.004f7659
fld dword [esp + 0x50]
fstp qword [esp + 0x20]
add esp, 8
fld dword [esp + 0x4c]
fstp qword [esp + 0x10]
fld dword [esp + 0x50]
fstp qword [esp + 8]
fld dword [esp + 0x54]
fstp qword [esp]
push 0x56c28c
push 0x58f440
call fcn.004f7659
add esp, 0x28
push 0
push esi
call fcn.004d08e0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [esp + 0x28]
sub esp, 0x40
fstp qword [esp + 0x38]
fld dword [esp + 0x6c]
fstp qword [esp + 0x30]
fld dword [esp + 0x70]
fstp qword [esp + 0x28]
fld dword [esp + 0x74]
fstp qword [esp + 0x20]
fld dword [esp + 0x78]
fstp qword [esp + 0x18]
fld dword [esp + 0x7c]
fstp qword [esp + 0x10]
fld dword [esp + 0x80]
fstp qword [esp + 8]
fld dword [esp + 0x84]
fstp qword [esp]
push eax
push esi
call fcn.004c4e70
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
push ebx
push edi
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
push esi
call fcn.004c5130
add esp, 0x70
push 0
push esi
call fcn.004d08e0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x56c274
push esi
call fcn.004cf730
push 0
push esi
call fcn.004d08e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x56c258
push esi
call fcn.004cf730
push 8
push esi
call fcn.004d08e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x56c240
push esi
call fcn.004cf730
push 0x10
push esi
call fcn.004d08e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x56c224
push esi
call fcn.004cf730
push 0x18
push esi
call fcn.004d08e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret