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

Disassembly:
push 0xffffffffffffffff
push 0x59066f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x5f9f88]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x98]
mov dword [esp + 0x84], 1
cmp edi, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], 0xffffffff
jne 0x4e903d
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00569bb3
jmp 0x4e907d
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call fcn.0056629d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 2
call fcn.00568845
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 1
call fcn.0056870c
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.00566270
mov ecx, esi
call fcn.00566303
mov esi, eax
push esi
mov dword [esp + 0x40], esi
mov edx, dword [esi]
call dword [edx + 0x10]
mov ebx, dword [esp + 0x94]
push 0xffffffffffffffff
push ebp
mov ecx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], 0x38
call fcn.004ec340
mov ecx, dword [esp + 0x90]
call fcn.00568697
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebp
jle 0x4e93ac
mov eax, dword [esi]
lea ecx, [esp + 0x44]
push 0
push ecx
push ebp
push esi
call dword [eax + 0x18]
test edi, edi
je 0x4e90fb
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jl 0x4e9397
cmp eax, dword [esp + 0x20]
jge 0x4e9397
mov edx, dword [esp + 0x10]
xor ecx, ecx
xor ebp, ebp
mov eax, dword [edx - 8]
mov dword [esp + 0x94], ebp
test eax, eax
jle 0x4e9152
mov eax, dword [esp + 0x48]
test edi, edi
je 0x4e9123
sub eax, dword [esp + 0x18]
cmp ecx, eax
je 0x4e914b
jmp 0x4e9127
cmp ecx, eax
je 0x4e914b
mov al, byte [edx + ebp]
cmp al, 0xa1
jae 0x4e9135
cmp al, 0xd
je 0x4e9135
inc ecx
jmp 0x4e9143
inc ecx
inc ebp
test edi, edi
je 0x4e9143
cmp byte [edx + ebp - 1], 0xd
jne 0x4e9143
dec ebp
mov eax, dword [edx - 8]
inc ebp
cmp ebp, eax
jl 0x4e9111
mov dword [esp + 0x94], ebp
mov eax, dword [esp + 0x1c]
mov ecx, ebp
sub ecx, eax
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00563982
mov ecx, dword [esp + 0x90]
push eax
mov byte [esp + 0x88], 3
call fcn.00568b24
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 1
call fcn.0056870c
mov eax, dword [esp + 0x78]
cmp eax, 0x63
jae 0x4e91b2
mov eax, dword [eax*4 + 0x5f1eb8]
mov ecx, dword [esp + 0x90]
push eax
call fcn.00568ae8
jmp 0x4e938e
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x14], ecx
mov ecx, 4
lea edi, [esp + 0x4c]
mov esi, 0x5bad18
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov byte [esp + 0x84], 4
push eax
jne 0x4e91e5
lea eax, [esp + 0x18]
push str.___08x_G
push eax
jmp 0x4e91ef
lea ecx, [esp + 0x18]
push str.___08x_B
push ecx
call fcn.00563eb4
mov ecx, dword [esp + 0x9c]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
call fcn.00568b24
mov eax, dword [ebx + 8]
mov esi, dword [esp + 0x78]
xor ecx, ecx
test eax, eax
jle 0x4e9224
mov edx, dword [ebx + 4]
cmp dword [edx], esi
je 0x4e9224
inc ecx
add edx, 4
cmp ecx, eax
jl 0x4e9218
cmp ecx, eax
jl 0x4e9372
mov dword [esp + 0x38], esi
mov esi, eax
xor edi, edi
mov dword [esp + 0x34], esi
lea ebp, [esi + 1]
cmp ebp, edi
jne 0x4e9261
mov ecx, dword [ebx + 4]
cmp ecx, edi
je 0x4e9256
push ecx
mov dword [esp + 0x38], eax
call fcn.00567b2c
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x4e9361
mov edx, dword [ebx + 4]
cmp edx, edi
jne 0x4e929c
lea edi, [ebp*4]
push edi
call fcn.00567b03
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x4e9361
mov edi, dword [ebx + 0xc]
cmp ebp, edi
jg 0x4e92ca
cmp eax, ebp
jge 0x4e92ba
mov ecx, ebp
lea edi, [edx + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 8], ebp
jmp 0x4e9361
jle 0x4e92c2
sub eax, ebp
mov dword [esp + 0x34], eax
mov dword [ebx + 8], ebp
jmp 0x4e9361
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x4e92f5
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x4e92e8
mov ecx, 4
jmp 0x4e92f5
cmp ecx, 0x400
jle 0x4e92f5
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
mov dword [esp + 0x1c], eax
jl 0x4e9304
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
push ecx
call fcn.00567b03
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x34], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 8]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
push eax
call fcn.00567b2c
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
add esp, 8
mov dword [ebx + 4], eax
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ecx
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x94]
mov dword [edx + esi*4], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 1
call fcn.0056870c
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x98]
inc ebp
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
inc ebp
cmp ebp, eax
mov dword [esp + 0x24], ebp
jl 0x4e90cf
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx - 8]
jge 0x4e93f0
lea edx, [esp + 0x98]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0056395f
mov ecx, dword [esp + 0x90]
push eax
mov byte [esp + 0x88], 5
call fcn.00568b24
lea ecx, [esp + 0x98]
mov byte [esp + 0x84], 1
call fcn.0056870c
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
push eax
mov ecx, esi
call fcn.00568481
mov dword [esp + 0x40], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 0
call fcn.0056870c
mov ecx, dword [esp + 0x7c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10