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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x168
lea eax, [esp + 0x30]
lea ecx, [esp + 0x32]
lea esi, [esp + 0x84]
lea edx, [esp + 0x38]
push eax
push ecx
push esi
push dword [ebp + 0x10]
push edx
call fcn.0050a630
add esp, 0x14
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x5c], 0x43e780
mov dword [esp + 0x60], 0x540568
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], esp
mov dword [esp + 0x68], 0x4d77e9
mov dword [esp + 0x48], 1
lea eax, [esp + 0x44]
push eax
call fcn.0043f740
add esp, 4
lea ecx, [esp + 0x18]
push 0
push 0xa
call fcn.004e8710
fldz
fstp st(0)
test byte [esp + 0x18], 1
lea eax, [esp + 0x19]
je 0x4d73ee
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x34], 0
mov byte [esp + 0xb], 1
mov byte [esp + 0x17], 0x45
mov dword [esp + 0x28], eax
lea eax, [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], eax
jmp 0x4d7436
add eax, 2
mov dword [ecx + 0xc], eax
fldz
fstp st(0)
mov ecx, dword [esp + 0xc]
mov dl, 1
test ecx, ecx
je 0x4d7460
mov eax, dword [ecx + 0xc]
mov edi, dword [esp + 4]
cmp eax, dword [ecx + 0x10]
je 0x4d7470
movzx eax, word [eax]
jmp 0x4d748f
mov edi, dword [esp + 4]
jmp 0x4d74ac
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 2
call eax
fldz
fstp st(0)
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 4]
xor edx, edx
cmp ax, 0xffff
jne 0x4d74ac
lea eax, [ebp + 8]
xor ecx, ecx
mov dl, 1
mov dword [esp + 0x24], 0
mov dword [eax], 0
lea eax, [ebp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x4d7516
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4d74e0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4d750d
test dl, dl
jne 0x4d7520
jmp 0x4d7664
mov eax, dword [ecx]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 3
mov dword [esp + 0x10], ecx
call eax
fldz
fstp st(0)
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov edx, dword [esp + 0x78]
cmp ax, 0xffff
jne 0x4d74ca
lea eax, [ebp + 0xc]
mov dword [eax], 0
xor ecx, ecx
test dl, dl
jne 0x4d7664
movzx eax, byte [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, eax
mov edx, esi
shr ecx, 1
test al, 1
cmove edx, ecx
add edx, edi
cmp dword [esp + 0x2c], edx
jne 0x4d75a9
test al, 1
cmove esi, ecx
mov dword [esp + 4], esi
lea eax, [esi + esi]
mov dword [esp + 0x48], 4
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.004e8710
fldz
fstp st(0)
test byte [esp + 0x18], 1
mov eax, 0xa
je 0x4d7578
mov eax, dword [esp + 0x18]
and eax, 0xfffffffe
dec eax
mov dword [esp + 0x48], 5
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.004e8710
fldz
fstp st(0)
test byte [esp + 0x18], 1
lea edi, [esp + 0x19]
je 0x4d759f
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 4]
add eax, edi
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], edi
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4d75c0
movzx eax, word [eax]
jmp 0x4d75db
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 6
call eax
fldz
fstp st(0)
mov edi, dword [esp + 4]
movzx ecx, word [esp + 0x32]
movzx edx, word [esp + 0x30]
mov dword [esp + 0x48], 7
movzx eax, ax
lea esi, [esp + 0x84]
push esi
lea esi, [esp + 0x38]
push esi
lea esi, [esp + 0x30]
push esi
lea esi, [esp + 0xd0]
push esi
lea esi, [esp + 0x48]
push esi
push edx
push ecx
lea ecx, [esp + 0x48]
push ecx
push edi
lea ecx, [esp + 0x3b]
push ecx
lea ecx, [esp + 0x33]
push ecx
push eax
call fcn.0050a2b0
add esp, 0x30
fldz
test eax, eax
fstp st(0)
jne 0x4d765c
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
jne 0x4d7430
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x48], 8
call eax
fldz
jmp 0x4d7438
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 4]
movzx eax, byte [esp + 0x38]
mov dword [esp + 0x10], ecx
test al, 1
je 0x4d76a6
mov eax, dword [esp + 0x3c]
cmp byte [esp + 0xb], 0
je 0x4d76af
test eax, eax
je 0x4d76af
mov eax, dword [esp + 0x28]
lea edx, [esp + 0xc4]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x9f
jg 0x4d76af
mov ecx, dword [esp + 0x34]
lea edx, [eax + 4]
mov dword [esp + 0x28], edx
mov dword [eax], ecx
jmp 0x4d76af
shr eax, 1
cmp byte [esp + 0xb], 0
jne 0x4d767c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], 9
push dword [ebp + 0x14]
push eax
push edi
call fcn.004f91b0
add esp, 0xc
mov eax, dword [ebp + 0x18]
fstp xword [eax]
push dword [ebp + 0x14]
push dword [esp + 0x2c]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004132c0
add esp, 0x10
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4d7702
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esi + 0x10]
je 0x4d7713
movzx eax, word [eax]
jmp 0x4d7734
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dl, 1
test ecx, ecx
jne 0x4d7740
jmp 0x4d77a0
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 0xa
mov ecx, esi
call eax
fldz
fstp st(0)
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
cmp ax, 0xffff
je 0x4d775f
test ecx, ecx
je 0x4d77a0
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xc], esi
cmp eax, dword [ecx + 0x10]
je 0x4d7772
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4d7793
mov esi, dword [esp + 0xc]
test dl, dl
je 0x4d77a4
jmp 0x4d77aa
lea eax, [ebp + 8]
xor esi, esi
mov dl, 1
mov dword [eax], 0
test ecx, ecx
jne 0x4d7740
jmp 0x4d77a0
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], 0xb
call eax
fldz
fstp st(0)
mov edx, dword [esp + 4]
cmp ax, 0xffff
jne 0x4d7755
mov esi, dword [esp + 0xc]
lea eax, [ebp + 0xc]
mov dword [eax], 0
test dl, dl
je 0x4d77aa
mov eax, dword [ebp + 0x14]
or byte [eax], 2
test byte [esp + 0x18], 1
je 0x4d77bd
push dword [esp + 0x20]
call fcn.0040bd10
add esp, 4
test byte [esp + 0x38], 1
je 0x4d77d0
push dword [esp + 0x40]
call fcn.0040bd10
add esp, 4
lea eax, [esp + 0x44]
push eax
call fcn.0043f7a0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14