Function at 0x491c10
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x517f3a
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x549950]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x549950]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x158]
mov dword [esp + 0x150], 2
call fcn.004c01dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x491c79
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x150], 3
mov ecx, dword [esp + 0x164]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x491db2
push 0x2f
push ecx
call fcn.004dfd64
add esp, 8
test eax, eax
je 0x491d1a
mov edx, dword [esp + 0x164]
sub eax, edx
sar eax, 1
mov ecx, eax
cmp ecx, 0xffffffff
je 0x491d1a
mov eax, dword [edx - 0xc]
sub eax, ecx
dec eax
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x16c]
call fcn.00402780
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 4
call fcn.00403060
mov byte [esp + 0x150], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x491d16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
cmp dword [edi - 0xc], 0
jne 0x491db2
lea ecx, [esp + 0x24]
push ecx
call fcn.004a1378
add esp, 4
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x28]
mov bl, 5
push eax
mov byte [esp + 0x15c], bl
call fcn.004028b0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x154], 6
call fcn.00403060
mov byte [esp + 0x150], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491d86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491dae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
call fcn.004c01dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x491dcc
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x150], 7
call fcn.004c01dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x491dfe
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x150], 8
cmp esi, 2
jne 0x492184
push 0
push 0x522764
lea ecx, [esp + 0x34]
call fcn.00403570
cmp dword [esp + 0x16c], 0
je 0x491e41
or dword [esp + 0x168], 4
lea ecx, [esp + 0x28]
push ecx
call fcn.00405d20
add esp, 4
push 8
push str.gmhl.exe
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 9
call fcn.004030e0
call fcn.004c01dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x491e80
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
mov byte [esp + 0x150], 0xa
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 0xc], 0
je 0x491f58
lea edx, [esp + 0x18]
push 0x26
push edx
call fcn.0049ed16
add esp, 8
push 7
mov bl, 0xb
push str.cache_
lea ecx, [esp + 0x20]
mov byte [esp + 0x158], bl
call fcn.004030e0
push str.gmhl.exe
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00402970
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 0xc
call fcn.00403060
mov byte [esp + 0x150], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x491f1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push 1
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [esp + 0x150], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x491f58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403060
mov esi, dword [edi - 0xc]
push 0x2e
push edi
call fcn.004dfd64
add esp, 8
test eax, eax
jne 0x491f7d
or eax, 0xffffffff
jmp 0x491f81
sub eax, edi
sar eax, 1
sub esi, eax
dec esi
push esi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
call fcn.00402780
lea eax, [esp + 0x18]
push 0x5332a8
mov bl, 0xd
push eax
mov byte [esp + 0x158], bl
call fcn.00402c00
add esp, 8
test al, al
je 0x491ff0
lea ecx, [esp + 0x18]
push 0x5332b0
push ecx
call fcn.00402c00
add esp, 8
test al, al
je 0x491ff0
lea edx, [esp + 0x18]
push 0x52cbf0
push edx
call fcn.00402c00
add esp, 8
test al, al
je 0x491ff0
push 0x522764
lea ecx, [esp + 0x20]
call fcn.00402560
mov edi, dword [esp + 0x1c]
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x522764
call fcn.00402480
mov byte [esp + 0x158], 0xe
mov eax, dword [esp + 0x164]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x160], 0xf
mov eax, dword [esp + 0x170]
add eax, 0xfffffff0
mov dword [esp + 0x54], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x164], 0x10
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x50], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x168], 0x11
mov eax, dword [esp + 0x17c]
add eax, 0xfffffff0
mov dword [esp + 0x58], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [esp + 0x168], 0x12
call fcn.00490fe0
mov ecx, dword [esp + 0x180]
mov byte [esp + 0x168], bl
call fcn.00406950
mov byte [esp + 0x150], 0xa
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4920d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x150], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4920fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 8
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492124
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 7
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49214c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 2
lea eax, [edi - 0x10]
jmp 0x4928e1
cmp esi, 3
jne 0x4924d5
push 0x522764
lea ecx, [esp + 0x30]
call fcn.00402560
cmp dword [esp + 0x16c], 0
je 0x4921ad
or dword [esp + 0x168], 4
lea ecx, [esp + 0x28]
push 0x26
push ecx
call fcn.0049ed16
add esp, 8
push 7
push str.cache_
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], 0x13
call fcn.004030e0
push str.helper.exe
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00402970
add esp, 0xc
lea esi, [esp + 0x20]
mov eax, ebp
mov byte [esp + 0x150], 0x14
call fcn.00490fc0
mov byte [esp + 0x150], 0x15
mov ebx, dword [esp + 0x20]
cmp dword [ebx - 0xc], 0
je 0x49225a
mov eax, dword [esp + 0x24]
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x15c], 0x16
lea eax, [ebx - 0x10]
mov dword [esp + 0x48], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x15c], 0x15
call fcn.0049ef4e
add esp, 0xc
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
push eax
call fcn.00403680
lea ebp, [eax + 0x10]
add esp, 4
mov dword [esp + 0x40], ebp
push 0x2e
mov byte [esp + 0x154], 0x17
mov esi, dword [edi - 0xc]
push edi
call fcn.004dfd64
add esp, 8
test eax, eax
jne 0x492290
or eax, 0xffffffff
jmp 0x492294
sub eax, edi
sar eax, 1
sub esi, eax
dec esi
push esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402780
lea edx, [esp + 0x18]
push 0x5332a8
mov bl, 0x18
push edx
mov byte [esp + 0x158], bl
call fcn.00402c00
add esp, 8
test al, al
je 0x4922ff
lea eax, [esp + 0x18]
push 0x5332b0
push eax
call fcn.00402c00
add esp, 8
test al, al
je 0x4922ff
lea ecx, [esp + 0x18]
push 0x52cbf0
push ecx
call fcn.00402c00
add esp, 8
test al, al
je 0x4922ff
push 0x522764
lea ecx, [esp + 0x20]
call fcn.00402560
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x522764
call fcn.00402480
mov byte [esp + 0x158], 0x19
mov eax, dword [esp + 0x164]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x50], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x160], 0x1a
mov eax, dword [esp + 0x170]
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x164], 0x1b
lea esi, [ebp - 0x10]
mov dword [esp + 0x7c], esp
mov edi, esp
push esi
call fcn.00403680
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x168], 0x1c
mov eax, dword [esp + 0x17c]
add eax, 0xfffffff0
mov dword [esp + 0x4c], esp
mov edi, esp
push eax
call fcn.00403680
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x168], 0x1d
call fcn.00490fe0
mov ecx, dword [esp + 0x180]
mov byte [esp + 0x168], bl
call fcn.00406950
mov byte [esp + 0x150], 0x17
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4923e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 0x15
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492404
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x150], 0x14
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49242c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 0x13
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492454
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 8
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49247c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 7
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4924a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4928d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4928d2
cmp esi, 1
jne 0x492559
lea ecx, [esp + 0x24]
push 0x26
push ecx
call fcn.0049ed16
push str.Internet_Exploreriexplore.exe
push eax
lea edx, [esp + 0x30]
mov bl, 0x1e
push edx
mov byte [esp + 0x164], bl
call fcn.00402970
add esp, 0x14
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x154], 0x1f
call fcn.00403060
mov byte [esp + 0x150], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49253b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 8
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x492598
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x30]
call fcn.0049e5e1
add esp, 4
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x154], 0x20
call fcn.00403060
mov byte [esp + 0x150], 8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4925a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x2c]
push ecx
lea edi, [ebp - 0x10]
mov dword [esp + 0x38], esp
mov esi, esp
push edi
call fcn.00403680
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004a1391
add esp, 4
test eax, eax
je 0x492889
lea ecx, [esp + 0x28]
push ecx
call fcn.0049ecfd
add esp, 4
push 0x5227e0
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x15c], 0x21
call fcn.00402970
add esp, 0xc
lea ecx, [esp + 0x160]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x15c], 0x22
call fcn.004028b0
add esp, 0xc
push str..lnk
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x15c], 0x23
call fcn.00402970
add esp, 0xc
mov byte [esp + 0x150], 0x25
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492659
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 0x26
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492681
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 0x27
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4926a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
call fcn.00403680
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004a1391
add esp, 4
test eax, eax
je 0x49271e
lea ecx, [esp + 0x18]
call fcn.00403040
lea ecx, [esp + 0x30]
call fcn.00403040
lea ecx, [esp + 0x2c]
call fcn.00403040
lea ecx, [esp + 0x1c]
call fcn.00403040
lea ecx, [esp + 0x15c]
call fcn.00403040
lea ecx, [esp + 0x160]
call fcn.00403040
lea ecx, [esp + 0x164]
call fcn.00403040
jmp 0x49297e
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00403020
call fcn.004a1391
add esp, 4
test eax, eax
jne 0x492804
lea esi, [esp + 0x6c]
call fcn.004a17b2
sub esp, 0x1c
mov byte [esp + 0x16c], 0x28
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x522764
call fcn.004012a0
mov eax, dword [esp + 0x180]
push eax
mov ecx, esi
call fcn.004a2646
test eax, eax
je 0x4927f3
lea ecx, [esp + 0xc0]
push ecx
lea esi, [esp + 0x5c]
call fcn.0041ad00
mov bl, 0x29
mov byte [esp + 0x150], bl
cmp dword [esp + 0x5c], 0
jne 0x4927ea
lea ecx, [esp + 0x48]
call fcn.004c30e9
push 0
mov byte [esp + 0x154], 0x2a
mov edx, dword [esp + 0x20]
push 0x9001
push edx
lea ecx, [esp + 0x54]
call fcn.004c34d0
test eax, eax
je 0x4927da
mov eax, dword [esp + 0x60]
push 0
push eax
lea ecx, [esp + 0x50]
call fcn.004c2e1f
lea ecx, [esp + 0x48]
call fcn.004c3083
lea ecx, [esp + 0x48]
mov byte [esp + 0x150], bl
call fcn.004c31c4
lea ecx, [esp + 0x58]
call fcn.0041ad50
lea ecx, [esp + 0x6c]
mov byte [esp + 0x150], 0x27
call fcn.004a186f
mov ecx, dword [esp + 0x15c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
push ebp
call fcn.0049e8b8
add esp, 0x10
cmp dword [esp + 0x16c], 0
je 0x492880
push 0
push 1
push 0
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00403020
lea eax, [esp + 0x48]
push eax
call fcn.00499280
add esp, 0x10
mov byte [esp + 0x154], 0x2b
mov ebx, dword [eax]
call fcn.004990b0
add esp, 4
lea ecx, [esp + 0x38]
call fcn.00403040
mov eax, dword [esp + 0x18]
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x18]
call fcn.00403040
mov byte [esp + 0x150], 7
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4928b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 3
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4928d2
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x150], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4928fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 1
mov eax, dword [esp + 0x15c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492925
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 0
mov eax, dword [esp + 0x160]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x492950
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x150], 0xffffffff
mov eax, dword [esp + 0x164]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49297e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004df2ac
add esp, 0x140
ret 0x18