Function at 0x4123f0
Capabilities:
Create process on windows
Create thread
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4779cb
mov eax, dword fs:[0]
push eax
sub esp, 0x9a8
mov eax, dword [0x4a3f4c]
xor eax, esp
mov dword [esp + 0x9a0], eax
push ebx
push esi
push edi
mov eax, dword [0x4a3f4c]
xor eax, esp
push eax
lea eax, [esp + 0x9b8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
push 0x4a6238
push 0
push str.multiprocesshook
push str.window
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, 0x20000000
mov esi, eax
test dword [ebx + 0x168], edi
je 0x41247d
mov dword [esp + 0x18], 1
jmp 0x4124b9
test dword [ebx + 0x17c], 0x8000
je 0x412493
mov dword [esp + 0x18], 2
jmp 0x4124b9
test dword [ebx + 0x190], 0x80000
je 0x4124a9
mov dword [esp + 0x18], 3
jmp 0x4124b9
mov eax, dword [ebx + 0x19c]
shr eax, 0x15
and eax, 4
mov dword [esp + 0x18], eax
push 0
call sub.dxwnd.dll_Ordinal_5
add esp, 4
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x20], eax
test esi, esi
jne 0x4124de
call fcn.00408840
test eax, eax
jne 0x412e25
mov eax, dword [ebx + 0x174]
and eax, 0x300000
neg eax
sbb eax, eax
inc eax
lea esi, [ebx + 4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
test dword [ebx + 0x194], edi
je 0x41250b
mov dword [esp + 0x24], 1
jmp 0x41250f
test eax, eax
je 0x41253a
push 0x200
lea edx, [esp + 0x290]
push 0
mov ecx, 0x80
mov esi, ebx
lea edi, [esp + 0x94]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0045af40
mov esi, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x10]
add eax, 0x25b
cmp byte [eax], 0
mov dword [esp + 0x2c], eax
jne 0x412588
push esi
lea eax, [esp + 0x498]
push 0x118
push eax
call fcn.0045cee3
push esi
lea ecx, [esp + 0x5bc]
push 0x118
push ecx
call fcn.0045cee3
add esp, 0x18
lea edx, [esp + 0x494]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
jmp 0x41271c
push eax
lea eax, [esp + 0x498]
push 0x118
push eax
call fcn.0045cee3
push esi
lea ecx, [esp + 0x5bc]
push 0x118
push ecx
call fcn.0045cee3
add esp, 0x18
test byte [ebx + 0x188], 0x40
je 0x41271c
lea eax, [esp + 0x494]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4125c8
sub eax, edx
cmp eax, 2
jne 0x41271c
movsx edx, byte [esp + 0x494]
push edx
call fcn.0045d998
mov esi, eax
movsx eax, byte [ebx + 0x1f1]
push eax
call fcn.0045d998
add esp, 8
cmp eax, esi
jne 0x41271c
cmp byte [esp + 0x495], 0x3a
jne 0x41271c
mov ecx, dword [esp + 0x10]
add ecx, 0x465
push ecx
lea edx, [esp + 0x498]
push 0x118
push edx
call fcn.0045cee3
add esp, 0xc
cmp byte [esp + 0x494], 0x3f
jne 0x4126a4
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x495]
mov byte [esp + eax + 0x6c4], cl
inc eax
test cl, cl
jne 0x412640
lea eax, [ebx + 4]
push eax
lea eax, [esp + 0x8a8]
push 0x105
push eax
call fcn.0045cee3
add esp, 0xc
lea ecx, [esp + 0x8a4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [esp + 0x6c4]
push edx
lea eax, [esp + 0x8a8]
push eax
push str._s_s
lea ecx, [esp + 0x4a0]
push 0x104
push ecx
call fcn.0045a19e
add esp, 0x14
call sub.dxwnd.dll_Ordinal_6
cmp word [eax + 0x780], 0
jle 0x4126f2
call sub.dxwnd.dll_Ordinal_6
movsx edx, word [eax + 0x780]
inc edx
push edx
push str._02d
lea eax, [esp + 0x494]
push 6
push eax
call fcn.0045a19e
lea ecx, [esp + 0x49c]
push ecx
lea edx, [esp + 0x4a8]
push 0x118
push edx
call fcn.0045b98e
add esp, 0x1c
lea eax, [esp + 0x494]
push eax
call sub.dxwnd.dll_Ordinal_6
movsx ecx, word [eax + 0x780]
movsx edx, byte [ebx + 0x1f1]
push ecx
push edx
push str.expanding_fake_CD__c:_index_d_to_path__s__n
call fcn.0041f800
add esp, 0x10
mov esi, dword [esp + 0x10]
add esi, 0x51
mov eax, esi
mov dword [esp + 0x48c], esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412730
sub eax, edx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4127b7
push esi
push str.running_launcher_s_n
call fcn.0041f800
xor eax, eax
push 0x44
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
push eax
call fcn.0045af40
add esp, 0x14
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x49c]
push eax
push 0
push 0x4000000
push 0
push 0
push 0
push esi
push 0
mov dword [esp + 0x6c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [esp + 0x34]
push ecx
call ebx
mov edx, dword [esp + 0x38]
push edx
call ebx
cmp dword [esp + 0x18], 0
je 0x412e25
cmp dword [esp + 0x24], 0
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x14]
je 0x412826
test dword [esi + 0x17c], 0x80000000
je 0x412807
lea ecx, [esp + 0x5ac]
call fcn.00409d10
push 0x104
lea eax, [esp + 0x5b0]
push eax
lea ecx, [esp + 0x98]
push ecx
call fcn.0045bb00
lea edx, [esp + 0x5b8]
push edx
call fcn.0040a110
add esp, 0x10
cmp ebx, 1
jne 0x412814
and dword [esp + 0x1f8], 0xffffffef
lea eax, [esp + 0x8c]
push eax
push 0
call sub.dxwnd.dll_Ordinal_1
add esp, 8
mov ecx, dword [ebp + 0xc]
push ebx
lea edi, [esi + 4]
push edi
push ecx
push str.OnRun_idx_d_prog__s__mode_x_n
call fcn.0041f800
add esp, 0x10
test dword [esi + 0x17c], 0x20000
je 0x412861
push 0x10
push 0xea61
push 0xea83
call fcn.0041ede0
add esp, 0xc
jmp 0x412e25
cmp ebx, 3
jne 0x412897
mov eax, dword [esp + 0x240]
lea edx, [esp + 0x8c]
and eax, 0xffffffcf
push edx
or eax, 0x1d5803
xor ebx, ebx
push ebx
mov dword [esp + 0x248], eax
mov dword [esp + 0x30], 1
call sub.dxwnd.dll_Ordinal_1
add esp, 8
test dword [esi + 0x17c], 0x2000
je 0x4128b6
push str.checksafediscversion_n
call fcn.0041f800
push edi
call fcn.00422d20
add esp, 8
mov edx, dword [esp + 0x10]
add edx, 0x66b
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4128c5
sub eax, edi
je 0x412918
test byte [esi + 0x164], 2
push edx
je 0x4128f9
lea eax, [esp + 0x6c8]
push str.__COMPAT_LAYERHIGHDPIAWARE__s
push eax
call fcn.0045a121
add esp, 0xc
lea edx, [esp + 0x6c4]
push edx
jmp 0x412926
lea ecx, [esp + 0x6c8]
push str.__COMPAT_LAYER_s
push ecx
call fcn.0045a121
add esp, 0xc
lea edx, [esp + 0x6c4]
push edx
jmp 0x412926
test byte [esi + 0x164], 2
je 0x41292e
push str.__COMPAT_LAYERHIGHDPIAWARE
call fcn.0045d83d
add esp, 4
mov edi, dword [esi + 0x190]
shr edi, 5
and edi, 1
test dword [esi + 0x1c0], 0x1000
je 0x41295f
push 0
push 0x47c9d0
push str.DEBUG:_disabling_window_hook
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call sub.dxwnd.dll_Ordinal_3
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x412a04
test byte [esi + 0x16c], 0x10
je 0x412bdd
cmp dword [esp + 0x20], 0
je 0x412bdd
push str.debugger_mode_n
call fcn.0041f800
add esp, 4
cmp ebx, 2
jne 0x4129af
push 0x30
push str.Warning
push str.Suspended_mode_not_available_for_debug_hook
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x412c6a
push 0xa90
call fcn.0045be8e
mov esi, dword [esp + 0x18]
mov ebx, eax
mov ecx, 0x80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x5b0]
push eax
lea edi, [ebx + 0x200]
mov ecx, 0x1e3
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x98c]
push 0x104
push ecx
call fcn.0045cee3
add esp, 0x10
push 0
push 0
push ebx
push 0x41d3e0
jmp 0x412c55
cmp eax, 2
jne 0x412a74
test byte [esi + 0x16c], 0x10
je 0x412bdd
cmp dword [esp + 0x20], 0
je 0x412bdd
cmp ebx, eax
jne 0x412a2c
mov eax, str.SUSPENDED
jmp 0x412a3b
mov eax, str.UNHOOKED
cmp ebx, 1
je 0x412a3b
mov eax, str.DEFAULT
push eax
push ebx
push str.injectsuspended_mode_d__s__n
call fcn.0041f800
mov edx, dword [esp + 0x1c]
xor eax, eax
push edx
cmp ebx, 2
sete al
push esi
push edi
lea ecx, [esp + 0x4ac]
lea edx, [esp + 0x5c4]
push eax
push ecx
push edx
call fcn.0041db40
add esp, 0x24
jmp 0x412c6a
cmp eax, 3
jne 0x412b08
test byte [esi + 0x16c], 0x10
je 0x412bdd
cmp dword [esp + 0x20], 0
je 0x412bdd
cmp ebx, 2
jne 0x412ab3
push 0x30
push str.Warning
push str.Suspended_mode_not_available_for_proxy_hook
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x412c6a
push 0xa90
call fcn.0045be8e
mov esi, dword [esp + 0x18]
mov ebx, eax
mov ecx, 0x80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x5b0]
push eax
lea edi, [ebx + 0x200]
mov ecx, 0x1e3
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x98c]
push 0x104
push ecx
call fcn.0045cee3
add esp, 0x10
push 0
push 0
push ebx
push 0x41d8c0
jmp 0x412c55
cmp eax, 4
jne 0x412bdd
test byte [esi + 0x16c], 0x10
je 0x412bdd
cmp dword [esp + 0x20], 0
je 0x412bdd
cmp ebx, 2
jne 0x412b35
mov eax, str.SUSPENDED
jmp 0x412b44
mov eax, str.UNHOOKED
cmp ebx, 1
je 0x412b44
mov eax, str.DEFAULT
push eax
push ebx
push str.injectAPC_mode_d__s__n
call fcn.0041f800
add esp, 0xc
push str.injectAPC.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x412b7b
push eax
push 0x47c9d0
push str.InjectAPC_is_not_available
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x412c66
push str.InjectAPC
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InjectSetLogger
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x412ba5
push fcn.0041f800
call eax
add esp, 4
mov edx, dword [esp + 0x10]
add edx, 0x156
xor eax, eax
cmp ebx, 2
push edx
sete al
push edi
lea ecx, [esp + 0x49c]
lea edx, [esp + 0x5b4]
push eax
push ecx
push edx
call dword [esp + 0x30]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x412c66
push str.setwindowshook_mode_n
call fcn.0041f800
add esp, 4
cmp ebx, 2
jne 0x412c05
push 0x30
push str.Warning
push str.Suspended_mode_useless_for_windows_hook
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x412c6a
push 0xa90
call fcn.0045be8e
mov esi, dword [esp + 0x18]
mov ebx, eax
mov ecx, 0x80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x5b0]
push eax
lea edi, [ebx + 0x200]
mov ecx, 0x1e3
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x98c]
push 0x104
push ecx
call fcn.0045cee3
add esp, 0x10
push 0
push 0
push ebx
push 0x41d3f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
test byte [esi + 0x164], 2
je 0x412c80
push str.__COMPAT_LAYER
call fcn.0045d83d
add esp, 4
cmp dword [0x4a6008], 0
je 0x412ce1
mov edx, dword [esp + 0x48c]
lea eax, [esi + 4]
mov dword [0x4a60fc], edx
mov dword [0x4a60f8], eax
test dword [esi + 0x17c], 0x80000000
je 0x412cc9
dec eax
jmp 0x412cb0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x412cb0
mov ecx, dword [str..noshim]
mov dword [eax], ecx
mov edx, dword [0x480214]
mov dword [eax + 4], edx
push 0
push 0
push 0x4a60f8
push 0x409b00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esp + 0x28], 0
je 0x412de1
call fcn.0043ae64
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x412d06
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
cmp byte [eax], 0
mov dword [esp + 0x9c0], 0
lea ecx, [esp + 0x10]
je 0x412d36
push eax
call fcn.00401e70
jmp 0x412d62
lea eax, [esi + 4]
push eax
call fcn.00401e70
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0040bda0
lea ecx, [esp + 0x10]
test eax, eax
jne 0x412d5c
call fcn.00401af0
jmp 0x412e25
push eax
call fcn.00411ed0
push str.dxwnd.log
lea ecx, [esp + 0x14]
call fcn.004050b0
mov edi, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x6c8]
push str.When_the_task_is_finished__get_the_logfile_here:_n__s__nDo_you_want_to_open_the_file_now_
push ecx
call fcn.0045a121
add esp, 0xc
push 0x34
push str.DxWnd_AUTOLOG_MODE
lea edx, [esp + 0x6cc]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x412dba
push 5
push 0
push 0
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [edi - 0x10]
mov dword [esp + 0x9c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412de1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test dword [esi + 0x1c0], 0x1000
je 0x412e06
push 0
push 0x47c9d0
push str.DEBUG:_enable_window_hook
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call sub.dxwnd.dll_Ordinal_2
cmp dword [esp + 0x24], 0
je 0x412e25
mov ecx, dword [esp + 0x30]
push 0
push 0
push ecx
push 0x409cd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x9b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9a0]
xor ecx, esp
call fcn.0045a1dd
mov esp, ebp
pop ebp
ret