Function at 0x409670
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 0x42ca30
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f0
mov eax, dword [0x43d054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 0x10]
push 0
mov dword [ebp - 0x1c], 0
call fcn.004187f3
add esp, 4
push eax
call fcn.00417d97
mov ecx, esi
mov dword [ebp - 0x40], 0
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4096e8
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.004026c0
push 0xa8
lea eax, [ebp - 0x100]
mov dword [ebp - 0x28], 0
push 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00410a80
add esp, 8
mov dword [ebp - 0x100], 0x439cec
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x98], 0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x74], 0
push eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0xa0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0xa4], 0x48
movlpd qword [ebp - 0xf8], xmm0
call fcn.0040c380
mov eax, dword [ebp - 0x100]
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 - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xf0]
call fcn.0040c2b0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov eax, 2
mov dword [ebp - 0xf0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
cmp esi, 0x7fffffff
ja 0x409e63
test esi, esi
je 0x409851
cmp esi, 0x1000
jb 0x409811
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x409e68
push eax
call fcn.0040ed4f
add esp, 4
test eax, eax
je 0x409ed3
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x40981c
push esi
call fcn.0040ed4f
add esp, 4
mov edi, eax
push esi
push dword [ebp - 0x1c]
push edi
call fcn.00410440
mov eax, dword [ebp - 0xe4]
lea ecx, [esi + edi]
mov dword [ebp - 0xb8], ecx
add esp, 0xc
mov dword [eax], edi
mov eax, dword [ebp - 0xd4]
mov dword [eax], edi
mov eax, dword [ebp - 0xc4]
mov dword [eax], esi
mov eax, 3
jmp 0x40985b
mov dword [ebp - 0xb8], 0
push ecx
lea edx, [ebp - 0x58]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
call fcn.0040d690
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4098d4
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x58]
push ecx
cmp eax, dword [ebp - 0x20]
je 0x4098ad
mov ecx, eax
call fcn.0040bb10
add dword [ebp - 0x24], 0x18
jmp 0x4098b6
push eax
lea ecx, [ebp - 0x28]
call fcn.0040cfb0
push ecx
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x100]
call fcn.0040d690
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x409894
mov ecx, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x28]
mov edi, dword fs:[0x2c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x409a3f
mov ecx, dword [edi]
mov eax, dword [0x450ec8]
mov dword [ebp - 0x1c], 0x7b7d6160
mov word [ebp - 0x18], 0x2e6c
cmp eax, dword [ecx + 4]
jle 0x409956
push 0x450ec8
call fcn.0040eec8
add esp, 4
cmp dword [0x450ec8], 0xffffffff
jne 0x409956
mov eax, dword [ebp - 0x1c]
mov dword [0x450d10], eax
mov ax, word [ebp - 0x18]
push 0x42d470
mov word [0x450d14], ax
call fcn.0040f1da
add esp, 4
push 0x450ec8
call fcn.0040ee7e
add esp, 4
mov al, byte [0x450d15]
test al, al
je 0x409989
xor byte [0x450d10], 0x2e
xor byte [0x450d11], 0x2e
xor byte [0x450d12], 0x2e
xor byte [0x450d13], 0x2e
xor byte [0x450d14], 0x2e
xor al, 0x2e
mov byte [0x450d15], al
mov ecx, 0x450d10
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0xf
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4099b0
sub ecx, edx
push ecx
push 0x450d10
lea ecx, [ebp - 0x1cc]
call fcn.004026c0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x4099f5
movups xmm0, xmmword [ebp - 0x1cc]
mov dword [eax], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1bc]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x24], 0x18
jmp 0x409a3f
lea ecx, [ebp - 0x1cc]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040cdd0
mov edx, dword [ebp - 0x1b8]
cmp edx, 0x10
jb 0x409a3f
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409a35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ed3
push edx
push ecx
call fcn.0040ed7f
add esp, 8
mov edi, dword [edi]
mov eax, dword [0x450fdc]
mov dword [ebp - 0x1c], 0x2e45464d
cmp eax, dword [edi + 4]
jle 0x409a8d
push 0x450fdc
call fcn.0040eec8
add esp, 4
cmp dword [0x450fdc], 0xffffffff
jne 0x409a8d
mov eax, dword [ebp - 0x1c]
push 0x42d460
mov dword [0x450f10], eax
call fcn.0040f1da
add esp, 4
push 0x450fdc
call fcn.0040ee7e
add esp, 4
mov al, byte [0x450f13]
test al, al
je 0x409ab2
xor byte [0x450f10], 0x2e
xor byte [0x450f11], 0x2e
xor byte [0x450f12], 0x2e
xor al, 0x2e
mov byte [0x450f13], al
mov ecx, 0x450f10
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x1d0], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409ad8
sub ecx, edx
push ecx
push 0x450f10
lea ecx, [ebp - 0x1e4]
call fcn.004026c0
mov esi, dword [ebp - 0x28]
lea edx, [ebp - 0x1e4]
mov ecx, esi
mov dword [ebp - 0x1c], 5
call fcn.0040c9e0
test al, al
jne 0x409bfe
mov eax, dword [0x450d3c]
mov dword [ebp - 0x1c], 0x45464d01
mov byte [ebp - 0x1b1], 0x2e
cmp eax, dword [edi + 4]
jle 0x409b6f
push 0x450d3c
call fcn.0040eec8
add esp, 4
cmp dword [0x450d3c], 0xffffffff
jne 0x409b6f
mov eax, dword [ebp - 0x1c]
mov dword [0x450d78], eax
mov al, byte [ebp - 0x1b1]
push 0x42d440
mov byte [0x450d7c], al
call fcn.0040f1da
add esp, 4
push 0x450d3c
call fcn.0040ee7e
add esp, 4
mov al, byte [0x450d7c]
test al, al
je 0x409b9b
xor byte [0x450d78], 0x2e
xor byte [0x450d79], 0x2e
xor byte [0x450d7a], 0x2e
xor byte [0x450d7b], 0x2e
xor al, 0x2e
mov byte [0x450d7c], al
mov ecx, 0x450d78
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409bc1
sub ecx, edx
push ecx
push 0x450d78
lea ecx, [ebp - 0x1cc]
call fcn.004026c0
mov esi, dword [ebp - 0x28]
lea edx, [ebp - 0x1cc]
mov ecx, esi
mov dword [ebp - 0x1c], 7
call fcn.0040c9e0
test al, al
jne 0x409bfe
mov byte [ebp - 0x1b1], al
jmp 0x409c0b
test byte [ebp - 0x1c], 2
mov byte [ebp - 0x1b1], 1
je 0x409c48
mov edx, dword [ebp - 0x1b8]
cmp edx, 0x10
jb 0x409c48
mov ecx, dword [ebp - 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409c3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ed3
push edx
push ecx
call fcn.0040ed7f
mov esi, dword [ebp - 0x28]
add esp, 8
mov edx, dword [ebp - 0x1d0]
cmp edx, 0x10
jb 0x409c85
mov ecx, dword [ebp - 0x1e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409c78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ed3
push edx
push ecx
call fcn.0040ed7f
mov esi, dword [ebp - 0x28]
add esp, 8
cmp byte [ebp - 0x1b1], 0
jne 0x409e6d
mov ecx, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jb 0x409eb2
je 0x409eb7
cmp eax, 2
jne 0x409d58
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x409cca
mov eax, dword [esi]
cmp dword [esi + 0x10], 1
jne 0x409cf9
movzx eax, byte [eax]
cmp al, 0x72
jne 0x409cdb
xor eax, eax
jmp 0x409ce0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409cf9
call fcn.00417d76
cdq
mov ecx, 0xc350
idiv ecx
add edx, 0x2710
jmp 0x409d38
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x409d03
mov ecx, dword [esi]
cmp dword [esi + 0x10], 2
jne 0x409d58
movzx eax, byte [ecx]
cmp al, 0x72
jne 0x409d1c
movzx eax, byte [ecx + 1]
cmp al, 0x73
jne 0x409d1c
xor eax, eax
jmp 0x409d21
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409d58
call fcn.00417d76
cdq
mov ecx, 0xc350
idiv ecx
add edx, 0x11170
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x28]
sub esp, 0x18
add eax, 0x18
mov ecx, esp
push eax
call fcn.0040bb10
call fcn.00408d00
add esp, 0x18
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x409d8c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409d82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ed3
push edx
push ecx
call fcn.0040ed7f
add esp, 8
mov eax, dword [ebp - 0x100]
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 - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xf0]
call fcn.0040a490
mov eax, dword [ebp - 0x100]
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 - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x104], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.0040e453
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0040b8b0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x409e43
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x409e39
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ed3
push ecx
push edx
call fcn.0040ed7f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040eb3f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.0040df79
call fcn.004018c0
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.00409650
sub esp, 0xc
call fcn.00409ee0
mov ecx, eax
call fcn.0040b750
push eax
lea ecx, [ebp - 0x1fc]
call fcn.00402520
push eax
lea ecx, [ebp - 0x1b0]
call fcn.0040b460
lea ecx, [ebp - 0x1fc]
call fcn.00402450
push 0
call fcn.00417c2d
call fcn.004054c0
sub esp, 0x18
lea ecx, [ebp - 0x28]
mov esi, esp
push 0
call fcn.0040b890
push eax
mov ecx, esi
call fcn.0040bb10
call fcn.00409480
call fcn.004134a7
int3