Function at 0x413e7e
Capabilities:
Copy file
Delete file
Get file attributes
Get file size
Read file on windows
Resolve function by parsing pe exports
Set file attributes

Disassembly:
cmp dword [0x426124], 0
jne 0x41d09e
push ecx
lea edx, [esp + 0x89c]
mov ecx, ebx
call fcn.004141aa
cmp eax, 1
je 0x4181d7
cmp dword [0x42615c], 0
je 0x41598a
mov eax, dword [0x4260d4]
test byte [ebx + 0x1c], 8
jne 0x41599d
cmp eax, 3
je 0x41599d
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x78]
push 0
push ecx
push eax
mov ecx, ebx
call fcn.00413912
cmp eax, 1
je 0x4181d7
cmp dword [0x4260d4], 3
je 0x4159cb
cmp word [esp + 0x78], 0
je 0x413e50
push ecx
push ecx
mov ecx, dword [ebx + 4]
xor edx, edx
call fcn.00413828
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, 0xffffffff
je 0x418247
mov ecx, esi
call fcn.004048d4
test eax, eax
jne 0x418286
cmp dword [0x4260d0], eax
jne 0x416619
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], ecx
mov eax, dword [ebx + 0x1c]
test al, 4
je 0x415912
and eax, 0xfffffffb
mov dword [ebx + 0x1c], eax
test al, al
js 0x415923
or eax, 1
cmp byte [0x426004], 0
mov dword [ebx + 0x1c], eax
je 0x4182ab
push dword [ebx + 4]
mov edx, 0x208
lea ecx, [esp + 0x48c]
call fcn.00402d3f
lea ecx, [esp + 0x78]
mov dword [esp + 0x30], eax
call fcn.0040220d
mov edx, dword [esp + 0x1c]
mov ecx, esi
push eax
push edi
push ebx
lea eax, [esp + 0x20]
push eax
push 0x200
call fcn.00413769
cmp dword [0x4260a4], 0
mov dword [esp + 0x6c], eax
jne 0x4182de
mov esi, dword [0x4260d4]
cmp esi, 3
je 0x4159e6
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x78]
push eax
lea edx, [esp + 0x48c]
mov ecx, esi
call fcn.00413a0b
test eax, eax
jne 0x4182ff
mov eax, dword [esp + 0x24]
xor ecx, ecx
inc ecx
mov dword [0x426060], ecx
cmp dword [eax + 0x20], 0
je 0x413c23
cmp dword [0x42615c], 0
je 0x413c23
and dword [0x4260a4], 0
mov dword [0x426064], ecx
mov ecx, dword [eax + 0x20]
call fcn.0040ae97
mov eax, dword [0x4260a4]
cmp eax, 0x15
je 0x4181c4
cmp eax, 0x458
je 0x4181c4
mov eax, dword [esp + 0x24]
xor ecx, ecx
inc ecx
push ecx
push ecx
lea ecx, [esp + 0x80]
mov edx, eax
push ecx
mov ecx, ebx
call fcn.00413912
cmp eax, 1
je 0x4181ce
cmp word [esp + 0x78], 0
je 0x418375
lea eax, [esp + 0x78]
mov ecx, esi
push eax
lea edx, [esp + 0x48c]
call fcn.00413a0b
test eax, eax
jne 0x418383
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x28]
mov edx, eax
mov esi, dword [0x4260d4]
test ecx, ecx
jne 0x413cba
cmp dword [esp + 0x54], 0
je 0x413c9b
and dword [esp + 0x3c], 0
cmp edx, 0xffffffff
jne 0x4146a4
and dword [esp + 0x54], 0
and dword [ebx + 0x1c], 0xfffffffb
cmp byte [0x426004], 0
mov eax, dword [ebx + 0x1c]
je 0x4183ee
cmp dword [esp + 0x3c], 0
jne 0x41842e
cmp dword [0x42615c], 0
je 0x413ce1
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x413cd8
test byte [eax + 0x1c], 8
jne 0x4147fb
cmp esi, 3
je 0x418444
test dl, 6
je 0x4146d3
mov dword [0x4260a4], 5
or edi, 0xffffffff
mov dword [esp + 0x10], edi
and dword [esp + 0x44], 0
cmp edi, 0xffffffff
jne 0x4146b2
and dword [esp + 0x50], 0
cmp dword [esp + 0x5c], 1
mov ecx, dword [esp + 0x28]
je 0x418481
mov eax, dword [ebx + 0x1c]
test al, 8
jne 0x413d2d
cmp esi, 3
je 0x4184a4
mov eax, dword [ebx + 0x1c]
test al, 8
jne 0x41592b
push dword [ebx + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
call fcn.004137f6
cmp esi, 3
je 0x41862a
mov eax, dword [ebx + 0x1c]
test al, 1
je 0x41862a
and eax, 0x800
mov dword [esp + 0x30], eax
cmp edi, 0xffffffff
je 0x413d7c
mov ecx, edi
call fcn.004049f8
mov eax, dword [esp + 0x30]
or edi, 0xffffffff
mov dword [esp + 0x10], edi
test dword [ebx + 0x1c], 0x400
jne 0x4184db
mov esi, dword [0x426158]
test esi, esi
je 0x41851a
or eax, dword [esp + 0x48]
push eax
push 0x426124
push 0
push 0
lea eax, [esp + 0x88]
mov ecx, esi
push eax
push dword [ebx + 4]
call dword [0x442430]
call esi
test eax, eax
je 0x418531
cmp dword [esp + 0x44], 0
jne 0x413df7
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetFileAttributesW]
or esi, 0xffffffff
cmp eax, esi
je 0x413dea
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_SetFileAttributesW]
cmp dword [0x4260d0], 0
jne 0x416632
mov ecx, dword [ebx + 0x18]
and dword [0x42609c], 0
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
call fcn.004049f8
cmp dword [0x4260d4], 3
je 0x413e49
cmp dword [0x426124], 0
jne 0x41885c
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x70]
push eax
push edi
mov ecx, ebx
call fcn.004140d7
mov dword [0x426154], 1
and dword [0x42615c], 0
push dword [esp + 0x18]
mov edx, dword [ebx + 0x18]
mov ecx, fcn.00402fb0
push 0x21
call fcn.0040b003
test al, al
jne 0x413a6d
mov ecx, dword [esp + 0x18]
call fcn.00402fd4
jmp 0x413f47
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa9c
mov eax, dword [0x4261d4]
xor eax, esp
mov dword [esp + 0xa98], eax
push ebx
push esi
push edi
push 0x204
lea eax, [esp + 0x288]
mov dword [esp + 0x284], 0x20
mov esi, edx
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x30], esi
call sub.msvcrt.dll_memset
xor ecx, ecx
mov dword [esp + 0x60], 1
mov eax, ecx
mov dword [esp + 0x44], ecx
or edi, 0xffffffff
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], eax
add esp, 0xc
mov eax, dword [esi + 0x20]
mov dword [esp + 0x10], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x28], ecx
test eax, eax
je 0x41591b
mov eax, dword [eax + 0x1c]
movsx eax, al
push ecx
mov dword [esp + 0x5c], ecx
and eax, 0x10
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x44]
shr eax, 1
push ecx
mov ecx, 0xfe00
mov dword [esp + 0x50], eax
call fcn.00414283
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4181e0
cmp dword [0x4260d0], 0
jne 0x4165f0
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x414258
cmp dword [0x4260d4], 3
je 0x41d0bc
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xaa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401200
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push dword [ebx + 0x18]
call fcn.0040220d
push 0x21
pop edx
mov ecx, eax
call fcn.00408792
test al, al
je 0x4181e8
jmp 0x413a6d
test dl, 0x10
je 0x413c96
jmp 0x4183e1
xor esi, esi
mov ecx, edi
inc esi
mov dword [esp + 0x50], esi
call fcn.004048d4
test eax, eax
jne 0x418461
mov esi, dword [0x4260d4]
jmp 0x413d0e
test dword [ebx + 0x1c], 0x400
jne 0x413cfb
lea ecx, [esp + 0x78]
call fcn.004146fb
mov esi, dword [0x4260d4]
mov edi, eax
jmp 0x413cf7
cmp dword [ebx + 0x20], 0
jne 0x413cd8
xor esi, esi
inc esi
mov dword [0x4260d4], esi
jmp 0x413cd8
mov dword [esp + 0x28], eax
jmp 0x413b5a
mov eax, dword [esi + 0x1c]
jmp 0x413f08
or eax, 2
jmp 0x413b4a
cmp esi, 3
jne 0x413d38
jmp 0x4184ba
mov eax, dword [0x4260d4]
cmp eax, 3
jne 0x413aa4
jmp 0x41822b
push dword [ebx + 4]
push 0x406a18
call fcn.00406992
cmp dword [0x4260d4], 3
pop ecx
pop ecx
jne 0x413ab7
cmp dword [0x42615c], 0
jne 0x413ab7
jmp 0x413aec
lea eax, [esp + 0x78]
mov edx, 0x104
push eax
lea ecx, [esp + 0x284]
call fcn.00401da3
jmp 0x413ae0
cmp dword [0x42615c], 0
jne 0x413bb3
jmp 0x413d0e
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x30]
push 1
push eax
call fcn.00414283
mov dword [esp + 0x38], eax
test eax, eax
je 0x4181e0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
jmp 0x413f47
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x40], eax
jb 0x413b22
mov ecx, eax
mov dword [esp + 0x2c], eax
jmp 0x413b2a
push ecx
xor edx, edx
push ecx
inc edx
lea ecx, [esp + 0x80]
call fcn.00413828
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, esi
je 0x4185d6
mov ecx, edi
call fcn.004048d4
test eax, eax
jne 0x418603
push edi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_FlushFileBuffers]
test eax, eax
je 0x4185ef
mov ecx, edi
call fcn.004049f8
push ecx
push ecx
xor edx, edx
lea ecx, [esp + 0x80]
call fcn.00413828
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, esi
je 0x4185d6
mov ecx, edi
call fcn.004048d4
test eax, eax
jne 0x4185ef
mov esi, dword [esp + 0x20]
push eax
push eax
push eax
push esi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_SetFilePointer]
xor eax, eax
push eax
push eax
push eax
push edi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_SetFilePointer]
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetFileSize]
mov esi, eax
lea eax, [esp + 0x60]
push eax
push edi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetFileSize]
cmp esi, eax
jne 0x418611
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x60]
jne 0x418611
xor esi, esi
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x34]
push dword [esp + 0x28]
push dword [esp + 0x30]
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_ReadFile]
test eax, eax
je 0x4167a1
cmp dword [esp + 0x14], 0
je 0x4167a1
push 0
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x44]
push edi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_ReadFile]
test eax, eax
je 0x4185c8
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x64], eax
jne 0x4185c8
cmp dword [esp + 0x2c], eax
je 0x416780
xor esi, esi
inc esi
push eax
push dword [esp + 0x3c]
push dword [esp + 0x24]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x4185c8
test esi, esi
je 0x416717
mov ecx, edi
call fcn.004049f8
or edi, 0xffffffff
mov dword [esp + 0x10], edi
jmp 0x413df7
push 0
push eax
call fcn.0040bd74
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
call fcn.004049f8
mov ecx, dword [esp + 0x18]
call fcn.00402fd4
xor eax, eax
inc eax
jmp 0x413f63
cmp dword [0x4260d4], 3
jne 0x4181fe
cmp dword [0x42615c], 0
je 0x413f47
push dword [ebx]
push 0x415278
call fcn.00406992
push 0x409c60
call fcn.00406992
mov ecx, dword [0x4260a4]
add esp, 0xc
call fcn.00416160
mov ecx, dword [esp + 0x18]
jmp 0x41887f
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x280]
call fcn.004232f8
test eax, eax
je 0x413a9f
jmp 0x413e50
mov ecx, dword [0x4260a4]
call fcn.00416160
cmp dword [0x4260d4], 3
jne 0x418279
cmp edi, 0xffffffff
jne 0x418279
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x78]
call fcn.004232f8
test eax, eax
je 0x418279
mov ecx, dword [esp + 0x18]
jmp 0x41887f
mov dword [esp + 0x34], 1
jmp 0x413e50
mov eax, 0x80
or dword [ebx + 0x1c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x1c]
test al, 1
je 0x413b2e
and eax, 0xfffffffe
or eax, 4
mov dword [ebx + 0x1c], eax
jmp 0x413b2e
cmp dword [0x42615c], 0
je 0x413b5a
mov eax, dword [ebx + 0x1c]
test al, 8
jne 0x413b5a
cmp dword [0x4260d4], 3
jne 0x413b5a
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x1c], eax
jmp 0x413b5a
mov ecx, esi
call fcn.004049f8
push 0x6e
pop ecx
call fcn.00416160
cmp dword [0x4260d4], 3
jne 0x418279
mov ecx, dword [esp + 0x18]
jmp 0x41887f
test byte [ebx + 0x1c], 0x80
jne 0x413bd2
mov ecx, dword [esp + 0x20]
call fcn.004049f8
push dword [esp + 0x18]
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x14]
push dword [esp + 0x30]
push esi
push ecx
mov ecx, ebx
call fcn.0042336d
cmp dword [0x42615c], 0
je 0x41835e
cmp dword [0x4260d4], 3
jne 0x418356
and dword [ebx + 0x1c], 0xfffffffe
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0x1c]
test ecx, ecx
jne 0x418351
or eax, 2
jmp 0x418353
or eax, ecx
mov dword [ebx + 0x1c], eax
mov dword [esp + 0x5c], 1
push dword [ebx + 0x1c]
lea edx, [esp + 0x18]
mov ecx, esi
call fcn.004137f6
mov edi, dword [esp + 0x10]
jmp 0x413e49
mov ecx, dword [esp + 0x20]
call fcn.004049f8
jmp 0x413e50
test byte [ebx + 0x1c], 0x80
jne 0x413c66
mov ecx, dword [esp + 0x20]
call fcn.004049f8
cmp dword [0x42615c], 0
je 0x4183c0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4183c0
test byte [eax + 0x1c], 8
je 0x4183c0
cmp dword [ebx + 0x20], 0
jne 0x4183c0
mov dword [0x4260d4], 1
push dword [esp + 0x18]
lea edx, [esp + 0x14]
push dword [esp + 0x30]
push dword [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.0042336d
mov edi, dword [esp + 0x10]
jmp 0x413c66
mov dword [esp + 0x3c], 1
jmp 0x413c96
test al, 8
je 0x413caf
cmp esi, 3
jne 0x413caf
cmp dword [esp + 0x3c], 0
mov dword [esp + 0x58], esi
jne 0x413cba
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x418425
test byte [ecx + 0x1c], 8
je 0x418425
mov ecx, dword [esp + 0x28]
jmp 0x418439
mov ecx, dword [esp + 0x28]
or eax, 2
jmp 0x41843c
cmp dword [esp + 0x58], 3
jne 0x413cba
or eax, 1
mov dword [ebx + 0x1c], eax
jmp 0x413cba
test ecx, ecx
jne 0x418459
mov eax, dword [ebx + 0x1c]
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x1c], eax
jmp 0x413ce1
mov dword [ebx + 0x1c], ecx
jmp 0x413ce1
cmp dword [esp + 0x28], 0
mov dword [esp + 0x44], esi
jne 0x4146c8
mov eax, dword [ebx + 0x1c]
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x1c], eax
jmp 0x4146c8
cmp esi, 3
jne 0x413d1d
and dword [ebx + 0x1c], 0xfffffffe
mov eax, dword [ebx + 0x1c]
test ecx, ecx
jne 0x41849a
or eax, 2
jmp 0x41849c
or eax, ecx
mov dword [ebx + 0x1c], eax
jmp 0x413d1d
test ecx, ecx
jne 0x413d2d
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x1c], eax
jmp 0x413d2d
cmp dword [esp + 0x3c], 0
jne 0x413d38
test ecx, ecx
jne 0x413d38
and eax, 0xfffffffe
or eax, 2
mov dword [ebx + 0x1c], eax
jmp 0x413d38
mov ecx, dword [ebx + 4]
call fcn.004239f8
test eax, eax
jne 0x4184f8
lea ecx, [esp + 0x78]
call fcn.004239f8
test eax, eax
jne 0x4184f8
xor ecx, ecx
jmp 0x4184fb
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x30]
or eax, dword [esp + 0x48]
mov esi, dword [0x426158]
or eax, 2
push eax
push 0
push ecx
push 0x422a70
jmp 0x413da5
push dword [esp + 0x48]
lea eax, [esp + 0x7c]
push eax
push dword [ebx + 4]
call dword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_1.dll_CopyFileW]
jmp 0x413dba
xor esi, esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [0x4260a4], eax
cmp eax, 1
jne 0x41855e
cmp dword [esp + 0x30], esi
je 0x41855e
mov eax, dword [ebx + 0x18]
test dword [eax], 0x400
je 0x41855e
mov dword [0x4260a4], 0x40002730
mov ecx, dword [esp + 0x20]
call fcn.004049f8
cmp dword [esp + 0x44], esi
je 0x418570
push 0x1d
pop esi
and dword [0x42609c], 0
mov ecx, dword [0x4260a4]
test ecx, ecx
jne 0x41858a
push 0x70
pop ecx
mov dword [0x4260a4], ecx
cmp dword [0x426124], 0
je 0x418597
xor esi, esi
jmp 0x4185a0
test esi, esi
jne 0x4185a0
call fcn.00416160
cmp dword [esp + 0x50], 0
je 0x4185b1
xor edx, edx
mov ecx, esi
inc edx
jmp 0x418889
mov dword [esp + 0x34], 1
mov dword [0x426154], 1
jmp 0x413e50
mov ecx, edi
call fcn.004049f8
or edi, 0xffffffff
mov dword [esp + 0x10], edi
lea eax, [esp + 0x78]
push eax
push 1
push 0x4000271f
call fcn.0040bd02
add esp, 0xc
jmp 0x413df7
lea eax, [esp + 0x78]
push eax
push 1
push 0x4000271f
call fcn.0040bd02
add esp, 0xc
mov ecx, edi
call fcn.004049f8
mov edi, esi
jmp 0x4167ab
lea eax, [esp + 0x78]
push eax
push 1
push 0x4000271f
call fcn.0040bd02
add esp, 0xc
jmp 0x4167a1
cmp edi, 0xffffffff
je 0x418683
push edi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_SetEndOfFile]
cmp dword [0x42615c], 0
jne 0x4186d2
cmp dword [0x4260d4], 3
jne 0x4186d2
test byte [ebx + 0x1c], 2
je 0x4186d2
test dword [ebx + 0x1c], 0x4000
mov esi, dword [esp + 0x1c]
je 0x4186d6
mov eax, dword [esp + 0x14]
sub eax, 2
push eax
mov dword [esp + 0x18], eax
lea eax, [esi + 2]
push eax
push esi
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
jmp 0x4186d6
push ecx
xor edx, edx
push ecx
inc edx
lea ecx, [esp + 0x80]
call fcn.00413828
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 0xffffffff
jne 0x41863e
mov ecx, dword [esp + 0x20]
call fcn.004049f8
cmp dword [0x426068], 0
jne 0x4186bc
mov ecx, dword [0x4260a4]
call fcn.00416160
cmp dword [0x4260d4], 3
jne 0x4185b1
mov ecx, dword [esp + 0x18]
jmp 0x41887f
mov esi, dword [esp + 0x1c]
mov edx, 0x4000
test dword [ebx + 0x1c], edx
je 0x4186f3
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4186f0
or dword [eax + 0x1c], edx
jmp 0x4186f3
or dword [ecx + 0x1c], edx
mov eax, dword [0x42609c]
test eax, eax
je 0x418761
cmp dword [esp + 0x14], 0
jle 0x413df7
push dword [esp + 0x20]
lea eax, [esp + 0x7c]
mov edx, esi
push eax
push dword [esp + 0x1c]
mov ecx, edi
call fcn.00423432
cmp dword [0x4260d0], 0
je 0x413df7
mov ecx, edi
call fcn.004048d4
test eax, eax
jne 0x413df7
push dword [esp + 0x38]
lea edx, [esp + 0x7c]
push esi
push dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call fcn.00422b1d
cmp eax, 1
jne 0x418853
mov ecx, dword [esp + 0x18]
jmp 0x41887f
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x20]
cmp ecx, 1
jne 0x4187e3
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x78]
push esi
push eax
push dword [esp + 0x1c]
mov ecx, edi
call fcn.00423432
cmp dword [0x4260d0], 0
je 0x4187bd
mov ecx, edi
call fcn.004048d4
test eax, eax
jne 0x4187bd
push dword [esp + 0x38]
lea edx, [esp + 0x7c]
push dword [esp + 0x20]
lea ecx, [esp + 0x18]
push dword [esp + 0x1c]
call fcn.00422b1d
cmp eax, 1
je 0x41887b
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x78]
push eax
push edi
push ebx
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push dword [esp + 0x3c]
call fcn.00413769
mov ecx, eax
mov eax, dword [0x42609c]
test eax, eax
je 0x418769
test eax, eax
je 0x413df7
cmp dword [esp + 0x14], 0
jle 0x413df7
cmp ecx, 1
jne 0x413df7
push esi
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x1c]
mov edx, esi
mov ecx, edi
call fcn.00423432
cmp dword [0x4260d0], 0
je 0x413df7
mov ecx, edi
call fcn.004048d4
test eax, eax
jne 0x413df7
push dword [esp + 0x38]
lea edx, [esp + 0x7c]
push esi
push dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call fcn.00422b1d
cmp eax, 1
jne 0x418853
mov ecx, dword [esp + 0x18]
jmp 0x41887f
mov edi, dword [esp + 0x10]
jmp 0x413df7
mov ecx, edi
call fcn.004049f8
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_DeleteFileW]
mov dword [esp + 0x34], 1
jmp 0x413e3f
mov ecx, dword [esp + 0x18]
call fcn.00402fd4
xor edx, edx
inc edx
xor ecx, ecx
call fcn.00422c0d
int3
mov ecx, dword [esp + 0x18]
call fcn.00402fd4
cmp edi, 0xffffffff
je 0x4181e0
mov ecx, edi
call fcn.004049f8
jmp 0x4181e0
cmp edi, 0xffffffff
je 0x413f5f
mov edx, dword [esp + 0x24]
mov ecx, ebx
push 0
push edi
call fcn.004140d7
jmp 0x413f5f