Function at 0x4128c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43515c
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x44d080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], edx
mov dword [ebp - 0x294], ecx
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412933
sub ecx, edx
lea eax, [ebp - 0x22c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x25c]
call fcn.0040b840
mov dword [ebp - 4], 0
lea eax, [ebp - 0x25c]
cmp dword [ebp - 0x248], 8
push 0x447848
cmovae eax, dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00420731
push 2
push 0xffffffffffffffee
push dword [ebp - 0x290]
call fcn.00420b28
push dword [ebp - 0x290]
lea eax, [ebp - 0x24]
mov word [ebp - 0x14], 0
push 0x12
xorps xmm0, xmm0
mov byte [ebp - 0x12], 0
push 1
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.004210bd
push dword [ebp - 0x290]
call fcn.004207ee
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x234], 0
add esp, 0x2c
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4129e4
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.0040bbb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
mov edi, dword [ebp - 0x230]
cmp edi, 0x10
mov esi, dword [ebp - 0x244]
mov edx, dword [ebp - 0x234]
cmovae ecx, esi
push 0
push ecx
call fcn.00414f70
add esp, 8
test al, al
jne 0x412c80
cmp dword [ebp - 0x234], 0x12
jne 0x412c80
mov byte [ebp - 0x28c], al
lea ecx, [ebp - 0x28c]
cmp edi, 0x10
mov dword [ebp - 0x27c], 0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x278], 0xf
cmovae eax, esi
push 0x10
push eax
call fcn.0040bbb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0xf
mov byte [ebp - 0x274], 0
cmp eax, 0x10
jb 0x412d01
add eax, 0xfffffff0
mov ecx, 2
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x230], 0x10
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push ecx
add eax, 0x10
lea ecx, [ebp - 0x274]
push eax
call fcn.0040bbb0
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28c]
mov ecx, esp
push eax
call fcn.00412db0
lea ecx, [ebp - 0x2b4]
call fcn.0040f280
mov edi, dword [ebp - 0x294]
mov esi, eax
add esp, 0x18
cmp edi, esi
je 0x412b2b
mov ecx, edi
call fcn.004014b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2a0]
cmp edx, 8
jb 0x412b6b
mov ecx, dword [ebp - 0x2b4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412b61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d06
push edx
push ecx
call fcn.00419f4a
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x274]
mov ecx, esp
push eax
call fcn.00412db0
lea ecx, [ebp - 0x2b4]
call fcn.0040f280
mov edi, dword [ebp - 0x298]
mov esi, eax
add esp, 0x18
cmp edi, esi
je 0x412bc0
mov ecx, edi
call fcn.004014b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2a0]
cmp edx, 8
jb 0x412c00
mov ecx, dword [ebp - 0x2b4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412bf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d0b
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp - 0x260]
cmp edx, 0x10
jb 0x412c3a
mov ecx, dword [ebp - 0x274]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412c30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d10
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp - 0x278]
cmp edx, 0x10
jb 0x412c74
mov ecx, dword [ebp - 0x28c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412c6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d15
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov esi, dword [ebp - 0x244]
mov edi, dword [ebp - 0x230]
cmp edi, 0x10
jb 0x412caa
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x412ca0
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d1a
push edi
push esi
call fcn.00419f4a
add esp, 8
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x412ce6
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412cdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d1f
push edx
push ecx
call fcn.00419f4a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419c6a
mov esp, ebp
pop ebp
ret
call fcn.0040bed0
call fcn.0042045f
call fcn.0042045f
call fcn.0042045f
call fcn.0042045f
call fcn.0042045f
call fcn.0042045f
int3