Function at 0x40b970
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43fc02
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x451054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0x6d
mov dword [ebp - 0x28], 0x70
mov dword [ebp - 0x24], 0x72
mov dword [ebp - 0x20], 0x2e
mov dword [ebp - 0x1c], 0x64
mov dword [ebp - 0x18], 0x6c
mov dword [ebp - 0x14], 0x6c
push 7
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1b4]
push ecx
call fcn.00401120
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x110], 0x57
mov dword [ebp - 0x10c], 0x4e
mov dword [ebp - 0x108], 0x65
mov dword [ebp - 0x104], 0x74
mov dword [ebp - 0x100], 0x4f
mov dword [ebp - 0xfc], 0x70
mov dword [ebp - 0xf8], 0x65
mov dword [ebp - 0xf4], 0x6e
mov dword [ebp - 0xf0], 0x45
mov dword [ebp - 0xec], 0x6e
mov dword [ebp - 0xe8], 0x75
mov dword [ebp - 0xe4], 0x6d
mov dword [ebp - 0xe0], 0x57
mov dword [ebp - 0x154], 0x57
mov dword [ebp - 0x150], 0x4e
mov dword [ebp - 0x14c], 0x65
mov dword [ebp - 0x148], 0x74
mov dword [ebp - 0x144], 0x45
mov dword [ebp - 0x140], 0x6e
mov dword [ebp - 0x13c], 0x75
mov dword [ebp - 0x138], 0x6d
mov dword [ebp - 0x134], 0x52
mov dword [ebp - 0x130], 0x65
mov dword [ebp - 0x12c], 0x73
mov dword [ebp - 0x128], 0x6f
mov dword [ebp - 0x124], 0x75
mov dword [ebp - 0x120], 0x72
mov dword [ebp - 0x11c], 0x63
mov dword [ebp - 0x118], 0x65
mov dword [ebp - 0x114], 0x57
mov dword [ebp - 0xdc], 0x57
mov dword [ebp - 0xd8], 0x4e
mov dword [ebp - 0xd4], 0x65
mov dword [ebp - 0xd0], 0x74
mov dword [ebp - 0xcc], 0x43
mov dword [ebp - 0xc8], 0x6c
mov dword [ebp - 0xc4], 0x6f
mov dword [ebp - 0xc0], 0x73
mov dword [ebp - 0xbc], 0x65
mov dword [ebp - 0xb8], 0x45
mov dword [ebp - 0xb4], 0x6e
mov dword [ebp - 0xb0], 0x75
mov dword [ebp - 0xac], 0x6d
mov dword [ebp - 0xa8], 0x47
mov dword [ebp - 0xa4], 0x6c
mov dword [ebp - 0xa0], 0x6f
mov dword [ebp - 0x9c], 0x62
mov dword [ebp - 0x98], 0x61
mov dword [ebp - 0x94], 0x6c
mov dword [ebp - 0x90], 0x41
mov dword [ebp - 0x8c], 0x6c
mov dword [ebp - 0x88], 0x6c
mov dword [ebp - 0x84], 0x6f
mov dword [ebp - 0x80], 0x63
mov dword [ebp - 0x7c], 0x47
mov dword [ebp - 0x78], 0x6c
mov dword [ebp - 0x74], 0x6f
mov dword [ebp - 0x70], 0x62
mov dword [ebp - 0x6c], 0x61
mov dword [ebp - 0x68], 0x6c
mov dword [ebp - 0x64], 0x46
mov dword [ebp - 0x60], 0x72
mov dword [ebp - 0x5c], 0x65
mov dword [ebp - 0x58], 0x65
mov dword [ebp - 0x54], 0x5a
mov dword [ebp - 0x50], 0x65
mov dword [ebp - 0x4c], 0x72
mov dword [ebp - 0x48], 0x6f
mov dword [ebp - 0x44], 0x4d
mov dword [ebp - 0x40], 0x65
mov dword [ebp - 0x3c], 0x6d
mov dword [ebp - 0x38], 0x6f
mov dword [ebp - 0x34], 0x72
mov dword [ebp - 0x30], 0x79
push 0xd
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x1cc]
push eax
call fcn.00401120
add esp, 0xc
mov byte [ebp - 4], 1
push 0x11
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x1e4]
push edx
call fcn.00401120
add esp, 0xc
mov byte [ebp - 4], 2
push 0xd
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x1fc]
push ecx
call fcn.00401120
add esp, 0xc
mov byte [ebp - 4], 3
push 0xb
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0x16c]
push eax
call fcn.00401120
add esp, 0xc
mov byte [ebp - 4], 4
push 0xa
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x184]
push edx
call fcn.00401120
add esp, 0xc
mov byte [ebp - 4], 5
push 0xa
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x19c]
push ecx
call fcn.00401120
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b4]
call fcn.004182e0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x234], eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x234], 0
je 0x40bd6e
cmp dword [ebp - 0x230], 0
jne 0x40be0d
push 0x4103f0
push str.Failed_to_load_mpr.dll_or_kernel32.dll
push 0x452200
call fcn.0040daa0
add esp, 8
mov ecx, eax
call fcn.00413960
mov dword [ebp - 0x284], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x19c]
call fcn.00413110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.00413110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16c]
call fcn.00413110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.00413110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e4]
call fcn.00413110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1cc]
call fcn.00413110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.00413110
mov eax, dword [ebp - 0x284]
jmp 0x40c4ac
lea ecx, [ebp - 0x1cc]
call fcn.004182e0
push eax
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x1e4]
call fcn.004182e0
push eax
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x25c], eax
lea ecx, [ebp - 0x1fc]
call fcn.004182e0
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x16c]
call fcn.004182e0
push eax
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x184]
call fcn.004182e0
push eax
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x19c]
call fcn.004182e0
push eax
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x268], 0
je 0x40bf01
cmp dword [ebp - 0x25c], 0
je 0x40bf01
cmp dword [ebp - 0x244], 0
je 0x40bf01
cmp dword [ebp - 0x264], 0
je 0x40bf01
cmp dword [ebp - 0x254], 0
je 0x40bf01
cmp dword [ebp - 0x260], 0
jne 0x40bfba
push 0x4103f0
push str.Failed_to_get_function_addresses
push 0x452200
call fcn.0040daa0
add esp, 8
mov ecx, eax
call fcn.00413960
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x280], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x19c]
call fcn.00413110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.00413110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16c]
call fcn.00413110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.00413110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e4]
call fcn.00413110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1cc]
call fcn.00413110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.00413110
mov eax, dword [ebp - 0x280]
jmp 0x40c4ac
mov dword [ebp - 0x250], 0x4000
mov dword [ebp - 0x258], 0xffffffff
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 1
push 2
call dword [ebp - 0x268]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x40c093
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x27c], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x19c]
call fcn.00413110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.00413110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16c]
call fcn.00413110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.00413110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e4]
call fcn.00413110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1cc]
call fcn.00413110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.00413110
mov eax, dword [ebp - 0x27c]
jmp 0x40c4ac
mov edx, dword [ebp - 0x250]
push edx
push 0x40
call dword [ebp - 0x264]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x40c15d
mov eax, dword [ebp - 0x248]
push eax
call dword [ebp - 0x244]
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x278], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x19c]
call fcn.00413110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.00413110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16c]
call fcn.00413110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.00413110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e4]
call fcn.00413110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1cc]
call fcn.00413110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.00413110
mov eax, dword [ebp - 0x278]
jmp 0x40c4ac
mov eax, dword [ebp - 0x250]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call dword [ebp - 0x260]
lea edx, [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x238]
push eax
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [ebp - 0x25c]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x40c330
mov dword [ebp - 0x23c], 0
jmp 0x40c1c1
mov eax, dword [ebp - 0x23c]
add eax, 1
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
cmp ecx, dword [ebp - 0x258]
jae 0x40c32e
mov edx, dword [ebp - 0x23c]
shl edx, 5
mov eax, dword [ebp - 0x238]
cmp dword [eax + edx + 8], 3
jne 0x40c267
mov ecx, dword [ebp - 0x23c]
shl ecx, 5
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + ecx + 0x14]
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x214]
call fcn.00411900
mov byte [ebp - 4], 7
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x22c]
push eax
call fcn.004019d0
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x22c]
push eax
call fcn.0040ab60
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x22c]
call fcn.00413110
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x214]
call fcn.00413130
mov ecx, dword [ebp - 0x23c]
shl ecx, 5
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + ecx + 0xc]
and eax, 2
je 0x40c329
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x23c]
shl eax, 5
add eax, dword [ebp - 0x238]
push eax
call fcn.0040b970
test eax, eax
jne 0x40c329
mov dword [ebp - 0x26c], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x19c]
call fcn.00413110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.00413110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16c]
call fcn.00413110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.00413110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e4]
call fcn.00413110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1cc]
call fcn.00413110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.00413110
mov eax, dword [ebp - 0x26c]
jmp 0x40c4ac
jmp 0x40c1b2
jmp 0x40c33e
cmp dword [ebp - 0x24c], 0x103
je 0x40c33e
jmp 0x40c34e
cmp dword [ebp - 0x24c], 0x103
jne 0x40c15d
mov ecx, dword [ebp - 0x238]
push ecx
call dword [ebp - 0x254]
mov edx, dword [ebp - 0x248]
push edx
call dword [ebp - 0x244]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x40c416
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x270], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x19c]
call fcn.00413110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.00413110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16c]
call fcn.00413110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.00413110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e4]
call fcn.00413110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1cc]
call fcn.00413110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.00413110
mov eax, dword [ebp - 0x270]
jmp 0x40c4ac
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x274], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x19c]
call fcn.00413110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x184]
call fcn.00413110
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16c]
call fcn.00413110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.00413110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e4]
call fcn.00413110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1cc]
call fcn.00413110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b4]
call fcn.00413110
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041cb61
mov esp, ebp
pop ebp
ret 0xc