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

Disassembly:
push 0xffffffffffffffff
push 0x7cb60f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x180]
mov eax, 0x66666667
imul ecx
mov ecx, dword [0x9ea1d4]
push ebp
sar edx, 2
mov eax, edx
push esi
shr eax, 0x1f
add edx, eax
mov eax, dword [ecx + 0x914]
mov ebp, edx
push edi
cmp ebp, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], ebp
jne 0x5c9361
mov ecx, dword [ebx + 0x32c]
test ecx, ecx
je 0x5c8dc8
mov edx, dword [ecx]
push 1
call dword [edx + 0x44]
mov eax, dword [ebx + 0x338]
mov esi, dword [eax]
cmp esi, eax
je 0x5c8e66
mov ecx, dword [ebx + 0x32c]
test ecx, ecx
je 0x5c8e5a
mov edi, dword [esi + 8]
test edi, edi
je 0x5c8e58
mov edx, dword [edi]
mov eax, dword [ecx]
push edx
call dword [eax + 0x20]
mov dword [esp + 0x2c], edi
mov ecx, edi
mov dword [esp + 0x184], 0
call fcn.005bed50
or ecx, 0xffffffff
lea eax, [edi + 4]
mov dword [esp + 0x184], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x184], ecx
push 1
lea ecx, [eax + 0x14]
call fcn.00404e60
push edi
call fcn.007a02e0
mov eax, dword [esi + 4]
mov edi, dword [esi]
push esi
mov dword [eax], edi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
call fcn.007a02e0
mov eax, dword [ebx + 0x29c]
add esp, 8
dec eax
mov esi, edi
mov dword [ebx + 0x29c], eax
jmp 0x5c8e5a
mov esi, dword [esi]
cmp esi, dword [ebx + 0x338]
jne 0x5c8dd8
mov edx, dword [ebx + 0x1dc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x40], 0
mov eax, dword [edx]
cmp eax, edx
je 0x5c8ec3
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5c8e95
mov esi, dword [ecx]
mov edi, dword [ebx + 0x1c8]
cmp esi, edi
je 0x5c8e9d
mov eax, dword [eax]
cmp eax, edx
jne 0x5c8e82
jmp 0x5c8ec3
lea edx, [ecx + 0xc]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], edx
mov ecx, dword [0x9ea198]
mov eax, dword [ecx + 0x18]
lea edi, [ecx + 0x18]
mov dword [esp + 0x2c], edi
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [edi]
cmp eax, ecx
je 0x5c9361
lea esi, [eax + 0x10]
test esi, esi
mov dword [esp + 0x28], esi
je 0x5c934a
cmp ebp, dword [esi + 0xc]
jne 0x5c934a
cmp byte [esi + 0x10], 2
jne 0x5c934a
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x7c]
push 0xfc
rep stosd dword es:[edi], eax
call fcn.007a2d8d
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x184], 2
je 0x5c8f3d
mov ecx, eax
call fcn.0040b830
mov ebp, eax
jmp 0x5c8f3f
xor ebp, ebp
mov ecx, dword [ebx + 0x32c]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x184], 0xffffffff
je 0x5c8f6c
mov edx, dword [ecx]
push 1
call dword [edx + 0x44]
mov ecx, dword [ebx + 0x32c]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x70]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov edi, 0x82fa6c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x13]
not ecx
dec ecx
mov byte [esp + 0x44], dl
push ecx
push 0x82fa6c
lea ecx, [esp + 0x4c]
call fcn.00404eb0
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
mov dword [esp + 0x188], 3
call fcn.0040c0e0
mov eax, dword [esp + 0x48]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x184], 0xffffffff
je 0x5c8fe7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c8fde
cmp al, 0xff
je 0x5c8fde
dec al
mov byte [ecx], al
jmp 0x5c8fe7
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x7c]
push ecx
push 0x82fab0
push 0x100
push edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
call fcn.007a4294
add esp, 0x10
cmp ebp, edi
je 0x5c906b
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, ebx
push edi
mov dword [esp + 0x1c], edi
call fcn.00401b40
test al, al
je 0x5c9067
mov eax, dword [ebx + 4]
mov ecx, edi
mov edi, eax
mov eax, ecx
lea esi, [esp + 0x7c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x28]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
mov byte [ebx + eax], 0
add ebx, eax
mov ebx, dword [esp + 0x18]
jmp 0x5c906b
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
push eax
mov eax, dword [esp + 0x60]
sub esp, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x6c]
mov ecx, esp
fild dword [esp + 0x34]
mov dword [ecx], edx
mov edx, dword [esp + 0x74]
fstp dword [esp + 0x48]
fild dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x78]
fstp dword [esp + 0x50]
mov dword [ecx + 8], edx
lea edx, [esp + 0x48]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x50]
push ecx
push edx
mov ecx, ebx
call fcn.005c8cb0
fld dword [esp + 0x34]
call fcn.007a2dec
fld dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x20], esi
call fcn.007a2dec
lea ecx, [esi - 0x11]
lea edx, [esi + 0x11]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], edx
lea ecx, [eax - 0x11]
lea edx, [eax + 0x11]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], edx
mov edx, dword [ebp]
push eax
push esi
mov ecx, ebp
mov dword [esp + 0x2c], eax
call dword [edx + 0x24]
mov eax, dword [ebp]
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
call dword [eax + 0x30]
push 0x3f800000
push 0x3f800000
push 0
push 0
mov ecx, ebp
call fcn.0040c600
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], 0x7e5658
lea eax, [edx + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x5c9141
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, esi
push ebx
call fcn.00401b40
test al, al
je 0x5c9184
mov edi, dword [esi + 4]
mov esi, dword [esp + 0x14]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x44], ebx
add ebx, eax
mov byte [ebx], 0
mov edx, dword [ebp]
push 1
mov ecx, ebp
mov dword [ebp + 0x4c], 0xff8080ff
call dword [edx + 0x44]
push 0x28
call fcn.007a2d8d
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
xor ebx, ebx
mov dword [esp + 0x184], 4
cmp edi, ebx
je 0x5c91fe
mov al, byte [esp + 0x13]
lea esi, [edi + 4]
push ebx
mov dword [esp + 0x7c], esi
lea ecx, [esi + 0x14]
mov byte [ecx], al
call fcn.00404e60
mov byte [esp + 0x184], 5
mov dword [esi], ebx
mov dword [esi + 4], 0xe
mov dword [esi + 8], 6
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esp + 0x184], 6
mov dword [edi], ebx
mov byte [esp + 0x184], 4
mov ebx, edi
test ebx, ebx
mov dword [esp + 0x184], 0xffffffff
je 0x5c92f6
test ebp, ebp
je 0x5c92f6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov dword [ebx + 4], eax
inc eax
mov dword [ebx], ebp
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x10], eax
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], 5
mov dword [ebx + 0x14], ecx
mov eax, dword [esi + 8]
mov ecx, dword [0x7e565c]
mov ebp, eax
lea edi, [ebx + 0x18]
cmp ecx, ebp
jae 0x5c925e
mov ebp, ecx
cmp edi, esi
jne 0x5c9278
push ecx
push ebp
mov ecx, edi
call fcn.00404f50
push 0
push 0
mov ecx, edi
call fcn.00404f50
jmp 0x5c92f6
test ebp, ebp
jbe 0x5c92c0
cmp ebp, eax
jne 0x5c92c0
mov eax, dword [esi + 4]
test eax, eax
jne 0x5c928c
mov eax, 0x7e5658
cmp byte [eax - 1], 0xfe
jae 0x5c92c0
push 1
mov ecx, edi
call fcn.00404e60
mov eax, dword [esi + 4]
test eax, eax
jne 0x5c92a7
mov eax, 0x7e5658
mov dword [edi + 4], eax
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x5c92f6
push 1
push ebp
mov ecx, edi
call fcn.00401b40
test al, al
je 0x5c92f6
mov esi, dword [esi + 4]
test esi, esi
jne 0x5c92da
mov esi, 0x7e5658
mov edi, dword [edi + 4]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0x18]
call fcn.00405070
mov edi, dword [esp + 0x18]
push 0xc
mov esi, dword [edi + 0x338]
mov ebp, dword [esi + 4]
call fcn.007a2d8d
add esp, 4
mov ecx, esi
test esi, esi
jne 0x5c9315
mov ecx, eax
test ebp, ebp
mov dword [eax], ecx
jne 0x5c931d
mov ebp, eax
mov dword [eax + 4], ebp
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x5c9331
mov dword [eax], ebx
mov eax, dword [edi + 0x33c]
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x18]
inc eax
mov dword [edi + 0x33c], eax
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
call fcn.005caa90
mov eax, dword [esp + 0x30]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x5c8ee3
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x178
ret 4