Function at 0x40a050
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4288d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x234
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebx + 0x10]
mov ecx, edx
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0xf
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a0b6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x17c]
call fcn.00402460
push 0xa8
lea eax, [ebp - 0x228]
mov dword [ebp - 0x134], 0
push 0
push eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
call fcn.0040fdd0
add esp, 4
lea eax, [ebp - 0x17c]
lea ecx, [ebp - 0x228]
push eax
call fcn.0040b170
push ecx
lea edx, [ebp - 0x164]
mov dword [ebp - 0x164], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
call fcn.0040cc00
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x40a1a3
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x164]
push ecx
cmp eax, dword [ebp - 0x12c]
je 0x40a176
mov ecx, eax
call fcn.0040b930
add dword [ebp - 0x130], 0x18
jmp 0x40a182
push eax
lea ecx, [ebp - 0x134]
call fcn.0040c4a0
push ecx
lea edx, [ebp - 0x164]
lea ecx, [ebp - 0x228]
call fcn.0040cc00
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x40a151
mov ecx, dword [ebp - 0x130]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x134]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40a528
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x13c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x138], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a201
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x14c]
call fcn.00402460
mov esi, dword [ebp - 0x138]
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x13c]
cmp esi, 0x10
push 8
cmovae ecx, dword [ebp - 0x14c]
push str.nine.exe
push ecx
call fcn.00402640
add esp, 0xc
cmp eax, 0xffffffff
je 0x40a344
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x128], 0x4b404740
mov dword [ebp - 0x124], 0x2e4b4041
mov ecx, dword [eax]
mov eax, dword [0x43ad9c]
cmp eax, dword [ecx + 4]
jle 0x40a2c2
push 0x43ad9c
call fcn.0040e36f
add esp, 4
cmp dword [0x43ad9c], 0xffffffff
jne 0x40a2c2
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x124]
push 0x4292d0
mov dword [0x43adc8], eax
mov dword [0x43adcc], ecx
call fcn.0040e796
add esp, 4
push 0x43ad9c
call fcn.0040e325
add esp, 4
mov al, byte [0x43adcf]
test al, al
je 0x40a303
xor byte [0x43adc8], 0x2e
xor byte [0x43adc9], 0x2e
xor byte [0x43adca], 0x2e
xor byte [0x43adcb], 0x2e
xor byte [0x43adcc], 0x2e
xor byte [0x43adcd], 0x2e
xor byte [0x43adce], 0x2e
xor al, 0x2e
mov byte [0x43adcf], al
mov ecx, 0x43adc8
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a330
sub ecx, edx
push ecx
push 0x43adc8
jmp 0x40a45f
mov edx, dword [ebp - 0x13c]
lea ecx, [ebp - 0x14c]
cmp esi, 0x10
push 7
cmovae ecx, dword [ebp - 0x14c]
push str.two.exe
push ecx
call fcn.00402640
add esp, 0xc
cmp eax, 0xffffffff
je 0x40a853
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x128], 0x4b404740
mov dword [ebp - 0x124], 0x2e41595a
mov ecx, dword [eax]
mov eax, dword [0x43acf0]
cmp eax, dword [ecx + 4]
jle 0x40a3e3
push 0x43acf0
call fcn.0040e36f
add esp, 4
cmp dword [0x43acf0], 0xffffffff
jne 0x40a3e3
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x124]
push 0x4292c0
mov dword [0x43aedc], eax
mov dword [0x43aee0], ecx
call fcn.0040e796
add esp, 4
push 0x43acf0
call fcn.0040e325
add esp, 4
mov al, byte [0x43aee3]
test al, al
je 0x40a424
xor byte [0x43aedc], 0x2e
xor byte [0x43aedd], 0x2e
xor byte [0x43aede], 0x2e
xor byte [0x43aedf], 0x2e
xor byte [0x43aee0], 0x2e
xor byte [0x43aee1], 0x2e
xor byte [0x43aee2], 0x2e
xor al, 0x2e
mov byte [0x43aee3], al
mov ecx, 0x43aedc
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a450
sub ecx, edx
push ecx
push 0x43aedc
lea ecx, [ebp - 0x240]
call fcn.00402460
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x12c]
je 0x40a49e
movups xmm0, xmmword [ebp - 0x240]
mov dword [eax], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x230]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x130], 0x18
jmp 0x40a4eb
lea ecx, [ebp - 0x240]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.0040c2c0
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x40a4eb
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a84e
push edx
push ecx
call fcn.0040e226
add esp, 8
mov edx, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x40a69b
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a691
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a84e
jmp 0x40a691
cmp eax, 1
jne 0x40a69b
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x128], 0x7a7e636b
mov word [ebp - 0x124], 0x2e77
mov ecx, dword [eax]
mov eax, dword [0x43ad8c]
cmp eax, dword [ecx + 4]
jle 0x40a5a1
push 0x43ad8c
call fcn.0040e36f
add esp, 4
cmp dword [0x43ad8c], 0xffffffff
jne 0x40a5a1
mov eax, dword [ebp - 0x128]
mov dword [0x43afa4], eax
mov ax, word [ebp - 0x124]
push 0x4292b0
mov word [0x43afa8], ax
call fcn.0040e796
add esp, 4
push 0x43ad8c
call fcn.0040e325
add esp, 4
mov al, byte [0x43afa9]
test al, al
je 0x40a5d4
xor byte [0x43afa4], 0x2e
xor byte [0x43afa5], 0x2e
xor byte [0x43afa6], 0x2e
xor byte [0x43afa7], 0x2e
xor byte [0x43afa8], 0x2e
xor al, 0x2e
mov byte [0x43afa9], al
mov ecx, 0x43afa4
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0xf
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a600
sub ecx, edx
push ecx
push 0x43afa4
lea ecx, [ebp - 0x240]
call fcn.00402460
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x12c]
je 0x40a64e
movups xmm0, xmmword [ebp - 0x240]
mov dword [eax], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x230]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x130], 0x18
jmp 0x40a69b
lea ecx, [ebp - 0x240]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.0040c2c0
mov edx, dword [ebp - 0x22c]
cmp edx, 0x10
jb 0x40a69b
mov ecx, dword [ebp - 0x240]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a691
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a85f
push edx
push ecx
call fcn.0040e226
add esp, 8
mov esi, dword [ebp - 0x134]
sub esp, 0x18
mov ecx, esp
lea eax, [esi + 0x18]
push eax
call fcn.0040b930
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0040b930
call fcn.00407bf0
mov edx, dword [ebp - 0x150]
add esp, 0x30
cmp edx, 0x10
jb 0x40a6fc
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a6f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a85f
push edx
push ecx
call fcn.0040e226
add esp, 8
mov eax, dword [ebp - 0x228]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x22c], eax
lea ecx, [ebp - 0x218]
call fcn.0040ada0
mov eax, dword [ebp - 0x228]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x22c], eax
lea eax, [ebp - 0x1c8]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0040d9c3
mov ecx, dword [ebp - 0x134]
add esp, 4
test ecx, ecx
je 0x40a7f9
mov edx, dword [ebp - 0x130]
push ecx
call fcn.0040c860
mov ecx, dword [ebp - 0x12c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x134]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40a7d1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a85f
push ecx
push esi
call fcn.0040e226
add esp, 8
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov edx, dword [ebp - 0x168]
cmp edx, 0x10
jb 0x40a82f
mov ecx, dword [ebp - 0x17c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a825
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a85f
push edx
push ecx
call fcn.0040e226
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040dfe3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.004127f7
call fcn.00409c30
push 0
call fcn.0041624d
call fcn.004127f7
int3