Function at 0x4fc570
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, 0x5136c8
xor eax, eax
push ebp
push 0x4fcb37
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx], 0x20
jae 0x4fc5ff
lea eax, [ebp - 8]
call fcn.00404a88
cmp dword [0x5178d8], 0
je 0x4fc5ae
lea eax, [ebp - 8]
call dword [0x5178d8]
mov eax, dword [ebp - 8]
call fcn.00404d48
test eax, eax
jle 0x4fc5d1
mov eax, dword [ebp - 8]
call fcn.00404f4c
call fcn.004fc548
test al, al
je 0x4fcb21
jmp 0x4fc5ff
mov eax, dword [0x513708]
mov eax, dword [eax]
call fcn.00404f4c
call fcn.004fc548
test al, al
jne 0x4fc5ff
mov eax, dword [0x513f58]
mov eax, dword [eax]
call fcn.00404f4c
call fcn.004fc548
test al, al
je 0x4fcb21
wait
fnstcw word [ebp - 2]
mov eax, 0x5176b4
mov edx, 0x4fcb4c
call fcn.004fc4a8
mov eax, 0x5176b8
mov edx, 0x4fcb68
call fcn.004fc4a8
mov eax, 0x5176bc
mov edx, 0x4fcb84
call fcn.004fc4a8
mov eax, 0x5176c0
mov edx, 0x4fcba4
call fcn.004fc4a8
mov eax, 0x5176c4
mov edx, 0x4fcbc4
call fcn.004fc4a8
mov eax, 0x5176c8
mov edx, 0x4fcbe0
call fcn.004fc4a8
mov eax, 0x5176cc
mov edx, 0x4fcbfc
call fcn.004fc4a8
mov eax, 0x5176d0
mov edx, 0x4fcc1c
call fcn.004fc4a8
mov eax, 0x5176d4
mov edx, 0x4fcc38
call fcn.004fc4a8
mov eax, 0x5176d8
mov edx, 0x4fcc50
call fcn.004fc4a8
mov eax, 0x5176dc
mov edx, 0x4fcc70
call fcn.004fc4a8
mov eax, 0x5176e0
mov edx, 0x4fcc8c
call fcn.004fc4a8
mov eax, 0x5176e8
mov edx, 0x4fcca4
call fcn.004fc4a8
mov eax, 0x5176f4
mov edx, 0x4fccbc
call fcn.004fc4a8
mov eax, 0x5176f8
mov edx, 0x4fccd4
call fcn.004fc4a8
mov eax, 0x517728
mov edx, 0x4fccf0
call fcn.004fc4a8
mov eax, 0x51772c
mov edx, 0x4fcd08
call fcn.004fc4a8
mov eax, 0x517730
mov edx, 0x4fcd20
call fcn.004fc4a8
mov eax, 0x517734
mov edx, 0x4fcd38
call fcn.004fc4a8
mov eax, 0x517714
mov edx, 0x4fcd50
call fcn.004fc4a8
mov eax, 0x517718
mov edx, 0x4fcd68
call fcn.004fc4a8
mov eax, 0x5176a4
mov edx, 0x4fcd80
call fcn.004fc4a8
mov eax, 0x5176b0
mov edx, 0x4fcd9c
call fcn.004fc4a8
mov eax, 0x5176a8
mov edx, 0x4fcdb8
call fcn.004fc4a8
mov eax, 0x5176ac
mov edx, 0x4fcdd4
call fcn.004fc4a8
mov eax, 0x5176fc
mov edx, 0x4fcdf0
call fcn.004fc4a8
mov eax, 0x517744
mov edx, 0x4fce0c
call fcn.004fc4a8
mov eax, 0x5176f0
mov edx, 0x4fce28
call fcn.004fc4a8
mov eax, 0x5176ec
mov edx, 0x4fce48
call fcn.004fc4a8
mov eax, 0x51773c
mov edx, 0x4fce68
call fcn.004fc4a8
mov eax, 0x51774c
mov edx, 0x4fce8c
call fcn.004fc4a8
mov eax, 0x517750
mov edx, 0x4fceac
call fcn.004fc4a8
mov eax, 0x5177a4
mov edx, 0x4fcecc
call fcn.004fc4a8
mov eax, 0x5177a8
mov edx, 0x4fcef0
call fcn.004fc4a8
mov eax, 0x51779c
mov edx, 0x4fcf10
call fcn.004fc4a8
mov eax, 0x5177a0
mov edx, 0x4fcf2c
call fcn.004fc4a8
mov eax, 0x5177ac
mov edx, 0x4fcf48
call fcn.004fc4a8
mov eax, 0x5177b0
mov edx, 0x4fcf6c
call fcn.004fc4a8
mov eax, 0x5177b8
mov edx, 0x4fcf90
call fcn.004fc4a8
mov eax, 0x5177bc
mov edx, 0x4fcfac
call fcn.004fc4a8
mov eax, 0x5177c0
mov edx, 0x4fcfd0
call fcn.004fc4a8
mov eax, 0x5177c4
mov edx, 0x4fcfec
call fcn.004fc4a8
mov eax, 0x5177c8
mov edx, 0x4fd00c
call fcn.004fc4a8
mov eax, 0x5177b4
mov edx, 0x4fd024
call fcn.004fc4a8
mov eax, 0x5177cc
mov edx, 0x4fd044
call fcn.004fc4a8
mov eax, 0x517700
mov edx, 0x4fd060
call fcn.004fc4a8
mov eax, 0x517704
mov edx, 0x4fd078
call fcn.004fc4a8
mov eax, 0x5176e4
mov edx, 0x4fd090
call fcn.004fc4a8
mov eax, 0x51770c
mov edx, 0x4fd0ac
call fcn.004fc4a8
mov eax, 0x517738
mov edx, 0x4fd0c8
call fcn.004fc4a8
mov eax, 0x517708
mov edx, 0x4fd0e0
call fcn.004fc4a8
mov eax, 0x51770c
mov edx, 0x4fd0ac
call fcn.004fc4a8
mov eax, 0x51771c
mov edx, 0x4fd0f8
call fcn.004fc4a8
mov eax, 0x517724
mov edx, 0x4fd110
call fcn.004fc4a8
mov eax, 0x517710
mov edx, 0x4fd12c
call fcn.004fc4a8
mov eax, 0x517748
mov edx, 0x4fd140
call fcn.004fc4a8
mov eax, 0x517758
mov edx, 0x4fd154
call fcn.004fc4a8
mov eax, 0x517760
mov edx, 0x4fd16c
call fcn.004fc4a8
mov eax, 0x517764
mov edx, 0x4fd188
call fcn.004fc4a8
mov eax, 0x517768
mov edx, 0x4fd1a8
call fcn.004fc4a8
mov eax, 0x51776c
mov edx, 0x4fd1bc
call fcn.004fc4a8
mov eax, 0x517770
mov edx, 0x4fd1d8
call fcn.004fc4a8
mov eax, 0x517774
mov edx, 0x4fd1f4
call fcn.004fc4a8
mov eax, 0x517778
mov edx, 0x4fd210
call fcn.004fc4a8
mov eax, 0x51777c
mov edx, 0x4fd224
call fcn.004fc4a8
push 0x4fd238
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x517720], eax
push 0x4fd248
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x517780], eax
push 0x4fd25c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x517784], eax
push 0x4fd270
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x517788], eax
push 0x4fd284
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x51778c], eax
push 0x4fd298
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x517790], eax
push 0x4fd2a8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x517794], eax
push 0x4fd2b8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x517798], eax
push 0x4fd2c8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x517740], eax
push 0x4fd2e0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x51775c], eax
fldcw word [ebp - 2]
cmp dword [0x517790], 0
jne 0x4fca9c
mov dword [0x517790], 0x4fc238
cmp dword [0x517794], 0
jne 0x4fcaaf
mov dword [0x517794], 0x4fc280
cmp dword [0x517798], 0
jne 0x4fcac2
mov dword [0x517798], 0x4fc2cc
cmp dword [0x517780], 0
jne 0x4fcad5
mov dword [0x517780], 0x4fc318
cmp dword [0x517784], 0
jne 0x4fcae8
mov dword [0x517784], 0x4fc368
cmp dword [0x517788], 0
jne 0x4fcafb
mov dword [0x517788], 0x4fc3b8
cmp dword [0x51778c], 0
jne 0x4fcb0e
mov dword [0x51778c], 0x4fc404
cmp dword [0x51775c], 0
jne 0x4fcb21
mov dword [0x51775c], 0x4fc450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fcb3e
lea eax, [ebp - 8]
call fcn.00404a88
ret