Function at 0x442710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46141b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4786a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x19c], 0x46db60
mov dword [ebp - 0x18c], 0x46db68
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x19c]
mov dword [ebp - 4], 1
mov esi, 2
push eax
mov dword [ebp - 0xe8], esi
call fcn.0042ee60
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ecx + 4]
lea ecx, [ebp - 0x184]
mov dword [ebp + edx - 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
call fcn.00421a00
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 - 0x148], ebx
mov dword [ebp - 0x144], ebx
push 0x400
mov dword [ebp - 4], 4
call fcn.004440cc
mov edi, eax
add esp, 4
mov dword [ebp - 0xf4], edi
mov byte [ebp - 4], 5
mov byte [ebp - 0xdd], bl
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx]
push ebx
lea eax, [ebp - 0xf0]
push eax
push 0x400
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x442820
mov byte [ebp - 0xdd], 1
jmp 0x44283a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub eax, 0x6d
je 0x44298b
sub eax, 0x7d
jne 0x442916
mov eax, dword [ebp - 0xf0]
push eax
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.00427b30
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x18c]
push edx
mov byte [ebp - 4], 9
call fcn.0043c680
add esp, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 0x10
jb 0x442884
mov eax, dword [ebp - 0x30]
push eax
call fcn.0044543c
add esp, 4
cmp byte [ebp - 0xdd], bl
je 0x4427f6
lea esi, [ebp - 0x30]
lea eax, [ebp - 0x19c]
call fcn.00438490
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0xec]
push esi
mov ecx, eax
call fcn.0041f2e0
mov byte [esi + 0xa4], bl
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0xe8], 3
jb 0x4428d2
mov eax, dword [ebp - 0x30]
push eax
call fcn.0044543c
add esp, 4
push edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.0044543c
add esp, 4
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.0042cc80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x244]
push ecx
call fcn.004384b0
push esi
push ecx
lea edx, [ebp - 0x234]
push 0x46e478
push edx
mov byte [ebp - 4], 7
call fcn.00434d20
add esp, 0xc
push eax
call fcn.0042dff0
push 0x205
push 0x46e098
lea esi, [ebp - 0x4c]
lea eax, [ebp - 0x244]
call fcn.00438550
sub esp, 0x48
mov ebx, eax
mov esi, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0xe4], esp
call fcn.0041ee70
lea esi, [ebp - 0xdc]
call fcn.004230f0
add esp, 0x50
push 0x4707ec
mov eax, esi
push eax
call fcn.00449840
xor ecx, ecx
mov word [ebp - 0x30], cx
push 0x11
mov eax, 0x46e454
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
call fcn.00429690
push 0x201
push 0x46e098
sub esp, 0x48
lea ebx, [ebp - 0x30]
mov esi, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0xe4], esp
call fcn.0041ee70
lea esi, [ebp - 0x94]
call fcn.004230f0
add esp, 0x50
push 0x4707ec
mov edx, esi
push edx
call fcn.00449840
int3