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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4d5cd3
sub esp, 0xa0
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea eax, [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004c5e20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c61a0
mov byte [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004c5e20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c61a0
lea eax, [0x5ea380]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.004c5be0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d5cb8
xor ecx, ecx
mov dword [esp + 0x40], eax
cmp ecx, 0xffffffff
je 0x4d5c9a
mov byte [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.004c59a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c5e20
nop
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x4d56b1
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
cmp ebp, edx
jg 0x4d5c10
mov edi, ebp
cmp edi, ebp
jge 0x4d5c09
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], edx
cmp esi, ebx
je 0x4d5681
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045e7b0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x4d5bf8
mov eax, dword [esp + 0x38]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax]
mov byte [edx], cl
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.004ceb60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x4d5beb
mov dword [ebx + 4], eax
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.004c59a0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.004c5e20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
lea ecx, [0x5ea380]
mov dword [esp], ecx
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004c5e20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov byte [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0xc]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 3
call fcn.004ceb60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x54]
movzx ecx, byte [eax]
mov byte [esp + 0x60], cl
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
lea ebx, [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004c61a0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.004c5be0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d5bd0
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x4d5bae
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c61a0
lea eax, [0x5ea380]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.004c59a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004c5e20
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
call fcn.004c5be0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d5b93
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x4d5b71
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.004c5be0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d5b56
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x4d5b34
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c61a0
nop
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 2
call fcn.004ceb60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x4d5b27
mov dword [ebx + 4], eax
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call fcn.004c5be0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d5b0c
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x4d5aea
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004c5e20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004c5e20
nop
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 3
call fcn.004ceb60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x4d5add
mov dword [ebx + 4], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004c61a0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
call fcn.004c5be0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d5ac8
xor ecx, ecx
cmp ecx, 0xffffffff
je 0x4d5aa9
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c61a0
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xbc], eax
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c59a0
mov eax, dword [esp + 0x48]
jmp 0x4d5a68
movzx ecx, byte [eax]
test cl, cl
je 0x4d5ad6
mov ecx, 0xffffffff
jmp 0x4d5a63
mov ecx, 1
jmp 0x4d5a63
lea edi, [ebx + 4]
call fcn.0045de10
jmp 0x4d5a25
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c59a0
mov eax, dword [esp + 0x54]
jmp 0x4d599c
movzx ecx, byte [eax]
test cl, cl
je 0x4d5b1d
mov ecx, 0xffffffff
jmp 0x4d5993
mov ecx, 1
jmp 0x4d5993
lea edi, [ebx + 4]
call fcn.0045de10
jmp 0x4d596e
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c59a0
mov eax, dword [esp + 0x58]
jmp 0x4d58fc
movzx ecx, byte [eax]
test cl, cl
je 0x4d5b67
mov ecx, 0xffffffff
jmp 0x4d58f3
mov ecx, 1
jmp 0x4d58f3
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c59a0
mov eax, dword [esp + 0x58]
jmp 0x4d58ce
movzx ecx, byte [eax]
test cl, cl
je 0x4d5ba4
mov ecx, 0xffffffff
jmp 0x4d58c5
mov ecx, 1
jmp 0x4d58c5
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c59a0
mov eax, dword [esp + 0x50]
jmp 0x4d583b
movzx ecx, byte [eax]
test cl, cl
je 0x4d5be1
mov ecx, 0xffffffff
jmp 0x4d5832
mov ecx, 1
jmp 0x4d5832
lea edi, [ebx + 4]
call fcn.0045de10
jmp 0x4d5706
lea edi, [edx + 4]
mov eax, dword [esp + 0x38]
call fcn.0045de10
jmp 0x4d56a8
mov edi, ebp
jmp 0x4d565e
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x4c], esi
cmp ebp, 1
jne 0x4d5c5e
lea eax, [0x5dabc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004450a0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x2c]
mov ebp, 1
mov edx, 1
jmp 0x4d5656
lea eax, [0x5dabc0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 8], eax
call fcn.004450a0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x2c]
mov ebp, edi
mov edx, dword [esp + 0x34]
jmp 0x4d5656
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c59a0
jmp 0x4d55db
movzx ecx, byte [eax]
test cl, cl
je 0x4d5cc9
mov ecx, 0xffffffff
jmp 0x4d55ce
mov ecx, 1
jmp 0x4d55ce
call fcn.0045c8b0
jmp fcn.004d54a0