Function at 0x49e3dc
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.00405df4
mov ebx, 0x58759c
xor eax, eax
push ebp
push 0x49e806
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
jne 0x49e418
lea eax, [ebp - 4]
mov edx, 0x49e824
call fcn.00405e60
mov eax, dword [0x59224c]
mov edx, dword [eax]
call dword [edx]
xor edx, edx
push ebp
push 0x49e7e9
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x587598], 0
jne 0x49e7c1
mov byte [0x592250], 0
mov byte [0x592251], 0
mov eax, dword [ebp - 4]
call fcn.00405e98
push eax
call sub.KERNEL32.DLL_LoadLibraryW
mov dword [ebx], eax
cmp dword [ebx], 0
je 0x49e7c5
push 0x49e83c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587594], eax
push 0x49e848
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587590], eax
push 0x49e858
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587570], eax
push 0x49e864
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587550], eax
push 0x49e870
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587508], eax
push 0x49e880
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587500], eax
push 0x49e88c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587504], eax
push 0x49e898
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587578], eax
push 0x49e8a0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587574], eax
push 0x49e8a8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58756c], eax
push 0x49e8b0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587568], eax
push 0x49e8bc
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587564], eax
push 0x49e8c8
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587530], eax
push 0x49e8d4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587560], eax
push 0x49e8dc
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58755c], eax
push 0x49e8e4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587558], eax
push 0x49e8f0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587554], eax
push 0x49e8fc
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58754c], eax
push 0x49e904
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587548], eax
push 0x49e90c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587544], eax
push 0x49e914
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58753c], eax
push 0x49e91c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587540], eax
push 0x49e928
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587580], eax
push 0x49e930
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587538], eax
push 0x49e938
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587534], eax
push 0x49e940
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58752c], eax
push 0x49e94c
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587528], eax
push 0x49e958
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58757c], eax
push 0x49e960
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587520], eax
push 0x49e970
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58751c], eax
push 0x49e980
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587514], eax
push 0x49e990
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587518], eax
push 0x49e9a4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58750c], eax
push 0x49e9b4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587510], eax
push 0x49e9c4
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587524], eax
push 0x49e9d0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587584], eax
push 0x49e9dc
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587588], eax
push 0x49e9ec
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58758c], eax
cmp dword [0x587584], 0
je 0x49e72a
cmp dword [0x587588], 0
je 0x49e72a
cmp dword [0x58758c], 0
jne 0x49e72e
xor eax, eax
jmp 0x49e730
mov al, 1
mov byte [0x592250], al
cmp byte [0x592250], 0
jne 0x49e7bb
push 0x49e9f8
call sub.KERNEL32.DLL_LoadLibraryW
mov dword [0x5875a0], eax
cmp dword [0x5875a0], 0
je 0x49e7bb
push 0x49e9d0
mov eax, dword [0x5875a0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587584], eax
push 0x49e9dc
mov eax, dword [0x5875a0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x587588], eax
push 0x49e9ec
mov eax, dword [0x5875a0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58758c], eax
cmp dword [0x587584], 0
je 0x49e7b0
cmp dword [0x587588], 0
je 0x49e7b0
cmp dword [0x58758c], 0
jne 0x49e7b4
xor eax, eax
jmp 0x49e7b6
mov al, 1
mov byte [0x592251], al
mov byte [ebp - 5], 1
jmp 0x49e7c5
mov byte [ebp - 5], 1
cmp byte [ebp - 5], 0
je 0x49e7d1
inc dword [0x587598]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e7f0
mov eax, dword [0x59224c]
mov edx, dword [eax]
call dword [edx + 4]
ret