Function at 0x4194e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a07b
mov eax, dword fs:[0]
push eax
mov eax, 0x48ac
call fcn.00460a60
mov eax, dword [0x4b1570]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48b4], ecx
mov dword [ebp - 0x4818], 0x2710
mov dword [ebp - 0x482c], 0x2400
mov dword [ebp - 0x481c], 0
mov dword [ebp - 0x4830], 0
mov dword [ebp - 0x4828], 0
mov dword [ebp - 0x4834], 0
mov dword [ebp - 0x4838], 0
mov word [ebp - 0x4824], 0
push 0xa1
lea eax, [ebp - 0x4844]
push eax
call fcn.00408350
add esp, 8
mov dword [ebp - 0x48b8], eax
mov ecx, dword [ebp - 0x48b8]
mov dword [ebp - 0x4860], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x4860]
mov eax, dword [edx]
mov dword [ebp - 0x4864], eax
push 0
mov ecx, dword [ebp - 0x4864]
push ecx
call fcn.00414c00
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4844]
call fcn.00401fc0
mov ecx, dword [ebp - 0x48b4]
call fcn.00419410
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x4195e1
jmp 0x41a1e2
cmp dword [0x4d9184], 0
jne 0x4198aa
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x4198aa
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x4198aa
push 0x480bcc
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
call fcn.00460930
add esp, 8
mov dword [ebp - 0x481c], eax
cmp dword [ebp - 0x481c], 0
jne 0x41963e
call dword [0x47f334]
mov dword [ebp - 0x4820], eax
jmp 0x41a1e2
push 2
push 0
mov eax, dword [ebp - 0x481c]
push eax
call fcn.00463a83
add esp, 0xc
mov ecx, dword [ebp - 0x481c]
push ecx
call fcn.0046398e
add esp, 4
mov dword [ebp - 0x4834], eax
push 0
push 0
mov edx, dword [ebp - 0x481c]
push edx
call fcn.00463a83
add esp, 0xc
cmp dword [ebp - 0x4834], 0
jne 0x419691
mov dword [ebp - 0x4820], 0xd
jmp 0x41a1e2
mov dword [ebp - 0x4828], 0
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xe2
cmp dword [0x4d9184], 0
jne 0x419891
push 0x118
lea eax, [ebp - 0x4848]
push eax
call fcn.00408350
add esp, 8
mov dword [ebp - 0x486c], eax
mov ecx, dword [ebp - 0x486c]
mov edx, dword [ecx]
mov dword [ebp - 0x4870], edx
mov eax, dword [ebp - 0x4828]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x4834]
push eax
mov eax, dword [ebp - 0x4870]
push eax
lea ecx, [ebp - 0x4814]
push ecx
call fcn.00460196
add esp, 0xc
lea ecx, [ebp - 0x4848]
call fcn.00401fc0
push 0
lea edx, [ebp - 0x4814]
push edx
call fcn.00414c00
add esp, 8
mov eax, dword [ebp - 0x481c]
push eax
push 0x1000
push 1
lea ecx, [ebp - 0x4814]
push ecx
call fcn.004637db
add esp, 0x10
mov dword [ebp - 0x4838], eax
cmp dword [ebp - 0x4838], 0
jne 0x419752
jmp 0x419891
lea edx, [ebp - 0x483c]
push edx
mov eax, dword [ebp - 0x4838]
push eax
lea ecx, [ebp - 0x240e]
push ecx
lea edx, [ebp - 0x4814]
push edx
call fcn.0041e7a0
add esp, 0x10
mov eax, dword [ebp - 0x483c]
add eax, 2
shr eax, 8
mov byte [ebp - 0x2412], al
mov eax, dword [ebp - 0x483c]
add eax, 2
xor edx, edx
mov ecx, 0x100
div ecx
mov byte [ebp - 0x2411], dl
movzx eax, word [ebp - 0x4824]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ebp - 0x2410], al
movzx edx, word [ebp - 0x4824]
and edx, 0x800000ff
jns 0x4197d0
dec edx
or edx, 0xffffff00
inc edx
mov byte [ebp - 0x240f], dl
mov eax, dword [ebp - 0x483c]
add eax, 5
push eax
lea ecx, [ebp - 0x2413]
push ecx
call fcn.0041e520
add esp, 8
mov edx, dword [ebp - 0x483c]
mov byte [ebp + edx - 0x240e], al
push 0x2710
mov eax, dword [ebp - 0x483c]
add eax, 7
push eax
lea ecx, [ebp - 0x2414]
push ecx
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b6f0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419831
jmp 0x41a1e2
push 0x2710
lea edx, [ebp - 0x483c]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b790
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419868
jmp 0x41a1e2
mov ecx, dword [ebp - 0x4828]
add ecx, dword [ebp - 0x4838]
mov dword [ebp - 0x4828], ecx
mov dx, word [ebp - 0x4824]
add dx, 1
mov word [ebp - 0x4824], dx
jmp 0x4196a9
mov eax, dword [ebp - 0x481c]
push eax
call fcn.004607f0
add esp, 4
mov dword [ebp - 0x481c], 0
cmp dword [0x4d9184], 0
jne 0x419b03
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x419b03
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x1c]
test eax, eax
je 0x419b03
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xe5
mov byte [ebp - 0x2412], 0
mov byte [ebp - 0x2411], 4
lea ecx, [ebp - 0x2410]
push ecx
mov edx, dword [ebp - 0x4834]
push edx
call fcn.00423520
add esp, 8
push 7
lea eax, [ebp - 0x2413]
push eax
call fcn.0041e520
add esp, 8
mov byte [ebp - 0x240c], al
push 0x2710
push 9
lea ecx, [ebp - 0x2414]
push ecx
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b6f0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419949
jmp 0x41a1e2
cmp dword [0x4d9184], 0
jne 0x419b03
push 0x2710
lea edx, [ebp - 0x4838]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b790
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41998d
jmp 0x41a1e2
movzx ecx, byte [ebp - 0x4813]
cmp ecx, 0xe5
jne 0x4199a5
cmp dword [ebp - 0x4838], 7
je 0x4199a7
jmp 0x419949
movzx edx, byte [ebp - 0x4810]
cmp edx, 1
jne 0x4199d6
movzx eax, byte [ebp - 0x480f]
test eax, eax
je 0x4199d6
movzx ecx, byte [ebp - 0x480f]
add ecx, 0xff00
mov dword [ebp - 0x4830], ecx
jmp 0x41a1e2
movzx edx, byte [ebp - 0x4810]
cmp edx, 2
jne 0x419a61
movzx eax, byte [ebp - 0x480f]
cmp eax, 0x64
jle 0x4199ff
mov dword [ebp - 0x4830], 0xff03
jmp 0x41a1e2
push 0x116
lea ecx, [ebp - 0x484c]
push ecx
call fcn.00408350
add esp, 8
mov dword [ebp - 0x4878], eax
mov edx, dword [ebp - 0x4878]
mov eax, dword [edx]
mov dword [ebp - 0x487c], eax
movzx ecx, byte [ebp - 0x480f]
push ecx
mov edx, dword [ebp - 0x487c]
push edx
lea eax, [ebp - 0x2414]
push eax
call fcn.00460196
add esp, 0xc
lea ecx, [ebp - 0x484c]
call fcn.00401fc0
push 0
lea ecx, [ebp - 0x2414]
push ecx
call fcn.00414c00
add esp, 8
movzx edx, byte [ebp - 0x4810]
cmp edx, 3
jne 0x419afe
movzx eax, byte [ebp - 0x480f]
cmp eax, 0x64
jle 0x419a8e
mov dword [ebp - 0x4830], 0xff04
jmp 0x41a1e2
push 0x1a9
lea ecx, [ebp - 0x4850]
push ecx
call fcn.00408350
add esp, 8
mov dword [ebp - 0x4884], eax
mov edx, dword [ebp - 0x4884]
mov eax, dword [edx]
mov dword [ebp - 0x4888], eax
movzx ecx, byte [ebp - 0x480f]
push ecx
mov edx, dword [ebp - 0x4888]
push edx
lea eax, [ebp - 0x2414]
push eax
call fcn.00460196
add esp, 0xc
lea ecx, [ebp - 0x4850]
call fcn.00401fc0
push 0
lea ecx, [ebp - 0x2414]
push ecx
call fcn.00414c00
add esp, 8
movzx edx, byte [ebp - 0x480f]
cmp edx, 0x64
jne 0x419afe
jmp 0x419b03
jmp 0x419949
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x419b48
cmp dword [0x4d9184], 0
jne 0x419b48
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x419b48
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x1c]
test eax, eax
je 0x419b48
mov ecx, dword [ebp - 0x48b4]
call fcn.00419410
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419b48
jmp 0x41a1e2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x419c77
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xe7
mov byte [ebp - 0x2412], 0
mov byte [ebp - 0x2411], 0
push 3
lea edx, [ebp - 0x2413]
push edx
call fcn.0041e520
add esp, 8
mov byte [ebp - 0x2410], al
push 0x2710
push 5
lea eax, [ebp - 0x2414]
push eax
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b6f0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419bb5
jmp 0x41a1e2
cmp dword [0x4d9184], 0
jne 0x419c77
push 0x2710
lea ecx, [ebp - 0x4838]
push ecx
push 0x2400
lea edx, [ebp - 0x4814]
push edx
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b790
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419bf9
jmp 0x41a1e2
movzx eax, byte [ebp - 0x4813]
cmp eax, 0xe7
jne 0x419c10
cmp dword [ebp - 0x4838], 6
je 0x419c12
jmp 0x419bb5
movzx ecx, byte [ebp - 0x4810]
cmp ecx, 0x64
jle 0x419c2f
mov dword [ebp - 0x4830], 0xff05
jmp 0x41a1e2
movzx edx, byte [ebp - 0x4810]
push edx
push str.Erase_FAT
lea eax, [ebp - 0x2414]
push eax
call fcn.00460196
add esp, 0xc
push 0
lea ecx, [ebp - 0x2414]
push ecx
call fcn.00414c00
add esp, 8
movzx edx, byte [ebp - 0x4810]
cmp edx, 0x64
jne 0x419c6a
jmp 0x419c77
push 0x64
call dword [0x47f318]
jmp 0x419bb5
cmp dword [0x4d9184], 0
jne 0x419f4a
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x419f4a
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x120]
test edx, edx
je 0x419f4a
push 0x480bcc
mov eax, dword [ebp + 8]
add eax, 0x120
push eax
call fcn.00460930
add esp, 8
mov dword [ebp - 0x481c], eax
cmp dword [ebp - 0x481c], 0
jne 0x419cd9
call dword [0x47f334]
mov dword [ebp - 0x4820], eax
jmp 0x41a1e2
push 2
push 0
mov ecx, dword [ebp - 0x481c]
push ecx
call fcn.00463a83
add esp, 0xc
mov edx, dword [ebp - 0x481c]
push edx
call fcn.0046398e
add esp, 4
mov dword [ebp - 0x4834], eax
push 0
push 0
mov eax, dword [ebp - 0x481c]
push eax
call fcn.00463a83
add esp, 0xc
cmp dword [ebp - 0x4834], 0
jne 0x419d2c
mov dword [ebp - 0x4820], 0xd
jmp 0x41a1e2
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xe3
mov dword [ebp - 0x4828], 0
cmp dword [0x4d9184], 0
jne 0x419f31
push 0x119
lea ecx, [ebp - 0x4854]
push ecx
call fcn.00408350
add esp, 8
mov dword [ebp - 0x4890], eax
mov edx, dword [ebp - 0x4890]
mov eax, dword [edx]
mov dword [ebp - 0x4894], eax
mov eax, dword [ebp - 0x4828]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x4834]
push eax
mov ecx, dword [ebp - 0x4894]
push ecx
lea edx, [ebp - 0x4814]
push edx
call fcn.00460196
add esp, 0xc
lea ecx, [ebp - 0x4854]
call fcn.00401fc0
push 0
lea eax, [ebp - 0x4814]
push eax
call fcn.00414c00
add esp, 8
mov ecx, dword [ebp - 0x481c]
push ecx
push 0x2000
push 1
lea edx, [ebp - 0x4814]
push edx
call fcn.004637db
add esp, 0x10
mov dword [ebp - 0x4838], eax
cmp dword [ebp - 0x4838], 0
jne 0x419ded
jmp 0x419f31
mov eax, dword [ebp - 0x4838]
push eax
lea ecx, [ebp - 0x4814]
push ecx
lea edx, [ebp - 0x240e]
push edx
call fcn.00460a90
add esp, 0xc
mov eax, dword [ebp - 0x4838]
mov dword [ebp - 0x4840], eax
mov ecx, dword [ebp - 0x4840]
add ecx, 2
shr ecx, 8
mov byte [ebp - 0x2412], cl
mov eax, dword [ebp - 0x4840]
add eax, 2
xor edx, edx
mov ecx, 0x100
div ecx
mov byte [ebp - 0x2411], dl
movzx eax, word [ebp - 0x4824]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [ebp - 0x2410], al
movzx edx, word [ebp - 0x4824]
and edx, 0x800000ff
jns 0x419e70
dec edx
or edx, 0xffffff00
inc edx
mov byte [ebp - 0x240f], dl
mov eax, dword [ebp - 0x4840]
add eax, 5
push eax
lea ecx, [ebp - 0x2413]
push ecx
call fcn.0041e520
add esp, 8
mov edx, dword [ebp - 0x4840]
mov byte [ebp + edx - 0x240e], al
push 0x2710
mov eax, dword [ebp - 0x4840]
add eax, 7
push eax
lea ecx, [ebp - 0x2414]
push ecx
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b6f0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419ed1
jmp 0x41a1e2
push 0x2710
lea edx, [ebp - 0x4840]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b790
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419f08
jmp 0x41a1e2
mov ecx, dword [ebp - 0x4828]
add ecx, dword [ebp - 0x4838]
mov dword [ebp - 0x4828], ecx
mov dx, word [ebp - 0x4824]
add dx, 1
mov word [ebp - 0x4824], dx
jmp 0x419d44
mov eax, dword [ebp - 0x481c]
push eax
call fcn.004607f0
add esp, 4
mov dword [ebp - 0x481c], 0
cmp dword [0x4d9184], 0
jne 0x41a1e2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x41a1e2
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x120]
test eax, eax
je 0x41a1e2
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xe6
mov byte [ebp - 0x2412], 0
mov byte [ebp - 0x2411], 4
lea ecx, [ebp - 0x2410]
push ecx
mov edx, dword [ebp - 0x4834]
push edx
call fcn.00423520
add esp, 8
push 7
lea eax, [ebp - 0x2413]
push eax
call fcn.0041e520
add esp, 8
mov byte [ebp - 0x240c], al
push 0x2710
push 9
lea ecx, [ebp - 0x2414]
push ecx
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b6f0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419fec
jmp 0x41a1e2
cmp dword [0x4d9184], 0
jne 0x41a1e2
push 0x2710
lea edx, [ebp - 0x4838]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b790
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41a030
jmp 0x41a1e2
movzx ecx, byte [ebp - 0x4813]
cmp ecx, 0xe6
jne 0x41a048
cmp dword [ebp - 0x4838], 6
je 0x41a04a
jmp 0x419fec
movzx edx, byte [ebp - 0x4810]
test edx, edx
je 0x41a06e
movzx eax, byte [ebp - 0x4810]
add eax, 0xff00
mov dword [ebp - 0x4830], eax
jmp 0x41a1e2
push 0
push str.AAAAAA
call fcn.00414c00
add esp, 8
jmp 0x41a1e2
cmp dword [ebp - 0x481c], 0
je 0x41a204
mov edx, dword [ebp - 0x481c]
push edx
call fcn.004607f0
add esp, 4
mov dword [ebp - 0x481c], 0
cmp dword [0x4d9184], 0
je 0x41a217
mov dword [ebp - 0x4820], 0x4c7
mov eax, dword [ebp - 0x4830]
push eax
mov ecx, dword [ebp - 0x4820]
push ecx
call fcn.0043b7d0
add esp, 8
mov eax, dword [ebp - 0x4820]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460142
mov esp, ebp
pop ebp
ret 4