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

Disassembly:
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xdc]
lea eax, [esp + 0x1c]
mov ebx, 6
push eax
mov ecx, edi
mov dword [esp + 0x20], str.Domain
mov dword [esp + 0x24], ebx
call fcn.004979c0
mov ecx, dword [0x686834]
mov esi, eax
xor ebp, ebp
mov edx, ecx
cmp esi, ebp
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
je 0x4d77b9
push ebp
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x38]
push 1
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x2c]
push 2
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x34]
push 3
mov ecx, esi
call fcn.004972e0
fstp dword [esp + 0x30]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x90]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x24], str.Matrix
mov dword [esp + 0x28], ebx
call fcn.00497a80
mov edx, dword [0x686838]
mov dword [esp + 0x74], 0
mov eax, edx
mov ecx, edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x84], ecx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
call fcn.004aad40
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x7c]
call fcn.004aad40
lea edx, [esp + 0x78]
lea ecx, [esp + 0x60]
push edx
call fcn.004aae00
mov edi, dword [esp + 0xd4]
mov dword [esp + 0x28], ebp
mov esi, dword [edi + 8]
mov ebx, dword [edi + 4]
mov eax, dword [edi + 0x14]
cmp esi, ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1c], eax
jle 0x4d7a35
mov dword [esp + 0x18], ebp
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov edx, dword [esp + 0x18]
xor ebp, ebp
add eax, edx
mov dword [esp + 0x10], ebp
test ebx, ebx
jle 0x4d7a16
fild dword [esp + 0x28]
mov dword [esp + 0x24], eax
fstp dword [esp + 0x40]
fild dword [esp + 0x10]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
fstp dword [esp + 0x14]
push edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x1c], eax
call fcn.004aabd0
fld dword [esp + 0x10]
fcomp dword [esp + 0x38]
fnstsw ax
test ah, 1
jne 0x4d79fa
fld dword [esp + 0x10]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
je 0x4d79fa
fld dword [esp + 0x14]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 1
jne 0x4d79fa
fld dword [esp + 0x14]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x41
je 0x4d79fa
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xe4]
xor esi, esi
mov dword [esp + 0x5c], ecx
test eax, eax
jle 0x4d798c
mov edi, dword [esp + 0xe0]
mov ebx, eax
lea edx, [esp + 0x3c]
lea eax, [esp + esi*4 + 0xa8]
push edx
push eax
lea ecx, [esp + 0x60]
push 2
push ecx
mov ecx, dword [edi]
call fcn.004f1620
mov edx, dword [esp + 0x3c]
add edi, 4
add esi, edx
dec ebx
jne 0x4d795a
mov edi, dword [esp + 0xd4]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0xe8]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x54]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xb4]
push eax
call dword [edx + 4]
fld dword [esp + 0x54]
fmul dword [0x680e94]
call fcn.0046664c
mov ecx, dword [esp + 0xec]
mov esi, eax
fld dword [esp + 0x50]
fmul dword [0x680e94]
shl ecx, 8
or esi, ecx
shl esi, 8
call fcn.0046664c
fld dword [esp + 0x48]
fmul dword [0x680e94]
or esi, eax
shl esi, 8
call fcn.0046664c
mov edx, dword [esp + 0x24]
or esi, eax
mov dword [edx], esi
mov ecx, dword [esp + 0x24]
inc ebp
add ecx, 4
cmp ebp, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], ecx
jl 0x4d78c5
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
add edx, ecx
cmp eax, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
jl 0x4d789e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret