Function at 0x41a060
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a00b
mov eax, dword fs:[0]
push eax
mov eax, 0x48e0
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 - 0x48e8], 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 - 0x4848]
push eax
call fcn.00408350
add esp, 8
mov dword [ebp - 0x48ec], eax
mov ecx, dword [ebp - 0x48ec]
mov dword [ebp - 0x4870], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x4870]
mov eax, dword [edx]
mov dword [ebp - 0x4874], eax
push 0
mov ecx, dword [ebp - 0x4874]
push ecx
call fcn.00414a60
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4848]
call fcn.00401fc0
mov ecx, dword [ebp - 0x48e8]
call fcn.00419220
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41a161
jmp 0x41b2a0
cmp dword [0x4d8e70], 0
jne 0x41a42a
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x41a42a
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x41a42a
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 0x41a1be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4820], eax
jmp 0x41b2a0
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 0x41a211
mov dword [ebp - 0x4820], 0xd
jmp 0x41b2a0
mov dword [ebp - 0x4828], 0
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xe2
cmp dword [0x4d8e70], 0
jne 0x41a411
push 0x118
lea eax, [ebp - 0x484c]
push eax
call fcn.00408350
add esp, 8
mov dword [ebp - 0x487c], eax
mov ecx, dword [ebp - 0x487c]
mov edx, dword [ecx]
mov dword [ebp - 0x4880], edx
mov eax, dword [ebp - 0x4828]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x4834]
push eax
mov eax, dword [ebp - 0x4880]
push eax
lea ecx, [ebp - 0x4814]
push ecx
call fcn.004600f6
add esp, 0xc
lea ecx, [ebp - 0x484c]
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 0x41a2d2
jmp 0x41a411
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 0x41a350
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 - 0x48e8]
call fcn.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41a3b1
jmp 0x41b2a0
push 0x2710
lea edx, [ebp - 0x483c]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41a3e8
jmp 0x41b2a0
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 0x41a229
mov eax, dword [ebp - 0x481c]
push eax
call fcn.00460750
add esp, 4
mov dword [ebp - 0x481c], 0
cmp dword [0x4d8e70], 0
jne 0x41a683
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x41a683
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x1c]
test eax, eax
je 0x41a683
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 - 0x48e8]
call fcn.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41a4c9
jmp 0x41b2a0
cmp dword [0x4d8e70], 0
jne 0x41a683
push 0x2710
lea edx, [ebp - 0x4838]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41a50d
jmp 0x41b2a0
movzx ecx, byte [ebp - 0x4813]
cmp ecx, 0xe5
jne 0x41a525
cmp dword [ebp - 0x4838], 7
je 0x41a527
jmp 0x41a4c9
movzx edx, byte [ebp - 0x4810]
cmp edx, 1
jne 0x41a556
movzx eax, byte [ebp - 0x480f]
test eax, eax
je 0x41a556
movzx ecx, byte [ebp - 0x480f]
add ecx, 0xff00
mov dword [ebp - 0x4830], ecx
jmp 0x41b2a0
movzx edx, byte [ebp - 0x4810]
cmp edx, 2
jne 0x41a5e1
movzx eax, byte [ebp - 0x480f]
cmp eax, 0x64
jle 0x41a57f
mov dword [ebp - 0x4830], 0xff03
jmp 0x41b2a0
push 0x116
lea ecx, [ebp - 0x4850]
push ecx
call fcn.00408350
add esp, 8
mov dword [ebp - 0x4888], eax
mov edx, dword [ebp - 0x4888]
mov eax, dword [edx]
mov dword [ebp - 0x488c], eax
movzx ecx, byte [ebp - 0x480f]
push ecx
mov edx, dword [ebp - 0x488c]
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 - 0x4810]
cmp edx, 3
jne 0x41a67e
movzx eax, byte [ebp - 0x480f]
cmp eax, 0x64
jle 0x41a60e
mov dword [ebp - 0x4830], 0xff04
jmp 0x41b2a0
push 0x1a9
lea ecx, [ebp - 0x4854]
push ecx
call fcn.00408350
add esp, 8
mov dword [ebp - 0x4894], eax
mov edx, dword [ebp - 0x4894]
mov eax, dword [edx]
mov dword [ebp - 0x4898], eax
movzx ecx, byte [ebp - 0x480f]
push ecx
mov edx, dword [ebp - 0x4898]
push edx
lea eax, [ebp - 0x2414]
push eax
call fcn.004600f6
add esp, 0xc
lea ecx, [ebp - 0x4854]
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 0x41a67e
jmp 0x41a683
jmp 0x41a4c9
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x41a695
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0
je 0x41a70b
cmp dword [0x4d8e70], 0
jne 0x41a70b
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x41a70b
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x1c]
test ecx, ecx
je 0x41a70b
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b4c0
movzx edx, byte [0x4d8e62]
shl edx, 4
add edx, str..COM1
push edx
call fcn.0041c340
add esp, 4
test eax, eax
jne 0x41a6e1
xor eax, eax
jmp 0x41b2f1
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b310
mov ecx, dword [ebp - 0x48e8]
call fcn.00419220
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41a70b
jmp 0x41b2a0
cmp dword [0x4d8e70], 0
jne 0x41a9e4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
je 0x41a9e4
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x328]
test edx, edx
je 0x41a9e4
push 0x480bc8
mov eax, dword [ebp + 8]
add eax, 0x328
push eax
call fcn.00460890
add esp, 8
mov dword [ebp - 0x481c], eax
cmp dword [ebp - 0x481c], 0
jne 0x41a76d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4820], eax
jmp 0x41b2a0
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
mov dword [ebp - 0x4828], 0
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xec
cmp dword [0x4d8e70], 0
jne 0x41a9cb
cmp dword [ebp - 0x4834], 0
jle 0x41a9cb
push 0x1c4
lea ecx, [ebp - 0x4858]
push ecx
call fcn.00408350
add esp, 8
mov dword [ebp - 0x48a0], eax
mov edx, dword [ebp - 0x48a0]
mov eax, dword [edx]
mov dword [ebp - 0x48a4], eax
mov eax, dword [ebp - 0x4828]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x4834]
push eax
mov ecx, dword [ebp - 0x48a4]
push ecx
lea edx, [ebp - 0x4814]
push edx
call fcn.004600f6
add esp, 0xc
lea ecx, [ebp - 0x4858]
call fcn.00401fc0
push 0
lea eax, [ebp - 0x4814]
push eax
call fcn.00414a60
add esp, 8
push 0x2400
push 0
lea ecx, [ebp - 0x4814]
push ecx
call fcn.004602b0
add esp, 0xc
mov edx, dword [ebp - 0x481c]
push edx
push 0x1000
push 1
lea eax, [ebp - 0x4814]
push eax
call fcn.0046373b
add esp, 0x10
mov dword [ebp - 0x4838], eax
cmp dword [ebp - 0x4838], 0
jne 0x41a88c
jmp 0x41a9cb
lea ecx, [ebp - 0x4840]
push ecx
mov edx, dword [ebp - 0x4838]
push edx
lea eax, [ebp - 0x240e]
push eax
lea ecx, [ebp - 0x4814]
push ecx
call fcn.0041e660
add esp, 0x10
mov edx, dword [ebp - 0x4840]
add edx, 2
shr edx, 8
mov byte [ebp - 0x2412], dl
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 0x41a90a
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 - 0x48e8]
call fcn.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41a96b
jmp 0x41b2a0
push 0x2710
lea edx, [ebp - 0x4840]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41a9a2
jmp 0x41b2a0
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 0x41a7c0
mov eax, dword [ebp - 0x481c]
push eax
call fcn.00460750
add esp, 4
mov dword [ebp - 0x481c], 0
cmp dword [0x4d8e70], 0
jne 0x41ac40
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0
je 0x41ac40
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x328]
test eax, eax
je 0x41ac40
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xed
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 - 0x48e8]
call fcn.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41aa86
jmp 0x41b2a0
cmp dword [0x4d8e70], 0
jne 0x41ac40
push 0x2710
lea edx, [ebp - 0x4838]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41aaca
jmp 0x41b2a0
movzx ecx, byte [ebp - 0x4813]
cmp ecx, 0xed
jne 0x41aae2
cmp dword [ebp - 0x4838], 7
je 0x41aae4
jmp 0x41aa86
movzx edx, byte [ebp - 0x4810]
cmp edx, 1
jne 0x41ab13
movzx eax, byte [ebp - 0x480f]
test eax, eax
je 0x41ab13
movzx ecx, byte [ebp - 0x480f]
add ecx, 0xff00
mov dword [ebp - 0x4830], ecx
jmp 0x41b2a0
movzx edx, byte [ebp - 0x4810]
cmp edx, 2
jne 0x41ab9e
movzx eax, byte [ebp - 0x480f]
cmp eax, 0x64
jle 0x41ab3c
mov dword [ebp - 0x4830], 0xff03
jmp 0x41b2a0
push 0x1c5
lea ecx, [ebp - 0x485c]
push ecx
call fcn.00408350
add esp, 8
mov dword [ebp - 0x48ac], eax
mov edx, dword [ebp - 0x48ac]
mov eax, dword [edx]
mov dword [ebp - 0x48b0], eax
movzx ecx, byte [ebp - 0x480f]
push ecx
mov edx, dword [ebp - 0x48b0]
push edx
lea eax, [ebp - 0x2414]
push eax
call fcn.004600f6
add esp, 0xc
lea ecx, [ebp - 0x485c]
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 0x41ac3b
movzx eax, byte [ebp - 0x480f]
cmp eax, 0x64
jle 0x41abcb
mov dword [ebp - 0x4830], 0xff04
jmp 0x41b2a0
push 0x1a9
lea ecx, [ebp - 0x4860]
push ecx
call fcn.00408350
add esp, 8
mov dword [ebp - 0x48b8], eax
mov edx, dword [ebp - 0x48b8]
mov eax, dword [edx]
mov dword [ebp - 0x48bc], eax
movzx ecx, byte [ebp - 0x480f]
push ecx
mov edx, dword [ebp - 0x48bc]
push edx
lea eax, [ebp - 0x2414]
push eax
call fcn.004600f6
add esp, 0xc
lea ecx, [ebp - 0x4860]
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 0x41ac3b
jmp 0x41ac40
jmp 0x41aa86
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x41ad70
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xe7
mov byte [ebp - 0x2412], 0
mov byte [ebp - 0x2411], 0
push 3
lea ecx, [ebp - 0x2413]
push ecx
call fcn.0041e3e0
add esp, 8
mov byte [ebp - 0x2410], al
push 0x2710
push 5
lea edx, [ebp - 0x2414]
push edx
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41acad
jmp 0x41b2a0
cmp dword [0x4d8e70], 0
jne 0x41ad70
push 0x2710
lea eax, [ebp - 0x4838]
push eax
push 0x2400
lea ecx, [ebp - 0x4814]
push ecx
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41acf1
jmp 0x41b2a0
movzx edx, byte [ebp - 0x4813]
cmp edx, 0xe7
jne 0x41ad09
cmp dword [ebp - 0x4838], 6
je 0x41ad0b
jmp 0x41acad
movzx eax, byte [ebp - 0x4810]
cmp eax, 0x64
jle 0x41ad28
mov dword [ebp - 0x4830], 0xff05
jmp 0x41b2a0
movzx ecx, byte [ebp - 0x4810]
push ecx
push str.Erase_FAT
lea edx, [ebp - 0x2414]
push edx
call fcn.004600f6
add esp, 0xc
push 0
lea eax, [ebp - 0x2414]
push eax
call fcn.00414a60
add esp, 8
movzx ecx, byte [ebp - 0x4810]
cmp ecx, 0x64
jne 0x41ad63
jmp 0x41ad70
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41acad
cmp dword [0x4d8e70], 0
jne 0x41b03f
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x41b03f
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x120]
test ecx, ecx
je 0x41b03f
push 0x480bc8
mov edx, dword [ebp + 8]
add edx, 0x120
push edx
call fcn.00460890
add esp, 8
mov dword [ebp - 0x481c], eax
cmp dword [ebp - 0x481c], 0
jne 0x41add3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4820], eax
jmp 0x41b2a0
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 0x41ae26
mov dword [ebp - 0x4820], 0xd
jmp 0x41b2a0
mov byte [ebp - 0x2414], 2
mov byte [ebp - 0x2413], 0xe3
mov dword [ebp - 0x4828], 0
cmp dword [0x4d8e70], 0
jne 0x41b026
push 0x119
lea eax, [ebp - 0x4864]
push eax
call fcn.00408350
add esp, 8
mov dword [ebp - 0x48c4], eax
mov ecx, dword [ebp - 0x48c4]
mov edx, dword [ecx]
mov dword [ebp - 0x48c8], edx
mov eax, dword [ebp - 0x4828]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x4834]
push eax
mov eax, dword [ebp - 0x48c8]
push eax
lea ecx, [ebp - 0x4814]
push ecx
call fcn.004600f6
add esp, 0xc
lea ecx, [ebp - 0x4864]
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 0x2000
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 0x41aee7
jmp 0x41b026
lea edx, [ebp - 0x4844]
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 - 0x4844]
add eax, 2
shr eax, 8
mov byte [ebp - 0x2412], al
mov eax, dword [ebp - 0x4844]
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 0x41af65
dec edx
or edx, 0xffffff00
inc edx
mov byte [ebp - 0x240f], dl
mov eax, dword [ebp - 0x4844]
add eax, 5
push eax
lea ecx, [ebp - 0x2413]
push ecx
call fcn.0041e3e0
add esp, 8
mov edx, dword [ebp - 0x4844]
mov byte [ebp + edx - 0x240e], al
push 0x2710
mov eax, dword [ebp - 0x4844]
add eax, 7
push eax
lea ecx, [ebp - 0x2414]
push ecx
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41afc6
jmp 0x41b2a0
push 0x2710
lea edx, [ebp - 0x4844]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41affd
jmp 0x41b2a0
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 0x41ae3e
mov eax, dword [ebp - 0x481c]
push eax
call fcn.00460750
add esp, 4
mov dword [ebp - 0x481c], 0
cmp dword [0x4d8e70], 0
jne 0x41b2a0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x41b2a0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x120]
test eax, eax
je 0x41b2a0
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 - 0x48e8]
call fcn.0041b500
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41b0e1
jmp 0x41b2a0
cmp dword [0x4d8e70], 0
jne 0x41b2a0
push 0x2710
lea edx, [ebp - 0x4838]
push edx
push 0x2400
lea eax, [ebp - 0x4814]
push eax
mov ecx, dword [ebp - 0x48e8]
call fcn.0041b5a0
mov dword [ebp - 0x4820], eax
cmp dword [ebp - 0x4820], 0
je 0x41b125
jmp 0x41b2a0
movzx ecx, byte [ebp - 0x4813]
cmp ecx, 0xe6
jne 0x41b13d
cmp dword [ebp - 0x4838], 7
je 0x41b13f
jmp 0x41b0e1
movzx edx, byte [ebp - 0x4810]
cmp edx, 1
jne 0x41b16e
movzx eax, byte [ebp - 0x480f]
test eax, eax
je 0x41b16e
movzx ecx, byte [ebp - 0x480f]
add ecx, 0xff00
mov dword [ebp - 0x4830], ecx
jmp 0x41b2a0
movzx edx, byte [ebp - 0x4810]
cmp edx, 2
jne 0x41b1f9
movzx eax, byte [ebp - 0x480f]
cmp eax, 0x64
jle 0x41b197
mov dword [ebp - 0x4830], 0xff03
jmp 0x41b2a0
push 0x117
lea ecx, [ebp - 0x4868]
push ecx
call fcn.00408350
add esp, 8
mov dword [ebp - 0x48d0], eax
mov edx, dword [ebp - 0x48d0]
mov eax, dword [edx]
mov dword [ebp - 0x48d4], eax
movzx ecx, byte [ebp - 0x480f]
push ecx
mov edx, dword [ebp - 0x48d4]
push edx
lea eax, [ebp - 0x2414]
push eax
call fcn.004600f6
add esp, 0xc
lea ecx, [ebp - 0x4868]
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 0x41b29b
movzx eax, byte [ebp - 0x480f]
cmp eax, 0x64
jle 0x41b223
mov dword [ebp - 0x4830], 0xff04
jmp 0x41b2a0
push 0x1a9
lea ecx, [ebp - 0x486c]
push ecx
call fcn.00408350
add esp, 8
mov dword [ebp - 0x48dc], eax
mov edx, dword [ebp - 0x48dc]
mov eax, dword [edx]
mov dword [ebp - 0x48e0], eax
movzx ecx, byte [ebp - 0x480f]
push ecx
mov edx, dword [ebp - 0x48e0]
push edx
lea eax, [ebp - 0x2414]
push eax
call fcn.004600f6
add esp, 0xc
lea ecx, [ebp - 0x486c]
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 0x41b293
jmp 0x41b2a0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41b0e1
cmp dword [ebp - 0x481c], 0
je 0x41b2c2
mov eax, dword [ebp - 0x481c]
push eax
call fcn.00460750
add esp, 4
mov dword [ebp - 0x481c], 0
cmp dword [0x4d8e70], 0
je 0x41b2d5
mov dword [ebp - 0x4820], 0x4c7
mov ecx, dword [ebp - 0x4830]
push ecx
mov edx, dword [ebp - 0x4820]
push edx
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