Function at 0x410b80
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d90d6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x438
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x444], ecx
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00690e10
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0069fb5a
add esp, 0x14
call fcn.0054592c
mov ecx, eax
test ecx, ecx
je 0x411025
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
mov dword [ebp - 0x43c], ecx
lea esi, [ecx + 0x10]
mov dword [ebp - 0x424], esi
lea edi, [ebp - 0x434]
mov dword [ebp - 4], 0
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x410c53
sub edi, edx
jne 0x410c6e
lea ecx, [ebp - 0x424]
call fcn.00414b30
jmp 0x410d30
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x434]
sub edx, esi
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], edx
test edi, edi
js 0x41101b
mov eax, dword [ebp - 0x43c]
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x410cbc
push edi
lea ecx, [ebp - 0x424]
call fcn.00414ad0
mov esi, dword [ebp - 0x424]
mov edx, dword [ebp - 0x430]
cmp edx, dword [ebp - 0x42c]
ja 0x410cea
lea eax, [edx + esi]
test eax, eax
jne 0x410cd8
call fcn.0069a4b9
mov dword [eax], 0x16
jmp 0x410d1b
cmp dword [esi - 8], edi
jb 0x410d10
push edi
push eax
push esi
call fcn.00690890
add esp, 0xc
jmp 0x410d20
mov eax, dword [esi - 8]
cmp eax, edi
jb 0x410d04
push edi
lea eax, [ebp - 0x434]
push eax
push esi
call fcn.00690890
add esp, 0xc
jmp 0x410d20
push eax
push 0
push esi
call fcn.00690e10
add esp, 0xc
call fcn.0069a4b9
mov dword [eax], 0x22
call fcn.00694493
cmp edi, dword [esi - 8]
jg 0x41101b
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410d40
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.00413c20
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x410d74
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
jne 0x410d82
call fcn.0054592c
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
push eax
push ecx
lea ecx, [ebp - 0x43c]
call fcn.00413a50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x424]
mov eax, dword [ebp - 0x43c]
push dword [eax - 0xc]
push eax
call fcn.00413c20
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x43c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410dca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x24
call fcn.00553993
mov edi, eax
add esp, 4
mov dword [ebp - 0x440], edi
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x424]
test edi, edi
je 0x410e3a
cmp dword [esi - 4], 1
jle 0x410e04
push dword [esi - 0xc]
lea ecx, [ebp - 0x424]
call fcn.00414c40
mov esi, dword [ebp - 0x424]
mov dword [edi], vtable.CFileStream.0
xorps xmm0, xmm0
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
push 0
mov byte [ebp - 4], 4
mov ecx, edi
push esi
mov dword [edi + 4], 0
call fcn.0042aff0
jmp 0x410e3c
xor edi, edi
mov byte [ebp - 4], 0
test edi, edi
je 0x410fda
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
lea eax, [edi + 4]
mov dword [ebp - 0x430], eax
cmp edx, fcn.0042b180
jne 0x410e66
cmp dword [eax], 0
setne cl
jmp 0x410e75
mov ecx, edi
call edx
mov cl, al
lea eax, [edi + 4]
mov dword [ebp - 0x430], eax
mov edx, dword [edi]
test cl, cl
mov ecx, edi
je 0x410fd6
mov eax, dword [edx + 0xc]
cmp eax, fcn.0042b120
jne 0x410e92
call fcn.0042b120
jmp 0x410e94
call eax
mov dword [ebp - 0x428], eax
xor ecx, ecx
add eax, 3
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545633
mov dword [ebp - 0x42c], eax
add esp, 4
mov eax, dword [ebp - 0x428]
add eax, 3
push eax
call fcn.00545633
mov dword [ebp - 0x438], eax
add esp, 4
mov eax, dword [ebp - 0x428]
add eax, 3
add eax, eax
push eax
push 0
push dword [ebp - 0x42c]
mov dword [ebp - 0x440], eax
call fcn.00690e10
mov eax, dword [ebp - 0x428]
add esp, 0xc
add eax, 3
push eax
push 0
push dword [ebp - 0x438]
call fcn.00690e10
mov eax, dword [edi]
add esp, 0xc
mov edx, dword [eax + 0x20]
cmp edx, 0x42b1d0
jne 0x410f63
mov eax, dword [ebp - 0x430]
cmp dword [eax], 0
jne 0x410f45
push 0xf9
push 0x775fe8
push str.m_pStream
call fcn.0042b250
mov eax, dword [ebp - 0x430]
add esp, 0xc
push dword [eax]
mov eax, dword [ebp - 0x428]
add eax, 3
push eax
push 1
push dword [ebp - 0x438]
call fcn.006a7c38
add esp, 0x10
jmp 0x410f77
mov eax, dword [ebp - 0x428]
mov ecx, edi
add eax, 3
push eax
push dword [ebp - 0x438]
call edx
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x440]
mov edi, dword [ebp - 0x438]
push dword [ebp - 0x42c]
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x444]
call fcn.00412e10
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x410fc2
push eax
call fcn.0054562e
add esp, 4
test edi, edi
je 0x410fcf
push edi
call fcn.0054562e
add esp, 4
mov edi, 1
jmp 0x410fdc
push 1
call dword [edx]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410ffb
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80070057
call fcn.00407310
push 0x80004005
call fcn.00407310
int3