Function at 0x4cf86c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cffa3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4cff7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
cmp dword [ebp + 8], 1
jne 0x4cfb23
cmp dword [0x567fcc], 0
jne 0x4cfb12
call fcn.004cf784
cmp dword [0x5672b0], 0
je 0x4cfb16
push 0x4cffb8
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fac], eax
push 0x4cffc8
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fd4], eax
push 0x4cffd4
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fd8], eax
push 0x4cffe8
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fb0], eax
push 0x4cfff8
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fb4], eax
push 0x4d0008
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f8c], eax
push 0x4d0014
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fb8], eax
push 0x4d0024
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fbc], eax
push 0x4d003c
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fc4], eax
push 0x4d0050
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fc8], eax
push 0x4d005c
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fcc], eax
push 0x4d006c
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567e44], eax
push 0x4d007c
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fc0], eax
push 0x4d0088
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567e48], eax
push 0x4d0098
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fd0], eax
push 0x4d00a4
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fa4], eax
push 0x4d00ac
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f68], eax
push 0x4d00c4
mov eax, dword [0x5672b0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fa8], eax
cmp dword [0x567fac], 0
je 0x4cfafa
cmp dword [0x567fb0], 0
je 0x4cfafa
cmp dword [0x567fb4], 0
je 0x4cfafa
cmp dword [0x567fb8], 0
je 0x4cfafa
cmp dword [0x567fbc], 0
je 0x4cfafa
cmp dword [0x567f8c], 0
je 0x4cfafa
cmp dword [0x567fc4], 0
je 0x4cfafa
cmp dword [0x567fc8], 0
je 0x4cfafa
cmp dword [0x567fd0], 0
je 0x4cfafa
cmp dword [0x567fa4], 0
je 0x4cfafa
cmp dword [0x567fd4], 0
je 0x4cfafa
cmp dword [0x567fcc], 0
je 0x4cfafa
cmp dword [0x567fd8], 0
je 0x4cfafa
cmp dword [0x567e44], 0
je 0x4cfafa
cmp dword [0x567e48], 0
je 0x4cfafa
cmp dword [0x567fc0], 0
je 0x4cfafa
cmp dword [0x567f68], 0
je 0x4cfafa
cmp dword [0x567fa8], 0
jne 0x4cfafe
xor eax, eax
jmp 0x4cfb00
mov al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4cfb16
xor eax, eax
mov dword [0x567fcc], eax
jmp 0x4cfb16
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cff88
mov eax, dword [ebp + 8]
cmp dword [eax*8 + 0x56f788], 0
jne 0x4cff70
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f784]
call fcn.00405014
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404d38
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004c7454
mov edx, dword [ebp + 8]
mov dword [edx*8 + 0x56f788], eax
mov eax, dword [ebp + 8]
cmp dword [eax*8 + 0x56f788], 0
je 0x4cfedd
mov eax, dword [ebp + 8]
cmp eax, 7
ja case.0x4cfb7f.1
jmp dword [eax*4 + 0x4cfb86]
push 0x4d00d8
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f4c], eax
push 0x4d00f4
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f50], eax
push 0x4d010c
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f54], eax
push 0x4d0124
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f58], eax
push 0x4d0134
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f5c], eax
cmp dword [0x567f4c], 0
je 0x4cfc55
cmp dword [0x567f50], 0
je 0x4cfc55
cmp dword [0x567f54], 0
je 0x4cfc55
cmp dword [0x567f58], 0
je 0x4cfc55
cmp dword [0x567f5c], 0
jne 0x4cfc59
xor eax, eax
jmp 0x4cfc5b
mov al, 1
mov byte [ebp - 0xd], al
cmp dword [ebp - 0xc], 0
je case.0x4cfb7f.1
cmp byte [ebp - 0xd], 0
jne case.0x4cfb7f.1
push 0x2b
push 0x4d014c
push 0
mov ecx, 3
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00516434
jmp case.0x4cfb7f.1
push 0x4d01c0
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f6c], eax
mov byte [ebp - 0xd], 1
jmp case.0x4cfb7f.1
push 0x4d01cc
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f70], eax
push 0x4d01dc
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f7c], eax
push 0x4d01f4
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f84], eax
push 0x4d020c
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f88], eax
push 0x4d0220
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f9c], eax
push 0x4d0234
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f90], eax
push 0x4d0250
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f94], eax
push 0x4d0268
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f98], eax
push 0x4d027c
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567fa0], eax
cmp dword [0x567f70], 0
je 0x4cfded
cmp dword [0x567f88], 0
je 0x4cfded
cmp dword [0x567f9c], 0
je 0x4cfded
cmp dword [0x567fa0], 0
je 0x4cfded
cmp dword [0x567f7c], 0
je 0x4cfded
cmp dword [0x567f84], 0
je 0x4cfded
cmp dword [0x567f90], 0
je 0x4cfded
cmp dword [0x567f94], 0
je 0x4cfded
cmp dword [0x567f98], 0
jne 0x4cfdf1
xor eax, eax
jmp 0x4cfdf3
mov al, 1
mov byte [ebp - 0xd], al
jmp case.0x4cfb7f.1
push 0x4d028c
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f80], eax
cmp dword [0x567f80], 0
setne byte [ebp - 0xd]
jmp case.0x4cfb7f.1
push 0x4d02a4
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f74], eax
push 0x4d02b0
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f78], eax
cmp dword [0x567f74], 0
je 0x4cfe6b
cmp dword [0x567f78], 0
jne 0x4cfe6f
xor eax, eax
jmp 0x4cfe71
mov al, 1
mov byte [ebp - 0xd], al
jmp case.0x4cfb7f.1
push 0x4d02c0
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f60], eax
cmp dword [0x567f60], 0
setne byte [ebp - 0xd]
jmp case.0x4cfb7f.1
push 0x4d02c0
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x56f788]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x567f64], eax
cmp dword [0x567f64], 0
setne byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
jne 0x4cff74
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax*8 + 0x56f788], edx
jmp 0x4cff74
cmp dword [ebp - 0xc], 0
je 0x4cff74
mov eax, dword [ebp + 8]
sub eax, 2
je 0x4cfef4
dec eax
je 0x4cff0e
jmp 0x4cff28
push 0x2b
push 0x4d02dc
push 0
mov ecx, 3
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00516434
jmp 0x4cff74
push 0x2b
push 0x4d036c
push 0
mov ecx, 3
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00516434
jmp 0x4cff74
push 0x2b
lea ecx, [ebp - 0x1c]
mov edx, 0x2b
mov eax, dword [ebp - 0xc]
call fcn.004cb984
push dword [ebp - 0x1c]
push 0x4d0400
mov eax, dword [ebp + 8]
push dword [eax*8 + 0x56f784]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404edc
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, 3
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00516434
jmp 0x4cff74
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cff88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cffaa
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b5c
ret