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

Disassembly:
push 0xffffffffffffffff
push 0x515290
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x597790]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x597790]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x94]
lea edi, [esp + 0x38]
mov dword [esp + 0x2c], eax
call fcn.004cb860
mov ecx, eax
mov dword [esp + 0x80], 0
call fcn.004d1c40
mov ebx, eax
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], ebx
test eax, eax
je 0x4d078d
push 0
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00510ad0
mov dword [esp + 0x80], 1
mov eax, dword [edi + 4]
test eax, eax
jbe 0x4d0760
cmp eax, 0xffffffff
jae 0x4d0760
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x20]
and esi, edi
mov dword [esp + 0x80], 0xffffffff
call fcn.00510af8
test esi, esi
je 0x4d078d
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea esi, [esp + 0x58]
mov ecx, ebx
call fcn.004d1640
mov dword [esp + 0x80], 2
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
xor ecx, ecx
mov byte [esp + 0x17], al
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ecx
mov byte [esp + 0x40], cl
mov byte [esp + 0x80], 3
mov al, byte [ebp]
cmp al, 0x2b
je 0x4d07d9
mov dword [esp + 0x20], ecx
cmp al, 0x2d
jne 0x4d07e1
mov dword [esp + 0x20], 1
call fcn.0050a2e6
mov eax, dword [eax]
mov esi, dword [esp + 0xa4]
mov cl, byte [eax]
push esi
push 0x65
push ebp
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0x65
mov byte [esp + 0x2a], 0
call fcn.00510530
movsx edx, byte [esp + 0x28]
add esp, 0xc
push esi
push edx
mov edi, eax
push ebp
mov dword [esp + 0x24], edi
call fcn.00510530
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x4d0832
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov eax, edx
cmp ecx, 0x10
jae 0x4d0845
lea eax, [esp + 0x5c]
cmp byte [eax], 0x7f
je 0x4d09a1
mov eax, edx
cmp ecx, 0x10
jae 0x4d0859
lea eax, [esp + 0x5c]
cmp byte [eax], 0
jle 0x4d09a1
push esi
push ebp
lea eax, [esp + 0x44]
call fcn.004cffa0
test edi, edi
jne 0x4d088c
mov eax, dword [esp + 0xa0]
push 0x30
lea edi, [esp + 0x40]
call fcn.004cf010
mov ebx, dword [esp + 0x98]
jmp 0x4d08c6
test ebx, ebx
jne 0x4d08a8
mov eax, dword [esp + 0x98]
push 0x30
lea edi, [esp + 0x40]
call fcn.004cf010
mov edi, dword [esp + 0x18]
jmp 0x4d08af
mov ebx, dword [esp + 0x98]
mov eax, dword [esp + 0xa0]
push 0x30
push eax
mov eax, edi
sub eax, ebp
lea edi, [esp + 0x44]
call fcn.004d1430
mov esi, dword [esp + 0x30]
push 0x30
lea edi, [esp + 0x40]
test esi, esi
jne 0x4d08dd
mov eax, ebx
call fcn.004cf010
jmp 0x4d0908
mov ecx, dword [esp + 0xa0]
sub esi, ebp
push ecx
lea eax, [esi + 1]
call fcn.004d1430
push 0x30
push ebx
mov eax, esi
lea edi, [esp + 0x44]
call fcn.004d1430
mov dword [esp + 0x9c], 0
mov ebp, dword [esp + 0x5c]
mov ebx, 0x10
mov dword [esp + 0x98], 0
cmp dword [esp + 0x70], ebx
jae 0x4d0926
lea ebp, [esp + 0x5c]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebx
jae 0x4d0934
lea eax, [esp + 0x40]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.005020d0
mov esi, eax
mov al, byte [ebp]
add esp, 8
cmp al, 0x7f
je 0x4d097b
test al, al
jle 0x4d097b
mov ecx, esi
sub ecx, dword [esp + 0x20]
movsx eax, al
cmp eax, ecx
jae 0x4d097b
sub esi, eax
push 0
push 1
mov eax, esi
lea edi, [esp + 0x44]
call fcn.004d1430
cmp byte [ebp + 1], 0
jle 0x4d0974
inc ebp
mov al, byte [ebp]
cmp al, 0x7f
jne 0x4d094b
mov ebp, dword [esp + 0x40]
cmp dword [esp + 0x54], ebx
jae 0x4d0989
lea ebp, [esp + 0x40]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], edx
mov esi, edx
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x2c]
add eax, ecx
add eax, dword [esp + 0xa0]
mov ecx, dword [edx + 0x18]
add eax, esi
test ecx, ecx
jle 0x4d09d3
cmp ecx, eax
jbe 0x4d09d3
sub ecx, eax
mov edi, ecx
mov dword [esp + 0x18], edi
jmp 0x4d09df
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x4d0ab2
cmp eax, 0x100
je 0x4d0a2e
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov bl, byte [esp + 0x90]
push edx
push eax
mov eax, edi
lea edi, [esp + 0x38]
call fcn.004d1190
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb4], edx
jmp 0x4d0aa7
cmp dword [esp + 0x20], 0
jbe 0x4d0a72
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push 1
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
mov eax, ebp
call fcn.004d1120
mov ecx, dword [eax]
add esp, 0x10
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
inc ebp
dec esi
mov dword [esp + 0xac], edx
mov dword [esp + 0xa4], esi
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov bl, byte [esp + 0x90]
push eax
mov eax, edi
push ecx
lea edi, [esp + 0x38]
call fcn.004d1190
mov edx, dword [eax]
mov dword [esp + 0xb0], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xb4], eax
mov dword [esp + 0x20], 0
add esp, 8
movsx ecx, byte [esp + 0x1c]
push esi
push ecx
push ebp
call fcn.00510530
add esp, 0xc
test eax, eax
je 0x4d0bb4
mov edx, dword [esp + 0xac]
sub eax, ebp
inc eax
push edx
mov esi, eax
mov eax, dword [esp + 0xac]
push eax
mov al, byte [esp + 0x1f]
lea ecx, [esi - 1]
push ecx
lea edx, [esp + 0x3c]
push ebp
push edx
call fcn.004d1590
mov ecx, dword [eax]
mov dword [esp + 0xbc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0xac]
add esp, 0x14
push ecx
push edx
mov bl, 0x30
lea edi, [esp + 0x38]
call fcn.004d1190
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb4], edx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
add esp, 8
call edx
mov ecx, dword [esp + 0xa8]
mov bl, al
mov eax, dword [esp + 0xac]
push eax
push ecx
mov eax, 1
lea edi, [esp + 0x2c]
call fcn.004d1190
mov edx, dword [eax]
mov dword [esp + 0xb0], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xb4], ecx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [esp + 0xac]
mov bl, 0x30
lea edi, [esp + 0x34]
call fcn.004d1190
mov ecx, dword [eax]
add ebp, esi
add esp, 0x10
sub dword [esp + 0xa4], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xac], edx
push esi
push 0x65
push ebp
call fcn.00510530
add esp, 0xc
test eax, eax
je 0x4d0c8f
mov ecx, dword [esp + 0xa8]
sub eax, ebp
inc eax
mov esi, eax
mov eax, dword [esp + 0xac]
push eax
push ecx
lea edx, [esi - 1]
push edx
lea eax, [esp + 0x30]
push ebp
push eax
mov al, byte [esp + 0x2b]
call fcn.004d1590
mov ecx, dword [eax]
mov dword [esp + 0xbc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0xb4]
add esp, 0x14
push ecx
push edx
mov bl, 0x30
lea edi, [esp + 0x2c]
call fcn.004d1190
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 4]
add esp, 8
test byte [ecx + 0x10], 4
mov dword [esp + 0xac], edx
mov dword [esp + 0xa0], 0
mov ecx, 0x545f68
jne 0x4d0c54
mov ecx, 0x5657f8
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 1
push edx
push eax
lea edx, [esp + 0x30]
push edx
mov eax, ecx
call fcn.004d1120
mov ecx, dword [eax]
add ebp, esi
add esp, 0x10
sub dword [esp + 0xa4], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xac], edx
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push eax
mov al, byte [esp + 0x1b]
push ecx
push esi
lea edx, [esp + 0x30]
push ebp
push edx
call fcn.004d1590
mov ecx, dword [eax]
mov dword [esp + 0xbc], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc0], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0xb4]
add esp, 0x14
push ecx
push edx
mov bl, 0x30
lea edi, [esp + 0x2c]
call fcn.004d1190
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
mov bl, byte [esp + 0x98]
mov edi, dword [esp + 0x90]
mov dword [esp + 0xb0], ecx
mov eax, dword [eax + 4]
push eax
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x24]
push ecx
mov dword [edx + 0x18], 0
call fcn.004d1190
mov esi, 0x10
add esp, 0x10
mov byte [esp + 0x80], 2
cmp dword [esp + 0x54], esi
jb 0x4d0d38
mov eax, dword [esp + 0x40]
push eax
call fcn.004d336b
add esp, 4
xor ebx, ebx
mov ebp, 0xf
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x70], esi
jb 0x4d0d69
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004d336b
add esp, 4
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004f4e9c
add esp, 0x70
ret