Function at 0x5fc440
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x6cbb39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, ecx
mov edx, dword [ebp + 0xec]
mov eax, dword [ebp + 0xf4]
sub eax, edx
push esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
push edi
mov edi, dword [esi + 4]
mov dword [esp + 0x20], ecx
cmp byte [eax], 0
mov edx, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edx
mov ebx, eax
mov dword [esp + 0x14], eax
je 0x5fc799
lea esp, [esp]
mov al, byte [ebx]
xor edx, edx
xor cl, cl
test al, al
mov byte [esp + 0x4c], dl
jns 0x5fc50f
mov al, byte [ebx + 1]
test al, al
je 0x5fc6d7
movzx edx, word [ebx]
mov dword [esp + 0x18], 2
mov eax, dword [ebp + 0x44]
mov ecx, dword [0x74e914]
mov dword [esp + 0x24], eax
push dword [esp + 0x24]
mov eax, dword [ecx]
push edx
call dword [eax + 0xbc]
mov ecx, dword [esp + 0x2c]
add eax, ecx
cmp eax, dword [esp + 0x28]
jg 0x5fc569
mov cl, byte [esp + 0x4c]
test cl, cl
jne 0x5fc569
mov dword [esp + 0x2c], eax
add ebx, dword [esp + 0x18]
jmp 0x5fc6ce
cmp al, 0xd
jne 0x5fc52a
mov cl, byte [ebx + 1]
xor eax, eax
cmp cl, 0xa
sete al
mov byte [esp + 0x4c], 1
inc eax
mov dword [esp + 0x18], eax
jmp 0x5fc4d4
cmp al, 0xa
jne 0x5fc53d
mov eax, 1
mov dword [esp + 0x18], eax
mov byte [esp + 0x4c], al
jmp 0x5fc4d4
cmp al, 9
jne 0x5fc543
mov cl, 1
test cl, cl
movsx edx, al
mov dword [esp + 0x18], 1
je 0x5fc4d4
mov ecx, dword [0x74e914]
mov eax, dword [ebp + 0x44]
mov edx, dword [ecx]
push eax
call dword [edx + 0xb4]
shl eax, 2
jmp 0x5fc4ee
cmp ebx, dword [esp + 0x14]
jne 0x5fc57b
mov al, byte [esp + 0x4c]
test al, al
je 0x5fc686
push 0x48
call fcn.0062e875
add esp, 4
xor esi, esi
cmp eax, esi
je 0x5fc5b5
mov byte [eax + 4], 0
mov dword [eax], 0x6f1ef8
mov dword [eax + 0x18], 0xffffffff
mov dword [eax + 0x34], 0xf
mov dword [eax + 0x30], esi
mov byte [eax + 0x20], 0
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], esi
mov esi, eax
mov eax, dword [ebp + 0x18c]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
add eax, edi
mov dword [esi + 0xc], edi
mov edi, ebx
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x14]
sub edi, ebp
mov dword [esi + 8], edx
mov edx, dword [esp + 0x50]
mov dword [esi + 0x10], ecx
push edi
lea ebp, [esi + 0x1c]
push eax
mov ecx, ebp
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x2c], esi
mov dword [esi + 0x18], edx
call fcn.0040cb40
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0xa8], 0x20
je 0x5fc636
push 0
lea ecx, [esi + 0x38]
push edi
call fcn.0043a130
cmp dword [ebp + 0x18], 0x10
mov eax, dword [esi + 0x3c]
jb 0x5fc622
mov ebp, dword [ebp + 4]
jmp 0x5fc625
add ebp, 4
mov edx, dword [esp + 0x50]
push edx
push 0xffffffffffffffff
push eax
push ebp
call fcn.00579650
add esp, 0x10
mov ecx, dword [esp + 0x58]
mov edi, dword [ecx + 4]
test edi, edi
jne 0x5fc645
xor edx, edx
jmp 0x5fc64d
mov edx, dword [ecx + 8]
sub edx, edi
sar edx, 2
test edi, edi
je 0x5fc66a
mov eax, dword [ecx + 0xc]
sub eax, edi
sar eax, 2
cmp edx, eax
jae 0x5fc66a
mov eax, dword [ecx + 8]
mov dword [eax], esi
add eax, 4
mov dword [ecx + 8], eax
jmp 0x5fc67a
mov eax, dword [ecx + 8]
lea edx, [esp + 0x24]
push edx
push 1
push eax
call fcn.005fb930
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x5c]
add edi, eax
add edx, eax
cmp eax, ecx
mov dword [esp + 0x30], edi
mov dword [esi + 4], edx
jne 0x5fc6aa
mov eax, dword [ebp + 0x18c]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x4c]
test al, al
mov dword [esi], 0
mov dword [esp + 0x38], edi
je 0x5fc6ca
add ebx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
cmp byte [ebx], 0
jne 0x5fc4b0
cmp ebx, dword [esp + 0x14]
je 0x5fc799
push 0x48
call fcn.0062e875
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
mov dword [esp + 0x44], 3
je 0x5fc706
mov ecx, eax
call fcn.005fbc10
mov esi, eax
jmp 0x5fc708
xor esi, esi
mov eax, dword [ebp + 0x18c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add eax, edi
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x14]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x14], eax
mov eax, edx
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x50]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
sub ebx, edi
push ebx
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x64], esi
mov dword [esi + 0x18], edx
call fcn.0040cb40
test byte [ebp + 0xa8], 0x20
je 0x5fc78b
push 0
push ebx
lea ecx, [esi + 0x38]
call fcn.0043a130
cmp dword [edi + 0x18], 0x10
mov esi, dword [esi + 0x3c]
jb 0x5fc777
mov edi, dword [edi + 4]
jmp 0x5fc77a
add edi, 4
mov ecx, dword [esp + 0x50]
push ecx
push 0xffffffffffffffff
push esi
push edi
call fcn.00579650
add esp, 0x10
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x5c]
push edx
call fcn.005fbbc0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0x14