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

Disassembly:
mov ecx, dword [0x7c3e14]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d4e0b
sub esp, 0x64
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.004d4150
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x4d4a0a
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4d490d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov ecx, eax
and eax, 0x1f
nop
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x54], ebx
cmp eax, 0x11
je 0x4d4751
cmp eax, 0x14
je 0x4d475c
cmp eax, 0x17
jne 0x4d4784
mov dword [esp + 0x44], eax
xor ebp, ebp
jmp 0x4d4a90
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0048e140
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4d4872
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
test ecx, ecx
je 0x4d4798
test ecx, 0x200
jne 0x4d4798
lea eax, [0x65b040]
jmp 0x4d47b0
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], eax
lea ecx, [0x5f4ee0]
mov dword [esp], ecx
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x60a794]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x4d47f0
mov ecx, dword [esp + 0x48]
jmp 0x4d47fb
call fcn.00468400
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x4d4856
mov dword [esp], ecx
lea edx, [0x659928]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004d3a90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x3c], eax
mov eax, dword [0x7c3fa0]
test eax, eax
je 0x4d4851
call fcn.00468410
mov dword [edi], ecx
mov eax, dword [edx + 0x40]
mov dword [edi + 4], eax
mov dword [edx + 0x40], ecx
mov ecx, edx
mov dword [esp], ecx
call fcn.004d3ba0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004d9610
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409ce0
mov eax, dword [esp + 0xc]
lea ecx, [0x5d7c20]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x4d48cb
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4d48d1
or edx, 0x80
jmp 0x4d48d1
xor edx, edx
xor ecx, ecx
xor eax, eax
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.0048e460
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4d4928
test eax, 0x200
jne 0x4d4928
lea eax, [0x65b040]
mov ecx, dword [esp + 0x6c]
jmp 0x4d4948
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], eax
lea edx, [0x5f4ee0]
mov dword [esp], edx
call fcn.0040c420
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x60a794]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x7c3fa0]
test ecx, ecx
jne 0x4d4988
mov ecx, dword [esp + 0x4c]
jmp 0x4d4993
call fcn.00468400
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x10], edx
sar edx, 0x1f
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x3c]
test edx, edx
jne 0x4d49ee
mov dword [esp], ecx
lea edx, [0x659928]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004d3a90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov dword [edx + 0x3c], eax
mov eax, dword [0x7c3fa0]
test eax, eax
je 0x4d49e9
call fcn.00468410
mov dword [edi], ecx
mov eax, dword [edx + 0x40]
mov dword [edi + 4], eax
mov dword [edx + 0x40], ecx
mov ecx, edx
mov dword [esp], ecx
call fcn.004d3ba0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], ecx
nop
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
call fcn.004d3ba0
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jb 0x4d4a89
mov ebx, dword [esp + 0x40]
lea ebp, [ebx - 1]
cmp ecx, ebp
jb 0x4d4a82
mov esi, dword [esp + 0x34]
mov esi, dword [esi + 0x10]
mov eax, dword [eax]
mov edi, dword [esp + 0x50]
mov dword [esp], edi
sub edx, ebx
sub ecx, ebx
inc edx
mov ebx, edx
neg edx
inc ecx
sar edx, 0x1f
and ebp, edx
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x64
ret
mov eax, ebp
call fcn.004684c0
call fcn.004684a0
mov ebp, edx
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004d3cc0
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x10], 8
je 0x4d4c50
mov ecx, dword [esp + 0x44]
cmp ecx, 0x17
jne 0x4d4b3e
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
cmp dword [ebx + 8], edx
jg 0x4d4afc
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.0048f810
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
cmp dword [ebx + 4], edx
jle 0x4d4b06
cmp ecx, 0x17
jmp 0x4d4b46
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
lea ebp, [edx + 1]
mov dword [esp + 0xc], ebp
call fcn.0048ea90
mov eax, dword [esp + 0x44]
cmp eax, 0x17
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
jmp 0x4d4b46
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
jne 0x4d4b4d
mov ebp, dword [ebx + 4]
jmp 0x4d4b79
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0048d6c0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
cmp edx, ebp
jge 0x4d4bc7
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0048cb40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004d3ed0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d4bef
jmp 0x4d4c28
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004d3ed0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4d4c3c
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x10], 9
jne 0x4d4c0d
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.004d3cc0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x38]
inc edx
cmp ecx, 8
je 0x4d4c54
cmp ecx, 7
je 0x4d4a8e
jmp 0x4d4df2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x64
ret
mov edx, dword [esp + 0x38]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x44]
cmp eax, 0x17
jne 0x4d4c6a
mov ecx, dword [esp + 0x54]
mov ebx, dword [ecx + 4]
jmp 0x4d4c96
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
call fcn.0048d6c0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
cmp edx, ebx
jge 0x4d4cc8
cmp eax, 0x11
je 0x4d4dca
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0048ea90
mov eax, dword [esp + 0x38]
jmp 0x4d4d74
test edx, edx
jne 0x4d4d60
cmp eax, 0x17
jne 0x4d4d60
mov eax, dword [esp + 0x3c]
test eax, 0x200
jne 0x4d4cf0
lea edx, [0x65b040]
mov ebx, dword [esp + 0x58]
jmp 0x4d4d10
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0048f510
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, edx
mov edx, eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0048fcc0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0048e460
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x64
ret
mov ecx, dword [esp + 0x54]
mov edx, eax
mov eax, dword [esp + 0x44]
jmp 0x4d4cc8
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0048cb40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0048d340
mov eax, dword [esp + 0x38]
lea edx, [eax + 1]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
call fcn.0048d6c0
mov eax, dword [esp + 0x38]
cmp dword [esp + 0xc], eax
jg 0x4d4d83
jmp 0x4d4d74
lea eax, [0x5dda40]
mov dword [esp], eax
lea eax, [0x6590d4]
mov dword [esp + 4], eax
call fcn.004382f0
nop
call fcn.00467000
jmp fcn.004d46d0