Function at 0x46f5b4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040464c
mov ebx, 0x48a79c
xor eax, eax
push ebp
push 0x46f9f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [0x48d028], 0
cmp dword [ebp - 4], 0
jne 0x46f5f7
lea eax, [ebp - 4]
mov edx, 0x46fa10
call fcn.00404234
mov eax, dword [0x48d024]
call fcn.0042a4ac
xor eax, eax
push ebp
push 0x46f9da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48a798], 0
jne 0x46f9b2
mov byte [0x48d028], 0
mov byte [0x48d029], 0
mov eax, dword [ebp - 4]
call fcn.0040465c
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
ja 0x46f64b
push 0x46fa1c
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x46f9b6
push 0x46fa28
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a794], eax
push 0x46fa34
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a790], eax
push 0x46fa44
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a770], eax
push 0x46fa50
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a750], eax
push 0x46fa5c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a708], eax
push 0x46fa6c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a700], eax
push 0x46fa78
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a704], eax
push 0x46fa84
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a778], eax
push 0x46fa8c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a774], eax
push 0x46fa94
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a76c], eax
push 0x46fa9c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a768], eax
push 0x46faa8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a764], eax
push 0x46fab4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a730], eax
push 0x46fac0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a760], eax
push 0x46fac8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a75c], eax
push 0x46fad0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a758], eax
push 0x46fadc
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a754], eax
push 0x46fae8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a74c], eax
push 0x46faf0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a748], eax
push 0x46faf8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a744], eax
push 0x46fb00
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a73c], eax
push 0x46fb08
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a740], eax
push 0x46fb14
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a780], eax
push 0x46fb1c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a738], eax
push 0x46fb24
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a734], eax
push 0x46fb2c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a72c], eax
push 0x46fb38
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a728], eax
push 0x46fb44
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a77c], eax
push 0x46fb4c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a720], eax
push 0x46fb5c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a71c], eax
push 0x46fb6c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a714], eax
push 0x46fb7c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a718], eax
push 0x46fb90
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a70c], eax
push 0x46fba0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a710], eax
push 0x46fbb0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a724], eax
push 0x46fbbc
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a784], eax
push 0x46fbc8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a788], eax
push 0x46fbd8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a78c], eax
cmp dword [0x48a784], 0
je 0x46f91b
cmp dword [0x48a788], 0
je 0x46f91b
cmp dword [0x48a78c], 0
jne 0x46f91f
xor eax, eax
jmp 0x46f921
mov al, 1
mov byte [0x48d028], al
cmp byte [0x48d028], 0
jne 0x46f9ac
push 0x46fbe4
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x48a7a0], eax
cmp dword [0x48a7a0], 0
je 0x46f9ac
push 0x46fbbc
mov eax, dword [0x48a7a0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a784], eax
push 0x46fbc8
mov eax, dword [0x48a7a0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a788], eax
push 0x46fbd8
mov eax, dword [0x48a7a0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48a78c], eax
cmp dword [0x48a784], 0
je 0x46f9a1
cmp dword [0x48a788], 0
je 0x46f9a1
cmp dword [0x48a78c], 0
jne 0x46f9a5
xor eax, eax
jmp 0x46f9a7
mov al, 1
mov byte [0x48d029], al
mov byte [ebp - 5], 1
jmp 0x46f9b6
mov byte [ebp - 5], 1
cmp byte [ebp - 5], 0
je 0x46f9c2
inc dword [0x48a798]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f9e1
mov eax, dword [0x48d024]
call fcn.0042a4b4
ret