Function at 0x460690
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63fd28
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6bc858]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x58], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
push 8
mov byte [ebp - 4], 1
call fcn.005f0fe0
add esp, 4
cmp eax, ebx
je 0x4608e7
mov dword [ebp - 0x30], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
mov dword [edx], ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push str..temp
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov byte [ebp - 4], 2
call fcn.0041d670
add esp, 0xc
mov esi, eax
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00419940
mov edi, 0x10
cmp dword [ebp - 0x38], edi
jb 0x460747
mov edx, dword [ebp - 0x4c]
push edx
call fcn.005f0cb0
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.0040ed70
mov eax, dword [ebp - 0x50]
push eax
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 2
call fcn.0040ed70
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x460786
lea eax, [ebp - 0x2c]
push 0x6764a0
push eax
call fcn.005f5530
mov esi, eax
add esp, 8
mov dword [ebp - 0x54], ebx
cmp esi, ebx
je 0x46083d
mov ecx, dword [ebp - 0x60]
push esi
push edi
push 1
push ecx
call fcn.005f5d00
mov edx, dword [ebp - 0x68]
push esi
push 4
push 1
push edx
call fcn.005f5d00
mov eax, dword [ebp - 0x64]
push esi
push 4
push 1
push eax
call fcn.005f5d00
push esi
push 4
lea ecx, [ebp - 0x54]
push 1
push ecx
call fcn.005f5d00
mov edx, dword [ebp - 0x54]
add esp, 0x40
push edx
call fcn.00563e10
mov edi, eax
mov eax, dword [ebp - 0x54]
push esi
push eax
push 1
push edi
call fcn.005f5d00
add esp, 0x14
cmp edi, ebx
jne 0x460811
push 0x3a2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexstring
push str.invalid_null_pointer
call fcn.00563e60
add esp, 0xc
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x460816
mov ecx, dword [ebp - 0x58]
sub eax, edx
push eax
push edi
call fcn.00412c10
push edi
call fcn.005f0f30
push esi
call fcn.005f64a0
add esp, 8
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x46084e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005f0cb0
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.0040ed70
mov edx, dword [ebp - 0x30]
push edx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], bl
call fcn.0040ed70
cmp dword [ebp + 0x28], edi
jb 0x460893
mov eax, dword [ebp + 0x14]
push eax
call fcn.005f0cb0
add esp, 4
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x24], ebx
mov byte [ebp + 0x14], bl
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 6
call fcn.0040ed70
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005f0cb0
add esp, 4
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0040ed70
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.005f0da0
mov esp, ebp
pop ebp
ret 0x28
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x5c], ebx
call fcn.005f41f0
push 0x6a361c
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], vtable.std::bad_alloc.0
call fcn.006009e0
int3