Function at 0x4204e0
Capabilities:
Get disk information
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f7e4
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4620f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], esi
mov eax, dword [edi]
cmp eax, 0x50554b42
ja 0x420f42
je 0x420e48
cmp eax, 0x4a4e5355
ja 0x420a3b
je 0x420913
cmp eax, 0x454d5453
je 0x420682
cmp eax, 0x49455246
jne 0x4213dd
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x2d
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f800
test al, al
jne 0x4205fa
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x40007
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe85
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x450170
mov dword [ecx + 0xc], 0x4500fc
mov dword [ecx + 0x10], 0x77c
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x94]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x2e
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x2d
call fcn.00402f20
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
push 0x18
mov byte [ebp - 4], 0x2f
call fcn.0040499f
add esp, 4
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x30
test eax, eax
je 0x420624
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.0041bd50
mov ecx, eax
jmp 0x420626
xor ecx, ecx
mov byte [ebp - 4], 0x2f
test ecx, ecx
jne 0x420646
xor eax, eax
lea ecx, [edi + 4]
push eax
call fcn.00425480
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
add eax, ecx
lea ecx, [edi + 4]
push eax
call fcn.00425480
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push eax
push dword [edi + 4]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x27
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f5c0
test al, al
jne 0x420727
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x40007
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe65
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44fe60
mov dword [ecx + 0xc], 0x44fdf4
mov dword [ecx + 0x10], 0x75c
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x78]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x28
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x27
call fcn.00402f20
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
mov eax, dword [esi - 0x38]
lea ecx, [ebp - 0x48]
mov eax, dword [eax + 4]
add eax, 0xffffffcc
add eax, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042c470
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x38]
mov byte [ebp - 4], 0x29
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004031a0
test al, al
je 0x420770
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x27
call fcn.0042c690
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
lea ecx, [ebp - 0x5c]
call fcn.00436e20
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0x2200000
push 3
push 0
push 0
push pe_nt_image_headers32
push eax
mov byte [ebp - 4], 0x2a
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x420822
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
push 0x40007
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
push str.OpenFileW
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe71
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44ff68
mov dword [ecx + 0xc], 0x44ff3c
mov dword [ecx + 0x10], 0x768
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041d0b0
add esp, 0x2c
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x2b
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x2a
call fcn.00402f20
jmp 0x4208ee
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0041a0f0
push dword [edi + 0x14]
mov dword [ebp - 0x50], eax
push dword [edi + 0x10]
mov dword [ebp - 0x4c], edx
call fcn.0041a0f0
push dword [edi + 0x1c]
mov dword [ebp - 0x6c], eax
push dword [edi + 0x18]
mov dword [ebp - 0x68], edx
call fcn.0041a0f0
add esp, 0x18
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x60], edx
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4208e7
push str.Error_occurred_while_writing_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x40003
push 0x44ffb4
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe78
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x450098
mov dword [ecx + 0xc], 0x450024
mov dword [ecx + 0x10], 0x76f
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00416a40
add esp, 0x28
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x2c
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x2a
call fcn.00402f20
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x29
call fcn.00436eb0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x27
call fcn.0042c690
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x32
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f800
test al, al
jne 0x4209ba
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x40007
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe9a
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x450240
mov dword [ecx + 0xc], str.winnt_dir::IOCTL
mov dword [ecx + 0x10], 0x791
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0xc0]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x33
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x32
call fcn.00402f20
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
push 0x54
mov byte [ebp - 4], 0x34
call fcn.0040499f
add esp, 4
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0x35
test eax, eax
je 0x4209e2
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.0041c040
jmp 0x4209e4
xor eax, eax
mov dword [ebp - 0x48], eax
lea ecx, [edi + 4]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x34
push eax
call fcn.0041bc70
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x420c93
mov ecx, dword [eax]
push 1
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
cmp eax, 0x4e465353
je 0x420ca0
cmp eax, 0x4e524450
jne 0x4213dd
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 6
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
push eax
push dword [edi + 4]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi - 0x3c]
call fcn.00419e00
test al, al
je 0x420c1c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp edx, 8
cmovae eax, ecx
cmp word [eax], 0x5c
je 0x420c1c
mov eax, dword [edi + 8]
test eax, eax
je 0x420ae8
push 0
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi - 0x3c]
call fcn.00419e00
test al, al
je 0x420c1c
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp word [eax], 0x5c
je 0x420c1c
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp edx, 8
lea eax, [ebp - 0x2c]
cmovae eax, ecx
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x420b08
lea eax, [ecx - 1]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004022d0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x420b2e
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x420b2e
lea eax, [ecx - 1]
push eax
lea ecx, [ebp - 0x44]
call fcn.004022d0
lea ecx, [ebp - 0x50]
call fcn.00436e20
cmp dword [ebp - 0x34], 0
mov byte [ebp - 4], 9
jne 0x420b44
xor ecx, ecx
jmp 0x420b4f
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 4
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x420bf9
push str.Error_occurred_while_renaming_the_file.
call fcn.004029e0
add esp, 4
push eax
push 0x40009
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
push 0x44f134
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fdba
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f4b8
mov dword [ecx + 0xc], 0x44f18c
mov dword [ecx + 0x10], 0x6b1
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0041d0b0
add esp, 0x2c
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0xa
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 9
call fcn.00402f20
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.00436eb0
jmp 0x420c8b
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
push 0x465148
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.00436eb0
jmp 0x420c8b
push str.Error_occurred_while_renaming_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x40009
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fdad
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f450
mov dword [ecx + 0xc], 0x44f084
mov dword [ecx + 0x10], 0x6a4
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0xac]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 8
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 7
call fcn.00402f20
lea ecx, [ebp - 0x44]
call fcn.00401510
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
mov eax, dword [0x4653bc]
test al, 1
jne 0x420ccf
push 0x44fbb4
or eax, 1
push 0x44fc14
mov dword [0x4653bc], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4653b8], eax
jmp 0x420cd4
mov eax, dword [0x4653b8]
test eax, eax
jne 0x420d52
push str.The_operation_is_not_supported.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x4000e
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe48
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44fcb8
mov dword [ecx + 0xc], 0x44fca4
mov dword [ecx + 0x10], 0x73f
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0xa4]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov dword [ebp - 4], 0x24
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00402f20
jmp 0x421924
mov eax, dword [esi - 0x3c]
lea ecx, [esi - 0x3c]
push 0x2000000
push 3
push 3
push 0x40010000
push 0
push dword [edi + 4]
call dword [eax + 0x8c]
mov ecx, dword [esi - 0x38]
mov ebx, eax
mov ecx, dword [ecx + 4]
add ecx, 0xffffffc8
add ecx, esi
call fcn.004031a0
test al, al
jne 0x421924
push dword [edi + 8]
push ebx
call dword [0x4653b8]
test eax, eax
jne 0x420e3c
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x25
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f670
push str.Error_occurred_while_renaming_the_file.
call fcn.004029e0
add esp, 4
push eax
push 0x40009
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
push str.SetFileShortNameW
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe5a
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44fd90
mov dword [ecx + 0xc], 0x44fd7c
mov dword [ecx + 0x10], 0x751
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0041d0b0
add esp, 0x2c
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x26
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x25
call fcn.00402f20
lea ecx, [ebp - 0x2c]
call fcn.00401510
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x421924
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x420e6e
mov eax, dword [eax + 4]
add eax, 8
jmp 0x420e73
mov eax, 0x44d664
push 0
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f5c0
test al, al
je 0x420ece
cmp dword [ebp - 0x18], 8
lea ecx, [edi + 4]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0042d830
add esp, 0xc
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 1
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0
call fcn.00402f20
jmp 0x421913
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x40007
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fd98
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f390
mov dword [ecx + 0xc], 0x44ef2c
mov dword [ecx + 0x10], 0x68f
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x84]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 2
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call fcn.00402f20
jmp 0x421913
cmp eax, 0x52545352
ja 0x4213cb
je 0x4212d4
cmp eax, 0x51535253
je 0x42115e
cmp eax, 0x52504d43
jne 0x4213dd
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0xb
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f670
test al, al
jne 0x421010
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x40007
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fdc5
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f510
mov dword [ecx + 0xc], 0x44f1ec
mov dword [ecx + 0x10], 0x6bc
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0xb0]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0xc
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xb
call fcn.00402f20
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
mov eax, dword [esi - 0x38]
lea ecx, [ebp - 0x48]
mov eax, dword [eax + 4]
add eax, 0xffffffcc
add eax, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042c470
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x38]
mov byte [ebp - 4], 0xd
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004031a0
test al, al
jne 0x421145
lea ecx, [ebp - 0x5c]
call fcn.00436e20
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0x2200000
push 3
push 0
push 3
push 0xc0000000
push eax
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4210f9
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
push 0x40007
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
push 0x44f384
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fdd1
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f630
mov dword [ecx + 0xc], 0x44f3dc
mov dword [ecx + 0x10], 0x6c8
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0041d0b0
add esp, 0x2c
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0xf
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0xe
call fcn.00402f20
jmp 0x421139
movzx eax, byte [edi + 4]
push eax
lea eax, [ebp - 0xbc]
push ebx
push eax
call fcn.0041b460
add esp, 0xc
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x10
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xe
call fcn.00402f20
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call fcn.00436eb0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.0042c690
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push eax
push dword [edi + 4]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x19
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f5c0
test al, al
je 0x42125e
lea ecx, [ebp - 0x54]
call fcn.0042ca60
push dword [edi + 0xc]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1a
push dword [edi + 8]
call fcn.0042cca0
mov eax, dword [esi - 0x38]
lea ecx, [ebp - 0x48]
mov eax, dword [eax + 4]
add eax, 0xffffffcc
add eax, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042c470
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x38]
mov byte [ebp - 4], 0x1b
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004031a0
test al, al
je 0x4211fc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1a
call fcn.0042c690
lea ecx, [ebp - 0x54]
call fcn.0041c9a0
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
lea ecx, [ebp - 0x5c]
call fcn.00436e20
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1c
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.0042ccf0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1b
call fcn.00436eb0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1a
call fcn.0042c690
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
push 0x465148
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x54]
call fcn.0041c9a0
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
push str.Error_occurred_while_creating_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x4000a
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe0e
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f948
mov dword [ecx + 0xc], 0x44f7cc
mov dword [ecx + 0x10], 0x705
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x70]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x1d
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x19
call fcn.00402f20
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov eax, dword [edi + 0x10]
mov ecx, 0x44d664
test eax, eax
mov dword [ebp - 4], 3
push 0
cmovne ecx, eax
lea eax, [ebp - 0x2c]
push ecx
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f5c0
test al, al
je 0x421357
cmp dword [ebp - 0x18], 8
lea ecx, [edi + 4]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004307c0
add esp, 0xc
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 3
call fcn.00402f20
jmp 0x421913
push str.Error_occurred_while_creating_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x4000a
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fda2
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f3f0
mov dword [ecx + 0xc], 0x44efd4
mov dword [ecx + 0x10], 0x699
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x9c]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 5
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00402f20
jmp 0x421913
cmp eax, 0x54505243
je 0x421664
cmp eax, 0x54534647
je 0x4213e8
push edi
call fcn.00417b70
jmp 0x421924
add edi, 4
mov dword [ebp - 0x18], 7
xor eax, eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov word [edi], ax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x1e
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f670
test al, al
jne 0x421491
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x40007
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe18
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44fa10
mov dword [ecx + 0xc], 0x44f934
mov dword [ecx + 0x10], 0x70f
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0xc4]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x1f
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x1e
call fcn.00402f20
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
mov eax, dword [esi - 0x38]
lea ecx, [ebp - 0x48]
mov eax, dword [eax + 4]
add eax, 0xffffffcc
add eax, esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042c470
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x38]
mov byte [ebp - 4], 0x20
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004031a0
test al, al
jne 0x42164b
lea ecx, [ebp - 0x50]
call fcn.00436e20
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x68]
push 0x40
push edi
push ecx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x21
push ecx
push 0
push 0
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x421512
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
push 0x465148
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
jmp 0x42163f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x90
jne 0x4215c3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f800
test al, al
jne 0x421598
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x40007
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe2f
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44fae8
mov dword [ecx + 0xc], 0x44fa5c
mov dword [ecx + 0x10], 0x726
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x74]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x22
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x74]
jmp 0x421636
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x68]
push 0x40
push edi
push ecx
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x4214f8
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
push 0x40007
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
push 0x44fb94
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fe3a
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44fbc8
mov dword [ecx + 0xc], 0x44fb34
mov dword [ecx + 0x10], 0x731
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x88]
push eax
call fcn.0041d0b0
add esp, 0x2c
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x23
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x21
call fcn.00402f20
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x20
call fcn.00436eb0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x1e
call fcn.0042c690
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push eax
push dword [edi + 4]
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0x11
push eax
lea ecx, [esi - 0x3c]
call fcn.0041f5c0
test al, al
jne 0x421707
push str.Error_occurred_while_opening_the_file.
call fcn.004029e0
add esp, 4
push eax
mov eax, dword [ebp - 0x18]
push 0x40007
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fddf
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f690
mov dword [ecx + 0xc], 0x44f43c
mov dword [ecx + 0x10], 0x6d6
mov dword [ecx + 0x14], eax
lea ecx, [ebp - 0x90]
call fcn.00412b70
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x12
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x11
call fcn.00402f20
jmp 0x421913
mov eax, dword [esi - 0x38]
lea ecx, [ebp - 0x48]
mov eax, dword [eax + 4]
add eax, 0xffffffcc
add eax, esi
cmp byte [edi + 8], 0
push eax
lea eax, [ebp - 0x2c]
push eax
je 0x421823
call fcn.0042c470
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x38]
mov byte [ebp - 4], 0x13
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004031a0
test al, al
je 0x42175a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.0042c690
lea ecx, [ebp - 0x2c]
call fcn.00401510
jmp 0x421924
lea ecx, [ebp - 0x5c]
call fcn.00436e20
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_EncryptFileW]
test eax, eax
jne 0x421805
push str.Access_to_the_file_is_denied.
call fcn.004029e0
add esp, 4
push eax
push 0x40014
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
push 0x44f754
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fde8
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f780
mov dword [ecx + 0xc], 0x44f55c
mov dword [ecx + 0x10], 0x6df
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x98]
push eax
call fcn.0041d0b0
add esp, 0x2c
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x15
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x14
call fcn.00402f20
mov byte [ebp - 4], 0x13
jmp 0x4218ff
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
push 0x465148
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
mov byte [ebp - 4], 0x13
jmp 0x4218ff
call fcn.0042c470
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x38]
mov byte [ebp - 4], 0x16
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004031a0
test al, al
jne 0x421741
lea ecx, [ebp - 0x5c]
call fcn.00436e20
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x17
call dword [sym.imp.ADVAPI32.dll_DecryptFileW]
test eax, eax
jne 0x4218e6
push str.Access_to_the_file_is_denied.
call fcn.004029e0
add esp, 4
push eax
push 0x40014
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
push 0x44f834
sub esp, 0x18
mov ecx, esp
mov dword [ecx], 0x3b21fdf4
mov dword [ecx + 4], 0xf35f747b
mov dword [ecx + 8], 0x44f878
mov dword [ecx + 0xc], 0x44f67c
mov dword [ecx + 0x10], 0x6eb
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041d0b0
add esp, 0x2c
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
mov byte [ebp - 4], 0x18
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x17
call fcn.00402f20
jmp 0x4218fb
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x34]
push 0x465148
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004030c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x5c]
call fcn.00436eb0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x11
call fcn.0042c690
cmp dword [ebp - 0x18], 8
jb 0x421924
push dword [ebp - 0x2c]
call fcn.00404a15
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004051a4
mov esp, ebp
pop ebp
ret 4