Function at 0x40af70
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598bc5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6041c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
push 0x5ac0d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40b005
push 0x5ac0e8
lea ecx, [ebp - 0x30]
call fcn.00402040
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.00402790
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
push 0x40
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004348f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004023e0
push 0x5ac110
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40b073
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x49
push 0x5ac124
lea ecx, [ebp - 0x3c]
call fcn.00402040
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
call fcn.00402790
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004348f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004023e0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x14]
add edx, 8
push edx
push 0x5ac6a4
push 0x5ac694
push 2
push 0
push 0x5ac14c
call dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x40b11e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x14]
add ecx, 8
push ecx
push 0x5ac6a4
push 0x5ac694
push 2
push 0
push 0x5ac164
call dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x40b118
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x57
push 0x5ac17c
lea ecx, [ebp - 0x50]
call fcn.00402040
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
call fcn.00402790
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004348f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004023e0
mov edx, dword [ebp - 0x14]
mov byte [edx], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x28]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x40b1a6
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x64
push 0x5ac1a4
lea ecx, [ebp - 0x5c]
call fcn.00402040
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
call fcn.00402790
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004348f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004023e0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret