Function at 0x40a820
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d4a6
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4679d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x70]
call fcn.00406ca0
mov dword [ebp - 4], 0
push 0x88
lea eax, [ebp - 0x78]
push eax
call fcn.0040a4a0
add esp, 8
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.0040f638
add esp, 4
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x90]
push edx
call fcn.0043aa40
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x78], eax
push 0x29
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.0040ef70
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.0040a650
add esp, 4
mov byte [ebp - 4], 1
mov byte [ebp - 0x81], 1
lea ecx, [ebp - 0x28]
call fcn.00403320
push eax
call fcn.00406f60
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x40a8fd
mov byte [ebp - 0x81], 0
jmp 0x40a957
lea ecx, [ebp - 0x28]
call fcn.00403320
push eax
lea edx, [ebp - 0x80]
push edx
call fcn.00407060
add esp, 8
cmp dword [ebp - 0x80], 0
jne 0x40a921
mov byte [ebp - 0x81], 0
jmp 0x40a957
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x78]
push eax
call fcn.0040a7b0
add esp, 0x10
mov byte [ebp - 0x81], al
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
push edx
call fcn.0040f633
add esp, 4
movzx eax, byte [ebp - 0x81]
test eax, eax
jne 0x40aa1e
push 0
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0x28]
call fcn.00403320
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004071b0
add esp, 0x14
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x70]
call fcn.0040ac30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.00407680
movzx eax, byte [ebp - 0x70]
test eax, eax
jne 0x40aa1e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc0], esp
push 0x45c410
call fcn.00403160
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 3
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0xbc], esp
lea eax, [ebp - 0x6c]
push eax
push 0x45c420
push edx
call fcn.00405e20
add esp, 0xc
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 1
call fcn.0040f0b0
add esp, 0x30
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
push edx
call fcn.0040f633
add esp, 4
push 8
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea eax, [ebp - 0x28]
push eax
call fcn.004030d0
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.0040b260
add esp, 0x1c
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xa4], edx
mov ecx, dword [ebp - 0xa4]
call fcn.004022e0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x98]
call fcn.0040ec90
push 0x45c434
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d6ac], eax
push str.Set_resUserApp_pObj
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d6a8], eax
push 0x45c45c
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d6a4], eax
push 0x45c470
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d6a0], eax
push str.Set_clearObj
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d69c], eax
push 0x45c490
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d698], eax
push 0x45c498
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d694], eax
push 0x45c4a0
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d690], eax
push str.runUserPro
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d68c], eax
push 0x45c4b4
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d688], eax
push 0x45c4bc
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d684], eax
push 0x45c4d4
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d680], eax
push 0x45c4f0
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46d67c], eax
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp + 8]
call fcn.004076b0
mov eax, dword [ebp - 0x8c]
or eax, 1
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004032a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00407680
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430a1b
mov esp, ebp
pop ebp
ret