Function at 0x4023d7
Capabilities:
Create process on windows
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x13c]
sub esp, 0x1bc
mov eax, dword [0x404098]
push ebx
mov dword [ebp + 0x138], eax
call fcn.00402cb7
push dword [ebp + 0x14c]
mov dword [0x4040e0], eax
call fcn.00402383
xor ebx, ebx
cmp dword [0x4040dc], ebx
je 0x40241d
call fcn.004021e0
xor eax, eax
inc eax
jmp 0x40262d
push dword [ebp + 0x144]
call fcn.0040226e
test eax, eax
je 0x40262d
cmp dword [0x4040e0], ebx
jne 0x402450
xor eax, eax
cmp dword [0x4040d8], ebx
setne al
push eax
mov eax, dword [0x4040cc]
push dword [eax]
call sub.MSUTB.dll_GetPopupTipbar
push esi
push edi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x2c], 9
je 0x40246e
cmp word [ebp - 0x2c], 6
jne 0x40250f
push 0x4011ac
call fcn.00402c27
cmp eax, ebx
je 0x40250f
mov esi, 0x4011f0
lea edi, [ebp + 0x12c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x4011d4
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40250f
mov esi, 0x104
push esi
lea ecx, [ebp + 0x28]
push ecx
call eax
cmp eax, ebx
je 0x40250f
add eax, 0xc
cmp eax, esi
jae 0x40250f
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x12c]
push eax
lea eax, [ebp + 0x28]
push eax
mov dword [ebp - 0x80], 0x44
mov word [ebp - 0x50], 7
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x14c]
lea eax, [ebp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40250f
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 4]
call esi
cmp dword [0x4040e0], ebx
jne 0x4025c6
push 0x4011bc
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [ebp + 0x24], eax
jmp 0x4025ba
mov eax, dword [ebp + 0x24]
push 0xc
pop ecx
push 0x4ff
push 0xffffffffffffffff
mov esi, 0x4040f0
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x3c]
push eax
push 0xd
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 0xd
jne 0x402597
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x402586
cmp dword [ebp + 0xc], 0x12
je 0x4025f4
lea eax, [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push ebx
push ebx
lea eax, [ebp + 8]
push ebx
push eax
call esi
test eax, eax
jne 0x402568
jmp 0x4025ba
cmp eax, 0xc
jne 0x4025b2
push ebx
push 0x401578
call fcn.00402187
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x4025ba
jae 0x4025ce
push eax
call fcn.00402a46
cmp dword [0x4040e0], ebx
je 0x402534
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x4025e7
mov dword [ebp + 0x10], ebx
jmp 0x4025f4
lea eax, [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp + 8]
push ebx
push eax
call esi
test eax, eax
jne 0x4025d3
mov ecx, dword [0x4040cc]
cmp ecx, ebx
mov esi, ecx
je 0x40260c
call fcn.00401e02
push esi
call fcn.00402690
pop ecx
cmp dword [0x4040a4], ebx
pop edi
pop esi
jne 0x402620
call fcn.0040235e
call sub.MSCTF.dll_TF_UninitSystem
mov ecx, 0x4040a8
call fcn.00402127
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x138]
pop ebx
call fcn.00402b89
add ebp, 0x13c
leave
ret 0x10