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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x4d6980
sub esp, 0xd0
mov eax, 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov byte [esp + 0x26], 0
nop
mov eax, dword [esp + 0xe4]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x4c], eax
cmp eax, 0x14
ja 0x4d6735
lea edx, [eax - 0x12]
cmp edx, 1
ja 0x4d6716
test ecx, 0x200
jne 0x4d670a
test ecx, 0x80
je 0x4d66fc
mov eax, dword [esp + 0xe0]
mov edx, dword [eax]
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x4d61a3
mov eax, dword [esp + 0xd8]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x5eb7d3]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004ca7d0
add esp, 0xd0
ret
mov edx, dword [esp + 0xd8]
mov ebx, dword [edx + 0x54]
inc ebx
mov dword [edx + 0x54], ebx
cmp ebx, 0x3e8
ja 0x4d64ff
xor ebx, ebx
mov byte [esp + 0x27], bl
mov dword [esp], edx
mov byte [esp + 4], 0x7b
call fcn.004cac50
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xe4]
mov dword [esp + 8], edx
call fcn.00486c40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
lea edx, [0x5c9920]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00444f30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jg 0x4d6450
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004091c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x4decb0]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
lea ebx, [0x5b67a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
call fcn.0048d910
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4d63da
xor ecx, ecx
mov edx, dword [esp + 0x70]
jmp 0x4d62d7
mov ebx, dword [esp + 0x6c]
lea edx, [ebx + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], edx
lea edi, [esp + 0xac]
mov esi, edx
call fcn.0045e6de
mov ecx, dword [esp + 0x34]
test ecx, ecx
jg 0x4d6437
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
movzx eax, byte [esp + 0xe9]
mov byte [esp + 0xc], al
call fcn.004d7f60
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov byte [esp + 4], 0x3a
call fcn.004cac50
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xdc]
mov dword [esp], ebx
mov ebp, dword [esp + 0xe0]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xe4]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00486a50
mov edx, dword [esp + 0xd4]
mov eax, dword [edx]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0xd8]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
movzx ecx, byte [esp + 0xe8]
mov byte [esp + 0x10], cl
movzx ebx, byte [esp + 0xe9]
mov byte [esp + 0x11], bl
call eax
mov eax, dword [esp + 0x34]
inc eax
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x4d62ca
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.004cac50
mov eax, dword [esp + 0xd8]
dec dword [eax + 0x54]
movzx eax, byte [esp + 0x27]
test al, 1
jne 0x4d6409
add esp, 0xd0
ret
and eax, 0xfffffffe
mov byte [esp + 0x26], al
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xcc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004df0e0
jmp 0x4d6402
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov byte [esp + 4], 0x2c
call fcn.004cac50
jmp 0x4d62f9
mov edx, dword [esp + 0x50]
xor ebx, ebx
jmp 0x4d646b
mov ebp, dword [esp + 0x68]
add ebp, 0xc
mov eax, dword [esp + 0x70]
mov edx, ebp
mov ebx, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x68], edx
mov ebp, dword [edx + 4]
mov dword [esp + 0x64], ebp
mov esi, dword [edx + 8]
mov dword [esp + 0x4c], esi
mov edx, dword [edx]
mov dword [esp + 0x60], edx
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], esi
lea esi, [eax + ecx*4]
mov dword [esp + 0x6c], esi
mov ebx, dword [0x770e60]
lea esi, [eax + ecx*4]
mov dword [esp + 0x5c], esi
lea esi, [eax + ecx*4 + 4]
test ebx, ebx
jne 0x4d64e9
mov dword [eax + ecx*4], edx
mov dword [eax + ecx*4 + 4], ebp
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004d7c80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4d67d3
mov ecx, dword [esp + 0x30]
inc ecx
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jg 0x4d6458
mov eax, dword [esp + 0x70]
mov ecx, edx
jmp 0x4d622f
mov edi, dword [esp + 0x5c]
mov eax, edx
call fcn.0045df70
mov edi, esi
mov eax, ebp
call fcn.0045df70
jmp 0x4d64b1
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00487440
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
lea ecx, [0x5becc0]
mov dword [esp + 0x84], ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0xd8]
mov ebx, dword [edx + 0x58]
lea ebp, [0x5bfac0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x84]
mov dword [esp + 8], ebx
call fcn.0040c9b0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4d665e
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xe4]
mov dword [esp + 8], edx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
test eax, eax
je 0x4d65b5
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
lea eax, [0x5f3ac1]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c09b0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
lea edx, [0x5c9860]
mov dword [esp], edx
call fcn.0040b8e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xe4]
mov dword [edi + 8], eax
mov eax, dword [0x770e60]
test eax, eax
jne 0x4d6751
mov ecx, dword [esp + 0xdc]
mov dword [edi], ecx
mov ecx, dword [esp + 0xe0]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x4d6779
mov eax, dword [esp + 0x58]
mov dword [edi + 0xc], eax
mov edx, edi
jmp 0x4d678b
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00409030
mov eax, dword [esp + 4]
lea ecx, [0x5becc0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xd8]
mov edx, dword [eax + 0x58]
lea ebx, [0x5bfac0]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x84]
mov dword [esp + 8], edx
call fcn.0040cd70
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0xd8]
mov eax, dword [edx + 0x58]
lea ecx, [0x601cec]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], eax
lea eax, [0x5becc0]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xcc], eax
mov byte [esp + 0x26], 1
mov ebx, 1
jmp 0x4d61bf
mov eax, dword [esp + 0xe0]
mov edx, eax
jmp 0x4d616d
mov eax, dword [esp + 0xe0]
jmp 0x4d61a3
cmp eax, 0x14
jne 0x4d6939
mov eax, dword [esp + 0xe0]
mov ebx, dword [eax]
test ebx, ebx
setne dl
xor edx, 1
jmp 0x4d6175
cmp eax, 0x16
jbe 0x4d614c
cmp eax, 0x17
je 0x4d671f
cmp eax, 0x1a
je 0x4d614c
jmp 0x4d6939
mov eax, dword [esp + 0xdc]
call fcn.0045df70
lea ecx, [edi + 4]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0xe0]
call fcn.0045df70
mov edi, edx
jmp 0x4d663b
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x58]
call fcn.0045df70
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x639f40]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
lea eax, [0x5cc0e0]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00408f50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00431a00
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.00488490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x38]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
lea eax, [0x5f7ba1]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bdd90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x5cc0e0]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00408f50
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00431a00
lea eax, [0x5ca5e0]
mov dword [esp], eax
call fcn.0040b8e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x5f065f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [0x5c2de0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431a00
nop
call fcn.00430c90
add esp, 0xd0
ret
call fcn.0045ca10
jmp fcn.004d60e0