Function at 0x5844c8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 0x6dfca0
mov dword [ebp - 0x2c], esp
mov eax, 0x56498f
mov dword [ebp - 0x34], eax
mov edi, edx
mov word [ebp - 0x28], 0
xor edx, edx
mov esi, 0x6dfb4c
mov dword [ebp - 0x1c], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x38]
mov dword fs:[0], eax
mov word [ebp - 0x28], 8
push 8
call fcn.0055ffd8
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x58453b
mov word [ebp - 0x28], 0x20
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00603d28
mov word [ebp - 0x28], 0x14
mov ebx, dword [ebp - 8]
jmp 0x58453e
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [eax], ebx
mov word [ebp - 0x28], 0x2c
mov eax, ebx
call fcn.006041b0
xor edx, edx
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x1c]
call fcn.004019c0
cmp dword [ebp - 0xc], 0
je 0x58456b
mov eax, dword [ebp - 0xc]
jmp 0x58456d
mov eax, esi
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
dec dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00696870
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
jne 0x5845d3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x5845b9
mov word [ebp - 0x28], 0x44
mov edx, 3
mov eax, dword [ebp - 0x10]
call fcn.00604100
mov word [ebp - 0x28], 0x38
cmp dword [0x7bfce0], 0
je 0x5845c9
mov eax, dword [0x7bfce0]
jmp 0x5845ce
mov eax, dword [0x7bfcdc]
call fcn.0066883c
mov word [ebp - 0x28], 0x50
lea edx, [esi + 1]
push edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [ebp - 4]
lea ecx, [esi + 0x17]
mov dword [edx + 0xc], eax
push ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
lea eax, [esi + 0x2b]
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 4]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
lea eax, [esi + 0x47]
push eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [ebp - 4]
lea ecx, [esi + 0x55]
mov dword [edx + 8], eax
push ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
lea eax, [esi + 0x5c]
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 4]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x584680
cmp dword [0x7bfcec], 0
je 0x584676
mov eax, dword [0x7bfcec]
jmp 0x58467b
mov eax, dword [0x7bfce8]
call fcn.0066883c
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 4]
call dword [ecx + 8]
cmp dword [ebp - 0x3c], 0x1000b
je 0x5846ad
cmp dword [0x7bfcec], 0
je 0x5846a3
mov eax, dword [0x7bfcec]
jmp 0x5846a8
mov eax, dword [0x7bfce8]
call fcn.0066883c
call sym.tvpwin32.exe_TVPGetFunctionExporter
push eax
mov edx, dword [ebp - 4]
call dword [edx + 0x18]
mov word [ebp - 0x28], 8
jmp 0x58470b
mov ecx, dword [ebp - 0x38]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret