Function at 0x10003bd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ea14
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [section..data]
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 dword [ebp - 0x10], esp
cmp dword [ebp + 0xc], 0x44d
jne 0x10003d78
mov dword [ebp - 4], 0
mov eax, dword [0x6bdaf0]
push 0x44d
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x48]
test eax, eax
je 0x10003d78
mov ecx, dword [eax + 0x1fc]
test ecx, ecx
js 0x10003d78
cmp ecx, dword [eax + 0x210]
ja 0x10003d78
mov esi, dword [eax + ecx*4 + 0x214]
mov eax, dword [0x6bdaf0]
push 0x2711
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, eax
call fcn.10003a70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x88]
push eax
lea ecx, [ebp - 0xbc]
call fcn.100021c0
mov byte [ebp - 4], 1
cmp dword [ebp - 0xac], 2
jb 0x10003cb8
sub esp, 8
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xbc]
push eax
call fcn.100043b0
push eax
lea ecx, [ebp - 0xbc]
call fcn.10004370
lea ecx, [ebp - 0xa4]
call fcn.10002220
push str.DropList_
lea ecx, [ebp - 0x8c]
call fcn.100021c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x8c]
call fcn.10004780
push 4
push ecx
lea ecx, [ebp - 0x8c]
call fcn.10004840
push 0xb8
lea eax, [ebp - 0x454]
push 0
push eax
call sub.MSVCR120.dll_memset
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x454]
call fcn.10004400
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x454]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x448], 0
lea eax, [ebp - 0x8c]
je 0x10003d96
cmp dword [ebp - 0x78], 0x10
cmovae eax, dword [ebp - 0x8c]
push eax
push str._s_does_not_exist
call fcn.10006940
mov ecx, 0xff00ff00
add esp, 8
mov edx, eax
call fcn.100071a0
lea ecx, [ebp - 0x454]
call fcn.10004260
lea ecx, [ebp - 0x8c]
call fcn.10002220
lea ecx, [ebp - 0xbc]
call fcn.10002220
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.1000dd30
mov esp, ebp
pop ebp
ret 0x28
cmp dword [ebp - 0x78], 0x10
push 0x1000fd74
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.MSVCR120.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10003ddc
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
push str.Failed_to_open__s
call fcn.10006940
mov ecx, 0xffff0000
jmp 0x10003d4d
push esi
push 0x2e0
lea eax, [ebp - 0x39c]
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
cmp eax, 0x2e0
je 0x10003e32
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
push str.Failed_to_read__s
call fcn.10006940
mov edx, eax
mov ecx, 0xffff0000
call fcn.100071a0
push esi
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0xc
jmp 0x10003d57
push esi
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x454]
call fcn.10004500
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
xor ecx, ecx
movq qword [ebp - 0x98], xmm0
xor esi, esi
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 4
xor edi, edi
mov edx, 0x1962
lea ecx, [ecx]
cmp edi, 0x40
jge 0x10003ef1
mov ebx, dword [ebp + edi*8 - 0x2bc]
mov eax, dword [ebp + edi*8 - 0x2b8]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], ebx
lea eax, [ebx - 1]
cmp ax, dx
ja 0x10003eee
movzx edx, bx
cmp dword [ebp - 0x98], esi
je 0x10003ec4
lea esp, [esp]
movzx eax, word [ecx]
cmp eax, edx
je 0x10003ec0
add ecx, 8
cmp ecx, esi
jne 0x10003eb0
jmp 0x10003ec4
cmp ecx, esi
jne 0x10003ee3
mov eax, 0x1c6
cmp bx, ax
je 0x10003ee3
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x98]
call fcn.100045b0
mov esi, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x98]
mov edx, 0x1962
inc edi
jmp 0x10003e80
mov eax, dword [0x6bdaf0]
xor ebx, ebx
push 0x2711
mov dword [ebp - 0x458], 0
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x48]
push ecx
mov ecx, eax
mov dword [ebp - 0x74], eax
call fcn.100039e0
mov edi, dword [ebp - 0x98]
mov ecx, 0x5b8113
cmp edi, esi
je 0x10003fc9
cmp dword [ebp - 0x458], 6
je 0x10003fc9
mov ax, word [edi]
push 8
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x6a], 0
mov word [ebp - 0x66], 0
call ecx
mov ecx, dword [ebp - 0x6c]
add esp, 4
mov dword [ebp - 0x45c], eax
mov dword [eax], ecx
mov ecx, dword [ebp - 0x68]
mov dword [eax + 4], ecx
mov eax, 0x5b8113
push 0x678
call eax
add esp, 4
mov ecx, eax
sub esp, 8
mov eax, 0x40c9ee
mov dword [esp + 4], 0
mov dword [esp], 0
push dword [ebp - 0x45c]
push 0
call eax
mov ecx, dword [ebp - 0x74]
push dword [ebp - 0x458]
push ebx
mov edx, dword [ecx]
push eax
call dword [edx + 0x94]
cmp ebx, 6
jne 0x10003fc0
inc dword [ebp - 0x458]
xor ebx, ebx
add edi, 8
jmp 0x10003f20
inc ebx
add edi, 8
jmp 0x10003f20
xorps xmm0, xmm0
mov dword [ebp - 0x68], 0
xor ebx, ebx
movq qword [ebp - 0x70], xmm0
xor esi, esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 5
xor edi, edi
mov dx, word [ebp - 0x37a]
mov eax, dword [ebp - 0x37c]
cmp edi, 0x40
jge 0x1000404e
mov dword [ebp - 0x74], eax
test ax, ax
je 0x1000404b
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x1000404b
mov ecx, ebx
cmp ebx, esi
je 0x1000402c
cmp word [ecx], ax
jne 0x1000401f
cmp word [ecx + 2], dx
je 0x10004028
add ecx, 4
cmp ecx, esi
jne 0x10004014
jmp 0x1000402c
cmp ecx, esi
jne 0x1000404b
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x70]
call fcn.10004620
mov dx, word [ebp - 0x37a]
mov eax, dword [ebp - 0x37c]
mov esi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x70]
inc edi
jmp 0x10003ff8
push 0
lea eax, [ebp - 0x64]
push 0x1000fda0
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
mov eax, dword [0x6bdaf0]
add esp, 0xc
mov ecx, dword [eax + 0x28]
push 0x578
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, eax
test ecx, ecx
je 0x10004088
mov eax, dword [ecx]
lea edx, [ebp - 0x64]
push 0
push edx
call dword [eax + 0x80]
mov edi, ebx
lea ebx, [ebx]
cmp edi, esi
je 0x10004104
movzx eax, word [edi]
mov word [ebp - 0x45c], ax
xor eax, eax
mov word [ebp - 0x45a], ax
movzx eax, word [edi + 2]
mov word [ebp - 0x458], ax
xor eax, eax
mov word [ebp - 0x456], ax
lea eax, [ebp - 0x64]
push dword [ebp - 0x458]
push dword [ebp - 0x45c]
push str.X:_d_Y:_d
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
mov eax, dword [0x6bdaf0]
add esp, 0x10
mov ecx, dword [eax + 0x28]
push 0x578
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, eax
test ecx, ecx
je 0x100040ff
mov eax, dword [ecx]
lea edx, [ebp - 0x64]
push 0
push edx
call dword [eax + 0x80]
add edi, 4
jmp 0x10004090
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test ebx, ebx
je 0x10004114
push ebx
call esi
add esp, 4
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x10004124
push eax
call esi
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x454]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x454]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x458], eax
mov ecx, dword [ebp - 0x3f4]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
test ecx, ecx
je 0x10004193
mov eax, dword [ebp - 0x438]
lea edx, [ebp - 0x400]
cmp dword [eax], edx
jne 0x10004193
push dword [ebp - 0x408]
mov eax, dword [ebp - 0x40c]
lea ecx, [ebp - 0x444]
push eax
push eax
call dword [sym.imp.MSVCP120.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov ecx, dword [ebp - 0x3f4]
cmp byte [ebp - 0x3f8], 0
je 0x100041f3
test ecx, ecx
je 0x100041ba
lea ecx, [ebp - 0x444]
call fcn.10003110
push dword [ebp - 0x3f4]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x444]
mov byte [ebp - 0x3f8], 0
mov byte [ebp - 0x3ff], 0
call dword [sym.imp.MSVCP120.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x100248d8]
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x404], 0
lea ecx, [ebp - 0x444]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x43c]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x3e4]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp - 0x78], 0x10
jb 0x10004228
push dword [ebp - 0x8c]
call esi
add esp, 4
cmp dword [ebp - 0xa8], 0x10
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
jb 0x10003d78
push dword [ebp - 0xbc]
call esi
add esp, 4
jmp 0x10003d78