Function at 0x401a94
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Hide graphical window
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffc64
push ebx
push esi
push edi
mov ebx, str.src_bootstrpinit.cpp
mov eax, dword [ebp + 8]
mov dword [0x4231b8], eax
mov edx, dword [0x4231b8]
mov dword [0x4231bc], edx
call fcn.0040272d
xor ecx, ecx
mov cl, al
imul esi, ecx, 0x64
call fcn.0040272d
movzx eax, ax
sar eax, 8
and al, 0xff
xor edx, edx
mov dl, al
add esi, edx
cmp esi, 0x190
jl 0x401aee
mov byte [0x41d200], 1
push 0x104
call fcn.00419aac
pop ecx
mov dword [0x4231c0], eax
push pe_nt_image_headers32
call fcn.00419aac
pop ecx
mov dword [0x4231c4], eax
push pe_nt_image_headers32
call fcn.00419aac
pop ecx
mov dword [0x4231c8], eax
push 0x30c
call fcn.00419aac
pop ecx
mov dword [0x4231cc], eax
push 3
call fcn.00419aac
pop ecx
mov dword [0x4231d0], eax
push 0x100
call fcn.00419aac
pop ecx
mov dword [0x4231d4], eax
push 0x104
call fcn.00419aac
pop ecx
mov dword [0x4231d8], eax
push 0x104
call fcn.00419aac
pop ecx
mov dword [0x4231dc], eax
push 0x40
call fcn.00419aac
pop ecx
mov dword [0x4231e0], eax
push 0x103
lea ecx, [ebp - 0x110]
push ecx
push dword [0x4231b8]
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0
push 0
push dword [0x4231d4]
push dword [0x4231d0]
lea eax, [ebp - 0x110]
push eax
call fcn.00414e34
add esp, 0x14
push dword [0x4231d4]
push dword [0x4231d0]
lea edx, [ebx + 0x16]
push edx
push dword [0x4231c0]
call sub.USER32.DLL_wsprintfA
add esp, 0x10
call fcn.00402733
test eax, eax
jne 0x401bdc
xor eax, eax
jmp 0x4025a8
xor edi, edi
xor eax, eax
mov dword [0x4231e4], eax
mov eax, 3
push eax
call fcn.004177c0
pop ecx
sub eax, 0x4c
jne 0x401c12
push 0x4231e4
lea edx, [ebx + 0x20]
push edx
push dword [0x4231b4]
call fcn.00414ef4
add esp, 0xc
mov edi, 1
lea eax, [ebx + 0x1b]
push eax
push dword [0x4239ac]
push dword [0x4239e4]
call fcn.00401914
add esp, 0xc
cmp eax, 0xffffffff
jne 0x401bea
call fcn.004031b4
push 0
push 3
lea edx, [ebp - 0x110]
push edx
call fcn.004039a0
mov esi, eax
test esi, esi
jne 0x401c7c
call fcn.004031d4
push eax
lea eax, [ebx + 0x26]
push eax
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0x10
lea edx, [ebx + 0x5f]
push edx
push dword [0x4231c4]
push 0
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x4025a8
push 0
push dword [0x4231dc]
lea edx, [ebx + 0x70]
push edx
push esi
call fcn.00404aa0
test eax, eax
jne 0x401cc4
call fcn.004031d4
push eax
lea ecx, [ebx + 0x7a]
push ecx
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0x10
lea eax, [ebx + 0xaf]
push eax
push dword [0x4231c4]
push dword [0x4231e8]
call sub.USER32.DLL_MessageBoxA
push dword [0x4231dc]
lea edx, [ebx + 0xc0]
push edx
lea ecx, [ebp - 0x438]
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
test edi, edi
jne 0x401d35
lea eax, [ebp - 0x438]
push eax
push 0x100
lea edx, [ebp - 0x538]
push edx
lea ecx, [ebx + 0xe4]
push ecx
lea eax, [ebx + 0xd3]
push eax
lea edx, [ebx + 0xcd]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 4]
push ecx
lea eax, [ebx + 0xe5]
push eax
lea edx, [ebp - 0x538]
push edx
call fcn.00414ef4
add esp, 0xc
call sub.KERNEL32.DLL_GetUserDefaultLCID
mov dword [0x4231e4], eax
push dword [0x4231e4]
lea ecx, [ebx + 0xeb]
push ecx
lea eax, [ebp - 0x234]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea edx, [ebp - 0x438]
push edx
push 0x100
lea ecx, [ebp - 0x334]
push ecx
lea eax, [ebx + 0xf9]
push eax
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebx + 0xf0]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x334]
push eax
call sub.KERNEL32.DLL_lstrlenA
test eax, eax
jne 0x401df5
mov edx, dword [0x4231e4]
cmp edx, dword [ebp - 4]
je 0x401df5
test byte [0x4231e5], 0xfb
je 0x401df5
and dword [0x4231e4], 0x4ff
push dword [0x4231e4]
lea ecx, [ebx + 0xfa]
push ecx
lea eax, [ebp - 0x234]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea edx, [ebp - 0x438]
push edx
push 0x100
lea ecx, [ebp - 0x334]
push ecx
lea eax, [ebx + 0x108]
push eax
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebx + 0xff]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x334]
push eax
call sub.KERNEL32.DLL_lstrlenA
test eax, eax
jne 0x401eb3
mov edx, dword [ebp - 4]
mov dword [0x4231e4], edx
push dword [0x4231e4]
lea ecx, [ebx + 0x109]
push ecx
lea eax, [ebp - 0x234]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea edx, [ebp - 0x438]
push edx
push 0x100
lea ecx, [ebp - 0x334]
push ecx
lea eax, [ebx + 0x117]
push eax
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebx + 0x10e]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
cmp dword [ebp - 4], 0
jne 0x401eb3
lea eax, [ebp - 0x438]
push eax
push 0x20
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebx + 0x121]
push ecx
push 0
lea eax, [ebx + 0x118]
push eax
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea edx, [ebp - 0x438]
push edx
push 0x100
lea ecx, [ebp - 0x334]
push ecx
lea eax, [ebx + 0x12b]
push eax
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebx + 0x122]
push ecx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x234]
push eax
push dword [0x4231e0]
call sub.KERNEL32.DLL_lstrcpyA
test edi, edi
jne 0x4020b8
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebx + 0x12c]
push ecx
lea eax, [ebp - 0x214]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0
push dword [0x4231dc]
lea edx, [ebp - 0x214]
push edx
push esi
call fcn.00404aa0
test eax, eax
jne 0x401fa4
lea ecx, [ebp - 0x214]
push ecx
call fcn.004031d4
push eax
lea eax, [ebx + 0x137]
push eax
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0x10
push 0x10
lea edx, [ebx + 0x165]
push edx
push dword [0x4231c4]
push dword [0x4231e8]
call sub.USER32.DLL_MessageBoxA
lea ecx, [ebx + 0x176]
push ecx
lea eax, [ebp - 0x214]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 0
push dword [0x4231dc]
lea edx, [ebp - 0x214]
push edx
push esi
call fcn.00404aa0
test eax, eax
jne 0x401fa4
call fcn.004031d4
push eax
lea ecx, [ebx + 0x182]
push ecx
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0x10
lea eax, [ebx + 0x1b9]
push eax
push dword [0x4231c4]
push dword [0x4231e8]
call sub.USER32.DLL_MessageBoxA
lea edx, [ebp - 0x214]
push edx
call fcn.00402b30
test eax, eax
jne 0x401fd6
push 0x10
lea ecx, [ebx + 0x1f8]
push ecx
lea eax, [ebx + 0x1ca]
push eax
push dword [0x4231e8]
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x4025a8
lea edx, [ebp - 0x438]
push edx
push 0x400
lea ecx, [ebp - 0x938]
push ecx
lea eax, [ebx + 0x212]
push eax
push 0
lea edx, [ebx + 0x209]
push edx
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea ecx, [ebp - 0x938]
push ecx
call sub.KERNEL32.DLL_lstrlenA
test eax, eax
je 0x402085
lea eax, [ebp - 0x938]
push eax
call sub.KERNEL32.DLL_lstrlenA
cmp byte [ebp + eax - 0x937], 0
je 0x402085
push dword [0x4231e0]
push 0x402cec
push 0
push 3
push dword [0x4231b8]
call fcn.00402bd6
dec eax
je 0x402085
dec eax
je 0x402046
jmp 0x40204d
xor eax, eax
jmp 0x4025a8
call sub.KERNEL32.DLL_GetLastError
push eax
lea edx, [ebx + 0x213]
push edx
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0x10
lea ecx, [ebx + 0x24e]
push ecx
push dword [0x4231c4]
push 0
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x4025a8
call fcn.00402b70
lea edx, [ebp - 0x214]
push edx
push dword [0x4231dc]
lea ecx, [ebx + 0x25f]
push ecx
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0x10
push dword [0x4231c4]
call fcn.00415f0c
pop ecx
push dword [0x4231e0]
lea eax, [ebx + 0x265]
push eax
lea edx, [ebp - 0x214]
push edx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0
push dword [0x4231dc]
lea ecx, [ebp - 0x214]
push ecx
push esi
call fcn.00404aa0
test eax, eax
jne 0x402130
lea eax, [ebp - 0x214]
push eax
call fcn.004031d4
push eax
lea edx, [ebx + 0x270]
push edx
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0x10
push 0x10
lea ecx, [ebx + 0x29e]
push ecx
push dword [0x4231c4]
push dword [0x4231e8]
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x4025a8
lea edx, [ebp - 0x214]
push edx
call fcn.00402b30
test eax, eax
jne 0x402183
lea ecx, [ebp - 0x214]
push ecx
call fcn.004031d4
push eax
lea eax, [ebx + 0x2af]
push eax
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0x10
push 0x10
lea edx, [ebx + 0x2d7]
push edx
push dword [0x4231c4]
push dword [0x4231e8]
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x4025a8
push esi
call fcn.00403aac
cmp dword [ebp + 0xc], 0
je 0x4021db
push pe_nt_image_headers32
push dword [0x4231c4]
push 2
push dword [0x4231b8]
call fcn.00402c15
push pe_nt_image_headers32
push dword [0x4231c8]
push 3
push dword [0x4231b8]
call fcn.00402c15
push 0x30
push dword [0x4231c8]
push dword [0x4231c4]
push 0
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x4025a8
lea edx, [ebx + 0x2f0]
push edx
lea ecx, [ebx + 0x2e8]
push ecx
push dword [0x4231b8]
call fcn.00401288
add esp, 0xc
lea eax, [ebx + 0x2f1]
push eax
call sub.USER32.DLL_RegisterWindowMessageA
mov dword [0x423170], eax
push 0
push 0x401108
push 0
push 1
push dword [0x4231b8]
call fcn.00402c36
mov dword [0x4231e8], eax
push 5
push dword [0x4231e8]
call sub.USER32.DLL_ShowWindow
push 0x402ffc
push 3
lea edx, [ebp - 0x110]
push edx
call fcn.004039a0
mov esi, eax
mov dword [0x41d89c], 2
test esi, esi
jne 0x40228b
call fcn.004031d4
push eax
lea eax, [ebx + 0x30a]
push eax
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0x10
lea edx, [ebx + 0x343]
push edx
push dword [0x4231c4]
push 0
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x4025a8
push 0
push dword [0x4231dc]
lea edx, [ebx + 0x354]
push edx
push esi
call fcn.00404aa0
test eax, eax
jne 0x4022d9
call fcn.004031d4
push eax
lea ecx, [ebx + 0x360]
push ecx
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0x10
lea eax, [ebx + 0x397]
push eax
push dword [0x4231c4]
push dword [0x4231e8]
call sub.USER32.DLL_MessageBoxA
inc dword [0x41d898]
push dword [0x4231e0]
lea edx, [ebx + 0x3a8]
push edx
lea ecx, [ebp - 0xa3c]
push ecx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push dword [0x4231dc]
lea eax, [ebx + 0x3b4]
push eax
lea edx, [ebp - 0xb40]
push edx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
lea ecx, [ebx + 0x3c4]
push ecx
lea eax, [ebp - 0xb40]
push eax
call fcn.00405708
mov edi, eax
test edi, edi
je 0x402344
push edi
push 0
lea eax, [ebp - 0xa3c]
push eax
push esi
call fcn.00404aa0
test eax, eax
jne 0x402380
lea edx, [ebp - 0xa3c]
push edx
call fcn.004031d4
push eax
lea ecx, [ebx + 0x3c8]
push ecx
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0x10
push 0x10
lea eax, [ebx + 0x3f6]
push eax
push dword [0x4231c4]
push dword [0x4231e8]
call sub.USER32.DLL_MessageBoxA
test edi, edi
je 0x40238a
push edi
call fcn.004057ac
inc dword [0x41d898]
push esi
call fcn.00403aac
push 0x104
push 3
push dword [0x4231b8]
call sub.KERNEL32.DLL_FindResourceA
mov esi, eax
push esi
push dword [0x4231b8]
call sub.KERNEL32.DLL_SizeofResource
mov dword [ebp - 8], eax
push esi
push dword [0x4231b8]
call sub.KERNEL32.DLL_LoadResource
mov esi, eax
push esi
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0xc], eax
push pe_nt_image_headers32
push dword [0x4231c4]
push 8
push dword [0x4231b8]
call fcn.00402c15
push dword [0x4231dc]
lea eax, [ebx + 0x407]
push eax
push 0x4232f0
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0
push 0x4232f0
call sub.KERNEL32.DLL__lcreat
mov edi, eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call sub.KERNEL32.DLL__lwrite
push edi
call sub.KERNEL32.DLL__lclose
push esi
call sub.KERNEL32.DLL_FreeResource
push 0x104
lea eax, [ebp - 0x1148]
push eax
push 9
push dword [0x4231b8]
call fcn.00402c15
lea edx, [ebp - 0x1148]
push edx
push dword [0x4231dc]
lea ecx, [ebx + 0x414]
push ecx
lea eax, [ebp - 0xc44]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0x10
push pe_nt_image_headers32
lea edx, [ebp - 0xe44]
push edx
push 7
push dword [0x4231b8]
call fcn.00402c15
push dword [ebp + 0x10]
call sub.KERNEL32.DLL_lstrlenA
test eax, eax
je 0x4024ab
lea ecx, [ebx + 0x41a]
push ecx
lea eax, [ebp - 0xe44]
push eax
call sub.KERNEL32.DLL_lstrcatA
push dword [ebp + 0x10]
lea edx, [ebp - 0xe44]
push edx
call sub.KERNEL32.DLL_lstrcatA
lea ecx, [ebp - 0x110]
push ecx
lea eax, [ebp - 0xe44]
push eax
lea edx, [ebp - 0x1044]
push edx
call sub.USER32.DLL_wsprintfA
add esp, 0xc
mov esi, 0x41d224
lea edi, [ebp - 0x118c]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1044]
push eax
lea edx, [ebp - 0xc44]
push edx
lea ecx, [ebx + 0x41c]
push ecx
lea eax, [ebp - 0x139c]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0x10
lea edx, [ebp - 0x119c]
push edx
lea ecx, [ebp - 0x118c]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x139c]
push eax
lea edx, [ebp - 0xc44]
push edx
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
jne 0x402580
push pe_nt_image_headers32
push dword [0x4231c8]
push 5
push dword [0x4231b8]
call fcn.00402c15
call sub.KERNEL32.DLL_GetLastError
push eax
lea ecx, [ebp - 0x139c]
push ecx
push dword [0x4231c8]
push dword [0x4231c4]
call sub.USER32.DLL_wsprintfA
add esp, 0x10
push 0x10
push 0
push dword [0x4231c4]
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x402597
call fcn.0040307b
push 0xfa
push dword [ebp - 0x119c]
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
je 0x40257b
push dword [0x4231dc]
call fcn.00402632
pop ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret