Function at 0x4b811c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405354
xor eax, eax
push ebp
push 0x4b85c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [0x4dd5e0], 0
cmp dword [ebp - 4], 0
jne 0x4b8159
lea eax, [ebp - 4]
mov edx, 0x4b85d8
call fcn.00404f6c
mov eax, dword [0x4dd5dc]
call fcn.00435b30
xor eax, eax
push ebp
push 0x4b85a4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d4b2c], 0
jne 0x4b857c
mov byte [0x4dd5e0], 0
mov byte [0x4dd5e1], 0
mov eax, dword [ebp - 4]
call fcn.00405364
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4d4b30], eax
cmp dword [0x4d4b30], 0
je 0x4b8580
push 0x4b85e4
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b28], eax
push 0x4b85f0
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b24], eax
push 0x4b8600
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b04], eax
push 0x4b860c
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ae4], eax
push 0x4b8618
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4a9c], eax
push 0x4b8628
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4a94], eax
push 0x4b8634
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4a98], eax
push 0x4b8640
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b0c], eax
push 0x4b8648
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b08], eax
push 0x4b8650
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b00], eax
push 0x4b8658
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4afc], eax
push 0x4b8664
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4af8], eax
push 0x4b8670
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ac4], eax
push 0x4b867c
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4af4], eax
push 0x4b8684
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4af0], eax
push 0x4b868c
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4aec], eax
push 0x4b8698
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ae8], eax
push 0x4b86a4
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ae0], eax
push 0x4b86ac
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4adc], eax
push 0x4b86b4
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ad8], eax
push 0x4b86bc
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ad0], eax
push 0x4b86c4
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ad4], eax
push 0x4b86d0
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b14], eax
push 0x4b86d8
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4acc], eax
push 0x4b86e0
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ac8], eax
push 0x4b86e8
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ac0], eax
push 0x4b86f4
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4abc], eax
push 0x4b8700
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b10], eax
push 0x4b8708
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ab4], eax
push 0x4b8718
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ab0], eax
push 0x4b8728
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4aa8], eax
push 0x4b8738
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4aac], eax
push 0x4b874c
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4aa0], eax
push 0x4b875c
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4aa4], eax
push 0x4b876c
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4ab8], eax
push 0x4b8778
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b18], eax
push 0x4b8784
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b1c], eax
push 0x4b8794
mov eax, dword [0x4d4b30]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b20], eax
cmp dword [0x4d4b18], 0
je 0x4b84e5
cmp dword [0x4d4b1c], 0
je 0x4b84e5
cmp dword [0x4d4b20], 0
jne 0x4b84e9
xor eax, eax
jmp 0x4b84eb
mov al, 1
mov byte [0x4dd5e0], al
cmp byte [0x4dd5e0], 0
jne 0x4b8576
push 0x4b87a0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4d4b34], eax
cmp dword [0x4d4b34], 0
je 0x4b8576
push 0x4b8778
mov eax, dword [0x4d4b34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b18], eax
push 0x4b8784
mov eax, dword [0x4d4b34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b1c], eax
push 0x4b8794
mov eax, dword [0x4d4b34]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d4b20], eax
cmp dword [0x4d4b18], 0
je 0x4b856b
cmp dword [0x4d4b1c], 0
je 0x4b856b
cmp dword [0x4d4b20], 0
jne 0x4b856f
xor eax, eax
jmp 0x4b8571
mov al, 1
mov byte [0x4dd5e1], al
mov byte [ebp - 5], 1
jmp 0x4b8580
mov byte [ebp - 5], 1
cmp byte [ebp - 5], 0
je 0x4b858c
inc dword [0x4d4b2c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b85ab
mov eax, dword [0x4dd5dc]
call fcn.00435b38
ret