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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x578c98
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
mov dword [esp + 0x54], 0x4442f8
mov ecx, dword [ebx + 0xcc]
mov eax, 0x92492493
sub ecx, dword [ebx + 0xc8]
xor esi, esi
imul ecx
mov dword [esp + 0x80], 0
add edx, ecx
mov dword [esp + 0x20], esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4fcd43
xor ecx, ecx
mov dword [esp + 0x18], ecx
lea ecx, [ecx]
mov eax, dword [ebx + 0xc8]
cmp dword [eax + ecx + 0x14], 0
je 0x4fcd0c
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
mov dword [esp + 0x68], 0
cmovae eax, dword [esp + 0x58]
push 0x5b
mov byte [eax], 0
mov esi, dword [ebx + 0xc8]
add esi, ecx
lea ecx, [esp + 0x58]
call fcn.004c38c0
mov edi, eax
test esi, esi
je 0x4fc958
add esi, 4
jmp 0x4fc95a
xor esi, esi
push 0xffffffffffffffff
push 0
push esi
lea ecx, [edi + 4]
call fcn.004656b0
push 0x5d
mov ecx, edi
call fcn.004c38c0
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x58]
push 0xffffffffffffffff
push 0
add esi, 4
push eax
mov ecx, esi
call fcn.004656b0
call fcn.004bb0e0
test eax, eax
je 0x4fc995
add eax, 4
jmp 0x4fc997
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004656b0
mov eax, dword [ebx + 0xc8]
lea ecx, [ebx + 0xd4]
add eax, dword [esp + 0x18]
xorps xmm0, xmm0
push eax
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], 0
call fcn.004f8050
push eax
lea ecx, [esp + 0x2c]
call fcn.004c4a20
mov eax, dword [ebx + 0xc8]
lea ecx, [ebx + 0xc0]
add eax, dword [esp + 0x18]
xorps xmm0, xmm0
push eax
mov byte [esp + 0x84], 1
movq qword [esp + 0x50], xmm0
call fcn.004f7fc0
lea ecx, [esp + 0x17]
push ecx
push eax
lea ecx, [esp + 0x54]
call fcn.004f79e0
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov byte [esp + 0x80], 2
cmp edi, ebx
je 0x4fcc77
lea ebx, [edi + 0x14]
mov dword [esp + 0x1c], ebx
lea esp, [esp]
cmp dword [ebx], 0
je 0x4fcc5b
cmp dword [esp + 0x6c], 0x10
lea eax, [esp + 0x58]
mov dword [esp + 0x68], 0
lea ecx, [esp + 0x4c]
cmovae eax, dword [esp + 0x58]
mov byte [eax], 0
lea eax, [ebx - 0x14]
push eax
call fcn.004fd6d0
mov esi, eax
cmp esi, dword [esp + 0x4c]
je 0x4fcbc6
mov eax, dword [ebx]
mov byte [esp + 0x44], 0x20
test eax, eax
je 0x4fcad4
cmp eax, 0xffffffff
jbe 0x4fca80
or ecx, 0xffffffff
jmp 0x4fca83
lea ecx, [eax - 1]
cmp dword [ebx + 4], 0x10
jb 0x4fca91
mov eax, dword [ebx - 0x10]
add ebx, 0xfffffff0
jmp 0x4fca96
add ebx, 0xfffffff0
mov eax, ebx
lea edi, [eax + ecx]
movsx eax, byte [edi]
push 1
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0054b5b0
add esp, 0xc
test eax, eax
je 0x4fcad4
mov ecx, ebx
call fcn.00465130
cmp edi, eax
je 0x4fcad4
movsx eax, byte [edi - 1]
dec edi
push 1
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0054b5b0
add esp, 0xc
test eax, eax
jne 0x4fcab0
mov eax, dword [esi + 0x24]
lea ebx, [esi + 0x14]
mov byte [esp + 0x48], 0x20
test eax, eax
je 0x4fcb53
cmp eax, 0xffffffff
jbe 0x4fcaed
or ecx, 0xffffffff
jmp 0x4fcaf0
lea ecx, [eax - 1]
cmp dword [ebx + 0x14], 0x10
jb 0x4fcafa
mov eax, dword [ebx]
jmp 0x4fcafc
mov eax, ebx
lea edi, [eax + ecx]
movsx eax, byte [edi]
push 1
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0054b5b0
add esp, 0xc
test eax, eax
je 0x4fcb3a
mov ecx, ebx
call fcn.00465130
cmp edi, eax
je 0x4fcb53
movsx eax, byte [edi - 1]
dec edi
push 1
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0054b5b0
add esp, 0xc
test eax, eax
jne 0x4fcb16
cmp dword [ebx + 0x14], 0x10
jb 0x4fcb44
mov eax, dword [ebx]
jmp 0x4fcb46
mov eax, ebx
sub edi, eax
cmp edi, 0xffffffff
je 0x4fcb53
inc edi
lea eax, [esi + 0x10]
jmp 0x4fcb59
mov edi, dword [esi + 0x24]
lea eax, [esi + 0x10]
xor ecx, ecx
mov edx, edi
test eax, eax
cmovne ecx, ebx
cmp dword [ecx + 0x10], edi
cmovb edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], 0x10
mov dword [esp + 0x24], edx
jb 0x4fcb75
mov ecx, dword [ecx]
mov ebx, dword [esp + 0x1c]
cmp dword [ebx], edi
cmovb edi, dword [ebx]
cmp dword [ebx + 4], 0x10
jb 0x4fcb89
mov eax, dword [ebx - 0x10]
jmp 0x4fcb8c
lea eax, [ebx - 0x10]
mov dword [esp + 0x1c], eax
cmp edi, edx
mov eax, edx
cmovb eax, edi
push eax
push ecx
push dword [esp + 0x24]
call fcn.0046b450
add esp, 0xc
test eax, eax
jne 0x4fcbbf
mov ecx, dword [esp + 0x24]
cmp edi, ecx
jae 0x4fcbb6
or eax, 0xffffffff
jmp 0x4fcbbd
xor eax, eax
cmp edi, ecx
setne al
test eax, eax
sets al
test al, al
je 0x4fcbfd
lea eax, [ebx - 0x14]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x28]
push eax
push 0x5a2113
call fcn.004dc930
push eax
add eax, 0x10
lea ecx, [esp + 0x50]
push eax
push esi
lea eax, [esp + 0x48]
push eax
call fcn.004f6b10
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
lea eax, [ebx - 0x10]
push eax
lea ecx, [esp + 0x64]
call fcn.004656b0
add esi, 0x2c
je 0x4fcc18
lea eax, [esi + 4]
jmp 0x4fcc1a
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x64]
call fcn.004656b0
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x58]
push 0xffffffffffffffff
push 0
add esi, 4
push eax
mov ecx, esi
call fcn.004656b0
call fcn.004bb0e0
test eax, eax
je 0x4fcc4d
add eax, 4
jmp 0x4fcc4f
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004656b0
add ebx, 0x1c
mov dword [esp + 0x1c], ebx
lea eax, [ebx - 0x14]
cmp eax, dword [esp + 0x2c]
jne 0x4fca30
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
call fcn.004bb0e0
test eax, eax
je 0x4fcc85
add eax, 4
jmp 0x4fcc87
xor eax, eax
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004656b0
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
push eax
mov byte [esp + 0x84], 1
push dword [eax]
lea eax, [esp + 0x48]
push eax
call fcn.004fd920
push dword [esp + 0x4c]
call fcn.00549eaf
add esp, 4
mov byte [esp + 0x80], 0
test edi, edi
je 0x4fcd00
mov esi, edi
cmp edi, ebx
je 0x4fccdf
mov edi, edi
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, ebx
jne 0x4fccd0
push edi
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
add ecx, 0x1c
mov eax, 0x92492493
mov dword [esp + 0x18], ecx
inc esi
mov ecx, dword [ebx + 0xcc]
sub ecx, dword [ebx + 0xc8]
imul ecx
mov dword [esp + 0x20], esi
add edx, ecx
mov ecx, dword [esp + 0x18]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4fc910
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x54], 0x4442f8
jb 0x4fcd5e
push dword [esp + 0x58]
call fcn.00549eaf
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0054a992
mov esp, ebp
pop ebp
ret 4