Function at 0x4cf954
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, 0x5b85e8
xor eax, eax
push ebp
push 0x4d0106
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx], 0
jne 0x4cf9af
lea edx, [ebp - 0xc]
mov eax, dword [0x5bbee4]
mov eax, dword [eax]
call fcn.0044f42c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004095a8
lea eax, [ebp - 8]
mov edx, 0x4d0120
call fcn.00403f20
mov eax, dword [ebp - 8]
call fcn.004040dc
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
jne 0x4cf9c0
push 0x4d0130
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [0x5b85e4], 0
jne 0x4cfa03
lea edx, [ebp - 0xc]
mov eax, dword [0x5bbee4]
mov eax, dword [eax]
call fcn.0044f42c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004095a8
lea eax, [ebp - 8]
mov edx, 0x4d0148
call fcn.00403f20
mov eax, dword [ebp - 8]
call fcn.004040dc
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5b85e4], eax
cmp dword [0x5b85e4], 0
jne 0x4cfa1b
push 0x4d0158
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5b85e4], eax
mov eax, 0x4d0170
call fcn.004cf874
mov dword [0x5b84d0], eax
mov eax, 0x4d0190
call fcn.004cf874
mov dword [0x5b84d4], eax
mov eax, 0x4d01a4
call fcn.004cf874
mov dword [0x5b84d8], eax
mov eax, 0x4d01bc
call fcn.004cf874
mov dword [0x5b84dc], eax
mov eax, 0x4d01d0
call fcn.004cf874
mov dword [0x5b84e0], eax
mov eax, 0x4d01f4
call fcn.004cf874
mov dword [0x5b84e4], eax
mov eax, 0x4d021c
call fcn.004cf874
mov dword [0x5b84e8], eax
mov eax, 0x4d0248
call fcn.004cf874
mov dword [0x5b84ec], eax
mov eax, 0x4d0268
call fcn.004cf874
mov dword [0x5b84f0], eax
mov eax, 0x4d0288
call fcn.004cf874
mov dword [0x5b84f4], eax
mov eax, 0x4d02ac
call fcn.004cf874
mov dword [0x5b84f8], eax
mov eax, 0x4d02c8
call fcn.004cf874
mov dword [0x5b8500], eax
mov eax, 0x4d02ec
call fcn.004cf874
mov dword [0x5b8504], eax
mov eax, 0x4d0310
call fcn.004cf874
mov dword [0x5b8508], eax
mov eax, 0x4d0338
call fcn.004cf874
mov dword [0x5b850c], eax
mov eax, 0x4d0368
call fcn.004cf874
mov dword [0x5b8510], eax
mov eax, 0x4d038c
call fcn.004cf874
mov dword [0x5b8514], eax
mov eax, 0x4d039c
call fcn.004cf874
mov dword [0x5b8518], eax
mov eax, 0x4d03b0
call fcn.004cf874
mov dword [0x5b851c], eax
mov eax, 0x4d03c4
call fcn.004cf874
mov dword [0x5b8520], eax
mov eax, 0x4d03d8
call fcn.004cf874
mov dword [0x5b8524], eax
mov eax, 0x4d03ec
call fcn.004cf874
mov dword [0x5b8528], eax
mov eax, 0x4d0400
call fcn.004cf874
mov dword [0x5b852c], eax
mov eax, 0x4d0414
call fcn.004cf874
mov dword [0x5b8530], eax
mov eax, 0x4d042c
call fcn.004cf874
mov dword [0x5b8534], eax
mov eax, 0x4d0444
call fcn.004cf874
mov dword [0x5b8538], eax
mov eax, 0x4d0460
call fcn.004cf874
mov dword [0x5b853c], eax
mov eax, 0x4d047c
call fcn.004cf874
mov dword [0x5b8540], eax
mov eax, 0x4d0494
call fcn.004cf874
mov dword [0x5b8544], eax
mov eax, 0x4d04b0
call fcn.004cf874
mov dword [0x5b8548], eax
mov eax, 0x4d04cc
call fcn.004cf874
mov dword [0x5b854c], eax
mov eax, 0x4d04e4
call fcn.004cf874
mov dword [0x5b8550], eax
mov eax, 0x4d0504
call fcn.004cf874
mov dword [0x5b8554], eax
mov eax, 0x4d0524
call fcn.004cf874
mov dword [0x5b8558], eax
mov eax, 0x4d053c
call fcn.004cf874
mov dword [0x5b855c], eax
mov eax, 0x4d0558
call fcn.004cf874
mov dword [0x5b8560], eax
mov eax, 0x4d0574
call fcn.004cf874
mov dword [0x5b8564], eax
mov eax, 0x4d058c
call fcn.004cf874
mov dword [0x5b8568], eax
mov eax, 0x4d05a8
call fcn.004cf874
mov dword [0x5b856c], eax
mov eax, 0x4d05c8
call fcn.004cf874
mov dword [0x5b8570], eax
mov eax, 0x4d05e8
call fcn.004cf874
mov dword [0x5b8574], eax
mov eax, 0x4d0604
call fcn.004cf874
mov dword [0x5b8578], eax
mov eax, 0x4d062c
call fcn.004cf874
mov dword [0x5b857c], eax
mov eax, 0x4d0644
call fcn.004cf874
mov dword [0x5b8580], eax
mov eax, 0x4d0660
call fcn.004cf8e4
mov dword [0x5b8584], eax
mov eax, 0x4d0674
call fcn.004cf8e4
mov dword [0x5b8588], eax
mov eax, 0x4d0690
call fcn.004cf8e4
mov dword [0x5b858c], eax
mov eax, 0x4d06a8
call fcn.004cf8e4
mov dword [0x5b8590], eax
mov eax, 0x4d06c8
call fcn.004cf8e4
mov dword [0x5b8594], eax
mov eax, 0x4d06e8
call fcn.004cf8e4
mov dword [0x5b8598], eax
mov eax, 0x4d0708
call fcn.004cf8e4
mov dword [0x5b859c], eax
mov eax, 0x4d0728
call fcn.004cf8e4
mov dword [0x5b85a0], eax
mov eax, 0x4d073c
call fcn.004cf8e4
mov dword [0x5b85a4], eax
mov eax, 0x4d074c
call fcn.004cf8e4
mov dword [0x5b85a8], eax
mov eax, 0x4d0770
call fcn.004cf8e4
mov dword [0x5b85ac], eax
mov eax, 0x4d0794
call fcn.004cf8e4
mov dword [0x5b85b0], eax
mov eax, 0x4d07bc
call fcn.004cf8e4
mov dword [0x5b85b4], eax
mov eax, 0x4d07e4
call fcn.004cf8e4
mov dword [0x5b85f0], eax
mov eax, 0x4d07f8
call fcn.004cf874
mov dword [0x5b84fc], eax
mov eax, 0x4d0818
call fcn.004cf874
mov dword [0x5b85b8], eax
mov eax, 0x4d0830
call fcn.004cf874
mov dword [0x5b85bc], eax
mov eax, 0x4d0848
call fcn.004cf874
mov dword [0x5b85c0], eax
mov eax, 0x4d0868
call fcn.004cf874
mov dword [0x5b85c4], eax
mov eax, 0x4d088c
call fcn.004cf874
mov dword [0x5b85c8], eax
mov eax, 0x4d08b8
call fcn.004cf874
mov dword [0x5b85cc], eax
mov eax, 0x4d08e0
call fcn.004cf874
mov dword [0x5b85d0], eax
mov eax, 0x4d0900
call fcn.004cf874
mov dword [0x5b85d4], eax
mov eax, 0x4d0920
call fcn.004cf874
mov dword [0x5b85d8], eax
mov eax, 0x4d093c
call fcn.004cf874
mov dword [0x5b85dc], eax
mov eax, 0x4d095c
call fcn.004cf874
mov dword [0x5b85e0], eax
mov eax, 0x4d0978
call fcn.004cf874
mov dword [0x5b849c], eax
push 0x4d0984
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84a0], eax
push 0x4d0994
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84a4], eax
push 0x4d09a0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84a8], eax
push 0x4d09a8
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84ac], eax
push 0x4d09b4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84b0], eax
push 0x4d09c0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84b4], eax
push 0x4d09d4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84b8], eax
push 0x4d09e4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84bc], eax
push 0x4d09f0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84c0], eax
push 0x4d0a00
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84c4], eax
push 0x4d0a14
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84c8], eax
push 0x4d0a24
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x5b84cc], eax
cmp dword [0x5b84d4], 0
je 0x4d0018
cmp dword [0x5b8564], 0
je 0x4d0018
cmp dword [0x5b8518], 0
je 0x4d0018
cmp dword [0x5b8514], 0
je 0x4d0018
cmp dword [0x5b84d8], 0
je 0x4d0018
cmp dword [0x5b8524], 0
je 0x4d0018
cmp dword [0x5b852c], 0
je 0x4d0018
cmp dword [0x5b8530], 0
je 0x4d0018
cmp dword [0x5b84a0], 0
je 0x4d0018
cmp dword [0x5b849c], 0
je 0x4d0018
cmp dword [0x5b84a4], 0
je 0x4d0018
cmp dword [0x5b84dc], 0
je 0x4d0018
cmp dword [0x5b8568], 0
je 0x4d0018
cmp dword [0x5b84f4], 0
je 0x4d0018
cmp dword [0x5b85e0], 0
je 0x4d0018
cmp dword [0x5b85d8], 0
je 0x4d0018
cmp dword [0x5b85a0], 0
je 0x4d0018
cmp dword [0x5b8594], 0
je 0x4d0018
cmp dword [0x5b8588], 0
je 0x4d0018
cmp dword [0x5b859c], 0
je 0x4d0018
cmp dword [0x5b8588], 0
je 0x4d0018
cmp dword [0x5b8584], 0
je 0x4d0018
cmp dword [0x5b84fc], 0
je 0x4d0018
mov eax, 0x4d0a8c
test eax, eax
jne 0x4d001c
xor eax, eax
jmp 0x4d001e
mov al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x4d005d
cmp dword [0x5b84ac], 0
je 0x4d005d
cmp dword [0x5b84a8], 0
je 0x4d005d
cmp dword [0x5b84b0], 0
je 0x4d005d
cmp dword [0x5b84b4], 0
je 0x4d005d
cmp dword [0x5b84bc], 0
je 0x4d005d
cmp dword [0x5b84b8], 0
jne 0x4d0061
xor eax, eax
jmp 0x4d0063
mov al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov byte [0x5b8498], al
cmp byte [0x5b8498], 0
je 0x4d00d4
call dword [0x5b8580]
call dword [0x5b84ec]
xor eax, eax
push ebp
push 0x4d00aa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5b85f0], 0
je 0x4d00a0
call dword [0x5b85f0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d00b4
cmp dword [0x5b84c0], 0
je 0x4d00eb
push 0
call dword [0x5b84c0]
pop ecx
mov edx, eax
mov eax, 0x5c0c8c
call fcn.00403e50
jmp 0x4d00eb
call fcn.004d0a34
mov eax, 0x5c0c8c
mov edx, dword [0x5bc024]
mov edx, dword [edx]
call fcn.00403cf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d010d
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403cc0
ret