Function at 0x4192f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479fcb
mov eax, dword fs:[0]
push eax
mov eax, 0x48ac
call fcn.004609c0
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.00414a60
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4844]
call fcn.00401fc0
mov ecx, dword [ebp - 0x48b4]
call fcn.00419220
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x4193f1
jmp 0x419ff2
cmp dword [0x4d8e70], 0
jne 0x4196ba
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x4196ba
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x4196ba
push 0x480bc8
mov edx, dword [ebp + 8]
add edx, 0x1c
push edx
call fcn.00460890
add esp, 8
mov dword [ebp - 0x481c], eax
cmp dword [ebp - 0x481c], 0
jne 0x41944e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4820], eax
jmp 0x419ff2
push 2
push 0
mov eax, dword [ebp - 0x481c]
push eax
call fcn.004639e3
add esp, 0xc
mov ecx, dword [ebp - 0x481c]
push ecx
call fcn.004638ee
add esp, 4
mov dword [ebp - 0x4834], eax
push 0
push 0
mov edx, dword [ebp - 0x481c]
push edx
call fcn.004639e3
add esp, 0xc
cmp dword [ebp - 0x4834], 0
jne 0x4194a1
mov dword [ebp - 0x4820], 0xd
jmp 0x419ff2
mov dword [ebp - 0x4828], 0
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xe2
cmp dword [0x4d8e70], 0
jne 0x4196a1
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.004600f6
add esp, 0xc
lea ecx, [ebp - 0x4848]
call fcn.00401fc0
push 0
lea edx, [ebp - 0x4814]
push edx
call fcn.00414a60
add esp, 8
mov eax, dword [ebp - 0x481c]
push eax
push 0x1000
push 1
lea ecx, [ebp - 0x4814]
push ecx
call fcn.0046373b
add esp, 0x10
mov dword [ebp - 0x4838], eax
cmp dword [ebp - 0x4838], 0
jne 0x419562
jmp 0x4196a1
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.0041e660
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 0x4195e0
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.0041e3e0
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.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419641
jmp 0x419ff2
push 0x2710
lea edx, [ebp - 0x483c]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419678
jmp 0x419ff2
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 0x4194b9
mov eax, dword [ebp - 0x481c]
push eax
call fcn.00460750
add esp, 4
mov dword [ebp - 0x481c], 0
cmp dword [0x4d8e70], 0
jne 0x419913
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x419913
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x1c]
test eax, eax
je 0x419913
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.004234e0
add esp, 8
push 7
lea eax, [ebp - 0x2413]
push eax
call fcn.0041e3e0
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.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419759
jmp 0x419ff2
cmp dword [0x4d8e70], 0
jne 0x419913
push 0x2710
lea edx, [ebp - 0x4838]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41979d
jmp 0x419ff2
movzx ecx, byte [ebp - 0x4813]
cmp ecx, 0xe5
jne 0x4197b5
cmp dword [ebp - 0x4838], 7
je 0x4197b7
jmp 0x419759
movzx edx, byte [ebp - 0x4810]
cmp edx, 1
jne 0x4197e6
movzx eax, byte [ebp - 0x480f]
test eax, eax
je 0x4197e6
movzx ecx, byte [ebp - 0x480f]
add ecx, 0xff00
mov dword [ebp - 0x4830], ecx
jmp 0x419ff2
movzx edx, byte [ebp - 0x4810]
cmp edx, 2
jne 0x419871
movzx eax, byte [ebp - 0x480f]
cmp eax, 0x64
jle 0x41980f
mov dword [ebp - 0x4830], 0xff03
jmp 0x419ff2
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.004600f6
add esp, 0xc
lea ecx, [ebp - 0x484c]
call fcn.00401fc0
push 0
lea ecx, [ebp - 0x2414]
push ecx
call fcn.00414a60
add esp, 8
movzx edx, byte [ebp - 0x4810]
cmp edx, 3
jne 0x41990e
movzx eax, byte [ebp - 0x480f]
cmp eax, 0x64
jle 0x41989e
mov dword [ebp - 0x4830], 0xff04
jmp 0x419ff2
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.004600f6
add esp, 0xc
lea ecx, [ebp - 0x4850]
call fcn.00401fc0
push 0
lea ecx, [ebp - 0x2414]
push ecx
call fcn.00414a60
add esp, 8
movzx edx, byte [ebp - 0x480f]
cmp edx, 0x64
jne 0x41990e
jmp 0x419913
jmp 0x419759
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x419958
cmp dword [0x4d8e70], 0
jne 0x419958
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x419958
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x1c]
test eax, eax
je 0x419958
mov ecx, dword [ebp - 0x48b4]
call fcn.00419220
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419958
jmp 0x419ff2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x419a87
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.0041e3e0
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.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x4199c5
jmp 0x419ff2
cmp dword [0x4d8e70], 0
jne 0x419a87
push 0x2710
lea ecx, [ebp - 0x4838]
push ecx
push 0x2400
lea edx, [ebp - 0x4814]
push edx
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419a09
jmp 0x419ff2
movzx eax, byte [ebp - 0x4813]
cmp eax, 0xe7
jne 0x419a20
cmp dword [ebp - 0x4838], 6
je 0x419a22
jmp 0x4199c5
movzx ecx, byte [ebp - 0x4810]
cmp ecx, 0x64
jle 0x419a3f
mov dword [ebp - 0x4830], 0xff05
jmp 0x419ff2
movzx edx, byte [ebp - 0x4810]
push edx
push str.Erase_FAT
lea eax, [ebp - 0x2414]
push eax
call fcn.004600f6
add esp, 0xc
push 0
lea ecx, [ebp - 0x2414]
push ecx
call fcn.00414a60
add esp, 8
movzx edx, byte [ebp - 0x4810]
cmp edx, 0x64
jne 0x419a7a
jmp 0x419a87
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4199c5
cmp dword [0x4d8e70], 0
jne 0x419d5a
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x419d5a
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x120]
test edx, edx
je 0x419d5a
push 0x480bc8
mov eax, dword [ebp + 8]
add eax, 0x120
push eax
call fcn.00460890
add esp, 8
mov dword [ebp - 0x481c], eax
cmp dword [ebp - 0x481c], 0
jne 0x419ae9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4820], eax
jmp 0x419ff2
push 2
push 0
mov ecx, dword [ebp - 0x481c]
push ecx
call fcn.004639e3
add esp, 0xc
mov edx, dword [ebp - 0x481c]
push edx
call fcn.004638ee
add esp, 4
mov dword [ebp - 0x4834], eax
push 0
push 0
mov eax, dword [ebp - 0x481c]
push eax
call fcn.004639e3
add esp, 0xc
cmp dword [ebp - 0x4834], 0
jne 0x419b3c
mov dword [ebp - 0x4820], 0xd
jmp 0x419ff2
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xe3
mov dword [ebp - 0x4828], 0
cmp dword [0x4d8e70], 0
jne 0x419d41
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.004600f6
add esp, 0xc
lea ecx, [ebp - 0x4854]
call fcn.00401fc0
push 0
lea eax, [ebp - 0x4814]
push eax
call fcn.00414a60
add esp, 8
mov ecx, dword [ebp - 0x481c]
push ecx
push 0x2000
push 1
lea edx, [ebp - 0x4814]
push edx
call fcn.0046373b
add esp, 0x10
mov dword [ebp - 0x4838], eax
cmp dword [ebp - 0x4838], 0
jne 0x419bfd
jmp 0x419d41
mov eax, dword [ebp - 0x4838]
push eax
lea ecx, [ebp - 0x4814]
push ecx
lea edx, [ebp - 0x240e]
push edx
call fcn.004609f0
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 0x419c80
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.0041e3e0
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.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419ce1
jmp 0x419ff2
push 0x2710
lea edx, [ebp - 0x4840]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419d18
jmp 0x419ff2
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 0x419b54
mov eax, dword [ebp - 0x481c]
push eax
call fcn.00460750
add esp, 4
mov dword [ebp - 0x481c], 0
cmp dword [0x4d8e70], 0
jne 0x419ff2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x419ff2
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x120]
test eax, eax
je 0x419ff2
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.004234e0
add esp, 8
push 7
lea eax, [ebp - 0x2413]
push eax
call fcn.0041e3e0
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.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419dfc
jmp 0x419ff2
cmp dword [0x4d8e70], 0
jne 0x419ff2
push 0x2710
lea edx, [ebp - 0x4838]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48b4]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x419e40
jmp 0x419ff2
movzx ecx, byte [ebp - 0x4813]
cmp ecx, 0xe6
jne 0x419e58
cmp dword [ebp - 0x4838], 6
je 0x419e5a
jmp 0x419dfc
movzx edx, byte [ebp - 0x4810]
test edx, edx
je 0x419e7e
movzx eax, byte [ebp - 0x4810]
add eax, 0xff00
mov dword [ebp - 0x4830], eax
jmp 0x419ff2
push 0
push str.AAAAAA
call fcn.00414a60
add esp, 8
jmp 0x419ff2
cmp dword [ebp - 0x481c], 0
je 0x41a014
mov edx, dword [ebp - 0x481c]
push edx
call fcn.00460750
add esp, 4
mov dword [ebp - 0x481c], 0
cmp dword [0x4d8e70], 0
je 0x41a027
mov dword [ebp - 0x4820], 0x4c7
mov eax, dword [ebp - 0x4830]
push eax
mov ecx, dword [ebp - 0x4820]
push ecx
call fcn.0043b7a0
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.004600a2
mov esp, ebp
pop ebp
ret 4