Function at 0x4128d5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434eb5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x444040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov byte [ebp - 0x2d], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
cmp byte [ebp + 8], al
jne 0x4128f3
call fcn.00412cc0
mov edi, eax
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4127ca
mov dword [esi + 0x28], edi
jmp 0x4127e6
cmp eax, 4
jne 0x4127d9
cmp edi, 5
jne 0x4127d9
mov dword [esi + 0x28], edi
jmp 0x4127e6
cmp eax, 5
jne 0x4127e8
cmp edi, 4
jne 0x4127e8
mov dword [esi + 0x28], edi
mov eax, edi
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004134c0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 7
jbe 0x412804
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
push edi
lea eax, [ebp - 0x48]
push eax
call fcn.004134c0
cmp dword [eax + 0x14], 7
jbe 0x412816
mov eax, dword [eax]
push dword [ebp - 0x14]
push eax
push 0x43ffe8
call fcn.00405fa0
mov ecx, dword [ebp - 0x34]
add esp, 0xc
cmp ecx, 7
jbe 0x412861
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412857
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a35
push ecx
push edx
call fcn.00414ace
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp ecx, 7
jbe 0x4128b2
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4128a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a35
push ecx
push edx
call fcn.00414ace
add esp, 8
push 1
push 0x43ea10
lea ecx, [ebp - 0x2c]
call fcn.00403240
mov eax, dword [esi + 0x28]
dec eax
cmp eax, 4
ja case.default.0x4128ce
jmp dword [eax*4 + 0x412a40]
push 0x43ea28
lea ecx, [ebp - 0x2c]
call fcn.00413600
jmp case.default.0x4128ce
push str.b__ccsUTF_16LE
lea ecx, [ebp - 0x2c]
call fcn.00413600
jmp case.default.0x4128ce
cmp dword [esi + 0x28], 0
jne 0x412900
mov dword [esi + 0x28], 5
push 1
push 0x43ea14
lea ecx, [ebp - 0x2c]
call fcn.00403240
mov eax, dword [esi + 0x28]
dec eax
cmp eax, 4
ja case.default.0x412918
jmp dword [eax*4 + 0x412a54]
push 0x43ea28
jmp 0x412939
push 0x440080
jmp 0x412939
push 0x440084
jmp 0x412939
push str.t__ccsUTF_16LE
lea ecx, [ebp - 0x2c]
call fcn.00413600
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
jne case.default.0x4128ce
push ecx
lea ecx, [esi + 8]
call fcn.00407980
lea eax, [ebp - 0x2c]
push eax
lea edi, [esi + 8]
push edi
call fcn.004023e0
mov dword [esi + 4], eax
test eax, eax
je 0x4129df
cmp byte [ebp + 8], 0
jne 0x4129db
mov ecx, edi
call fcn.004074b0
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x28]
cmp eax, 5
jne 0x4129a2
push dword [esi + 4]
lea eax, [ebp - 0x14]
push 2
push 1
push eax
call fcn.0041e4e9
add esp, 0x10
cmp byte [ebp - 0x14], 0xff
jne 0x4129cc
cmp byte [ebp - 0x13], 0xfe
jmp 0x4129ca
cmp eax, 4
jne 0x4129db
push dword [esi + 4]
lea eax, [ebp - 0x14]
push 3
push 1
push eax
call fcn.0041e4e9
add esp, 0x10
cmp byte [ebp - 0x14], 0xef
jne 0x4129cc
cmp byte [ebp - 0x13], 0xbb
jne 0x4129cc
cmp byte [ebp - 0x12], 0xbf
je 0x4129db
push 0
push 0
push dword [esi + 4]
call fcn.0041f261
add esp, 0xc
mov byte [ebp - 0x2d], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x412a15
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412a0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412a3a
push ecx
push edx
call fcn.00414ace
add esp, 8
mov al, byte [ebp - 0x2d]
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.00414ac0
mov esp, ebp
pop ebp
ret 4
call fcn.0041e16a
call fcn.0041e16a
nop
aad 0x28
inc ecx
add ch, dl
sub byte [ecx], al
aad 0x28
inc ecx
add ch, dl
sub byte [ecx], al
in al, 0x28
inc ecx
add byte [edi], bl
sub dword [ecx], eax
sub dword es:[ecx], eax
sub dword es:[ecx], eax
sub eax, 872431913
sub dword [ecx], eax
int3