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

Disassembly:
push 0xffffffffffffffff
push 0x59295f
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0xbc], 1
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x54]
call fcn.00505d90
mov byte [esp + 0xbc], 2
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4d95b2
xor ecx, ecx
test edi, edi
je 0x4d909f
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x54]
nop
cmp edx, 0x10
lea eax, [esp + 0x54]
cmovae eax, esi
cmp byte [eax + ecx], 0x3d
jne 0x4d909a
cmp edx, 0x10
lea eax, [esp + 0x54]
cmovae eax, esi
mov byte [eax + ecx], 0x7c
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x54]
inc ecx
cmp ecx, edi
jb 0x4d9070
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xdc]
call fcn.00403ff0
cmp dword [esp + 0xe4], 0x10
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0xe4]
lea edx, [esp + 0xd8]
cmovae edx, dword [esp + 0xd8]
lea ecx, [esp + 0x8c]
call fcn.00506030
mov byte [esp + 0xc4], 3
lea ecx, [esp + 0x8c]
call fcn.004aff10
push 0
lea edx, [esp + 0x90]
lea ecx, [esp + 0x78]
call fcn.004b1890
add esp, 0xc
mov byte [esp + 0xbc], 4
mov ebp, dword [esp + 0xe0]
and ebp, 0x80000001
jns 0x4d912b
dec ebp
or ebp, 0xfffffffe
inc ebp
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0xbc], 5
xor edi, edi
cmp dword [esp + 0x7c], edi
jbe 0x4d9212
mov ecx, dword [esp + 0x4c]
mov eax, edi
and eax, 1
cmp eax, ebp
jne 0x4d9207
cmp dword [esp + 0x80], 0x10
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
mov bl, byte [eax + edi]
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x4d9325
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x4d9325
cmp dword [esp + 0x50], esi
jae 0x4d91b6
push ecx
push esi
lea ecx, [esp + 0x44]
call fcn.00404c90
jmp 0x4d91cf
test esi, esi
jne 0x4d91d5
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
mov dword [esp + 0x4c], esi
cmovae eax, dword [esp + 0x3c]
mov byte [eax], 0
mov ecx, dword [esp + 0x4c]
test esi, esi
setne al
test al, al
je 0x4d9207
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
mov byte [ecx + eax], bl
lea eax, [esp + 0x3c]
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x4c], esi
cmovae eax, dword [esp + 0x3c]
mov byte [esi + eax], 0
mov ecx, dword [esp + 0x4c]
inc edi
cmp edi, dword [esp + 0x7c]
jb 0x4d9168
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
call fcn.004dae70
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x80]
push 0xffffffffffffffff
mov dword [esp + 0x84], eax
lea eax, [esp + 0x70]
push 0
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0xd8]
push eax
call fcn.00403e60
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0xbc], 7
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0x38]
cmp ebp, esi
ja 0x4d92d4
cmp edi, esi
je 0x4d92d4
push 1
push esi
lea ecx, [esp + 0x2c]
call fcn.00404700
test al, al
je 0x4d92c5
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
mov dword [esp + 0x34], ebp
cmovae eax, dword [esp + 0x24]
mov byte [eax + ebp], 0
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
lea eax, [esp + 0xd0]
mov edx, dword [esp + 0xd0]
cmp ecx, 0x10
cmovae eax, edx
add esi, eax
cmp ecx, 0x10
lea eax, [esp + 0xd0]
cmovae eax, edx
cmp esi, eax
je 0x4d9359
mov al, byte [esi - 1]
lea edx, [esp + 0x24]
dec esi
mov byte [esp + 0x18], al
cmp edi, 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmovae edx, dword [esp + 0x24]
add eax, ebp
jne 0x4d932f
jmp 0x4d9331
push str.string_too_long
call fcn.00560df3
sub eax, edx
push dword [esp + 0x18]
lea ecx, [esp + 0x28]
push 1
push eax
call fcn.00417460
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xd0]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
jmp 0x4d92f1
cmp ebp, 5
jbe 0x4d93a2
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
cmp edi, 0x10
lea ecx, [esp + 0x24]
cmovae eax, edx
cmovae ecx, edx
mov bl, byte [eax + 5]
lea eax, [esp + 0x24]
cmovae eax, edx
mov al, byte [eax + ebp - 5]
mov byte [ecx + 5], al
lea ecx, [esp + 0x24]
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x34]
cmovae ecx, dword [esp + 0x24]
mov byte [eax + ecx - 5], bl
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x4d93e0
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x24]
cmp edi, 0x10
lea ecx, [esp + 0x24]
cmovae eax, edx
cmovae ecx, edx
mov bl, byte [eax]
lea eax, [esp + 0x24]
cmovae eax, edx
mov al, byte [eax + ebp - 1]
mov byte [ecx], al
lea ecx, [esp + 0x24]
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x34]
cmovae ecx, dword [esp + 0x24]
mov byte [eax + ecx - 1], bl
mov ebx, dword [esp + 0x1c]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [esp + 0x38], 0x10
jae 0x4d9414
mov eax, dword [esp + 0x34]
inc eax
je 0x4d943a
push eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00565090
add esp, 0xc
jmp 0x4d943a
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0xbc], 8
mov eax, dword [esp + 0x24]
mov dword [ebx], eax
mov byte [esp + 0xbc], 7
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x14], eax
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x14], 1
mov byte [esp + 0xbc], 5
cmp dword [esp + 0x38], 0x10
jb 0x4d9480
push dword [esp + 0x24]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0xbc], 4
cmp dword [esp + 0x50], 0x10
jb 0x4d94b0
push dword [esp + 0x3c]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0xbc], 3
cmp dword [esp + 0x80], 0x10
jb 0x4d94e3
push dword [esp + 0x6c]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
mov byte [esp + 0xbc], 2
cmp dword [esp + 0x98], 8
jb 0x4d951c
push dword [esp + 0x84]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov byte [esp + 0xbc], 1
cmp dword [esp + 0x68], 0x10
jb 0x4d9557
push dword [esp + 0x54]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov byte [esp + 0xbc], 0
cmp dword [esp + 0xe4], 0x10
jb 0x4d958d
push dword [esp + 0xd0]
call fcn.00564de3
add esp, 4
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
mov eax, ebx
jmp 0x4d963c
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esp + 0x14], 1
mov byte [esp + 0xbc], 1
cmp dword [esp + 0x68], 0x10
jb 0x4d95e6
push dword [esp + 0x54]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov byte [esp + 0xbc], 0
cmp dword [esp + 0xe4], 0x10
jb 0x4d961c
push dword [esp + 0xd0]
call fcn.00564de3
add esp, 4
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], 0
mov byte [esp + 0xd0], 0
mov eax, esi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00564de8
add esp, 0xac
ret 0x24