Function at 0x4069e0
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x48bff3
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4ad3b0]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x78]
mov esi, dword [ebp + 0x7c]
mov dword [ebp - 0x18], edi
mov dword [ebp + 4], 0
mov dword [ebp - 0xe4], 0x48d7a8
push 0
lea eax, [ebp - 0xd4]
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp + 4], 2
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x78], 0x58
movlpd qword [ebp - 0xdc], xmm0
call fcn.00407bd0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xd4]
call fcn.00404e70
push 0x40
push 1
push esi
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 4
call fcn.00407e20
test eax, eax
jne 0x406af2
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0xac], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0xd8]
and eax, 0x17
mov dword [ebp + ecx - 0xd8], eax
mov ecx, dword [ebp + ecx - 0xd4]
and ecx, eax
jne 0x406e6a
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov dword [ebp - 4], 5
mov byte [edi], 0
cmp dword [ebp - 0x88], 0
mov dword [ebp + 4], 3
je 0x406e3e
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
nop word [eax + eax]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xb4]
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x10], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
call fcn.00404cf0
mov ecx, eax
add esp, 4
mov eax, dword [ecx]
push 0xa
mov eax, dword [eax + 0x20]
call eax
mov byte [ebp], al
mov byte [ebp - 4], 7
test esi, esi
je 0x406ba6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x406ba6
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp]
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00404990
mov ecx, eax
add esp, 0xc
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
jne 0x406dbe
cmp dword [ebp + 0x50], 0x10
lea edx, [ebp + 0x3c]
mov dword [ebp + 0x34], 0
cmovae edx, dword [ebp + 0x3c]
mov dword [ebp + 0x38], 0xf
mov byte [ebp + 0x24], 0
mov ecx, edx
mov byte [ebp - 4], 9
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406bf4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp + 0x24]
call fcn.00403900
push 3
call fcn.0040d6c0
add esp, 4
call fcn.0040d4c0
mov dword [ebp + 0x20], eax
test eax, eax
je 0x406eac
push 0
push 0x40
push eax
call fcn.00411140
push 0
push 0xe8
push dword [ebp + 0x20]
call fcn.00411140
push 0
push 0x51
push dword [ebp + 0x20]
call fcn.00411140
push 0
push 0x29
push dword [ebp + 0x20]
call fcn.00411140
add esp, 0x30
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0xa
call fcn.00406f00
cmp dword [ebp + 0x50], 0x10
mov ebx, eax
push dword [ebp + 0x4c]
lea eax, [ebp + 0x3c]
mov ecx, edi
cmovae eax, dword [ebp + 0x3c]
push eax
call fcn.004034a0
push 0x11
push str._tresponse_code_
mov ecx, edi
call fcn.004034a0
lea esi, [ebp + 0x69]
test ebx, ebx
jns 0x406cc0
neg ebx
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x406c90
dec esi
mov byte [esi], 0x2d
jmp 0x406ce3
mov eax, 0xcccccccd
dec esi
mul ebx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [esi], bl
mov ebx, edx
test ebx, ebx
jne 0x406cc0
xor ecx, ecx
lea eax, [ebp + 0x69]
mov dword [ebp + 0x18], ecx
mov edx, 0xf
mov dword [ebp + 0x1c], edx
mov byte [ebp + 8], cl
cmp esi, eax
je 0x406d0c
sub eax, esi
lea ecx, [ebp + 8]
push eax
push esi
call fcn.00403900
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
or dword [ebp + 4], 0x18
cmp edx, 0x10
mov byte [ebp - 4], 0xb
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
mov ecx, edi
call fcn.004034a0
mov edx, dword [ebp + 0x1c]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x406d5f
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406d55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406efa
push edx
push ecx
call fcn.00464706
add esp, 8
push 1
push 0x48d528
mov ecx, edi
call fcn.004034a0
push dword [ebp + 0x20]
mov byte [ebp - 4], 7
call fcn.0040d480
add esp, 4
call fcn.0040d670
mov edx, dword [ebp + 0x38]
cmp edx, 0x10
jb 0x406b50
mov ecx, dword [ebp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406daf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406efa
push edx
push ecx
call fcn.00464706
add esp, 8
jmp 0x406b50
lea ecx, [ebp - 0xd4]
call fcn.004077e0
test eax, eax
jne 0x406e0a
mov eax, dword [ebp - 0xe4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, 4
cmp dword [ebp + ecx - 0xac], edx
cmovne eax, edx
or eax, dword [ebp + ecx - 0xd8]
and eax, 0x15
or eax, 2
mov dword [ebp + ecx - 0xd8], eax
mov ecx, dword [ebp + ecx - 0xd4]
and ecx, eax
jne 0x406eb8
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x406e3e
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406e34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406efa
push edx
push ecx
call fcn.00464706
add esp, 8
lea ecx, [ebp - 0xe4]
call fcn.00405a40
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.00464714
lea esp, [ebp + 0x70]
pop ebp
ret 8
test cl, 4
je 0x406e76
mov esi, str.ios_base::badbit_set
jmp 0x406e86
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00407d50
add esp, 8
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.00405410
push 0x4aa138
lea eax, [ebp - 0x2c]
push eax
call fcn.00465f5b
call fcn.0040d670
push 0
call fcn.0046a0c6
test cl, 4
je 0x406ec4
mov esi, str.ios_base::badbit_set
jmp 0x406ed4
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00407d50
add esp, 8
lea ecx, [ebp + 0x54]
push eax
push esi
call fcn.00405410
push 0x4aa138
lea eax, [ebp + 0x54]
push eax
call fcn.00465f5b
call fcn.00469dba
int3