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

Disassembly:
push 0xffffffffffffffff
push 0x523e5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov eax, dword [0x561be8]
push ebx
push ebp
push esi
mov ebp, 0xf
xor esi, esi
mov dword [esp + 0xc0], eax
push edi
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], esi
mov byte [esp + 0xac], 0
mov edi, dword [esp + 0xd8]
mov eax, edi
mov dword [esp + 0xd0], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], esi
mov byte [esp + 0x58], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d5c28
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x5c]
call fcn.0040279a
mov ecx, dword [esp + 0xdc]
mov eax, ecx
mov dword [esp + 0x30], esi
mov byte [esp + 0xd0], 1
mov dword [esp + 0x34], ebp
mov byte [esp + 0x20], 0
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4d5c60
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0040279a
cmp dword [esp + 0x68], 2
mov byte [esp + 0xd0], 2
mov bl, 0x3a
mov esi, 0x10
jb 0x4d5d00
cmp dword [esp + 0x6c], esi
mov eax, dword [esp + 0x58]
jae 0x4d5c98
lea eax, [esp + 0x58]
cmp byte [eax + 1], bl
jne 0x4d5d00
cmp dword [esp + 0x34], esi
jb 0x4d5cb0
mov eax, dword [esp + 0x20]
push eax
call fcn.00507ed8
add esp, 4
mov eax, dword [esp + 0x6c]
xor ebx, ebx
cmp eax, esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
jb 0x4d5cd3
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00507ed8
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
jb 0x4d5cf9
mov edx, dword [esp + 0xac]
push edx
call fcn.00507ed8
add esp, 4
mov eax, edi
jmp 0x4d63e4
push 1
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x20], 0x2f
mov byte [esp + 0x1c], 0x5c
call fcn.004017d3
cmp eax, 0xffffffff
jne 0x4d5d3d
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0x5c
call fcn.004017d3
cmp eax, 0xffffffff
je 0x4d5d42
mov byte [esp + 0x14], 0x5c
mov ecx, dword [esp + 0x30]
cmp ecx, 2
jb 0x4d5dd9
cmp dword [esp + 0x34], esi
mov eax, dword [esp + 0x20]
jae 0x4d5d5d
lea eax, [esp + 0x20]
cmp byte [eax + 1], bl
jne 0x4d5dd9
push 2
push 0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x28]
call fcn.00404039
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0xdc], 3
call fcn.0040270b
cmp dword [esp + 0x50], esi
mov byte [esp + 0xd0], 2
jb 0x4d5da8
mov eax, dword [esp + 0x3c]
push eax
call fcn.00507ed8
add esp, 4
mov edx, dword [esp + 0x34]
cmp edx, esi
mov eax, dword [esp + 0x20]
mov ecx, eax
jae 0x4d5dba
lea ecx, [esp + 0x20]
add ecx, 2
cmp edx, esi
jae 0x4d5dc5
lea eax, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
call fcn.0044ab64
mov ecx, dword [esp + 0x30]
test ecx, ecx
jbe 0x4d5e17
mov edx, dword [esp + 0x34]
cmp edx, esi
mov eax, dword [esp + 0x20]
jae 0x4d5ded
lea eax, [esp + 0x20]
cmp byte [ecx + eax - 1], 0x5c
je 0x4d5e17
cmp edx, esi
mov eax, dword [esp + 0x20]
jae 0x4d5e00
lea eax, [esp + 0x20]
cmp byte [ecx + eax - 1], 0x2f
je 0x4d5e17
mov edx, dword [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x24]
call fcn.00403282
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], 0
mov byte [esp + 0x9c], 0
call fcn.0040270b
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0xd0], 4
je 0x4d620a
lea ebx, [ebx]
push 1
push 0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x1c], 0x5c
call fcn.004017d3
push 1
push 0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x98]
mov esi, eax
mov byte [esp + 0x1c], 0x2f
call fcn.004017d3
cmp esi, 0xffffffff
je 0x4d5ea4
cmp eax, 0xffffffff
je 0x4d5ea6
cmp eax, esi
jge 0x4d5ea6
mov esi, eax
cmp esi, 0xffffffff
je 0x4d620a
push esi
push 0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x98]
call fcn.00404039
mov eax, dword [esp + 0xa4]
cmp eax, 0x10
mov edi, dword [esp + 0x90]
mov byte [esp + 0xd0], 5
mov ecx, edi
jae 0x4d5ee7
lea ecx, [esp + 0x90]
cmp eax, 0x10
lea ecx, [ecx + esi + 1]
mov edx, edi
jae 0x4d5f03
lea edx, [esp + 0x90]
mov esi, edx
test edx, edx
jne 0x4d5f07
xor eax, eax
jmp 0x4d5f0b
mov esi, edi
jmp 0x4d5efb
mov eax, edx
sub eax, esi
test ecx, ecx
je 0x4d5f11
sub ecx, edx
push ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00401fca
mov edx, dword [esp + 0x84]
test edx, edx
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
je 0x4d60eb
cmp edx, 2
mov ecx, edx
jb 0x4d5f45
mov ecx, 2
cmp ebp, 0x10
mov esi, ebx
jae 0x4d5f50
lea esi, [esp + 0x74]
mov edi, 0x52cf08
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4d5f60
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4d60c6
cmp edx, 2
jb 0x4d60c6
cmp edx, 2
setne al
test eax, eax
jne 0x4d60c6
mov ecx, dword [esp + 0x30]
lea ebp, [ecx - 1]
test ebp, ebp
jle 0x4d5fbb
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x34]
cmp esi, 0x10
mov eax, edx
jae 0x4d5f9d
lea eax, [esp + 0x20]
cmp byte [eax + ebp - 1], 0x5c
je 0x4d5fbb
cmp esi, 0x10
mov eax, edx
jae 0x4d5faf
lea eax, [esp + 0x20]
cmp byte [eax + ebp - 1], 0x2f
je 0x4d5fbb
dec ebp
test ebp, ebp
jg 0x4d5f92
sub ecx, ebp
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.00404039
mov eax, dword [esp + 0x4c]
test eax, eax
mov byte [esp + 0xd0], 6
je 0x4d603e
cmp eax, 2
mov ecx, eax
jb 0x4d5fea
mov ecx, 2
cmp dword [esp + 0x50], 0x10
mov esi, dword [esp + 0x3c]
jae 0x4d5ff9
lea esi, [esp + 0x3c]
mov edi, 0x52cf08
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4d6009
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x4d603e
cmp eax, 2
jb 0x4d603e
cmp eax, 2
setne dl
test edx, edx
jne 0x4d603e
push 2
push 0x52cf08
lea ecx, [esp + 0x24]
call fcn.00407620
mov edx, dword [esp + 0x14]
push edx
push 1
lea ecx, [esp + 0x24]
call fcn.00403282
jmp 0x4d6090
mov eax, dword [esp + 0x34]
cmp eax, 0x10
mov esi, dword [esp + 0x20]
mov ecx, esi
jae 0x4d6051
lea ecx, [esp + 0x20]
mov edx, dword [esp + 0x30]
add edx, ecx
cmp eax, 0x10
mov ecx, esi
jae 0x4d6062
lea ecx, [esp + 0x20]
add ecx, ebp
cmp eax, 0x10
jae 0x4d606d
lea esi, [esp + 0x20]
test ecx, ecx
jne 0x4d6075
xor eax, eax
jmp 0x4d6079
mov eax, ecx
sub eax, esi
test edx, edx
jne 0x4d6081
xor ecx, ecx
jmp 0x4d6085
sub edx, ecx
mov ecx, edx
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00401fca
cmp dword [esp + 0x50], 0x10
jb 0x4d60a4
mov eax, dword [esp + 0x3c]
push eax
call fcn.00507ed8
add esp, 4
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
jmp 0x4d613c
test edx, edx
je 0x4d60eb
cmp ebp, 0x10
mov esi, ebx
jae 0x4d60d5
lea esi, [esp + 0x74]
xor ecx, ecx
mov edi, 0x54937c
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4d60e7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4d60fa
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x4d617e
test edx, edx
je 0x4d61a5
cmp edx, 1
mov ecx, edx
jb 0x4d610e
mov ecx, 1
cmp ebp, 0x10
mov esi, ebx
jae 0x4d6119
lea esi, [esp + 0x74]
mov edi, 0x52696c
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4d6129
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4d61a5
cmp edx, 1
jb 0x4d61a5
cmp edx, 1
setne al
test eax, eax
jne 0x4d61a5
cmp ebp, 0x10
mov byte [esp + 0xd0], 4
jb 0x4d6152
push ebx
call fcn.00507ed8
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
jne 0x4d5e60
jmp 0x4d620a
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.004d5ad0
cmp dword [esp + 0x88], 0x10
mov byte [esp + 0xd0], 4
jb 0x4d620a
mov edx, dword [esp + 0x74]
push edx
jmp 0x4d6202
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004d5b20
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 7
call fcn.00404384
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp eax, esi
jb 0x4d61ec
mov eax, dword [esp + 0x3c]
push eax
call fcn.00507ed8
add esp, 4
cmp dword [esp + 0x88], esi
mov byte [esp + 0xd0], 4
jb 0x4d620a
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00507ed8
add esp, 4
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.0040c461
lea edx, [esp + 0x98]
push edx
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0xe8], 8
call fcn.0040c461
add esp, 0x18
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 9
call fcn.0040270b
mov eax, dword [esp + 0x50]
mov ebx, 0x10
cmp eax, ebx
jb 0x4d6270
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00507ed8
add esp, 4
cmp dword [esp + 0x88], ebx
mov ebp, 0xf
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
jb 0x4d6298
mov edx, dword [esp + 0x74]
push edx
call fcn.00507ed8
add esp, 4
cmp byte [esp + 0x14], 0x2f
push 1
lea ecx, [esp + 0x20]
push edi
jne 0x4d62ef
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], 0x5c
call fcn.004017d3
cmp eax, 0xffffffff
je 0x4d6330
lea ebx, [ebx]
cmp dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
jae 0x4d62ce
lea ecx, [esp + 0x20]
push 1
mov byte [ecx + eax], 0x2f
push edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0x5c
call fcn.004017d3
cmp eax, 0xffffffff
jne 0x4d62c0
jmp 0x4d6330
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1c], 0x2f
call fcn.004017d3
cmp eax, 0xffffffff
je 0x4d6330
cmp dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
jae 0x4d6311
lea ecx, [esp + 0x20]
push 1
mov byte [ecx + eax], 0x5c
push edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0x2f
call fcn.004017d3
cmp eax, 0xffffffff
jne 0x4d6303
mov esi, dword [esp + 0xe0]
cmp esi, edi
je 0x4d635a
cmp dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
jae 0x4d6349
lea ecx, [esp + 0x20]
mov edx, esi
jmp 0x4d6350
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4d6350
cmp dword [esp + 0xa4], ebx
jb 0x4d6373
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00507ed8
add esp, 4
cmp dword [esp + 0x34], ebx
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], edi
mov byte [esp + 0x90], 0
jb 0x4d639c
mov edx, dword [esp + 0x20]
push edx
call fcn.00507ed8
add esp, 4
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edi
mov byte [esp + 0x20], 0
jb 0x4d63bc
mov eax, dword [esp + 0x58]
push eax
call fcn.00507ed8
add esp, 4
cmp dword [esp + 0xc0], ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
jb 0x4d63e2
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00507ed8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xb8]
pop ebx
call fcn.004a2d97
add esp, 0xc4
ret 0xc