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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6562b0
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
push 0x80
lea ecx, [esp + 0x48]
call fcn.005029b0
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
call fcn.00525260
mov ecx, dword [edi + 0x38]
push 0x14
push ecx
push 0
push 0
mov eax, ebx
call fcn.005252f0
mov edx, dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
push 0x14
push edx
sub eax, 0x14
push eax
push 0
mov eax, ebx
call fcn.005252f0
mov ecx, dword [edi + 0x3c]
push ecx
push 0x14
push 0
push 0
mov eax, ebx
call fcn.005252f0
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
push edx
push 0x14
sub eax, 0x14
push 0
push eax
mov eax, ebx
call fcn.005252f0
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x38]
add eax, 8
add ecx, 4
mov dword [esp + 0x30], eax
mov eax, dword [0x6b8660]
push ebx
lea esi, [esp + 0x28]
mov dword [esp + 0x28], 0xfffffffe
mov dword [esp + 0x2c], 0xfffffffc
mov dword [esp + 0x30], ecx
call fcn.00526d10
mov eax, dword [edi + 0x90]
cmp byte [eax + 0x54], 0
je 0x4d14dd
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
mov eax, dword [0x6b87e0]
sub ecx, 0x14
push ecx
sub edx, 0x20
push edx
push eax
mov ecx, ebx
call fcn.00525c50
xor esi, esi
cmp dword [edi + 0x98], esi
je 0x4d19ba
push 0xddddff
lea ecx, [esp + 0x48]
call fcn.005029b0
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call fcn.00525260
lea eax, [esi + 0x43]
call fcn.00425570
mov ecx, eax
mov eax, ebx
call fcn.00525250
mov eax, dword [edi + 0x9c]
cmp eax, esi
mov dword [esp + 0x64], 0x678df8
mov dword [esp + 0x68], 0x678dfc
mov dword [esp + 0x6c], str.Three
mov dword [esp + 0x70], str.Four
mov dword [esp + 0x74], str.Five
mov dword [esp + 0x78], 0x678e18
mov dword [esp + 0x7c], str.Seven
mov dword [esp + 0x80], str.Eight
mov dword [esp + 0x84], str.Nine
mov dword [esp + 0x88], 0x678e34
mov dword [esp + 0x8c], str.Eleven
mov dword [esp + 0x90], str.Twelve
jl 0x4d15b4
cmp eax, 0xb
jg 0x4d15b4
mov edx, dword [esp + eax*4 + 0x64]
push edx
lea eax, [esp + 0x68]
push str.Stage__s
push eax
call fcn.004e7a20
add esp, 0xc
mov dword [esp + 0xc0], esi
jmp 0x4d15d5
add eax, 1
push eax
lea ecx, [esp + 0x68]
push str.Stage__d
push ecx
call fcn.004e7a20
add esp, 0xc
mov dword [esp + 0xc0], 1
mov edx, dword [edi]
mov edx, dword [edx + 0xf8]
push eax
push 0x2d
push ebx
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call edx
mov dword [esp + 0xc0], 0xffffffff
cmp dword [esp + 0x7c], 0x10
jb 0x4d1609
mov eax, dword [esp + 0x68]
push eax
call fcn.0062493b
add esp, 4
mov ecx, dword [0x6b85a4]
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x30], esi
mov esi, eax
lea edx, [ecx + 0x5a]
sub esi, edx
mov dword [esp + 0x24], edx
mov edx, eax
sub edx, ecx
add eax, 0xffffff60
add edx, 0x18
sub esi, 0x50
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x3c], edx
mov edx, dword [edi + 0xb4]
mov dword [esp + 0x2c], esi
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x98]
shl edx, 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], esi
lea esi, [edx + eax + 8]
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x28], 0x82
mov dword [esp + 0x34], 0x50
mov dword [esp + 0x38], 0x14f
mov dword [esp + 0x44], 0x50
mov dword [esp + 0x48], 0x3a
je 0x4d16f3
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 5
je 0x4d16f3
test eax, eax
je 0x4d16b1
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 5
jne 0x4d16b6
call fcn.0062492b
mov eax, dword [esi + 4]
cmp dword [eax + 0x1c], 0
jl 0x4d16f3
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0x98]
shl ecx, 4
mov eax, dword [ecx + edx + 0xc]
test eax, eax
lea esi, [ecx + edx + 8]
je 0x4d16e4
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 5
jne 0x4d16e9
call fcn.0062492b
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0x98]
shl ecx, 4
mov eax, dword [ecx + edx + 0x1c]
test eax, eax
lea esi, [ecx + edx + 0x18]
je 0x4d1768
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 5
je 0x4d1768
test eax, eax
je 0x4d1726
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 5
jne 0x4d172b
call fcn.0062492b
mov eax, dword [esi + 4]
cmp dword [eax + 0x1c], 0
jl 0x4d1768
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0x98]
shl ecx, 4
mov eax, dword [ecx + edx + 0x1c]
test eax, eax
lea esi, [ecx + edx + 0x18]
je 0x4d1759
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 5
jne 0x4d175e
call fcn.0062492b
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x18], eax
mov eax, 0xa
cmp dword [esp + 0x14], eax
jle 0x4d1777
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], eax
jle 0x4d1781
mov dword [esp + 0x18], eax
xor esi, esi
mov dword [esp + 0x1c], esi
jmp 0x4d1794
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x10c]
cmp esi, ecx
jge 0x4d18d3
mov eax, dword [edi + 0x108]
test eax, eax
mov dword [esp + 0x10], 0xff
jle 0x4d17d8
add ecx, 0xffffffff
cmp esi, ecx
jne 0x4d17d8
imul eax, eax, 0xff
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x10], ecx
mov cl, 1
mov eax, ebx
call fcn.005252b0
fild dword [esp + 0x10]
fmul qword [0x686830]
call fcn.0062a660
push eax
xor ecx, ecx
lea eax, [esp + 0x68]
call fcn.005029f0
push eax
mov ecx, ebx
call fcn.00525260
test esi, esi
lea eax, [esp + 0x24]
je 0x4d1810
lea eax, [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
sub ecx, 0xa
add eax, 0x14
sub edx, 0xa
cmp esi, 1
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
mov dword [esp + 0xa0], 0xbe
jne 0x4d1851
mov dword [esp + 0xa0], 0xaa
mov eax, dword [0x6b863c]
push ebx
lea esi, [esp + 0x98]
call fcn.00526d10
xor cl, cl
mov eax, ebx
call fcn.005252b0
push 0xffffffffffffffff
lea ecx, [esp + 0xa8]
call fcn.005029b0
lea edx, [esp + 0xa4]
push edx
mov ecx, ebx
call fcn.00525260
mov eax, 0xb
cmp dword [edi + 0x9c], eax
je 0x4d189a
mov eax, dword [esp + 0x14]
mov edi, ebx
call fcn.004d0ff0
push 0xffffffffffffffff
lea ecx, [esp + 0x58]
call fcn.005029b0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x54]
push eax
call fcn.00525260
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add eax, 1
cmp eax, 2
mov dword [esp + 0x1c], eax
mov ebx, ecx
jl 0x4d1790
mov ecx, dword [0x6b8988]
mov eax, ebx
call fcn.00525250
mov eax, dword [esp + 0x14]
mov dword [edi + 0xf8], 0
call fcn.004d1360
push eax
lea ecx, [esp + 0x58]
call fcn.005029b0
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.00525260
mov edx, dword [edi + 0xb4]
mov eax, dword [edi + 0x98]
mov ecx, dword [ebp + 8]
shl edx, 4
lea ebx, [edx + eax + 0x18]
push ecx
lea eax, [esp + 0x28]
call fcn.004d1060
mov eax, dword [esp + 0x18]
sub dword [esp + 0x3c], 0x14
mov dword [esp + 0x34], 0x5a
call fcn.004d1360
push eax
lea ecx, [esp + 0x58]
call fcn.005029b0
mov esi, dword [ebp + 8]
lea edx, [esp + 0x54]
push edx
mov ecx, esi
call fcn.00525260
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0xb4]
mov ecx, dword [edi + 0x98]
shl eax, 4
lea ebx, [eax + ecx + 0x28]
push esi
lea eax, [esp + 0x38]
call fcn.004d1060
mov ecx, dword [0x6b873c]
mov eax, esi
call fcn.00525250
mov edi, dword [edi + 0x98]
mov eax, dword [edi + 0xc]
add edi, 8
test eax, eax
je 0x4d19a0
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 5
jne 0x4d19a5
call fcn.0062492b
mov ecx, dword [edi + 4]
push 0xffffffffffffffff
push 0
push 0x1e
lea eax, [esp + 0x50]
push eax
mov edx, esi
call fcn.005277c0
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4