Function at 0x4cfd94
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 0x4d04cb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4d04a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
cmp dword [ebp + 8], 1
jne 0x4d004b
cmp dword [0x568fd8], 0
jne 0x4d003a
call fcn.004cfcac
cmp dword [0x5682bc], 0
je 0x4d003e
push 0x4d04e0
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fb8], eax
push 0x4d04f0
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fe0], eax
push 0x4d04fc
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fe4], eax
push 0x4d0510
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fbc], eax
push 0x4d0520
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fc0], eax
push 0x4d0530
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f98], eax
push 0x4d053c
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fc4], eax
push 0x4d054c
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fc8], eax
push 0x4d0564
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fd0], eax
push 0x4d0578
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fd4], eax
push 0x4d0584
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fd8], eax
push 0x4d0594
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568e50], eax
push 0x4d05a4
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fcc], eax
push 0x4d05b0
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568e54], eax
push 0x4d05c0
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fdc], eax
push 0x4d05cc
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fb0], eax
push 0x4d05d4
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f74], eax
push 0x4d05ec
mov eax, dword [0x5682bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fb4], eax
cmp dword [0x568fb8], 0
je 0x4d0022
cmp dword [0x568fbc], 0
je 0x4d0022
cmp dword [0x568fc0], 0
je 0x4d0022
cmp dword [0x568fc4], 0
je 0x4d0022
cmp dword [0x568fc8], 0
je 0x4d0022
cmp dword [0x568f98], 0
je 0x4d0022
cmp dword [0x568fd0], 0
je 0x4d0022
cmp dword [0x568fd4], 0
je 0x4d0022
cmp dword [0x568fdc], 0
je 0x4d0022
cmp dword [0x568fb0], 0
je 0x4d0022
cmp dword [0x568fe0], 0
je 0x4d0022
cmp dword [0x568fd8], 0
je 0x4d0022
cmp dword [0x568fe4], 0
je 0x4d0022
cmp dword [0x568e50], 0
je 0x4d0022
cmp dword [0x568e54], 0
je 0x4d0022
cmp dword [0x568fcc], 0
je 0x4d0022
cmp dword [0x568f74], 0
je 0x4d0022
cmp dword [0x568fb4], 0
jne 0x4d0026
xor eax, eax
jmp 0x4d0028
mov al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4d003e
xor eax, eax
mov dword [0x568fd8], eax
jmp 0x4d003e
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d04b0
mov eax, dword [ebp + 8]
cmp dword [eax*8 + 0x57078c], 0
jne 0x4d0498
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x570788]
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.004c797c
mov edx, dword [ebp + 8]
mov dword [edx*8 + 0x57078c], eax
mov eax, dword [ebp + 8]
cmp dword [eax*8 + 0x57078c], 0
je 0x4d0405
mov eax, dword [ebp + 8]
cmp eax, 7
ja case.0x4d00a7.1
jmp dword [eax*4 + 0x4d00ae]
push 0x4d0600
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f58], eax
push 0x4d061c
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f5c], eax
push 0x4d0634
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f60], eax
push 0x4d064c
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f64], eax
push 0x4d065c
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f68], eax
cmp dword [0x568f58], 0
je 0x4d017d
cmp dword [0x568f5c], 0
je 0x4d017d
cmp dword [0x568f60], 0
je 0x4d017d
cmp dword [0x568f64], 0
je 0x4d017d
cmp dword [0x568f68], 0
jne 0x4d0181
xor eax, eax
jmp 0x4d0183
mov al, 1
mov byte [ebp - 0xd], al
cmp dword [ebp - 0xc], 0
je case.0x4d00a7.1
cmp byte [ebp - 0xd], 0
jne case.0x4d00a7.1
push 0x2b
push 0x4d0674
push 0
mov ecx, 3
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00516a48
jmp case.0x4d00a7.1
push 0x4d06e8
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f78], eax
mov byte [ebp - 0xd], 1
jmp case.0x4d00a7.1
push 0x4d06f4
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f7c], eax
push 0x4d0704
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f88], eax
push 0x4d071c
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f90], eax
push 0x4d0734
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f94], eax
push 0x4d0748
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fa8], eax
push 0x4d075c
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f9c], eax
push 0x4d0778
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fa0], eax
push 0x4d0790
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fa4], eax
push 0x4d07a4
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568fac], eax
cmp dword [0x568f7c], 0
je 0x4d0315
cmp dword [0x568f94], 0
je 0x4d0315
cmp dword [0x568fa8], 0
je 0x4d0315
cmp dword [0x568fac], 0
je 0x4d0315
cmp dword [0x568f88], 0
je 0x4d0315
cmp dword [0x568f90], 0
je 0x4d0315
cmp dword [0x568f9c], 0
je 0x4d0315
cmp dword [0x568fa0], 0
je 0x4d0315
cmp dword [0x568fa4], 0
jne 0x4d0319
xor eax, eax
jmp 0x4d031b
mov al, 1
mov byte [ebp - 0xd], al
jmp case.0x4d00a7.1
push 0x4d07b4
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f8c], eax
cmp dword [0x568f8c], 0
setne byte [ebp - 0xd]
jmp case.0x4d00a7.1
push 0x4d07cc
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f80], eax
push 0x4d07d8
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f84], eax
cmp dword [0x568f80], 0
je 0x4d0393
cmp dword [0x568f84], 0
jne 0x4d0397
xor eax, eax
jmp 0x4d0399
mov al, 1
mov byte [ebp - 0xd], al
jmp case.0x4d00a7.1
push 0x4d07e8
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f6c], eax
cmp dword [0x568f6c], 0
setne byte [ebp - 0xd]
jmp case.0x4d00a7.1
push 0x4d07e8
mov eax, dword [ebp + 8]
mov eax, dword [eax*8 + 0x57078c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x568f70], eax
cmp dword [0x568f70], 0
setne byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
jne 0x4d049c
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax*8 + 0x57078c], edx
jmp 0x4d049c
cmp dword [ebp - 0xc], 0
je 0x4d049c
mov eax, dword [ebp + 8]
sub eax, 2
je 0x4d041c
dec eax
je 0x4d0436
jmp 0x4d0450
push 0x2b
push 0x4d0804
push 0
mov ecx, 3
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00516a48
jmp 0x4d049c
push 0x2b
push 0x4d0894
push 0
mov ecx, 3
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00516a48
jmp 0x4d049c
push 0x2b
lea ecx, [ebp - 0x1c]
mov edx, 0x2b
mov eax, dword [ebp - 0xc]
call fcn.004cbeac
push dword [ebp - 0x1c]
push 0x4d0928
mov eax, dword [ebp + 8]
push dword [eax*8 + 0x570788]
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.00516a48
jmp 0x4d049c
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d04b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d04d2
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b5c
ret