Function at 0x415880
Capabilities:
Delete file
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4901c7
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x4aeb00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x394], ecx
mov ecx, dword [ebp - 0x394]
add ecx, 0x18
call fcn.0040c680
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x415915
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x415915
mov ecx, dword [ebp - 0x394]
add ecx, 0x18
call fcn.0040c680
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
mov ecx, dword [ebp - 0x394]
add ecx, 0x18
call fcn.0040c680
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x394]
add ecx, 0x18
call fcn.0040c680
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00417080
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x48]
call fcn.00419010
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x70], 3
mov dword [ebp - 0x6c], 2
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x10]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x100]
push edx
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
mov ecx, dword [ebp - 0x50]
add ecx, 0x5164
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x10]
add eax, 0xcb0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x114]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x5e14], 0x10
jne 0x415a3f
mov edx, dword [ebp - 0x50]
add edx, 0x5e14
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], edx
mov eax, dword [ebp - 0x10]
add eax, 0x8b4
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x66c8], 2
jne 0x415a9a
mov edx, dword [ebp - 0x50]
add edx, 0x66c8
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x10]
add eax, 0x594
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x134]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c7c
call fcn.00418610
jmp 0x415ab6
lea ecx, [ebp - 0x78]
call fcn.00419180
lea edx, [ebp - 0x144]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c7c
call fcn.00418640
push eax
lea ecx, [ebp - 0x78]
call fcn.004191a0
movzx eax, al
test eax, eax
je 0x415b2c
lea ecx, [ebp - 0x78]
call fcn.00419160
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xd0
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x415aae
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x6c5c], 1
jne 0x415b87
mov eax, dword [ebp - 0x50]
add eax, 0x6c5c
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xbe8
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7844
call fcn.00417170
jmp 0x415ba3
lea ecx, [ebp - 0x80]
call fcn.004191f0
lea eax, [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x7844
call fcn.004171a0
push eax
lea ecx, [ebp - 0x80]
call fcn.00419210
movzx ecx, al
test ecx, ecx
je 0x415c18
lea ecx, [ebp - 0x80]
call fcn.004191d0
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x17c]
push edx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x170], edx
mov eax, dword [ebp - 0x10]
add eax, 0x720
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x170]
push edx
mov eax, dword [ebp - 0x174]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x415b9b
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x785c
call fcn.00417380
jmp 0x415c3a
lea ecx, [ebp - 0x88]
call fcn.00419260
lea edx, [ebp - 0x184]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x785c
call fcn.004173b0
push eax
lea ecx, [ebp - 0x88]
call fcn.00419280
movzx eax, al
test eax, eax
je 0x415cb9
lea ecx, [ebp - 0x88]
call fcn.00419240
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x728
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x188]
push eax
mov ecx, dword [ebp - 0x18c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x415c2f
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x7874], 5
jne 0x415d11
mov eax, dword [ebp - 0x50]
add eax, 0x7874
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1a4]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7884
call fcn.00417590
jmp 0x415d33
lea ecx, [ebp - 0x90]
call fcn.004192d0
lea eax, [ebp - 0x1ac]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x7884
call fcn.004175c0
push eax
lea ecx, [ebp - 0x90]
call fcn.004192f0
movzx ecx, al
test ecx, ecx
je 0x415db1
lea ecx, [ebp - 0x90]
call fcn.004192b0
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x1bc]
push edx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp - 0x10]
add eax, 0x7ec
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1b0]
push edx
mov eax, dword [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x415d28
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x78b4
call fcn.004179b0
jmp 0x415dd3
lea ecx, [ebp - 0x98]
call fcn.00419340
lea edx, [ebp - 0x1c4]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x78b4
call fcn.004179e0
push eax
lea ecx, [ebp - 0x98]
call fcn.00419360
movzx eax, al
test eax, eax
je 0x415e52
lea ecx, [ebp - 0x98]
call fcn.00419320
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1d4]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1cc], edx
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x8b8
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c8]
push eax
mov ecx, dword [ebp - 0x1cc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x415dc8
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x78cc], 0xd
jne 0x415ead
mov eax, dword [ebp - 0x50]
add eax, 0x78cc
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x338
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1d8]
push eax
mov ecx, dword [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c04
call fcn.00417bc0
jmp 0x415ecf
lea ecx, [ebp - 0xa0]
call fcn.004193b0
lea eax, [ebp - 0x1ec]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c04
call fcn.00417bf0
push eax
lea ecx, [ebp - 0xa0]
call fcn.004193d0
movzx ecx, al
test ecx, ecx
je 0x415f4d
lea ecx, [ebp - 0xa0]
call fcn.00419390
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x1fc]
push edx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1f4], ecx
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0x10]
add eax, 0x264
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1f0]
push edx
mov eax, dword [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x415ec4
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c1c
call fcn.00417dd0
jmp 0x415f6f
lea ecx, [ebp - 0xa8]
call fcn.00419420
lea edx, [ebp - 0x204]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c1c
call fcn.00417e00
push eax
lea ecx, [ebp - 0xa8]
call fcn.00419440
movzx eax, al
test eax, eax
je 0x415fee
lea ecx, [ebp - 0xa8]
call fcn.00419400
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xd4
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x415f64
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c34
call fcn.00417fe0
jmp 0x416010
lea ecx, [ebp - 0xb0]
call fcn.00419490
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c34
call fcn.00418010
push eax
lea ecx, [ebp - 0xb0]
call fcn.004194b0
movzx ecx, al
test ecx, ecx
je 0x41608e
lea ecx, [ebp - 0xb0]
call fcn.00419470
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x22c]
push edx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x10]
add eax, 0xd0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x224]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x416005
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c4c
call fcn.004181f0
jmp 0x4160b0
lea ecx, [ebp - 0xb8]
call fcn.00419500
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c4c
call fcn.00418220
push eax
lea ecx, [ebp - 0xb8]
call fcn.00419520
movzx eax, al
test eax, eax
je 0x41612f
lea ecx, [ebp - 0xb8]
call fcn.004194e0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x198
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x4160a5
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c64
call fcn.00418400
jmp 0x416151
lea ecx, [ebp - 0xc0]
call fcn.00419570
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x7c64
call fcn.00418430
push eax
lea ecx, [ebp - 0xc0]
call fcn.00419590
movzx ecx, al
test ecx, ecx
je 0x4161cf
lea ecx, [ebp - 0xc0]
call fcn.00419550
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x250], edx
mov eax, dword [ebp - 0x10]
add eax, 0xd0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x250]
push edx
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x416146
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x7c94], 0x12
jne 0x41622a
mov edx, dword [ebp - 0x50]
add edx, 0x7c94
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x10]
add eax, 0x424
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x264]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x9310
call fcn.00418a30
jmp 0x41624c
lea ecx, [ebp - 0xc8]
call fcn.004195e0
lea edx, [ebp - 0x274]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x9310
call fcn.00418a60
push eax
lea ecx, [ebp - 0xc8]
call fcn.00419600
movzx eax, al
test eax, eax
je 0x4162cb
lea ecx, [ebp - 0xc8]
call fcn.004195c0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x58c
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x416241
lea edx, [ebp - 0xd0]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x9328
call fcn.00418c40
jmp 0x4162ed
lea ecx, [ebp - 0xd0]
call fcn.00419650
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x9328
call fcn.00418c70
push eax
lea ecx, [ebp - 0xd0]
call fcn.00419670
movzx ecx, al
test ecx, ecx
je 0x41636b
lea ecx, [ebp - 0xd0]
call fcn.00419630
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x29c]
push edx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x290], edx
mov eax, dword [ebp - 0x10]
add eax, 0x58c
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x290]
push edx
mov eax, dword [ebp - 0x294]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x4162e2
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x789c
call fcn.004177a0
jmp 0x41638d
lea ecx, [ebp - 0xd8]
call fcn.004196c0
lea edx, [ebp - 0x2a4]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x789c
call fcn.004177d0
push eax
lea ecx, [ebp - 0xd8]
call fcn.004196e0
movzx eax, al
test eax, eax
je 0x41640c
lea ecx, [ebp - 0xd8]
call fcn.004196a0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2ac], edx
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x4b4
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x2a8]
push eax
mov ecx, dword [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x416382
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x80b8], 0x16
jne 0x416467
mov eax, dword [ebp - 0x50]
add eax, 0x80b8
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2bc], edx
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1218
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
mov ecx, dword [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x92d0], 0x17
jne 0x4164bf
mov eax, dword [ebp - 0x50]
add eax, 0x92d0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2cc], edx
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x2c8]
push eax
mov ecx, dword [ebp - 0x2cc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
lea edx, [ebp - 0xe0]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x92f8
call fcn.00418820
jmp 0x4164e1
lea ecx, [ebp - 0xe0]
call fcn.00419730
lea eax, [ebp - 0x2dc]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x92f8
call fcn.00418850
push eax
lea ecx, [ebp - 0xe0]
call fcn.00419750
movzx ecx, al
test ecx, ecx
je 0x41655d
lea ecx, [ebp - 0xe0]
call fcn.00419710
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x2ec]
push edx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x2e4], ecx
mov dword [ebp - 0x2e0], edx
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x2e0]
push edx
mov eax, dword [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x4164d6
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x9340
call fcn.00418e50
jmp 0x41657f
lea ecx, [ebp - 0xe8]
call fcn.004197a0
lea edx, [ebp - 0x2f4]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x9340
call fcn.00418e80
push eax
lea ecx, [ebp - 0xe8]
call fcn.004197c0
movzx eax, al
test eax, eax
je 0x4165fe
lea ecx, [ebp - 0xe8]
call fcn.00419780
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x304]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004190e0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2fc], edx
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1560
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00426bd0
jmp 0x416574
mov dword [ebp - 0x54], 0
push 0
mov ecx, dword [ebp - 0x394]
add ecx, 0x24
call fcn.0040c680
push eax
lea ecx, [ebp - 0x388]
call fcn.00418fa0
mov dword [ebp - 0x398], eax
mov edx, dword [ebp - 0x398]
mov dword [ebp - 0x39c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x39c]
call fcn.00419000
push eax
lea ecx, [ebp - 0x30]
call fcn.00417040
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x388]
call fcn.00418fd0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.00419110
push eax
push 0
lea ecx, [ebp - 0x48]
call fcn.00419130
push eax
call fcn.00449ae0
add esp, 0x18
test eax, eax
je 0x416782
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp - 0x394]
add ecx, 0x18
call fcn.0040c680
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0xffffffff
je 0x416711
push 0
lea ecx, [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x416704
mov edx, dword [ebp - 0xfc]
cmp edx, dword [ebp - 0x4c]
jne 0x416704
mov eax, dword [ebp - 0x394]
mov dword [eax], 1
mov dword [ebp - 0x54], 1
mov ecx, dword [ebp - 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x38c], edx
mov eax, dword [ebp - 0x38c]
push eax
call fcn.004608f4
add esp, 4
lea ecx, [ebp - 0xf0]
push ecx
call fcn.00416c70
push str._Y__m__d
lea edx, [ebp - 0xf8]
push edx
lea ecx, [ebp - 0xf0]
call fcn.00416cb0
mov ecx, dword [ebp - 0x394]
add ecx, 0x14
call fcn.0040c680
push eax
lea ecx, [ebp - 0xf8]
call fcn.0040c680
push eax
push str.LastDetectDate
push 0x496d38
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xf8]
call fcn.0040c710
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x390], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0042e8d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00419080
mov eax, dword [ebp - 0x390]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045fcea
mov esp, ebp
pop ebp
ret