Function at 0x40dcd0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4692e0
mov eax, dword fs:[0]
push eax
mov eax, 0x2c48
call fcn.0044beb0
mov eax, dword [0x481b08]
xor eax, esp
mov dword [esp + 0x2c44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x481b08]
xor eax, esp
push eax
lea eax, [esp + 0x2c5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c6c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x118]
xor ebp, ebp
push eax
mov dword [esp + 0x2c], ebp
call fcn.004129b0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40dd38
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
sete bl
cmp dword [esp + 0x12c], 8
jb 0x40dd5d
push dword [esp + 0x118]
call fcn.00449096
add esp, 4
test bl, bl
je 0x40dd68
xor al, al
jmp 0x40ef3b
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, 1
jmp 0x40dd80
mov dword [esp + 0x2c], 0x46bed8
or ebp, 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x2c64], 0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x7c], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [esp + 0x78], 0x48
call fcn.00404450
lea eax, [esp + 0x30]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0xbc], 0
call fcn.004068e0
push eax
mov dword [esp + 0x2c68], 2
call fcn.0040a3a0
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov byte [esp + 0x2c64], 1
test ecx, ecx
je 0x40de11
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x40de11
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esi]
push 0x20
mov ecx, esi
call dword [eax + 0x30]
cmp dword [esp + 0xb4], 0
mov word [esp + 0xbc], ax
jne 0x40de4f
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
or eax, 4
and eax, 0x17
mov dword [esp + 0x88], eax
test eax, ecx
jne 0x40edf8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c64], 3
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x2c], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [esp + ecx + 0x28], eax
lea ecx, [esp + 0x30]
call fcn.0040a730
mov dword [esp + 0x30], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 4
push ebx
lea eax, [esp + 0x30]
push str.User
push eax
mov dword [esp + 0x2c70], 5
call fcn.00409cf0
add esp, 8
mov ecx, eax
call fcn.0040a930
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x30]
call fcn.0040f970
push 0x208
lea eax, [esp + 0x344]
push 0
push eax
mov byte [esp + 0x2c70], 6
call fcn.0044ae30
lea eax, [esp + 0x124]
push eax
call fcn.004129b0
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x40df04
mov ecx, dword [ecx]
cmp dword [esp + 0x15c], 8
push ecx
push 0x104
lea ecx, [esp + 0x348]
push ecx
lea eax, [esp + 0x154]
cmovae eax, dword [esp + 0x154]
push 0x46bdfc
push eax
push 0x46be78
call edi
cmp dword [esp + 0x12c], 8
jb 0x40df4f
push dword [esp + 0x118]
call fcn.00449096
add esp, 4
xor eax, eax
mov dword [esp + 0x144], 7
mov dword [esp + 0x140], 0
mov word [esp + 0x130], ax
cmp word [esp + 0x340], ax
jne 0x40df7d
xor ecx, ecx
jmp 0x40df96
lea ecx, [esp + 0x340]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40df87
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x344]
push eax
lea ecx, [esp + 0x138]
call fcn.00401b70
cmp dword [esp + 0x144], 8
mov eax, dword [esp + 0x140]
push dword [esp + 0x18]
lea ecx, [esp + 0x134]
cmovae ecx, dword [esp + 0x134]
mov byte [esp + 0x2c68], 7
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x134]
cmovae ecx, dword [esp + 0x134]
push eax
push ecx
lea ecx, [esp + 0x2a4]
mov dword [esp + 0x2b8], 0xf
mov dword [esp + 0x2b4], 0
mov byte [esp + 0x2a4], 0
call fcn.0040a0d0
xor eax, eax
cmp dword [esp + 0x2a8], eax
mov byte [esp + 0x2c64], 8
setne al
test eax, eax
je 0x40ee82
lea ecx, [esp + 0x2b0]
call fcn.00402eb0
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x270], ax
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x274]
mov byte [esp + 0x2c70], 9
mov dword [esp + 0x288], 7
mov dword [esp + 0x284], 0
call fcn.00401a50
push 0xa
push str..ProxyType
lea ecx, [esp + 0x270]
mov byte [esp + 0x2c6c], 0xa
call fcn.0040c050
push 0x208
lea eax, [esp + 0x344]
push 0
push eax
call fcn.0044ae30
lea eax, [esp + 0x124]
push eax
call fcn.004129b0
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x40e0c3
mov ecx, dword [ecx]
cmp dword [esp + 0x27c], 8
push ecx
push 0x104
lea ecx, [esp + 0x348]
push ecx
lea eax, [esp + 0x274]
cmovae eax, dword [esp + 0x274]
push 0x46bdfc
push eax
push 0x46be78
call edi
cmp dword [esp + 0x12c], 8
jb 0x40e10e
push dword [esp + 0x118]
call fcn.00449096
add esp, 4
xor eax, eax
mov dword [esp + 0x204], 7
mov dword [esp + 0x200], 0
mov word [esp + 0x1f0], ax
cmp word [esp + 0x340], ax
jne 0x40e13c
xor ecx, ecx
jmp 0x40e155
lea ecx, [esp + 0x340]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e146
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x344]
push eax
lea ecx, [esp + 0x1f8]
call fcn.00401b70
cmp dword [esp + 0x204], 8
mov eax, dword [esp + 0x200]
push dword [esp + 0x18]
lea ecx, [esp + 0x1f4]
cmovae ecx, dword [esp + 0x1f4]
mov byte [esp + 0x2c68], 0xb
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x1f4]
cmovae ecx, dword [esp + 0x1f4]
push eax
push ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
call fcn.0040a0d0
cmp dword [esp + 0x2c4], 0x10
jb 0x40e1eb
push dword [esp + 0x2b0]
call fcn.00449096
add esp, 4
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x2c4], 0xf
mov dword [esp + 0x2c0], 0
mov byte [esp + 0x2b0], 0
cmp ecx, 0x10
jae 0x40e241
mov eax, dword [esp + 0x110]
inc eax
je 0x40e24f
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x2b8]
push eax
call fcn.004491e0
mov ecx, dword [esp + 0x120]
add esp, 0xc
jmp 0x40e24f
mov eax, dword [esp + 0x100]
mov dword [esp + 0x2b0], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x2c0], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x240], ax
lea eax, [esp + 0x150]
mov dword [esp + 0x2cc], ecx
push eax
lea ecx, [esp + 0x244]
mov dword [esp + 0x258], 7
mov dword [esp + 0x254], 0
call fcn.00401a50
push 0xe
push str..ProxyHostname
lea ecx, [esp + 0x240]
mov byte [esp + 0x2c6c], 0xc
call fcn.0040c050
push 0x208
lea eax, [esp + 0x344]
push 0
push eax
call fcn.0044ae30
lea eax, [esp + 0x124]
push eax
call fcn.004129b0
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x40e2e4
mov ecx, dword [ecx]
cmp dword [esp + 0x24c], 8
push ecx
push 0x104
lea ecx, [esp + 0x348]
push ecx
lea eax, [esp + 0x244]
cmovae eax, dword [esp + 0x244]
push 0x46bdfc
push eax
push 0x46be78
call edi
cmp dword [esp + 0x12c], 8
jb 0x40e32f
push dword [esp + 0x118]
call fcn.00449096
add esp, 4
xor eax, eax
mov dword [esp + 0x1bc], 7
mov dword [esp + 0x1b8], 0
mov word [esp + 0x1a8], ax
cmp word [esp + 0x340], ax
jne 0x40e35d
xor ecx, ecx
jmp 0x40e376
lea ecx, [esp + 0x340]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e367
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x344]
push eax
lea ecx, [esp + 0x1b0]
call fcn.00401b70
cmp dword [esp + 0x1bc], 8
mov eax, dword [esp + 0x1b8]
push dword [esp + 0x18]
lea ecx, [esp + 0x1ac]
cmovae ecx, dword [esp + 0x1ac]
mov byte [esp + 0x2c68], 0xd
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x1ac]
cmovae ecx, dword [esp + 0x1ac]
push eax
push ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
call fcn.0040a0d0
cmp dword [esp + 0x2dc], 0x10
jb 0x40e40c
push dword [esp + 0x2c8]
call fcn.00449096
add esp, 4
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x2dc], 0xf
mov dword [esp + 0x2d8], 0
mov byte [esp + 0x2c8], 0
cmp ecx, 0x10
jae 0x40e462
mov eax, dword [esp + 0x110]
inc eax
je 0x40e470
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x2d0]
push eax
call fcn.004491e0
mov ecx, dword [esp + 0x120]
add esp, 0xc
jmp 0x40e470
mov eax, dword [esp + 0x100]
mov dword [esp + 0x2c8], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x2d8], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x258], ax
lea eax, [esp + 0x150]
mov dword [esp + 0x2e4], ecx
push eax
lea ecx, [esp + 0x25c]
mov dword [esp + 0x270], 7
mov dword [esp + 0x26c], 0
call fcn.00401a50
push 0x10
push str..ProxyPortnumber
lea ecx, [esp + 0x258]
mov byte [esp + 0x2c6c], 0xe
call fcn.0040c050
push 0x208
lea eax, [esp + 0x344]
push 0
push eax
call fcn.0044ae30
lea eax, [esp + 0x124]
push eax
call fcn.004129b0
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x40e505
mov ecx, dword [ecx]
cmp dword [esp + 0x264], 8
push ecx
push 0x104
lea ecx, [esp + 0x348]
push ecx
lea eax, [esp + 0x25c]
cmovae eax, dword [esp + 0x25c]
push 0x46bdfc
push eax
push 0x46be78
call edi
cmp dword [esp + 0x12c], 8
jb 0x40e550
push dword [esp + 0x118]
call fcn.00449096
add esp, 4
xor eax, eax
mov dword [esp + 0x1ec], 7
mov dword [esp + 0x1e8], 0
mov word [esp + 0x1d8], ax
cmp word [esp + 0x340], ax
jne 0x40e57e
xor ecx, ecx
jmp 0x40e59f
lea ecx, [esp + 0x340]
lea edx, [ecx + 2]
jmp 0x40e590
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e590
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x344]
push eax
lea ecx, [esp + 0x1e0]
call fcn.00401b70
cmp dword [esp + 0x1ec], 8
mov eax, dword [esp + 0x1e8]
push dword [esp + 0x18]
lea ecx, [esp + 0x1dc]
cmovae ecx, dword [esp + 0x1dc]
mov byte [esp + 0x2c68], 0xf
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x1dc]
cmovae ecx, dword [esp + 0x1dc]
push eax
push ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], 0
mov byte [esp + 0x10c], 0
call fcn.0040a0d0
cmp dword [esp + 0x2f4], 0x10
jb 0x40e635
push dword [esp + 0x2e0]
call fcn.00449096
add esp, 4
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0x2e4]
mov dword [esp + 0x2f8], 0xf
mov dword [esp + 0x2f4], 0
mov byte [esp + 0x2e4], 0
call fcn.00403990
cmp dword [esp + 0x114], 0x10
jb 0x40e680
push dword [esp + 0x100]
call fcn.00449096
add esp, 4
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x228], ax
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x22c]
mov dword [esp + 0x240], 7
mov dword [esp + 0x23c], 0
call fcn.00401a50
push 0xe
push str..ProxyUsername
lea ecx, [esp + 0x228]
mov byte [esp + 0x2c6c], 0x10
call fcn.0040c050
push 0x2710
lea eax, [esp + 0x54c]
push 0
push eax
call fcn.0044ae30
lea eax, [esp + 0x124]
push eax
call fcn.004129b0
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x40e700
mov ecx, dword [ecx]
cmp dword [esp + 0x234], 8
push ecx
push 0x1388
lea ecx, [esp + 0x550]
push ecx
lea eax, [esp + 0x22c]
cmovae eax, dword [esp + 0x22c]
push 0x46bdfc
push eax
push 0x46be78
call edi
cmp dword [esp + 0x12c], 8
mov esi, eax
jb 0x40e74d
push dword [esp + 0x118]
call fcn.00449096
add esp, 4
xor eax, eax
mov word [esp + 0x1c0], ax
push esi
lea eax, [esp + 0x54c]
push eax
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x1dc], 7
mov dword [esp + 0x1d8], 0
call fcn.00401b70
cmp dword [esp + 0x1d4], 8
mov eax, dword [esp + 0x1d0]
push dword [esp + 0x18]
lea ecx, [esp + 0x1c4]
cmovae ecx, dword [esp + 0x1c4]
mov byte [esp + 0x2c68], 0x11
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x1c4]
cmovae ecx, dword [esp + 0x1c4]
push eax
push ecx
lea ecx, [esp + 0x334]
mov dword [esp + 0x348], 0xf
mov dword [esp + 0x344], 0
mov byte [esp + 0x334], 0
call fcn.0040a0d0
cmp dword [esp + 0x338], 0
mov byte [esp + 0x2c64], 0x12
je 0x40e9af
lea eax, [esp + 0x328]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.0040c2a0
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x184]
push eax
mov byte [esp + 0x2c74], 0x13
call fcn.0040c7b0
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x114]
push eax
mov byte [esp + 0x2c7c], 0x14
call fcn.0040fb50
add esp, 0x18
cmp dword [esp + 0x114], 8
mov eax, dword [esp + 0x110]
push dword [esp + 0x18]
lea ecx, [esp + 0x104]
cmovae ecx, dword [esp + 0x104]
mov byte [esp + 0x2c68], 0x15
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x104]
cmovae ecx, dword [esp + 0x104]
push eax
push ecx
lea ecx, [esp + 0x16c]
mov dword [esp + 0x180], 0xf
mov dword [esp + 0x17c], 0
mov byte [esp + 0x16c], 0
call fcn.0040a0d0
cmp dword [esp + 0x30c], 0x10
jb 0x40e8d3
push dword [esp + 0x2f8]
call fcn.00449096
add esp, 4
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x2fc]
mov dword [esp + 0x310], 0xf
mov dword [esp + 0x30c], 0
mov byte [esp + 0x2fc], 0
call fcn.00403990
cmp dword [esp + 0x174], 0x10
jb 0x40e91e
push dword [esp + 0x160]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x114], 8
jb 0x40e937
push dword [esp + 0x100]
call fcn.00449096
add esp, 4
xor eax, eax
cmp dword [esp + 0x18c], 0x10
mov dword [esp + 0x114], 7
mov dword [esp + 0x110], 0
mov word [esp + 0x100], ax
jb 0x40e970
push dword [esp + 0x178]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x12c], 0x10
mov dword [esp + 0x18c], 0xf
mov dword [esp + 0x188], 0
mov byte [esp + 0x178], 0
mov byte [esp + 0x2c64], 0x12
jb 0x40e9af
push dword [esp + 0x118]
call fcn.00449096
add esp, 4
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x288], ax
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x28c]
mov dword [esp + 0x2a0], 7
mov dword [esp + 0x29c], 0
call fcn.00401a50
push 0xe
push str..ProxyPassword
lea ecx, [esp + 0x288]
mov byte [esp + 0x2c6c], 0x16
call fcn.0040c050
push 0x2710
lea eax, [esp + 0x54c]
push 0
push eax
call fcn.0044ae30
lea eax, [esp + 0x124]
push eax
call fcn.004129b0
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x40ea2f
mov ecx, dword [ecx]
cmp dword [esp + 0x294], 8
push ecx
push 0x1388
lea ecx, [esp + 0x550]
push ecx
lea eax, [esp + 0x28c]
cmovae eax, dword [esp + 0x28c]
push 0x46bdfc
push eax
push 0x46be78
call edi
cmp dword [esp + 0x12c], 8
mov esi, eax
jb 0x40ea7c
push dword [esp + 0x118]
call fcn.00449096
add esp, 4
xor eax, eax
mov word [esp + 0x208], ax
push esi
lea eax, [esp + 0x54c]
push eax
lea ecx, [esp + 0x210]
mov dword [esp + 0x224], 7
mov dword [esp + 0x220], 0
call fcn.00401b70
cmp dword [esp + 0x21c], 8
mov eax, dword [esp + 0x218]
push dword [esp + 0x18]
lea ecx, [esp + 0x20c]
cmovae ecx, dword [esp + 0x20c]
mov byte [esp + 0x2c68], 0x17
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x20c]
cmovae ecx, dword [esp + 0x20c]
push eax
push ecx
lea ecx, [esp + 0x19c]
mov dword [esp + 0x1b0], 0xf
mov dword [esp + 0x1ac], 0
mov byte [esp + 0x19c], 0
call fcn.0040a0d0
cmp dword [esp + 0x1a0], 0
mov byte [esp + 0x2c64], 0x18
je 0x40ecde
lea eax, [esp + 0x190]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.0040c2a0
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x16c]
push eax
mov byte [esp + 0x2c74], 0x19
call fcn.0040c7b0
lea eax, [esp + 0x170]
push eax
lea eax, [esp + 0x114]
push eax
mov byte [esp + 0x2c7c], 0x1a
call fcn.0040fb50
add esp, 0x18
cmp dword [esp + 0x114], 8
mov eax, dword [esp + 0x110]
push dword [esp + 0x18]
lea ecx, [esp + 0x104]
cmovae ecx, dword [esp + 0x104]
mov byte [esp + 0x2c68], 0x1b
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x104]
cmovae ecx, dword [esp + 0x104]
push eax
push ecx
lea ecx, [esp + 0x184]
mov dword [esp + 0x198], 0xf
mov dword [esp + 0x194], 0
mov byte [esp + 0x184], 0
call fcn.0040a0d0
cmp dword [esp + 0x324], 0x10
jb 0x40ec02
push dword [esp + 0x310]
call fcn.00449096
add esp, 4
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x314]
mov dword [esp + 0x328], 0xf
mov dword [esp + 0x324], 0
mov byte [esp + 0x314], 0
call fcn.00403990
cmp dword [esp + 0x18c], 0x10
jb 0x40ec4d
push dword [esp + 0x178]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x114], 8
jb 0x40ec66
push dword [esp + 0x100]
call fcn.00449096
add esp, 4
xor eax, eax
cmp dword [esp + 0x174], 0x10
mov dword [esp + 0x114], 7
mov dword [esp + 0x110], 0
mov word [esp + 0x100], ax
jb 0x40ec9f
push dword [esp + 0x160]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x12c], 0x10
mov dword [esp + 0x174], 0xf
mov dword [esp + 0x170], 0
mov byte [esp + 0x160], 0
mov byte [esp + 0x2c64], 0x18
jb 0x40ecde
push dword [esp + 0x118]
call fcn.00449096
add esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2b0]
push eax
call fcn.0040f520
mov eax, dword [esp + 0x1a4]
inc ebx
cmp eax, 0x10
jb 0x40ed1d
inc eax
push eax
push dword [esp + 0x194]
lea eax, [esp + 0x2b]
push eax
lea ecx, [esp + 0x19c]
call fcn.00401660
mov ecx, eax
call fcn.00401c70
push 0
lea ecx, [esp + 0x194]
mov dword [esp + 0x1a8], 0xf
call fcn.00401640
lea ecx, [esp + 0x208]
call fcn.00414640
lea ecx, [esp + 0x280]
call fcn.00414640
lea ecx, [esp + 0x328]
call fcn.004010b0
lea ecx, [esp + 0x1c0]
call fcn.00414640
lea ecx, [esp + 0x220]
call fcn.00414640
lea ecx, [esp + 0x1d8]
call fcn.00414640
lea ecx, [esp + 0x250]
call fcn.00414640
lea ecx, [esp + 0x1a8]
call fcn.00414640
lea ecx, [esp + 0x238]
call fcn.00414640
lea ecx, [esp + 0x1f0]
call fcn.00414640
lea ecx, [esp + 0x268]
call fcn.00414640
lea ecx, [esp + 0x2b0]
call fcn.004033c0
lea ecx, [esp + 0x298]
call fcn.004010b0
lea ecx, [esp + 0x130]
call fcn.00414640
lea ecx, [esp + 0x148]
call fcn.00414640
lea ecx, [esp + 0x2c]
call fcn.0040aad0
jmp 0x40dd80
and ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x481014
push eax
test cl, 4
je 0x40ee37
push str.ios_base::badbit_set
lea ecx, [esp + 0xcc]
call fcn.004030a0
push 0x47dc84
lea eax, [esp + 0xc8]
push eax
call fcn.00449833
test cl, 2
je 0x40ee5f
push str.ios_base::failbit_set
lea ecx, [esp + 0xf4]
call fcn.004030a0
push 0x47dc84
lea eax, [esp + 0xf0]
push eax
call fcn.00449833
push str.ios_base::eofbit_set
lea ecx, [esp + 0xe0]
call fcn.004030a0
push 0x47dc84
lea eax, [esp + 0xdc]
push eax
call fcn.00449833
cmp dword [esp + 0x2ac], 0x10
jb 0x40ee9b
push dword [esp + 0x298]
call fcn.00449096
add esp, 4
cmp dword [esp + 0x144], 8
jb 0x40eeb4
push dword [esp + 0x130]
call fcn.00449096
add esp, 4
xor eax, eax
cmp dword [esp + 0x15c], 8
mov dword [esp + 0x144], 7
mov dword [esp + 0x140], 0
mov word [esp + 0x130], ax
jb 0x40eeed
push dword [esp + 0x148]
call fcn.00449096
add esp, 4
xor eax, eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x15c], 7
mov dword [esp + 0x158], 0
mov word [esp + 0x148], ax
mov dword [esp + 0x2c64], 0xffffffff
call fcn.0040a850
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x80], vtable.std::ios_base.0
call fcn.00448ca0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x2c5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c44]
xor ecx, esp
call fcn.00449824
add esp, 0x2c54
ret