Function at 0x4359f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e689e
mov eax, dword fs:[0]
push eax
mov eax, 0x1064
call fcn.004a1390
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xc48], ebx
xor edi, edi
mov dword [ebp - 0xc44], edi
mov ecx, dword [ebx]
push ecx
lea eax, [ecx + 0x4c]
push eax
call fcn.00433db0
mov ecx, dword [ebx]
mov dword [ecx + 0x18], eax
mov esi, dword [ebx]
cmp dword [esi + 0x18], edi
jne 0x435b6f
sub esp, 8
lea ecx, [ebp - 0xf10]
call fcn.00404ce0
mov edx, str.Create_LogFile_Timeout
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xf00]
call fcn.00406090
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0xf10]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x435a8f
mov esi, dword [esi]
mov edi, dword [0x52e1c0]
test edi, edi
jne 0x435ac3
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0xc3c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00404220
mov edi, eax
mov byte [ebp - 4], 1
mov dword [0x52e1c0], edi
cmp dword [edi + 0xb8], 4
jg 0x435b2a
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x435af7
mov eax, dword [edx]
jmp 0x435af9
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x435b05
xor ecx, ecx
jmp 0x435b19
mov ecx, esi
lea ebx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435b10
sub ecx, ebx
push ecx
push esi
mov ecx, edx
call fcn.00409aa0
push ecx
mov ecx, edi
call fcn.004048d0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x435b48
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00409950
lea ecx, [ebp - 0xea8]
call fcn.00404bf0
mov dword [ebp - 4], 3
lea eax, [ebp - 0xea8]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
jmp 0x43644d
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004b8fe0
add esp, 0xc
cmp byte [esi + 0xc1], 0
jne 0x4362a3
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004b8fe0
add esp, 0xc
lea eax, [ebp - 0xc4c]
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43601e
push 0x810
lea eax, [ebp - 0xc38]
push 0
push eax
call fcn.004b8fe0
mov eax, dword [ebp - 0x40c]
add esp, 0xc
mov ecx, dword [ebp - 0x410]
mov dword [ebp - 0xc38], ecx
mov dword [ebp - 0xc34], eax
test eax, eax
jl 0x435def
jg 0x435c0f
cmp ecx, 0x14
jbe 0x435def
mov dword [ebp - 0xd00], 0x5071b4
mov dword [ebp - 0xcf0], 0x5071a4
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea eax, [ebp - 0xce8]
mov dword [ebp - 4], 0xc
or edi, 1
lea ecx, [ebp - 0xd00]
push eax
mov dword [ebp - 0xc44], edi
call fcn.00405b50
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0xd00]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xd00]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd04], eax
lea eax, [ebp - 0xce8]
mov ecx, eax
mov dword [ebp - 0xc3c], eax
call fcn.00405e00
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xcb0], 0
mov dword [ebp - 0xcac], 0
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0xcf0]
push dword [ebp - 0xc34]
mov edx, str.Invalid_LogType:
push dword [ebp - 0xc38]
call fcn.00406090
mov ecx, eax
call fcn.0043c8e0
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0xd00]
call fcn.00404bd0
mov edi, eax
mov byte [ebp - 4], 0x10
cmp dword [edi + 0x14], 0x10
jb 0x435cf9
mov edi, dword [edi]
mov esi, dword [0x52e1c0]
test esi, esi
jne 0x435d2d
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0xc50], eax
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00404220
mov esi, eax
mov byte [ebp - 4], 0x10
mov dword [0x52e1c0], esi
cmp dword [esi + 0xb8], 4
jg 0x435d94
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x435d61
mov eax, dword [edx]
jmp 0x435d63
mov eax, edx
mov byte [eax], 0
cmp byte [edi], 0
jne 0x435d6f
xor ecx, ecx
jmp 0x435d83
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435d74
sub ecx, ebx
mov ebx, dword [ebp - 0xc48]
push ecx
push edi
mov ecx, edx
call fcn.00409aa0
push ecx
mov ecx, esi
call fcn.004048d0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x435db2
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00409950
lea ecx, [ebp - 0xc98]
call fcn.00404bf0
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0xc98]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0049c747
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edi, dword [ebp - 0xc44]
jmp 0x43600a
mov eax, dword [ebp - 0x404]
mov ecx, dword [ebp - 0x408]
mov dword [ebp - 0xc30], ecx
mov dword [ebp - 0xc2c], eax
test eax, eax
jl 0x435fe7
jg 0x435e1d
cmp ecx, 0x800
jbe 0x435fe7
mov dword [ebp - 0xdb0], 0x5071b4
mov dword [ebp - 0xda0], 0x5071a4
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea eax, [ebp - 0xd98]
mov dword [ebp - 4], 0x13
or edi, 2
lea ecx, [ebp - 0xdb0]
push eax
mov dword [ebp - 0xc44], edi
call fcn.00405b50
mov dword [ebp - 4], 0x14
mov eax, dword [ebp - 0xdb0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xdb0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdb4], eax
lea eax, [ebp - 0xd98]
mov ecx, eax
mov dword [ebp - 0xc3c], eax
call fcn.00405e00
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xd60], 0
mov dword [ebp - 0xd5c], 0
mov dword [ebp - 4], 0x16
lea ecx, [ebp - 0xda0]
push dword [ebp - 0xc2c]
mov edx, str.Invalid_LogLength:
push dword [ebp - 0xc30]
call fcn.00406090
mov ecx, eax
call fcn.0043c8e0
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0xdb0]
call fcn.00404bd0
mov edi, eax
mov byte [ebp - 4], 0x17
cmp dword [edi + 0x14], 0x10
jb 0x435f07
mov edi, dword [edi]
mov esi, dword [0x52e1c0]
test esi, esi
jne 0x435f3b
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0xc40], eax
mov ecx, eax
mov byte [ebp - 4], 0x18
call fcn.00404220
mov esi, eax
mov byte [ebp - 4], 0x17
mov dword [0x52e1c0], esi
cmp dword [esi + 0xb8], 4
jg 0x435fa2
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x435f6f
mov eax, dword [edx]
jmp 0x435f71
mov eax, edx
mov byte [eax], 0
cmp byte [edi], 0
jne 0x435f7d
xor ecx, ecx
jmp 0x435f91
mov ecx, edi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435f82
sub ecx, ebx
mov ebx, dword [ebp - 0xc48]
push ecx
push edi
mov ecx, edx
call fcn.00409aa0
push ecx
mov ecx, esi
call fcn.004048d0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x435fc0
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00409950
lea ecx, [ebp - 0xd48]
call fcn.00404bf0
mov dword [ebp - 4], 0x19
lea eax, [ebp - 0xd48]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
jmp 0x435dd4
push ecx
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0xc28]
push eax
call fcn.004b8a60
add esp, 0xc
lea eax, [ebp - 0xc38]
push eax
call fcn.00439b50
mov esi, dword [ebx]
cmp byte [esi + 0xc1], 0
je 0x435b92
jmp 0x4362a3
sub esp, 8
lea ecx, [ebp - 0xfc0]
call fcn.00404ce0
mov dword [ebp - 4], 4
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push eax
mov edx, str.PipeLog_Error:
lea ecx, [ebp - 0xfb0]
call fcn.00406090
mov ecx, eax
call fcn.0041a2d0
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0xfc0]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 0x10
jb 0x436073
mov esi, dword [esi]
mov edi, dword [0x52e1c0]
test edi, edi
jne 0x4360a7
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0xc40], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00404220
mov edi, eax
mov byte [ebp - 4], 5
mov dword [0x52e1c0], edi
cmp dword [edi + 0xb8], 1
jg 0x436112
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x4360db
mov eax, dword [edx]
jmp 0x4360dd
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x4360e9
xor ecx, ecx
jmp 0x436101
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0xc3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4360f4
sub ecx, dword [ebp - 0xc3c]
push ecx
push esi
mov ecx, edx
call fcn.00409aa0
push ecx
mov ecx, edi
call fcn.004048d0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x436130
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00409950
lea ecx, [ebp - 0xf58]
call fcn.00404bf0
lea eax, [ebp - 0xf58]
mov dword [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049c747
mov eax, dword [ebp - 0xc48]
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax]
mov byte [eax + 0xc0], 0
call ebx
cmp eax, 0x6d
jne 0x4362a3
sub esp, 8
lea ecx, [ebp - 0x1070]
call fcn.00404ce0
mov edx, str.Webuff_closed.......
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x1060]
call fcn.00406090
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x1070]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [esi + 0x14], 0x10
jb 0x4361c1
mov esi, dword [esi]
mov edi, dword [0x52e1c0]
test edi, edi
jne 0x4361f5
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0xc40], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00404220
mov edi, eax
mov byte [ebp - 4], 9
mov dword [0x52e1c0], edi
cmp dword [edi + 0xb8], 4
jg 0x43625a
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x436229
mov eax, dword [edx]
jmp 0x43622b
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x436237
xor ecx, ecx
jmp 0x436249
mov ecx, esi
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436240
sub ecx, ebx
push ecx
push esi
mov ecx, edx
call fcn.00409aa0
push ecx
mov ecx, edi
call fcn.004048d0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x436278
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00409950
lea ecx, [ebp - 0x1008]
call fcn.00404bf0
lea eax, [ebp - 0x1008]
mov dword [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049c747
add esp, 4
mov dword [ebp - 0xe60], 0x5071b4
mov dword [ebp - 0xe50], 0x5071a4
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
push ecx
lea eax, [ebp - 0xe48]
mov dword [ebp - 4], 0x1a
or dword [ebp - 0xc44], 4
lea ecx, [ebp - 0xe60]
push eax
call fcn.00405b50
mov dword [ebp - 4], 0x1b
mov eax, dword [ebp - 0xe60]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xe60]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xe64], eax
lea eax, [ebp - 0xe48]
mov ecx, eax
mov dword [ebp - 0xc40], eax
call fcn.00405e00
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xe10], 0
mov dword [ebp - 0xe0c], 0
mov edx, str.GameLog_Exit
mov dword [ebp - 4], 0x1d
lea ecx, [ebp - 0xe50]
call fcn.00406090
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0xe60]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 0x1e
cmp dword [esi + 0x14], 0x10
jb 0x436378
mov esi, dword [esi]
mov edi, dword [0x52e1c0]
test edi, edi
jne 0x4363ac
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0xc40], eax
mov ecx, eax
mov byte [ebp - 4], 0x1f
call fcn.00404220
mov edi, eax
mov byte [ebp - 4], 0x1e
mov dword [0x52e1c0], edi
cmp dword [edi + 0xb8], 1
jg 0x43640d
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x4363e0
mov eax, dword [edx]
jmp 0x4363e2
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x4363ee
xor ecx, ecx
jmp 0x4363fc
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4363f3
sub ecx, ebx
push ecx
push esi
mov ecx, edx
call fcn.00409aa0
push ecx
mov ecx, edi
call fcn.004048d0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x43642b
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00409950
lea ecx, [ebp - 0xdf8]
call fcn.00404bf0
mov dword [ebp - 4], 0x20
lea eax, [ebp - 0xdf8]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0049c747
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret