Function at 0x420280
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 0x48ac80
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x12e0
call fcn.00457190
mov eax, dword [0x4ac110]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0x2b0]
call fcn.00412800
lea edx, [ebp - 0x2b0]
xor ecx, ecx
call fcn.00420830
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x268]
call fcn.00414a30
mov eax, dword [0x4a1e0c]
movups xmm0, xmmword [str.debug.log]
push 0x20a
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x238]
push 0
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00459f30
add esp, 0xc
lea eax, [ebp - 0x238]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x238]
cmp eax, ecx
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x258]
cmovne edi, eax
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x4206e3
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
push 1
cmovae eax, dword [ebp - 0x268]
push 0x4a18d8
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
push dword [ebp - 0x12d0]
lea ecx, [ebp - 0x250]
call fcn.0041a750
test esi, esi
je 0x4203c3
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4203b0
sub ecx, edx
sar ecx, 1
push ecx
push esi
jmp 0x4203e1
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4203d0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x250]
call fcn.0041a580
push 5
push str..elog
lea ecx, [ebp - 0x250]
call fcn.0041a580
mov ax, word [0x4a1df0]
lea ecx, [ebp - 0x280]
movq xmm0, qword [str..old]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x250]
movq qword [ebp - 0x20], xmm0
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x12d8], xmm0
call fcn.00448ab0
lea eax, [ebp - 0x12d8]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.0044bd10
add esp, 8
test al, al
je 0x42058f
cmp dword [ebp - 0x12d4], 0
jl 0x42058f
jg 0x42046f
cmp dword [ebp - 0x12d8], 0x100000
jbe 0x42058f
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.00412fd0
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x280]
call fcn.00449b60
lea ecx, [ebp - 0x2c8]
call fcn.00412b60
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.0044bd70
lea eax, [ebp - 0x298]
push 0x4a1df4
push eax
call fcn.0044ba40
mov esi, eax
add esp, 0x10
test esi, esi
je 0x420573
push 2
push 0xfff80000
push esi
call fcn.0045ddcc
add esp, 0xc
test eax, eax
jne 0x42056a
lea eax, [ebp - 0x280]
push 0x4a1df8
push eax
call fcn.0044ba40
add esp, 8
mov dword [ebp - 0x12d0], eax
test eax, eax
je 0x42056a
nop dword [eax]
push esi
push 0x1000
lea eax, [ebp - 0x12c8]
push 1
push eax
call fcn.0046bcd1
push esi
mov edi, eax
call fcn.0046d2ad
add esp, 0x14
test eax, eax
jne 0x42055c
test edi, edi
je 0x42054f
push dword [ebp - 0x12d0]
lea eax, [ebp - 0x12c8]
push 1
push edi
push eax
call fcn.0045e0ce
add esp, 0x10
push esi
call fcn.0046d281
add esp, 4
test eax, eax
je 0x420510
push dword [ebp - 0x12d0]
call fcn.0045d535
add esp, 4
push esi
call fcn.0045d535
add esp, 4
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.0044b200
add esp, 8
lea ecx, [ebp - 0x298]
call fcn.00412b60
lea ecx, [ebp - 0x280]
call fcn.00412b60
lea ecx, [ebp - 0x12ec]
call fcn.004475b0
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
mov dword [ebp - 0x12ec], 1
cmovae eax, dword [ebp - 0x250]
mov dword [ebp - 0x12e8], eax
lea eax, [ebp - 0x12ec]
push eax
mov dword [ebp - 0x12e0], 1
mov dword [ebp - 0x12dc], 0
call fcn.00447e90
add esp, 4
mov byte [ebp - 0x12c9], al
test al, al
je 0x420606
push 1
push 1
push 1
push 1
call fcn.004489b0
add esp, 0x10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x23c]
cmp ecx, 8
jb 0x42064d
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420643
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4206e8
push ecx
push edx
call fcn.00456cbd
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x254]
cmp ecx, 8
jb 0x4206ad
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4206a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4206e8
push ecx
push edx
call fcn.00456cbd
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b0]
call fcn.00412b60
mov al, byte [ebp - 0x12c9]
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.00457138
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00406290
call fcn.0045c13e
int3