Function at 0x414487
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:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8d4
mov eax, dword [0x4310b4]
xor eax, esp
mov dword [esp + 0x8d0], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x54], 1
mov esi, ecx
mov dword [esp + 0x30], edi
xor ecx, ecx
or ebx, 0xffffffff
mov eax, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x422af6
mov eax, dword [eax + 0x1c]
shr eax, 1
and eax, 8
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], eax
mov eax, 0x104
push eax
mov dword [esp + 0x28c], eax
lea eax, [esp + 0x7c]
push ecx
push eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28c], ecx
mov byte [esp + 0x290], 1
call sub.msvcrt.dll_memset
add esp, 0xc
mov byte [esp + 0x8cc], 1
mov eax, 0x104
xor ecx, ecx
mov dword [esp + 0x8d0], eax
mov dword [esp + 0x8c8], ecx
push eax
push ecx
lea eax, [esp + 0x6c8]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov byte [esp + 0x6b4], 1
mov eax, 0x104
xor ecx, ecx
mov dword [esp + 0x6b8], eax
mov dword [esp + 0x6b0], ecx
push eax
push ecx
lea eax, [esp + 0x4b0]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov byte [esp + 0x49c], 1
mov eax, 0x104
xor ecx, ecx
mov dword [esp + 0x4a0], eax
mov dword [esp + 0x498], ecx
push eax
push ecx
lea eax, [esp + 0x298]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
lea ecx, [esp + 0x84]
add esp, 0xc
cmp byte [esp + 0x284], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.0040d300
test eax, eax
js 0x42357c
xor eax, eax
lea ecx, [esp + 0x6c0]
cmp byte [esp + 0x8cc], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.0040d300
test eax, eax
js 0x42357c
xor eax, eax
lea ecx, [esp + 0x4a8]
cmp byte [esp + 0x6b4], al
sete al
dec eax
and eax, 0x7ee3
add eax, 0x104
push eax
call fcn.0040d300
test eax, eax
js 0x42357c
xor eax, eax
lea ecx, [esp + 0x290]
cmp byte [esp + 0x49c], al
sete al
dec eax
and eax, 0xfdc6
add eax, 0x208
push eax
call fcn.0040d300
test eax, eax
js 0x42357c
push 0x402454
lea ecx, [esp + 0x4ac]
call fcn.0040f229
xor eax, eax
mov ecx, 0xfe00
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004161f4
mov dword [esp + 0x28], eax
test eax, eax
je 0x42357c
cmp dword [0x439780], 0
jne 0x422afe
mov esi, dword [esi + 0x20]
mov dword [esp + 0x14], esi
test esi, esi
je 0x414b18
mov edi, dword [esp + 0x14]
mov esi, dword [esi + 0x18]
mov ecx, dword [edi]
call fcn.0040f070
lea ecx, [esp + 0x1c]
mov edx, eax
push ecx
push esi
xor ecx, ecx
push ecx
push 0x21
mov ecx, fcn.00417010
call fcn.00416ed9
test al, al
je 0x422b27
mov esi, edi
cmp dword [0x435614], 0
jne 0x4235b1
mov edx, dword [esp + 0x8c8]
test edx, edx
je 0x422b4a
push dword [esp + 0x8d0]
mov ecx, esi
call fcn.0041580e
cmp eax, 1
je 0x423573
cmp dword [0x439784], 0
jne 0x414ba8
mov eax, dword [0x43977c]
cmp eax, 3
je 0x422b56
test byte [esi + 0x1c], 8
je 0x414c82
push dword [esi + 4]
push 0x402368
call fcn.00408ec2
cmp dword [0x43977c], 3
pop ecx
pop ecx
je 0x422b7d
mov eax, dword [esp + 0x280]
test eax, eax
je 0x422b8f
mov edx, dword [esp + 0x30]
xor edi, edi
push edi
push dword [esp + 0x28c]
mov ecx, esi
push eax
call fcn.00414d32
cmp eax, 1
je 0x423573
cmp dword [0x43977c], 3
je 0x422b98
mov eax, dword [esp + 0x280]
test eax, eax
je 0x422bcb
cmp word [eax], di
je 0x414ae1
push ecx
push ecx
mov ecx, dword [esi + 4]
xor edx, edx
call fcn.0041736a
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x422bd4
mov ecx, eax
call fcn.0040cc8e
test eax, eax
jne 0x422c1e
cmp dword [0x439780], eax
jne 0x422c46
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x48], ecx
test al, 4
jne 0x414bb2
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x498]
test ecx, ecx
je 0x422c90
push dword [esi + 4]
mov edx, dword [esp + 0x4a4]
call fcn.00411809
mov ecx, dword [esp + 0x280]
mov edi, eax
test ecx, ecx
je 0x422c9c
call fcn.0040f070
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push eax
push ebx
push esi
lea eax, [esp + 0x24]
push eax
push 0x200
call fcn.00415780
cmp dword [0x439820], 0
mov dword [esp + 0x6c], eax
jne 0x422ca5
mov esi, dword [0x43977c]
cmp esi, 3
je 0x422ccc
mov eax, dword [esp + 0x280]
test eax, eax
je 0x422ce2
mov edx, dword [esp + 0x498]
test edx, edx
je 0x422ceb
push eax
mov ecx, edi
call fcn.004143b5
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x422cf7
mov ecx, dword [esp + 0x30]
xor edx, edx
inc edx
xor eax, eax
mov dword [0x4397e8], edx
cmp dword [0x439784], eax
jne 0x414bd5
mov eax, dword [esp + 0x280]
test eax, eax
je 0x422d6e
push edx
push dword [esp + 0x28c]
mov edx, ecx
mov ecx, esi
push eax
call fcn.00414d32
cmp eax, 1
je 0x42356a
mov eax, dword [esp + 0x280]
mov ecx, eax
test eax, eax
je 0x422d77
xor edx, edx
cmp word [ecx], dx
je 0x422d80
test eax, eax
je 0x422d8e
mov edx, dword [esp + 0x498]
test edx, edx
je 0x422d97
push eax
mov ecx, edi
call fcn.004143b5
test eax, eax
jne 0x422da3
mov eax, dword [esp + 0x280]
test eax, eax
je 0x422e02
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x2c]
mov edx, eax
mov esi, dword [0x43977c]
test ecx, ecx
je 0x414c16
mov edi, dword [esp + 0x14]
cmp dword [0x439784], 0
jne 0x414c5f
test dl, 6
je 0x414c90
or ebx, 0xffffffff
mov dword [0x439820], 5
mov dword [esp + 0x10], ebx
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x5c], 1
mov edx, dword [esp + 0x2c]
je 0x422eb4
mov ecx, dword [edi + 0x1c]
mov eax, ecx
test cl, 8
je 0x414ce6
mov ecx, eax
test al, 8
je 0x4149aa
cmp esi, 3
je 0x422eee
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0041574f
cmp esi, 3
mov esi, dword [esp + 0x14]
je 0x423277
mov eax, dword [esi + 0x1c]
test al, 1
je 0x423277
mov ecx, 0x800
mov ebx, eax
and ebx, ecx
mov edi, ebx
neg edi
sbb edi, edi
and edi, ecx
mov ecx, dword [esp + 0x10]
cmp ecx, 0xffffffff
jne 0x414cf6
test eax, 0x400
jne 0x422f11
mov esi, dword [0x435630]
test esi, esi
je 0x422f69
mov ecx, dword [esp + 0x280]
test ecx, ecx
je 0x422f8f
mov eax, dword [esp + 0x4c]
or eax, edi
push eax
push 0x435614
xor eax, eax
push eax
push eax
mov edi, dword [esp + 0x24]
push ecx
mov ecx, esi
push dword [edi + 4]
call dword [0x44d4ec]
call esi
mov esi, edi
test eax, eax
je 0x422f98
cmp dword [esp + 0x3c], 0
jne 0x414a8f
mov eax, dword [esp + 0x280]
test eax, eax
je 0x423026
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
je 0x414a82
mov ecx, dword [esp + 0x280]
test ecx, ecx
je 0x42302f
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
cmp dword [0x439780], 0
jne 0x423038
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x18]
xor edi, edi
mov dword [0x439818], edi
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
call fcn.0040fa2d
cmp dword [0x43977c], 3
je 0x414adb
cmp dword [0x435614], edi
jne 0x4234f1
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x70]
push eax
push ebx
mov ecx, esi
call fcn.00415714
mov dword [0x439784], edi
push dword [esp + 0x1c]
mov edx, dword [esi + 0x18]
mov ecx, fcn.00417010
push 0x21
call fcn.00416e8a
test al, al
jne 0x4146e1
mov ecx, dword [esp + 0x1c]
call fcn.00411bba
mov esi, dword [esi + 0x20]
mov dword [esp + 0x14], esi
test esi, esi
jne 0x4146b2
mov edi, dword [esp + 0x30]
cmp dword [0x43977c], 3
je 0x4235c8
mov eax, dword [esp + 0x498]
xor ebx, ebx
mov dword [esp + 0x498], ebx
test eax, eax
je 0x414b41
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [esp + 0x6b0]
mov dword [esp + 0x6b0], ebx
test eax, eax
je 0x414b5b
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [esp + 0x8c8]
mov dword [esp + 0x8c8], ebx
test eax, eax
je 0x414b75
push eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov ecx, dword [esp + 0x280]
mov dword [esp + 0x280], ebx
test ecx, ecx
je 0x414b8f
push ecx
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x8dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00417b90
mov esp, ebp
pop ebp
ret
mov eax, dword [0x43977c]
jmp 0x41472f
and eax, 0xfffffffb
test al, 0x80
push 0
pop ecx
setne cl
inc ecx
or ecx, eax
cmp byte [0x4397cd], 0
mov dword [esi + 0x1c], ecx
jne 0x4147f7
jmp 0x422c5f
cmp dword [ecx + 0x20], eax
je 0x4148b2
mov dword [0x439820], eax
mov ecx, dword [ecx + 0x20]
mov dword [0x4397e4], edx
call fcn.0041199e
mov eax, dword [0x439820]
cmp eax, 0x15
je 0x42355f
cmp eax, 0x458
je 0x42355f
mov ecx, dword [esp + 0x30]
xor edx, edx
inc edx
jmp 0x4148b2
cmp dword [esp + 0x54], 0
je 0x414c35
xor eax, eax
mov dword [esp + 0x38], eax
cmp edx, 0xffffffff
je 0x414c31
test dl, 0x10
jne 0x422e0b
mov dword [esp + 0x54], eax
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x1c]
and eax, 0xfffffffb
cmp byte [0x4397cd], 0
mov dword [edi + 0x1c], eax
je 0x422e18
cmp dword [esp + 0x38], 0
je 0x41494d
jmp 0x422e5d
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x414c74
test byte [eax + 0x1c], 8
jne 0x414d0a
cmp esi, 3
jne 0x41495a
jmp 0x422e73
cmp eax, 3
jne 0x414755
jmp 0x414739
test dword [edi + 0x1c], 0x400
jne 0x414cb5
mov ecx, dword [esp + 0x280]
test ecx, ecx
je 0x414d23
call fcn.00416e01
mov esi, dword [0x43977c]
mov ebx, eax
mov dword [esp + 0x10], ebx
xor eax, eax
mov dword [esp + 0x3c], eax
cmp ebx, 0xffffffff
je 0x414976
mov ecx, ebx
mov dword [esp + 0x50], 1
call fcn.0040cc8e
test eax, eax
jne 0x422e90
mov esi, dword [0x43977c]
jmp 0x41497e
mov eax, ecx
cmp esi, 3
jne 0x41499b
jmp 0x422ed6
call fcn.0040fa2d
mov eax, dword [esi + 0x1c]
or ecx, 0xffffffff
mov dword [esp + 0x10], ecx
jmp 0x4149f0
xor eax, eax
cmp dword [edi + 0x20], eax
jne 0x414c74
xor esi, esi
inc esi
mov dword [0x43977c], esi
jmp 0x414c74
lea ecx, [esp + 0x78]
jmp 0x414ca4
mov eax, dword [edi + 0x1c]
jmp 0x4144ef
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x24]
push 1
push eax
call fcn.004161f4
mov dword [esp + 0x40], eax
test eax, eax
je 0x42357c
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
jmp 0x4146a3
cmp dword [0x43977c], 3
jne 0x42351b
cmp dword [0x439784], 0
jne 0x42351b
mov esi, dword [esp + 0x14]
jmp 0x414b05
lea edx, [esp + 0x6c0]
jmp 0x4146fd
mov ecx, dword [esp + 0x6b0]
test ecx, ecx
jne 0x422b68
lea ecx, [esp + 0x4a8]
mov edx, dword [esi + 4]
call fcn.0042cb36
test eax, eax
jne 0x414ae1
jmp 0x414ba8
cmp dword [0x439784], 0
je 0x4147a8
jmp 0x414755
lea eax, [esp + 0x78]
jmp 0x414764
mov eax, dword [esp + 0x280]
test eax, eax
jne 0x422ba7
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x6b0]
test ecx, ecx
jne 0x422bb9
lea ecx, [esp + 0x4a8]
mov edx, dword [esp + 0x6b8]
push eax
call fcn.0040dfe0
jmp 0x414790
lea eax, [esp + 0x78]
jmp 0x41479f
mov ecx, dword [0x439820]
call fcn.0042d440
cmp dword [0x43977c], 3
jne 0x422c11
cmp ebx, 0xffffffff
jne 0x422c11
mov ecx, dword [esp + 0x280]
test ecx, ecx
jne 0x422bfc
lea ecx, [esp + 0x78]
mov edx, dword [esi + 4]
call fcn.0042cb36
test eax, eax
je 0x422c11
mov ecx, dword [esp + 0x1c]
jmp 0x423549
mov dword [esp + 0x34], 1
jmp 0x414ae1
or dword [esi + 0x1c], 0x80
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], 0x80
test al, 1
je 0x4147eb
and eax, 0xfffffffe
or eax, 4
mov dword [esi + 0x1c], eax
jmp 0x4147eb
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x44], eax
jb 0x4147dc
mov ecx, eax
mov dword [esp + 0x24], eax
jmp 0x4147e4
cmp dword [0x439784], 0
je 0x4147f7
test cl, 8
jne 0x4147f7
cmp dword [0x43977c], 3
jne 0x4147f7
and ecx, 0xfffffffe
or ecx, 2
mov dword [esi + 0x1c], ecx
jmp 0x4147f7
lea ecx, [esp + 0x290]
jmp 0x414806
lea ecx, [esp + 0x78]
jmp 0x414826
mov ecx, dword [esp + 0x20]
call fcn.0040fa2d
push 0x6e
pop ecx
call fcn.0042d440
cmp dword [0x43977c], 3
jne 0x422c11
mov ecx, dword [esp + 0x1c]
jmp 0x423549
cmp dword [0x439784], 0
jne 0x414865
mov edi, dword [esp + 0x14]
jmp 0x41497e
lea eax, [esp + 0x78]
jmp 0x414874
lea edx, [esp + 0x290]
jmp 0x414883
test byte [esi + 0x1c], 0x80
jne 0x414897
mov ecx, dword [esp + 0x20]
call fcn.0040fa2d
push dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push dword [esp + 0x28]
push edi
push ecx
mov ecx, esi
call fcn.0042cc93
cmp dword [0x439784], 0
je 0x422d55
cmp dword [0x43977c], 3
jne 0x422d4d
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x2c]
and eax, 0xfffffffe
test ecx, ecx
jne 0x422d48
or eax, 2
jmp 0x422d4a
or eax, ecx
mov dword [esi + 0x1c], eax
mov dword [esp + 0x5c], 1
push dword [esi + 0x1c]
lea edx, [esp + 0x1c]
mov ecx, edi
call fcn.0041574f
mov ebx, dword [esp + 0x10]
xor edi, edi
jmp 0x414adb
lea eax, [esp + 0x78]
jmp 0x4148c1
lea ecx, [esp + 0x78]
jmp 0x4148ed
mov ecx, dword [esp + 0x20]
call fcn.0040fa2d
jmp 0x414ae1
lea eax, [esp + 0x78]
jmp 0x414900
lea edx, [esp + 0x290]
jmp 0x41490f
test byte [esi + 0x1c], 0x80
jne 0x41491f
mov ecx, dword [esp + 0x20]
call fcn.0040fa2d
cmp dword [0x439784], 0
je 0x422de1
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x422de1
test byte [eax + 0x1c], 8
je 0x422de1
xor eax, eax
cmp dword [esi + 0x20], eax
jne 0x422de1
mov dword [0x43977c], 1
push dword [esp + 0x1c]
lea edx, [esp + 0x14]
push dword [esp + 0x28]
push dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0042cc93
mov ebx, dword [esp + 0x10]
jmp 0x41491f
lea eax, [esp + 0x78]
jmp 0x41492e
mov dword [esp + 0x38], 1
jmp 0x414c31
test al, 8
je 0x414c4f
cmp esi, 3
jne 0x414c4f
cmp dword [esp + 0x38], 0
mov dword [esp + 0x58], esi
jne 0x41494d
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x422e4e
test byte [ecx + 0x1c], 8
je 0x422e4e
or eax, 1
jmp 0x422e51
or eax, 2
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x1c], eax
jmp 0x41494d
cmp dword [esp + 0x58], 3
jne 0x41494d
or eax, 1
mov dword [edi + 0x1c], eax
jmp 0x41494d
test ecx, ecx
jne 0x422e88
mov eax, dword [edi + 0x1c]
and eax, 0xfffffffe
or eax, 2
mov dword [edi + 0x1c], eax
jmp 0x41495a
mov dword [edi + 0x1c], ecx
jmp 0x41495a
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 1
jne 0x414cdb
mov eax, dword [edi + 0x1c]
and eax, 0xfffffffe
or eax, 2
mov dword [edi + 0x1c], eax
jmp 0x414cdb
cmp esi, 3
jne 0x41498d
mov eax, dword [edi + 0x1c]
and eax, 0xfffffffe
test edx, edx
jne 0x422ecc
or eax, 2
jmp 0x422ece
or eax, edx
mov dword [edi + 0x1c], eax
jmp 0x41498d
mov eax, ecx
test edx, edx
jne 0x41499b
and eax, 0xfffffffe
or eax, 2
mov dword [edi + 0x1c], eax
jmp 0x41499b
cmp dword [esp + 0x38], 0
mov ecx, eax
jne 0x4149aa
test edx, edx
jne 0x4149aa
and ecx, 0xfffffffe
or ecx, 2
mov dword [edi + 0x1c], ecx
jmp 0x4149aa
mov ecx, dword [esi + 4]
call fcn.0042d574
test eax, eax
jne 0x422f39
mov ecx, dword [esp + 0x280]
test ecx, ecx
jne 0x422f2c
lea ecx, [esp + 0x78]
call fcn.0042d574
test eax, eax
jne 0x422f39
mov edx, eax
jmp 0x422f3c
xor edx, edx
inc edx
mov ecx, dword [esp + 0x280]
mov esi, dword [0x435630]
test ecx, ecx
jne 0x422f51
lea ecx, [esp + 0x78]
mov eax, dword [esp + 0x4c]
or eax, edi
or eax, 2
push eax
xor eax, eax
push eax
push edx
push 0x42bfc0
jmp 0x414a28
mov eax, dword [esp + 0x280]
test eax, eax
jne 0x422f78
lea eax, [esp + 0x78]
push dword [esp + 0x4c]
mov esi, dword [esp + 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_CopyFileW]
jmp 0x414a3c
lea ecx, [esp + 0x78]
jmp 0x414a18
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x439820], eax
cmp eax, 1
jne 0x422fc1
test ebx, ebx
je 0x422fc1
mov eax, dword [esi + 0x18]
test dword [eax], 0x400
je 0x422fc1
mov dword [0x439820], 0x40002730
mov ecx, dword [esp + 0x20]
call fcn.0040fa2d
mov eax, dword [esp + 0x3c]
mov esi, eax
mov ecx, dword [0x439820]
neg esi
sbb esi, esi
xor edi, edi
and esi, 0x1d
mov dword [0x439818], edi
test ecx, ecx
jne 0x422ff2
push 0x70
pop ecx
mov dword [0x439820], ecx
cmp dword [0x435614], edi
je 0x422ffe
mov esi, edi
jmp 0x423007
test eax, eax
jne 0x423007
call fcn.0042d440
cmp dword [esp + 0x50], edi
jne 0x423555
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x34], 1
jmp 0x414ae1
lea eax, [esp + 0x78]
jmp 0x414a5a
lea ecx, [esp + 0x78]
jmp 0x414a77
mov ecx, dword [esp + 0x280]
test ecx, ecx
jne 0x423047
lea ecx, [esp + 0x78]
push ecx
xor edx, edx
push ecx
inc edx
call fcn.0041736a
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp ebx, edi
je 0x4231bc
mov ecx, ebx
call fcn.0040cc8e
test eax, eax
jne 0x4231f4
push ebx
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FlushFileBuffers]
test eax, eax
je 0x423206
mov ecx, ebx
call fcn.0040fa2d
mov ecx, dword [esp + 0x280]
test ecx, ecx
jne 0x42309b
lea ecx, [esp + 0x78]
push ecx
push ecx
xor edx, edx
call fcn.0041736a
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp ebx, edi
je 0x4231bc
mov ecx, ebx
call fcn.0040cc8e
test eax, eax
jne 0x423206
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_1_0.dll_SetFilePointer]
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
lea eax, [esp + 0x60]
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_1_0.dll_GetFileSize]
mov esi, eax
lea eax, [esp + 0x64]
push eax
push ebx
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileSize]
cmp esi, eax
jne 0x423242
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x64]
jne 0x423242
xor eax, eax
mov edi, eax
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x34]
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_1_0.dll_ReadFile]
test eax, eax
je 0x4231ad
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4231ad
push ebx
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
xor ecx, ecx
push ecx
lea ecx, [esp + 0x6c]
push ecx
push esi
mov esi, dword [esp + 0x4c]
push esi
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x423213
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x68], eax
jne 0x423213
cmp dword [esp + 0x24], eax
je 0x423197
xor edi, edi
inc edi
push eax
push esi
push dword [esp + 0x30]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x423213
test edi, edi
je 0x42312f
mov ecx, ebx
call fcn.0040fa2d
or ebx, 0xffffffff
jmp 0x42326a
mov eax, dword [esp + 0x280]
test eax, eax
jne 0x4231cb
lea eax, [esp + 0x78]
push eax
push 1
push 0x4000271f
call fcn.004128ff
add esp, 0xc
jmp 0x414a93
lea eax, [esp + 0x78]
push eax
push 1
push 0x4000271f
call fcn.004128ff
add esp, 0xc
mov ecx, ebx
call fcn.0040fa2d
mov ebx, edi
mov dword [esp + 0x10], ebx
jmp 0x414a93
mov eax, dword [esp + 0x280]
test eax, eax
jne 0x4231e4
jmp 0x4231e0
mov ecx, ebx
call fcn.0040fa2d
mov eax, dword [esp + 0x280]
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
test eax, eax
jne 0x423230
lea eax, [esp + 0x78]
push eax
push 1
push 0x4000271f
call fcn.004128ff
add esp, 0xc
jmp 0x42326e
mov eax, dword [esp + 0x280]
test eax, eax
jne 0x423251
lea eax, [esp + 0x78]
push eax
push 1
push 0x4000271f
call fcn.004128ff
add esp, 0xc
mov ecx, ebx
call fcn.0040fa2d
mov ebx, edi
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x14]
jmp 0x414a93
cmp ebx, 0xffffffff
je 0x4232de
push ebx
call dword [sym.imp.msvcrt.dll__get_osfhandle]
pop ecx
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetEndOfFile]
cmp dword [0x439784], 0
jne 0x4232c4
cmp dword [0x43977c], 3
jne 0x4232c4
mov eax, dword [esi + 0x1c]
mov ecx, 0x4002
and eax, ecx
cmp eax, ecx
jne 0x4232c4
mov eax, dword [esp + 0x18]
sub eax, 2
push eax
mov dword [esp + 0x1c], eax
lea eax, [edi + 2]
push eax
push edi
call sub.msvcrt.dll_memmove
add esp, 0xc
mov edx, 0x4000
test dword [esi + 0x1c], edx
je 0x423338
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x423335
or dword [eax + 0x1c], edx
jmp 0x423338
mov ecx, dword [esp + 0x280]
test ecx, ecx
jne 0x4232ed
lea ecx, [esp + 0x78]
push ecx
xor edx, edx
push ecx
inc edx
call fcn.0041736a
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp ebx, 0xffffffff
jne 0x42328b
mov ecx, dword [esp + 0x20]
call fcn.0040fa2d
cmp dword [0x4397e0], 0
jne 0x42331f
mov ecx, dword [0x439820]
call fcn.0042d440
cmp dword [0x43977c], 3
jne 0x422c11
mov ecx, dword [esp + 0x1c]
jmp 0x423549
or dword [ecx + 0x1c], edx
mov eax, dword [0x439818]
test eax, eax
je 0x4233bc
cmp dword [esp + 0x18], 0
jle 0x414a93
mov eax, dword [esp + 0x280]
test eax, eax
jne 0x42335b
lea eax, [esp + 0x78]
push dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
push eax
push dword [esp + 0x20]
call fcn.0042cd57
cmp dword [0x439780], 0
je 0x414a93
mov ecx, ebx
call fcn.0040cc8e
test eax, eax
jne 0x414a93
mov edx, dword [esp + 0x280]
test edx, edx
jne 0x423398
lea edx, [esp + 0x78]
push dword [esp + 0x40]
lea ecx, [esp + 0x14]
push edi
push dword [esp + 0x20]
call fcn.0042c098
cmp eax, 1
jne 0x414a8f
mov ecx, dword [esp + 0x1c]
jmp 0x423549
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x20]
cmp ecx, 1
jne 0x423467
mov eax, dword [esp + 0x280]
test eax, eax
jne 0x4233dc
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x28]
mov ecx, ebx
push edi
push eax
push dword [esp + 0x20]
call fcn.0042cd57
cmp dword [0x439780], 0
je 0x423432
mov ecx, ebx
call fcn.0040cc8e
test eax, eax
jne 0x423432
mov edx, dword [esp + 0x280]
test edx, edx
jne 0x423410
lea edx, [esp + 0x78]
push dword [esp + 0x40]
lea ecx, [esp + 0x14]
push dword [esp + 0x2c]
push dword [esp + 0x20]
call fcn.0042c098
cmp eax, 1
je 0x423545
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x280]
test eax, eax
jne 0x423441
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x28]
mov ecx, edi
push eax
push ebx
push esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x34]
call fcn.00415780
mov ecx, eax
mov eax, dword [0x439818]
test eax, eax
je 0x4233c4
test eax, eax
je 0x414a93
cmp dword [esp + 0x18], 0
jle 0x414a93
cmp ecx, 1
jne 0x414a93
mov eax, dword [esp + 0x280]
test eax, eax
jne 0x423492
lea eax, [esp + 0x78]
push edi
mov edi, dword [esp + 0x2c]
mov ecx, ebx
push eax
push dword [esp + 0x20]
mov edx, edi
call fcn.0042cd57
cmp dword [0x439780], 0
je 0x414a93
mov ecx, ebx
call fcn.0040cc8e
test eax, eax
jne 0x414a93
mov edx, dword [esp + 0x280]
test edx, edx
jne 0x4234d0
lea edx, [esp + 0x78]
push dword [esp + 0x40]
lea ecx, [esp + 0x14]
push edi
push dword [esp + 0x20]
call fcn.0042c098
cmp eax, 1
jne 0x414a8f
mov ecx, dword [esp + 0x1c]
jmp 0x423549
mov ecx, ebx
call fcn.0040fa2d
mov eax, dword [esp + 0x280]
test eax, eax
jne 0x423507
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
mov dword [esp + 0x34], 1
jmp 0x414adb
push dword [edi]
push 0x403e30
call fcn.00408ec2
push 0x40208c
call fcn.00408ec2
mov ecx, dword [0x439820]
add esp, 0xc
call fcn.0042d440
mov ecx, dword [esp + 0x1c]
jmp 0x423549
mov ecx, dword [esp + 0x1c]
call fcn.00411bba
xor edx, edx
inc edx
xor ecx, ecx
jmp 0x42355a
xor edx, edx
mov ecx, esi
inc edx
call fcn.0042c182
xor ecx, ecx
push ecx
push eax
call fcn.004156ed
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
call fcn.0040fa2d
mov ecx, dword [esp + 0x1c]
call fcn.00411bba
lea ecx, [esp + 0x290]
call fcn.0040fce6
lea ecx, [esp + 0x4a8]
call fcn.0040fce6
lea ecx, [esp + 0x6c0]
call fcn.0040fce6
lea ecx, [esp + 0x78]
call fcn.0040fce6
xor eax, eax
inc eax
jmp 0x414b93
mov ecx, dword [esp + 0x1c]
call fcn.00411bba
cmp ebx, 0xffffffff
je 0x42357c
mov ecx, ebx
call fcn.0040fa2d
jmp 0x42357c
cmp ebx, 0xffffffff
je 0x414b25
xor eax, eax
mov edx, edi
push eax
push ebx
mov ecx, esi
call fcn.00415714
jmp 0x414b25