Function at 0x40e710
Capabilities:
Copy file
Create directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457e93
mov eax, dword fs:[0]
push eax
sub esp, 0x5a4
mov eax, dword [0x478990]
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 dword [ebp - 0x598], ecx
mov dword [ebp - 4], 0
call fcn.0041c8d4
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x40e76a
push 0x80004005
call fcn.00406820
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 1
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40e798
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x584], edi
mov byte [ebp - 4], 2
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40e7c8
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x580], eax
mov byte [ebp - 4], 3
push str.CopyFilesFromSIAConfigToPath
lea ecx, [ebp - 0x554]
mov dword [ebp - 0x554], 0
call fcn.00406740
mov byte [ebp - 4], 4
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40e816
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x57c], eax
mov byte [ebp - 4], 5
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40e846
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x590], ebx
mov byte [ebp - 4], 6
call fcn.0041c8d4
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40e876
push 0x80004005
call fcn.00406820
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x588], esi
mov byte [ebp - 4], 7
xorps xmm0, xmm0
lea ecx, [ebp - 0x68]
movlpd qword [ebp - 0x300], xmm0
movlpd qword [ebp - 0x2f8], xmm0
movlpd qword [ebp - 0x2f0], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0
call fcn.0041d199
mov byte [ebp - 4], 8
push 0xa
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x594], 0x65b
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
call fcn.00428c94
mov byte [ebp - 4], 9
push 0xa
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.00428c94
mov byte [ebp - 4], 0xa
push 0xa
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call fcn.00428c94
mov byte [ebp - 4], 0xb
push 0xa
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00428c94
mov byte [ebp - 4], 0xc
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x40eaf8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.00428cba
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00428cba
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00428cba
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.00428cba
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.0041d344
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 6
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40ea07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ea24
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x57c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ea47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x554]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ea6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x580]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ea8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40eaaa
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x58c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40eacd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40eaee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0xa0
jmp 0x40fbe9
mov eax, dword [0x47d090]
add eax, 0xfffffff0
push eax
call fcn.00406100
add eax, 0x10
add esp, 4
mov dword [ebp - 0x564], eax
push 0x468514
lea ecx, [ebp - 0x564]
mov byte [ebp - 4], 0xd
call fcn.004055a0
push 1
push 0x468514
lea ecx, [ebp - 0x564]
call fcn.00405d10
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00406100
add eax, 0x10
add esp, 4
mov dword [ebp - 0x55c], eax
push 0x468514
lea ecx, [ebp - 0x55c]
mov byte [ebp - 4], 0xe
call fcn.004055a0
push 1
push 0x468514
lea ecx, [ebp - 0x55c]
call fcn.00405d10
mov eax, dword [0x47d090]
add eax, 0xfffffff0
push eax
call fcn.00406100
add eax, 0x10
add esp, 4
mov dword [ebp - 0x578], eax
push 0x468514
lea ecx, [ebp - 0x578]
mov byte [ebp - 4], 0xf
call fcn.004055a0
push 0xb
push str.SIA.config
lea ecx, [ebp - 0x578]
call fcn.00405d10
mov ebx, dword [ebp - 0x578]
push 0
push ebx
lea ecx, [ebp - 0x68]
call fcn.0041d3e0
test eax, eax
jne 0x40eda6
push ebx
push str._Sia.config_file_was_not_found._Skip_copying_:__s
push dword [ebp - 0x554]
push 1
push 0x47d0b4
call fcn.00417de0
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
add esp, 0x14
mov byte [ebp - 4], 0xe
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40ec0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x55c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ec2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x564]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ec50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.00428cba
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00428cba
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00428cba
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.00428cba
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.0041d344
add esi, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ecaf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x590]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ecd2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x57c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ecf5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x554]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ed18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x580]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ed3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ed58
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x58c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ed7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40ed9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 2
jmp 0x40fbe9
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa8], 0
call fcn.00414080
push ebx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x10
call fcn.00414a30
push 0
mov byte [ebp - 4], 0x11
push 0
lea ecx, [ebp - 0x570]
mov dword [ebp - 0x570], 0
mov dword [ebp - 0x56c], 0
call fcn.00405de0
mov edi, eax
mov dword [ebp - 0x574], edi
mov dword [ebp - 0x570], edi
lea eax, [ebp - 0x5a8]
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x12
call fcn.00414520
mov esi, eax
lea eax, [ebp - 0x570]
cmp eax, esi
je 0x40ee97
mov ecx, eax
call fcn.00405bc0
mov ecx, dword [ebp - 0x570]
mov edi, dword [esi]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x56c]
mov eax, dword [esi + 4]
mov dword [ebp - 0x574], edi
mov dword [ebp - 0x570], edi
mov dword [ebp - 0x56c], eax
mov dword [esi + 4], ecx
lea ecx, [ebp - 0x5a8]
call fcn.00405bc0
push dword [ebp - 0x5a8]
call fcn.0041c5e2
mov esi, dword [edi]
add esp, 4
or ebx, 0xffffffff
cmp esi, edi
je 0x40f205
mov eax, dword [esi + 8]
lea edx, [esi + 8]
mov edi, dword [eax - 0xc]
test edi, edi
jns 0x40eed4
push 0x80070057
call fcn.00406820
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or eax, ecx
jge 0x40eef0
push edi
mov ecx, edx
call fcn.00406510
lea edx, [esi + 8]
lea eax, [edi + 1]
push eax
push dword [edx]
call fcn.0043f2a1
mov eax, dword [esi + 8]
add esp, 8
cmp edi, dword [eax - 8]
jg 0x40eeca
mov dword [eax - 0xc], edi
mov eax, dword [esi + 8]
xor ecx, ecx
mov word [eax + edi*2], cx
mov edi, dword [esi + 8]
sub edi, 0x10
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x40ef39
cmp ecx, dword [edi]
jne 0x40ef39
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40ef82
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x568], edx
test edx, edx
jne 0x40ef53
call fcn.004064c0
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.0043e897
mov edi, dword [ebp - 0x568]
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x5a4], edi
mov byte [ebp - 4], 0x13
mov ecx, str.INSTALL
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40efbc
test dx, dx
je 0x40efb8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40efbc
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ef96
xor eax, eax
jmp 0x40efc1
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x40f1db
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], 0
jl 0x40f138
push 0x46b054
push eax
call fcn.0043ed4c
add esp, 8
test eax, eax
je 0x40f138
sub eax, dword [esi + 0xc]
sar eax, 1
js 0x40f138
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x564]
push eax
lea eax, [ebp - 0x5b0]
push eax
call fcn.00405730
add esp, 0xc
lea ecx, [ebp - 0x550]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x5b0]
add ecx, 0xfffffff0
mov dword [ebp - 0x568], ecx
mov dword [ebp - 0x560], eax
add ecx, 0xc
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f060
mov edx, dword [ebp - 0x568]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x560]
lea esp, [esp]
cmp eax, 0xffffffff
je 0x40f1db
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x564]
push eax
lea eax, [ebp - 0x5ac]
push eax
call fcn.004057f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
call fcn.00428cea
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x5ac]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f0b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x524]
push eax
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x59c]
push eax
call fcn.004057f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x15
call fcn.00428cea
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x59c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f106
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.00428cea
lea eax, [ebp - 0x550]
push eax
push dword [ebp - 0x560]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x560]
jne 0x40f060
jmp 0x40f1db
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x564]
push eax
lea eax, [ebp - 0x5a0]
push eax
call fcn.00405730
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call fcn.00428cea
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x5a0]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f182
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.00405730
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x17
call fcn.00428cea
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x558]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f1cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x30]
call fcn.00428cea
add edi, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f1f8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
mov edi, dword [ebp - 0x574]
jmp 0x40eeb5
push 0x46b058
lea eax, [ebp - 0x558]
push 0x47d098
push eax
call fcn.004057f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x18
call fcn.00428cea
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x558]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f24e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x46b058
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.004057f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x19
call fcn.00428cea
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x558]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f29c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.mandatory
lea ecx, [ebp - 0x30]
call fcn.00428d21
cmp dword [0x47d000], 0
je 0x40f313
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x40f2cd
push dword [ebp + 8]
push str._Directory_is_created_:__s
jmp 0x40f2dc
cmp eax, 0xb7
jne 0x40f2f3
push dword [ebp + 8]
push str._Directory_is_already_created_:__s
push dword [ebp - 0x554]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x14
jmp 0x40f32d
push eax
push dword [ebp + 8]
push str._Directory_could_not_be_created__Directory___s_Errorcode___d
push dword [ebp - 0x554]
push 1
push 0x47d0b4
call fcn.00417de0
add esp, 0x18
jmp 0x40f32d
push str._Directory_could_not_be_created__function_SHCreateDirectory_is_not_available_
push dword [ebp - 0x554]
push 1
push 0x47d0b4
call fcn.00417de0
add esp, 0x10
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x574], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x568], eax
test ecx, ecx
je 0x40f9ad
mov esi, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x560], ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40f37b
cmp ecx, dword [esi - 0x10]
jne 0x40f37b
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40f3b5
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x40f38f
call fcn.004064c0
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0043e897
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x5a4], edi
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x574]
mov esi, eax
test eax, eax
jne 0x40f3d3
call fcn.0041cb80
mov esi, dword [esi + 8]
mov eax, dword [eax]
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x574], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40f404
cmp ecx, dword [esi - 0x10]
jne 0x40f404
lea ebx, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40f43e
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x40f418
call fcn.004064c0
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0043e897
add esp, 0x10
lea esi, [ebx + 0x10]
mov dword [ebp - 0x5a0], esi
mov eax, dword [ebp - 0x568]
mov byte [ebp - 4], 0x1b
mov ebx, eax
test eax, eax
jne 0x40f45c
call fcn.0041cb80
mov ebx, dword [ebx + 8]
mov eax, dword [eax]
mov ecx, dword [ebx - 0x10]
sub ebx, 0x10
mov dword [ebp - 0x568], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x40f48c
cmp ecx, dword [ebx]
jne 0x40f48c
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40f4d5
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x558], edx
test edx, edx
jne 0x40f4a6
call fcn.004064c0
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ebx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.0043e897
mov ebx, dword [ebp - 0x558]
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x59c], ebx
push 0
push esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1c
call fcn.0041d3e0
test eax, eax
je 0x40f521
push 0
lea eax, [ebp - 0x300]
push eax
push esi
call fcn.0042956e
mov eax, dword [ebp - 0x2e0]
and eax, 0xfffffffe
or eax, 0x20
mov dword [ebp - 0x2e0], eax
push 0
lea eax, [ebp - 0x300]
push eax
push esi
call fcn.00429750
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40f8e8
push str.mandatory
push ebx
call fcn.00440cbb
add esp, 8
test eax, eax
jns 0x40f853
push ecx
mov ecx, esp
push str.FileNotFound
call fcn.00406740
mov eax, dword [ebp - 0x598]
lea ecx, [ebp - 0x558]
push ecx
lea ecx, [eax + 0x1ac]
call fcn.00403bd0
push eax
lea ecx, [ebp - 0x588]
mov byte [ebp - 4], 0x1d
call fcn.00406090
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x558]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f5a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
push dword [ebp - 0x588]
lea eax, [ebp - 0x584]
push eax
call fcn.00405f50
add esp, 0xc
push esi
push edi
push str._Copy__s_to__s_is_failed
push dword [ebp - 0x554]
push 0
push 0x47d0b4
call fcn.00417de0
add esp, 0x18
cmp byte [ebp + 0xc], 0
jne 0x40f5f4
push ecx
mov ecx, dword [ebp - 0x598]
push 0x10
push dword [ebp - 0x584]
lea ecx, [ecx + 0x1ac]
call fcn.00404b60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x598]
lea edx, [ebx - 0x10]
mov dword [ecx + 0xd0], eax
or ebx, 0xffffffff
mov byte [ebp - 4], 0x1b
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f626
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x1a
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f643
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f660
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x570]
call fcn.00405bc0
push dword [ebp - 0x570]
call fcn.0041c5e2
add esp, 4
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xf
call fcn.004141a0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x578]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f6ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x55c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f6ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x564]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f6f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.00428cba
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00428cba
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00428cba
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.00428cba
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.0041d344
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x588]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f756
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x590]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f779
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x57c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f79c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x554]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f7bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x580]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f7e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x584]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f805
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x58c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f828
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40f849
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x12
jmp 0x40fbe9
push esi
push edi
push str._Copy_of_optional_file__s_to__s_is_failed.
push dword [ebp - 0x554]
push 1
push 0x47d0b4
call fcn.00417de0
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
add esp, 0x18
mov dword [ebp - 0x594], 0
mov byte [ebp - 4], 0x1b
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f899
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x1a
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f8b6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
mov ecx, dword [ebp - 0x560]
jg 0x40f342
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x560]
jmp 0x40f342
push esi
push edi
push str._Copy__s_to__s
push dword [ebp - 0x554]
push 8
push 0x47d0b4
call fcn.00417de0
add esp, 0x18
lea eax, [ebp - 0x300]
push 0
push eax
push esi
mov dword [ebp - 0x594], 0
call fcn.0042956e
mov eax, dword [ebp - 0x2e0]
and eax, 0xfffffffe
or eax, 0x20
mov dword [ebp - 0x2e0], eax
push 0
lea eax, [ebp - 0x300]
push eax
push esi
call fcn.00429750
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 0x1b
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f95e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x1a
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40f97b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
mov ecx, dword [ebp - 0x560]
jg 0x40f342
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x560]
jmp 0x40f342
lea ecx, [ebp - 0x570]
call fcn.00405bc0
push dword [ebp - 0x570]
call fcn.0041c5e2
mov edi, dword [ebp - 0x594]
add esp, 4
mov dword [ebp - 4], 0x10
jmp 0x40fa0f
lea ecx, [ebp - 0x68]
call fcn.0041d394
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xf
call fcn.004141a0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x578]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fa49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x55c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fa6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x564]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fa8f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.00428cba
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00428cba
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call fcn.00428cba
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.00428cba
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.0041d344
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x588]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40faf4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x590]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fb17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x57c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fb3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x554]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fb5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x580]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fb80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x584]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fba3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x58c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40fbc6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40fbe7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0043e7dc
mov esp, ebp
pop ebp
ret 8