Function at 0x477524
Capabilities:
Contain obfuscated stackstrings
Copy file
Get file size
Move file
Read file on windows
Write file on windows

Disassembly:
push pe_nt_image_headers32
mov eax, 0x51f37e
call fcn.004d8af2
mov byte [ebp - 0x81], dl
mov eax, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp + 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], edi
and dword [ebp - 4], 0
mov eax, dword [0x57d3ec]
add eax, 0x54
mov byte [ebp - 0x9d], 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 5
call fcn.0044f24f
push str.Creating_installer...
mov esi, eax
call fcn.004ddaa2
pop ecx
push eax
push str.Creating_installer...
lea ecx, [esi + 0x44]
call fcn.00406efb
call fcn.0044f24f
lea ecx, [ebp - 0x9d]
mov byte [ebp - 4], 4
mov byte [eax + 0x1a9], 1
call fcn.0044f694
push str.installer.exe
lea edx, [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.00409442
pop ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
mov esi, dword [0x57d3ec]
add esi, 0xe8
mov dword [ebp - 0x8c], esi
call fcn.004282f6
mov byte [ebp - 4], 7
test edi, edi
je 0x4776ca
mov edx, edi
mov ecx, esi
call fcn.004044d6
test al, al
je 0x4776ca
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
sub eax, edi
jne 0x477637
push 0x2252
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 8
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
jmp 0x478efa
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x74]
mov edx, edi
mov dword [esi], eax
call fcn.0042a406
pop ecx
pop ecx
mov byte [ebp - 4], 9
cmp dword [ebp - 0x74], 0
jge 0x4776b6
cmp dword [ebp - 0x70], 0
mov eax, 0x2253
cmovne eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x74]
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x54]
mov dword [esi], eax
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x6c]
jmp 0x478efa
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x478235
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x80]
mov ecx, dword [ebp + 0x18]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esi
mov ecx, dword [ecx + 0x2c]
sub ecx, 0x10
call fcn.004070e7
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x74]
add eax, 0x10
mov dword [esi], eax
call fcn.00476373
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x74], 0
jge 0x4777ba
cmp dword [ebp - 0x70], 0
mov eax, 0x225b
cmovne eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x74]
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x54]
mov dword [esi], eax
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x478f02
mov eax, dword [ebp - 0x78]
sub eax, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], eax
cmp eax, 0x1000
jb 0x4777a1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00405c9b
mov eax, dword [ebp - 0x58]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x60]
push eax
push ecx
call fcn.004d840d
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
jmp 0x478f02
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x7c]
jne 0x477803
push 0x225c
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
jmp 0x477767
xor edx, edx
lea ecx, [ebp - 0x64]
call fcn.00428920
push 1
mov byte [ebp - 4], 0xf
push dword [ebp - 0x40]
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x47787a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x2261
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x10
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x64]
jmp 0x477767
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x74]
mov dword [esi], eax
call fcn.00475f9d
pop ecx
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x74], 0
jge 0x4778f5
cmp dword [ebp - 0x70], 0
mov eax, 0x2264
cmovne eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x74]
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x54]
mov dword [esi], eax
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x12
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x6c]
jmp 0x47786a
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
and dword [ebp - 0xb0], 0
lea ecx, [ebp - 0xa8]
and dword [ebp - 0xac], 0
call fcn.0040687a
lea ecx, [ebp - 0xa4]
call fcn.0040687a
push 0x34
mov byte [ebp - 4], 0x13
call fcn.004d8429
pop ecx
mov dword [ebp - 0x3c], eax
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00438772
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x13
call fcn.004b1878
mov edi, dword [ebp - 0xb0]
test edi, edi
jne 0x47799d
push 0x226e
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0xb0]
call fcn.00478f5f
jmp 0x477872
push dword [ebp + 0x18]
mov edx, edi
lea ecx, [ebp - 0x9c]
call fcn.004b3e13
pop ecx
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x9c], 0
jge 0x477a1c
cmp dword [ebp - 0x98], 0
mov eax, 0x226f
cmovne eax, dword [ebp - 0x98]
push eax
push dword [ebp - 0x9c]
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x94]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x54]
mov dword [esi], eax
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x94]
jmp 0x477985
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x94]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x477a72
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x477a72
mov eax, dword [esi + 8]
push ecx
mov dword [ebp - 0x88], eax
push dword [eax]
call fcn.004e370b
pop ecx
pop ecx
test eax, eax
je 0x477a64
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x10], 0
mov eax, dword [esi]
mov esi, eax
mov ecx, dword [ebp - 0x90]
cmp eax, dword [edi]
jne 0x477a40
mov ecx, edi
call fcn.00438cf4
lea eax, [ebp - 0xbc]
mov ecx, edi
push eax
call fcn.00438ee2
mov ecx, dword [ebp - 0xb4]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00405d6e
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00405d6e
cmp byte [ebp - 0x81], 0
push str.showselection
je 0x477b66
mov esi, dword [ebp - 0xb0]
lea ecx, [ebp - 0x5c]
add esi, 0x18
mov dword [ebp - 0x88], esi
call fcn.00406fea
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
call fcn.00409a0d
mov esi, eax
lea edi, [ebp - 0x54]
lea eax, [ebp - 0x5c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x4c]
call fcn.00409a5e
test al, al
jne 0x477b4f
mov edi, dword [ebp - 0x88]
cmp dword [edi + 4], 0xccccccc
je 0x478f59
lea eax, [ebp - 0x5c]
push eax
push dword [edi]
lea ecx, [ebp - 0xc4]
push edi
call fcn.004c1a6b
lea ecx, [ebp - 0xc4]
mov esi, dword [eax + 4]
and dword [eax + 4], 0
call fcn.004c0cd7
push esi
push dword [ebp - 0x50]
mov ecx, edi
push dword [ebp - 0x54]
call fcn.00409917
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov edi, dword [ebp - 0xb0]
jmp 0x477b9f
mov edi, dword [ebp - 0xb0]
lea ecx, [ebp - 0x58]
call fcn.00406fea
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [edi + 0x18]
call fcn.00409809
lea ecx, [edi + 0x18]
push dword [eax + 4]
push dword [eax]
call fcn.004b02be
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp byte [ebp + 0x20], 0
push str.auditonly
je 0x477c49
add edi, 0x18
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x88], edi
call fcn.00406fea
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0xbc]
mov ecx, edi
push eax
call fcn.00409a0d
mov esi, eax
lea edi, [ebp - 0x54]
lea eax, [ebp - 0x5c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x4c]
call fcn.00409a5e
test al, al
jne 0x477c32
mov edi, dword [ebp - 0x88]
cmp dword [edi + 4], 0xccccccc
je 0x478f59
lea eax, [ebp - 0x5c]
push eax
push dword [edi]
lea ecx, [ebp - 0xc4]
push edi
call fcn.004c1a6b
lea ecx, [ebp - 0xc4]
mov esi, dword [eax + 4]
and dword [eax + 4], 0
call fcn.004c0cd7
push esi
push dword [ebp - 0x50]
mov ecx, edi
push dword [ebp - 0x54]
call fcn.00409917
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov edi, dword [ebp - 0xb0]
jmp 0x477c7c
lea ecx, [ebp - 0x58]
call fcn.00406fea
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [edi + 0x18]
call fcn.00409809
lea ecx, [edi + 0x18]
push dword [eax + 4]
push dword [eax]
call fcn.004b02be
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp byte [ebp + 0x24], 0
push str.splitfiles
je 0x477d32
add edi, 0x18
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x88], edi
call fcn.00406fea
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0xbc]
mov ecx, edi
push eax
call fcn.00409a0d
mov esi, eax
lea edi, [ebp - 0x54]
lea eax, [ebp - 0x5c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x4c]
call fcn.00409a5e
test al, al
jne 0x477d0f
mov edi, dword [ebp - 0x88]
cmp dword [edi + 4], 0xccccccc
je 0x478f59
lea eax, [ebp - 0x5c]
push eax
push dword [edi]
lea ecx, [ebp - 0xc4]
push edi
call fcn.004c1a6b
lea ecx, [ebp - 0xc4]
mov esi, dword [eax + 4]
and dword [eax + 4], 0
call fcn.004c0cd7
push esi
push dword [ebp - 0x50]
mov ecx, edi
push dword [ebp - 0x54]
call fcn.00409917
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0x44]
push eax
add ecx, 0x14
call fcn.00405d6e
jmp 0x477d65
lea ecx, [ebp - 0x58]
call fcn.00406fea
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [edi + 0x18]
call fcn.00409809
lea ecx, [edi + 0x18]
push dword [eax + 4]
push dword [eax]
call fcn.004b02be
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x60]
call fcn.0040687a
push ecx
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x1b
push eax
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x54]
call fcn.004b3eef
pop ecx
pop ecx
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x54], 0
jge 0x477df3
cmp dword [ebp - 0x50], 0
mov eax, 0x22a2
cmovne eax, dword [ebp - 0x50]
push eax
push dword [ebp - 0x54]
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esi
mov edi, dword [ebp - 0x4c]
lea ecx, [edi - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0xec]
mov dword [esi], eax
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0xec]
push eax
mov byte [ebp - 4], 0x1d
call fcn.0040121b
mov ecx, dword [ebp - 0xe4]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [edi - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x60]
jmp 0x477985
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00407189
xor eax, eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0x1e
mov esi, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x74]
lea edi, [esi - 0x10]
mov eax, dword [edi + 4]
add eax, eax
push eax
call fcn.004ae76d
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x74]
je 0x477e44
push eax
push esi
push dword [ebp - 0x74]
call fcn.004d99b0
add esp, 0xc
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0xd0]
call fcn.00443d6d
pop ecx
mov byte [ebp - 4], 0x20
cmp dword [ebp - 0xd0], 0
jge 0x477f0c
cmp dword [ebp - 0xcc], 0
mov eax, 0x22ab
cmovne eax, dword [ebp - 0xcc]
push eax
push dword [ebp - 0xd0]
push ecx
mov esi, esp
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0xc8]
lea ecx, [ecx - 0x10]
call fcn.004070e7
add eax, 0x10
lea ecx, [ebp - 0x54]
mov dword [esi], eax
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x21
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xc8]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x74]
call fcn.00409384
lea ecx, [ebp - 0x9c]
call fcn.00409384
mov ecx, edi
call fcn.00407189
lea ecx, [ebp - 0xb0]
call fcn.00478f5f
mov ecx, dword [ebp - 0x64]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x80]
call fcn.00409384
jmp 0x478f02
mov ecx, dword [ebp - 0xc8]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x9c]
mov dword [ebp - 0x88], eax
jne 0x477f60
push 0x22ac
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
jmp 0x477ec7
push 0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov esi, eax
test esi, esi
jne 0x477fab
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x22b6
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x23
jmp 0x477f4c
push dword [ebp - 0x88]
push dword [ebp - 0x9c]
push 0
push str.IDR_CONFIG
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
test eax, eax
jne 0x478008
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x22bf
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x24
jmp 0x477f4c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
test eax, eax
jne 0x478052
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x22c1
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x25
jmp 0x477f4c
lea ecx, [ebp - 0x74]
call fcn.00409384
lea ecx, [ebp - 0x9c]
call fcn.00409384
mov ecx, edi
call fcn.00407189
lea ecx, [ebp - 0xb0]
call fcn.00478f5f
push 0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov esi, eax
test esi, esi
jne 0x4780dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x22cc
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x477ef4
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x80]
push eax
push dword [ebp - 0x80]
push 0
push str.IDR_ICONS
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
test eax, eax
jne 0x478134
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x22d5
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x27
jmp 0x4780c0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
test eax, eax
jne 0x47817e
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x22d7
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x28
jmp 0x4780c0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.00407189
mov edi, dword [ebp - 0x90]
test edi, edi
je 0x478229
mov esi, dword [ebp - 0x8c]
lea eax, [ebp - 0x40]
push 0
push ecx
mov ecx, esp
push eax
call fcn.00407166
lea edx, [esi + 4]
lea ecx, [ebp - 0x74]
call fcn.0042a7f9
pop ecx
pop ecx
mov byte [ebp - 4], 0x29
cmp dword [ebp - 0x74], 0
jge 0x47820e
cmp dword [ebp - 0x70], 0
mov eax, 0x22dc
cmovne eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push ecx
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0x54]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x2a
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x6c]
jmp 0x477ef7
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x8c]
push edi
call fcn.00406fbf
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.00409384
push 0x5444e8
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xdc]
call fcn.00409442
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2b
push ecx
mov edx, eax
lea ecx, [ebp - 0xe0]
call fcn.0040a037
push str..dat
mov edx, eax
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x68]
call fcn.00409442
add esp, 0xc
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xdc]
lea ecx, [ecx - 0x10]
call fcn.00407189
xor eax, eax
mov byte [ebp - 4], 0x30
push eax
push eax
cmp byte [ebp + 0x24], al
je 0x478375
push 1
push eax
push 1
push 0xc0000000
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x5c], esi
cmp esi, 0xffffffff
je 0x478329
test esi, esi
je 0x478329
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax - 0xc]
cmp ecx, 0x24
je 0x478306
push 0x22ed
push 0x80004005
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x32
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x478eec
add ecx, ecx
mov edx, esi
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.0042a260
pop ecx
pop ecx
mov ecx, dword [ebp - 0xb4]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x47839e
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x22eb
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x31
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
jmp 0x478edf
push 3
push eax
push 1
push 0xc0000000
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x5c], esi
cmp esi, 0xffffffff
je 0x478e8f
test esi, esi
je 0x478e8f
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4783ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x22f8
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x34
jmp 0x478361
mov edi, dword [ebp - 0x78]
push 0
push 0x14
push edi
push dword [ebp - 0x7c]
call fcn.0050fd30
mov ecx, eax
or ecx, edx
je 0x478419
push 0x14
pop ecx
sub ecx, eax
push 0
pop eax
sbb eax, edx
mov edx, dword [ebp - 0x7c]
add edx, ecx
mov dword [ebp - 0x7c], edx
adc edi, eax
mov dword [ebp - 0x78], edi
jmp 0x47841c
mov edx, dword [ebp - 0x7c]
push 0
push 0
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x47846a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x2302
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x35
jmp 0x478361
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0045654a
mov byte [ebp - 4], 0x36
cmp dword [ebp - 0x74], 0
jge 0x4784d1
cmp dword [ebp - 0x70], 0
mov eax, 0x2305
cmovne eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push ecx
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x37
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x6c]
jmp 0x478edf
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea eax, [ebp - 0x38]
mov edx, esi
push 0x14
push eax
lea ecx, [ebp - 0x74]
call fcn.0042a260
pop ecx
pop ecx
mov byte [ebp - 4], 0x38
cmp dword [ebp - 0x74], 0
jge 0x478527
cmp dword [ebp - 0x70], 0
mov eax, 0x2306
cmovne eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push ecx
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x39
jmp 0x4784b2
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00407189
push ecx
push 0x100000
lea ecx, [ebp - 0x9c]
call fcn.004ae76d
mov eax, dword [ebp + 0x2c]
mov byte [ebp - 4], 0x3a
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [ebp - 0x88], eax
cmp eax, ecx
je 0x47880e
push 5
lea esi, [eax + 0xe]
pop ecx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x64]
call fcn.0040687a
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042739c
mov byte [ebp - 4], 0x3c
cmp dword [ebp - 0xec], 0
jl 0x478adf
mov byte [ebp - 4], 0x3b
mov ecx, dword [ebp - 0xe4]
add ecx, 0xfffffff0
call fcn.00407189
mov eax, dword [0x57d3ec]
cmp byte [eax + 1], 0
jne 0x478abb
push 0x53d64c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x110]
call fcn.00409442
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x3e
push ecx
mov edx, eax
lea ecx, [ebp - 0x114]
call fcn.0040a037
pop ecx
pop ecx
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push 1
push 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x90], edi
mov ecx, dword [ebp - 0x114]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp - 0x110]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp edi, 0xffffffff
je 0x478a7e
test edi, edi
je 0x478a7e
lea eax, [ebp - 0xcc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4789f4
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0xcc]
push 8
push eax
mov edx, esi
lea ecx, [ebp - 0xac]
call fcn.0042a260
pop ecx
pop ecx
mov byte [ebp - 4], 0x43
cmp dword [ebp - 0xac], 0
jl 0x47899d
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp - 0xa4]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea eax, [ebp - 0x24]
mov edx, esi
push 0x14
push eax
lea ecx, [ebp - 0xfc]
call fcn.0042a260
pop ecx
pop ecx
mov byte [ebp - 4], 0x45
cmp dword [ebp - 0xfc], 0
jl 0x478946
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp - 0xf4]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea eax, [ebp - 0x81]
mov byte [ebp - 0x81], 0
push 1
push eax
mov edx, esi
lea ecx, [ebp - 0x74]
call fcn.0042a260
pop ecx
pop ecx
mov byte [ebp - 4], 0x47
cmp dword [ebp - 0x74], 0
jl 0x4788cd
mov byte [ebp - 4], 0x40
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x9c]
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x98]
and dword [ebp - 0x60], 0
sub eax, ecx
push 0
push edx
push eax
push ecx
push edi
mov dword [ebp - 0xd8], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x478890
cmp dword [ebp - 0x60], 0
je 0x4787d0
and dword [ebp - 0xf0], 0
lea eax, [ebp - 0xf0]
push 0
push eax
push dword [ebp - 0x60]
push dword [ebp - 0xd8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0x60]
je 0x4786f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x232d
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x4a
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x90]
call fcn.00427477
mov ecx, dword [ebp - 0x64]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x9c]
call fcn.00409384
jmp 0x478ee7
lea ecx, [ebp - 0x90]
call fcn.00427477
mov byte [ebp - 4], 0x3a
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.00407189
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x88]
call fcn.004a932a
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ebp - 0x88]
cmp eax, dword [ecx]
jne 0x478560
and dword [ebp - 0xc4], 0
lea eax, [ebp - 0xc4]
and dword [ebp - 0xc0], 0
lea ecx, [ebp - 0x54]
push 8
push eax
mov edx, esi
call fcn.0042a260
pop ecx
pop ecx
mov byte [ebp - 4], 0x4b
cmp dword [ebp - 0x54], 0
jge 0x478b3e
cmp dword [ebp - 0x50], 0
mov eax, 0x2335
cmovne eax, dword [ebp - 0x50]
push eax
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
push ecx
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0xbc]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0x4c
call fcn.0040121b
mov ecx, dword [ebp - 0xb4]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x4c]
jmp 0x4787b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x2327
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x49
jmp 0x478793
cmp dword [ebp - 0x70], 0
mov eax, 0x2320
cmovne eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push ecx
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0x54]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x48
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x90]
call fcn.00427477
mov ecx, dword [ebp - 0x64]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x9c]
call fcn.00409384
lea ecx, [ebp - 0x5c]
call fcn.00427477
jmp 0x478ef7
cmp dword [ebp - 0xf8], 0
mov eax, 0x231d
cmovne eax, dword [ebp - 0xf8]
push eax
push dword [ebp - 0xfc]
lea eax, [ebp - 0xf4]
push ecx
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0x54]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x46
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xf4]
jmp 0x4787a2
cmp dword [ebp - 0xa8], 0
mov eax, 0x231b
cmovne eax, dword [ebp - 0xa8]
push eax
push dword [ebp - 0xac]
lea eax, [ebp - 0xa4]
push ecx
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0x54]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x44
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xa4]
jmp 0x4787a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x231a
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x42
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x90]
call fcn.00427477
mov ecx, dword [ebp - 0x64]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x9c]
call fcn.00409384
mov eax, dword [ebp - 0x5c]
cmp eax, 0xffffffff
je 0x478ef7
test eax, eax
je 0x478ef7
push eax
jmp 0x478ef1
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x2318
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0x54]
call fcn.00406620
mov byte [ebp - 4], 0x41
jmp 0x478a2c
push 0x2314
push 0x80004004
push ecx
mov ecx, esp
push str.User_abort
call fcn.00406fea
mov ecx, dword [ebp - 0x48]
call fcn.00406620
jmp 0x478a4e
cmp dword [ebp - 0xe8], 0
mov eax, 0x2311
cmovne eax, dword [ebp - 0xe8]
push eax
push dword [ebp - 0xec]
lea eax, [ebp - 0xe4]
push ecx
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0x54]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x3d
call fcn.0040121b
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xe4]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x478a4e
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x9c]
call fcn.00409384
mov byte [ebp - 4], 0x2f
cmp esi, 0xffffffff
je 0x478b68
test esi, esi
je 0x478b68
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xd4]
call fcn.004282f6
mov esi, eax
push 0x53d64c
push ecx
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 0x4d
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0x104]
call fcn.004295ad
pop ecx
mov edx, eax
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x100]
call fcn.00409442
push esi
mov edx, eax
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 0x118]
call fcn.0040a037
mov edi, 0x5444ec
mov byte [ebp - 4], 0x50
push edi
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.00409442
add esp, 0xc
mov ecx, dword [ebp - 0x118]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x100]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x104]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov byte [ebp - 4], 0x55
mov ecx, dword [ebp - 0xd4]
lea ecx, [ecx - 0x10]
call fcn.00407189
lea ecx, [ebp - 0x10c]
call fcn.004282f6
mov esi, eax
push 0x53d64c
push ecx
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 0x56
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0x108]
call fcn.004295ad
pop ecx
mov edx, eax
mov byte [ebp - 4], 0x57
lea ecx, [ebp - 0xe0]
call fcn.00409442
push esi
mov edx, eax
mov byte [ebp - 4], 0x58
lea ecx, [ebp - 0xdc]
call fcn.0040a037
mov byte [ebp - 4], 0x59
lea ecx, [ebp - 0x8c]
push edi
mov edx, eax
call fcn.00409442
add esp, 0xc
mov ecx, dword [ebp - 0xdc]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x108]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov byte [ebp - 4], 0x5e
mov ecx, dword [ebp - 0x10c]
add ecx, 0xfffffff0
call fcn.00407189
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
push dword [ebp - 0x5c]
push dword [ebp - 0x40]
call esi
test eax, eax
jne 0x478d38
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x2343
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0xbc]
call fcn.00406620
mov byte [ebp - 4], 0x5f
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0xbc]
push eax
call fcn.0040121b
mov ecx, dword [ebp - 0xb4]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x8c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
jmp 0x478ef7
cmp byte [ebp + 0x24], 0
je 0x478d8f
push 2
push dword [ebp - 0x8c]
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x478d8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x2345
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0xbc]
call fcn.00406620
mov byte [ebp - 4], 0x60
jmp 0x478cfd
push 1
push dword [ebp + 0x14]
push dword [ebp - 0x5c]
call esi
test eax, eax
jne 0x478dd8
call fcn.00406710
mov ecx, dword [ebp - 0x5c]
mov esi, eax
call fcn.00428a7e
cmp byte [ebp + 0x24], 0
je 0x478dbd
mov ecx, dword [ebp - 0x8c]
call fcn.00428a7e
push 0x234f
push esi
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, dword [ebp - 0x48]
call fcn.00406620
jmp 0x478d1a
push str..dat
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.00407166
lea ecx, [ebp - 0x3c]
call fcn.0042960a
pop ecx
mov edx, eax
mov byte [ebp - 4], 0x61
lea ecx, [ebp - 0x58]
call fcn.00409442
pop ecx
mov byte [ebp - 4], 0x63
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp byte [ebp + 0x24], 0
je 0x478e5f
push 1
push dword [ebp - 0x58]
push dword [ebp - 0x8c]
call esi
test eax, eax
jne 0x478e5f
call fcn.00406710
mov ecx, dword [ebp - 0x8c]
mov esi, eax
call fcn.00428a7e
mov ecx, dword [ebp + 0x14]
call fcn.00428a7e
push 0x2357
push esi
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, dword [ebp - 0x48]
call fcn.00406620
mov ecx, dword [ebp - 0x58]
jmp 0x478d12
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x8c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x5c]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x48]
push 0
call fcn.00406602
jmp 0x478ef7
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
push 0x22f1
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovs eax, ecx
push eax
push ecx
mov ecx, esp
call fcn.0040687a
lea ecx, [ebp - 0xbc]
call fcn.00406620
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 0x33
call fcn.0040121b
mov ecx, dword [ebp - 0xb4]
lea ecx, [ecx - 0x10]
call fcn.00407189
cmp esi, 0xffffffff
je 0x478ef7
test esi, esi
je 0x478ef7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00407189
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x478f50
call fcn.00405adf
mov eax, dword [ebp - 0x48]
call fcn.004d8aa1
ret
call fcn.00409e63
int3