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

Disassembly:
push 0xffffffffffffffff
push 0x549558
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
mov eax, dword [0x5b2ae0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0x1024
mov dword [esp + 0x48], 0
call dword [0x560768]
test eax, eax
je 0x4e6c63
cmp dword [esp + 0x38], 0
jne 0x4e72a2
lea ecx, [esp + 0x60]
push ecx
push ebx
call dword [0x560764]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
sub ebp, dword [esp + 0x60]
sub esi, dword [esp + 0x64]
lea edx, [esp + 0x3c]
push edx
push ebx
mov ecx, 0x5c03bc
mov dword [esp + 0x48], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], 0
call fcn.00506d96
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, dword [esp + 0x3c]
push edi
call fcn.004f8b64
lea ecx, [esp + 0x50]
mov dword [esp + 0x38], eax
call fcn.004f86b3
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4e6ccf
mov eax, dword [eax + 4]
push eax
call dword [0x5600f0]
push eax
lea ecx, [esp + 0x54]
call fcn.004f8b78
add ebx, 0x1c
je 0x4e6ce8
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x54]
push ebx
push eax
call fcn.004f8f03
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], ebx
call fcn.004df0f0
cmp eax, 0x100
jg 0x4e6e5e
push 0x10
call dword [0x5605f4]
push 0xcc0020
push 0
mov dword [esp + 0x20], eax
lea eax, [ebp - 2]
push eax
push ebx
mov ebx, dword [0x5600e4]
push esi
push 2
push 0
push eax
push edi
call ebx
mov ecx, dword [esp + 0x1c]
push 0xcc0020
lea eax, [esi - 2]
push eax
push 0
push ecx
push 2
push ebp
push eax
push 0
push edi
call ebx
lea edx, [esi - 5]
lea eax, [esi - 4]
add esi, 0xfffffffd
mov dword [esp + 0x24], esi
mov esi, dword [0x560144]
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], eax
add ebp, 0xfffffffd
mov dword [esp + 0x34], 2
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
push ecx
call dword [0x560148]
push eax
push ebx
push ebp
push edi
call esi
inc ebx
cmp ebx, 4
jl 0x4e6d77
mov ebx, 4
mov edx, dword [esp + 0x18]
push edx
push ebx
push ebp
push edi
call esi
inc ebx
cmp ebx, 8
jl 0x4e6d95
mov ebx, 8
cmp dword [esp + 0x38], ebx
jl 0x4e6dc1
mov eax, dword [esp + 0x18]
push eax
push ebx
push ebp
push edi
call esi
inc ebx
cmp ebx, dword [esp + 0x38]
jle 0x4e6db0
mov ebx, dword [esp + 0x30]
cmp ebx, dword [esp + 0x24]
jg 0x4e6de1
jmp 0x4e6dd0
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push ebp
push edi
call esi
inc ebx
cmp ebx, dword [esp + 0x24]
jle 0x4e6dd0
dec ebp
sub dword [esp + 0x34], 1
jne 0x4e6d75
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
add edx, 0xfffffffb
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], 2
xor ebp, ebp
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push eax
call dword [0x560148]
push eax
push ebx
push ebp
push edi
call esi
inc ebp
cmp ebp, 3
jle 0x4e6e02
mov ebp, 4
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push ebp
push edi
call esi
inc ebp
cmp ebp, 7
jle 0x4e6e20
mov ebp, 8
cmp dword [esp + 0x20], ebp
jl 0x4e6e51
jmp 0x4e6e40
mov edx, dword [esp + 0x18]
push edx
push ebx
push ebp
push edi
call esi
inc ebp
cmp ebp, dword [esp + 0x20]
jle 0x4e6e40
dec ebx
sub dword [esp + 0x38], 1
jne 0x4e6e00
jmp 0x4e727b
dec esi
mov dword [esp + 0x38], esi
mov esi, dword [0x560384]
mov dword [esp + 0x18], 1
mov dword [esp + 0x30], 6
mov dword [esp + 0x2c], 0xfffffffa
dec ebp
mov dword [esp + 0x24], 0xe1
mov dword [esp + 0x34], 0xf9
xor ebx, ebx
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push eax
call dword [0x560148]
push eax
push ebx
push ebp
push edi
call dword [0x560144]
inc ebx
cmp ebx, 4
jl 0x4e6e94
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], 4
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push ebp
push eax
call dword [0x560148]
mov ecx, dword [esp + 0x20]
mov ebx, eax
push 0xff
movzx edx, bl
push ecx
push edx
call esi
mov ecx, ebx
shr ecx, 8
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
push 0xff
movzx edx, cl
push eax
push edx
call esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
push 0xff
shr ebx, 0x10
movzx ecx, bl
push eax
push ecx
call esi
movzx ecx, byte [esp + 0x48]
mov ebx, dword [esp + 0x14]
movzx edx, al
movzx eax, byte [esp + 0x44]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
push edx
push ebx
push ebp
push edi
call dword [0x560144]
mov edx, dword [esp + 0x2c]
add dword [esp + 0x20], edx
inc ebx
cmp ebx, 8
mov dword [esp + 0x14], ebx
jl 0x4e6ec1
mov edx, dword [esp + 0x28]
lea eax, [edx - 5]
cmp eax, 8
mov dword [esp + 0x14], 8
jl 0x4e6ff7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
push ebp
push ecx
call dword [0x560148]
mov edx, dword [esp + 0x24]
mov ebx, eax
push 0xff
movzx eax, bl
push edx
push eax
call esi
mov ecx, dword [esp + 0x24]
mov edx, ebx
shr edx, 8
mov dword [esp + 0x44], eax
push 0xff
movzx eax, dl
push ecx
push eax
call esi
mov ecx, dword [esp + 0x24]
push 0xff
shr ebx, 0x10
movzx edx, bl
push ecx
push edx
mov dword [esp + 0x54], eax
call esi
movzx ecx, byte [esp + 0x48]
movzx edx, byte [esp + 0x44]
mov ebx, dword [esp + 0x14]
movzx eax, al
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
push eax
push ebx
push ebp
push edi
call dword [0x560144]
mov eax, dword [esp + 0x28]
inc ebx
add eax, 0xfffffffb
cmp ebx, eax
mov dword [esp + 0x14], ebx
jle 0x4e6f67
mov edx, dword [esp + 0x28]
lea eax, [edx - 4]
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
jg 0x4e70b0
mov ecx, eax
sub ecx, edx
imul ecx, dword [esp + 0x18]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + ecx + 0xff]
mov dword [esp + 0x20], edx
jmp 0x4e7025
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push ebp
push eax
call dword [0x560148]
mov ecx, dword [esp + 0x20]
mov ebx, eax
push 0xff
movzx edx, bl
push ecx
push edx
call esi
mov ecx, ebx
shr ecx, 8
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
push 0xff
movzx edx, cl
push eax
push edx
call esi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
push 0xff
shr ebx, 0x10
movzx ecx, bl
push eax
push ecx
call esi
movzx ecx, byte [esp + 0x44]
mov ebx, dword [esp + 0x14]
movzx edx, al
movzx eax, byte [esp + 0x48]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
push edx
push ebx
push ebp
push edi
call dword [0x560144]
mov edx, dword [esp + 0x30]
add dword [esp + 0x20], edx
inc ebx
cmp ebx, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
jle 0x4e7021
mov eax, dword [esp + 0x24]
inc dword [esp + 0x18]
mov ecx, 6
sub dword [esp + 0x2c], ecx
add dword [esp + 0x30], ecx
sub dword [esp + 0x34], ecx
sub eax, 0x1e
dec ebp
cmp eax, 0x87
mov dword [esp + 0x24], eax
jge 0x4e6e92
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
add eax, 0xfffffffb
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], 0xfffffffa
mov dword [esp + 0x14], 0xe1
mov dword [esp + 0x38], 0xf9
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
push ebp
push ebx
push ecx
call dword [0x560148]
push eax
push ebp
push ebx
push edi
call dword [0x560144]
inc ebx
cmp ebx, 3
jle 0x4e7105
mov edx, dword [esp + 0x38]
mov dword [esp + 0x18], 4
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebp
push eax
push ecx
call dword [0x560148]
mov edx, dword [esp + 0x24]
mov ebx, eax
push 0xff
movzx eax, bl
push edx
push eax
call esi
mov ecx, dword [esp + 0x24]
mov edx, ebx
shr edx, 8
mov dword [esp + 0x44], eax
push 0xff
movzx eax, dl
push ecx
push eax
call esi
mov ecx, dword [esp + 0x24]
push 0xff
shr ebx, 0x10
movzx edx, bl
push ecx
push edx
mov dword [esp + 0x54], eax
call esi
movzx ecx, byte [esp + 0x48]
movzx edx, byte [esp + 0x44]
mov ebx, dword [esp + 0x18]
movzx eax, al
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
push eax
push ebp
push ebx
push edi
call dword [0x560144]
mov eax, dword [esp + 0x34]
add dword [esp + 0x24], eax
inc ebx
cmp ebx, 7
mov dword [esp + 0x18], ebx
jle 0x4e7132
mov eax, 8
cmp dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
jl 0x4e725a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ebp
push ecx
push edx
call dword [0x560148]
mov ebx, eax
mov eax, dword [esp + 0x14]
push 0xff
movzx ecx, bl
push eax
push ecx
call esi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, ebx
shr eax, 8
push 0xff
movzx ecx, al
push edx
push ecx
call esi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
push 0xff
shr ebx, 0x10
movzx eax, bl
push edx
push eax
call esi
movzx edx, byte [esp + 0x48]
mov ebx, dword [esp + 0x18]
movzx ecx, al
movzx eax, byte [esp + 0x44]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
push ecx
push ebp
push ebx
push edi
call dword [0x560144]
inc ebx
cmp ebx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
jle 0x4e71d3
mov eax, dword [esp + 0x38]
sub dword [esp + 0x34], 6
sub dword [esp + 0x14], 0x1e
sub eax, 6
dec ebp
cmp eax, 0xe7
mov dword [esp + 0x38], eax
jge 0x4e7103
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4e7286
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x54]
push eax
push ecx
call fcn.004f8f03
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], 0xffffffff
call fcn.004f8bf7
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 8