Function at 0x40b660
Capabilities:
Delete file
Read file on windows
Resolve function by parsing pe exports
Set file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4460d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x520
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x38], ecx
xor ebx, ebx
push 0x4000
mov dword [esp + 0x53c], 2
mov dword [esp + 0x88], ebx
mov byte [esp + 0x37], bl
call fcn.0042cfe8
add esp, 4
cmp eax, ebx
mov dword [esp + 0x74], eax
jne 0x40b6d9
push str.Error_SDC_1001_:_out_of_memory
mov ecx, 0x464280
call fcn.004267aa
push 0x403390
push 0xa
mov ecx, eax
call fcn.00426566
mov ecx, eax
call fcn.00403370
jmp 0x40be25
lea eax, [esp + 0x34]
push 0x40
push eax
lea ecx, [esp + 0x568]
call fcn.0042ae4e
mov ecx, dword [0x45d440]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x130]
push 0x400
push edx
push ebx
mov byte [esp + 0x544], 4
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebx
je 0x40b727
lea eax, [esp + 0x130]
lea ecx, [esp + 0x1c]
push eax
call fcn.0042d430
push str..log
lea ecx, [esp + 0x20]
call fcn.0042d683
lea ecx, [esp + 0x60]
call fcn.004323d2
mov ecx, dword [esp + 0x1c]
push ebx
push 0x1001
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x544], 5
call fcn.00432447
push str.Unpacking_File:
lea ecx, [esp + 0x64]
call fcn.004325ba
mov edx, dword [esp + 0x540]
lea ecx, [esp + 0x60]
push edx
call fcn.004325ba
push 0x459a04
lea ecx, [esp + 0x64]
call fcn.004325ba
mov eax, dword [esp + 0x540]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0x8000080
push 4
push ebx
push ebx
push SysReAllocStringLen
push eax
call esi
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40b7d7
mov ecx, dword [esp + 0x540]
push str._for_input
push ecx
push str.Error_SDC_1002_:_unable_to_open
mov ecx, 0x464280
call fcn.004267aa
mov ecx, eax
call fcn.004267aa
mov ecx, eax
jmp 0x40bdcf
mov edx, dword [esp + 0x560]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], ebx
xor edi, edi
mov eax, dword [edx - 8]
mov byte [esp + 0x80], 1
cmp eax, 0x32
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x3c], ebx
jle 0x40b9af
lea eax, [esp + 0x560]
lea ecx, [esp + 0x28]
push eax
call fcn.0042d01c
lea ecx, [esp + 0x18]
push 0x40
push ecx
lea ecx, [esp + 0x568]
mov byte [esp + 0x540], 6
call fcn.0042ae4e
mov eax, dword [eax]
push 0x4603c0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x540], 7
call fcn.0042abd9
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 6
call fcn.0042d2a7
mov edx, dword [esp + 0x28]
push edx
call fcn.0041ba4a
add esp, 4
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x540]
lea ecx, [esp + 0x18]
push str..tmp
push eax
push ecx
mov dword [esp + 0x48], 1
call fcn.0042d53c
mov eax, dword [eax]
push ebx
push 0x8000080
push 4
push ebx
push ebx
push 0xc0000000
push eax
call esi
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.0042d2a7
lea edx, [esp + 0x24]
push ebx
push edx
lea eax, [esp + 0x18]
push 4
push eax
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0042cfe8
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push ebx
push edx
push eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x4c]
call fcn.0040ab60
lea ecx, [esp + 0x18]
push 0x20
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x540], 8
call fcn.0042add2
push 0x20
mov byte [esp + 0x53c], 9
push 0x20
push 0x20
mov ecx, eax
call fcn.0042d6d7
push eax
lea ecx, [esp + 0x58]
call fcn.0040aba0
push eax
lea ecx, [esp + 0x54]
call fcn.0040b3d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 8
call fcn.0042d2a7
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push edx
push esi
push esi
call fcn.0040b520
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push ebx
push eax
push ecx
push esi
push edi
mov dword [esp + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call fcn.0042d011
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x538], 6
call fcn.0040ab80
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 5
call fcn.0042d2a7
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40ba4b
mov eax, dword [esp + 0x544]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x40b9d1
push 0x4587d0
lea ecx, [esp + 0x548]
call fcn.0042d683
lea edx, [esp + 0x94]
push ebx
push edx
lea eax, [esp + 0x90]
push 4
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x88]
cmp eax, 0xa9
je 0x40ba62
cmp eax, 0xc4
mov dword [esp + 0x24], 1
jne 0x40ba19
cmp dword [esp + 0x55c], ebx
je 0x40ba19
mov byte [esp + 0x80], 1
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
cmp dword [esp + 0x24], ebx
je 0x40bbc5
mov ecx, dword [esp + 0x540]
push ebx
push 0x8000080
push 4
push ebx
push ebx
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40ba68
mov edx, dword [esp + 0x540]
push str._for_input
push edx
jmp 0x40b7ba
mov dword [esp + 0x24], ebx
jmp 0x40ba19
cmp dword [esp + 0x3c], ebx
je 0x40bd9c
lea eax, [esp + 0x18]
push 0x20
push eax
lea ecx, [esp + 0x568]
call fcn.0042ae4e
push 0x20
push 0x20
mov ecx, eax
mov byte [esp + 0x540], 0xa
call fcn.0042d6d7
mov ecx, dword [esp + 0x3c]
push eax
push edi
call fcn.0040a430
test al, al
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 5
sete byte [esp + 0x17]
call fcn.0042d2a7
cmp byte [esp + 0x17], bl
je 0x40bb99
push ebp
call esi
push str.Error_SDC_1003_:_failed_to_load_package_header
mov ecx, 0x464280
call fcn.004267aa
push 0x403390
push 0xa
mov ecx, eax
call fcn.00426566
mov ecx, eax
call fcn.00403370
lea ecx, [esp + 0x60]
call fcn.00432777
push edi
call esi
lea ecx, [esp + 0x540]
push str..tmp
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0042d53c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
call fcn.0042d2a7
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00432404
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 3
call fcn.0042d2a7
lea ecx, [esp + 0x34]
mov byte [esp + 0x538], 2
call fcn.0042d2a7
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042d2a7
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042d2a7
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042d2a7
xor eax, eax
jmp 0x40c83c
push edi
call esi
lea eax, [esp + 0x540]
push str..tmp
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0042d53c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
call fcn.0042d2a7
xor esi, esi
lea ecx, [esp + 0xf8]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebx
call fcn.00409a80
mov eax, dword [esp + 0x38]
xor edi, edi
mov byte [esp + 0x538], 0xb
cmp dword [eax + 0x18], ebx
jle 0x40bc42
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x28]
add edx, ecx
lea ecx, [esp + 0xf8]
push edx
call fcn.00409aa0
mov edx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x38]
add esi, edx
mov edx, dword [esp + 0x28]
adc ecx, ebx
inc edi
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x18]
add edx, 0x38
cmp edi, ecx
mov dword [esp + 0x28], edx
jl 0x40bbfa
mov dword [esp + 0x4c], esi
mov ecx, dword [esp + 0x38]
call fcn.00409f30
mov eax, dword [esp + 0x554]
cmp eax, ebx
je 0x40bc67
mov ecx, dword [esp + 0x550]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, byte [esp + 0x558]
mov esi, dword [esp + 0x38]
cmp al, bl
jne 0x40bee6
cmp dword [esi + 0x20], ebx
je 0x40be78
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], bl
call fcn.00401000
lea edx, [esp + 0x24]
mov byte [esp + 0x538], 0xc
push edx
push ebp
mov dword [esp + 0x2c], ebx
call fcn.00401040
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x2c]
add esp, 8
cmp eax, ecx
je 0x40be6a
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x540]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.Error_SDC_1010_:_CRC_not_valid
mov ecx, 0x464280
call fcn.004267aa
push 0x403390
push 0xa
mov ecx, eax
call fcn.00426566
mov ecx, eax
call fcn.00403370
lea ecx, [esp + 0x60]
call fcn.00432777
lea ecx, [esp + 0x3c]
mov byte [esp + 0x538], 0xb
call fcn.00401030
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 5
call fcn.00405620
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00432404
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 3
call fcn.0042d2a7
lea ecx, [esp + 0x34]
mov byte [esp + 0x538], 2
call fcn.0042d2a7
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042d2a7
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042d2a7
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042d2a7
or eax, 0xffffffff
jmp 0x40c83c
mov edx, dword [esp + 0x560]
push edx
call fcn.0041ba4a
mov ecx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x7c], eax
push ebp
call fcn.0040a010
test al, al
jne 0x40bbc5
push ebp
call esi
push str.Error_SDC_1003_:_failed_to_load_package_header
mov ecx, 0x464280
call fcn.004267aa
push 0x403390
push 0xa
mov ecx, eax
call fcn.00426566
mov ecx, eax
call fcn.00403370
lea ecx, [esp + 0x60]
call fcn.00432777
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00432404
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 3
call fcn.0042d2a7
lea ecx, [esp + 0x34]
mov byte [esp + 0x538], 2
call fcn.0042d2a7
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042d2a7
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042d2a7
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042d2a7
xor eax, eax
jmp 0x40c83c
mov byte [esp + 0x538], 0xb
lea ecx, [esp + 0x3c]
jmp 0x40bee1
cmp dword [esp + 0x55c], ebx
je 0x40beb2
lea ecx, [esp + 0x44]
call fcn.00401000
lea edx, [esp + 0x18]
mov byte [esp + 0x538], 0xd
push edx
push ebp
mov dword [esp + 0x20], ebx
call fcn.00401040
add esp, 8
mov byte [esp + 0x538], 0xb
lea ecx, [esp + 0x44]
jmp 0x40bee1
lea ecx, [esp + 0x44]
call fcn.00401000
lea eax, [esp + 0x18]
mov byte [esp + 0x538], 0xe
push eax
push ebp
mov dword [esp + 0x20], ebx
call fcn.00401040
add esp, 8
mov byte [esp + 0x538], 0xb
lea ecx, [esp + 0x44]
call fcn.00401030
mov ecx, dword [0x45d440]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x538], 0xf
call fcn.00409a80
lea edx, [esp + 0xbc]
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x540], 0x10
call fcn.00409f40
test al, al
je 0x40c4fb
lea ecx, [esp + 0x98]
call fcn.00409a00
mov ecx, dword [esp + 0x54c]
mov dl, byte [ecx]
lea ecx, [esp + 0x98]
mov byte [esp + 0x17], dl
call fcn.00409a30
cmp byte [esp + 0x17], bl
jne 0x40c4e5
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.0042d01c
mov ecx, esi
call fcn.0040d1d0
lea ecx, [esp + 0x544]
mov byte [esp + 0x33], al
push ecx
lea ecx, [esp + 0x30]
call fcn.0042d01c
mov edx, dword [esp + 0x40]
mov byte [esp + 0x538], 0x11
cmp byte [edx], 0x5c
jne 0x40bfa0
push 0x5c
lea ecx, [esp + 0x30]
call fcn.0042b23c
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2c]
push eax
call fcn.0042d6bf
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0042d01c
lea edx, [esp + 0x20]
lea ecx, [esp + 0x54]
push edx
mov byte [esp + 0x53c], 0x12
call fcn.0042d01c
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 0x13
call fcn.0042d232
mov eax, dword [esp + 0x54]
mov edi, dword [eax - 8]
dec edi
cmp edi, ebx
jl 0x40c011
mov ecx, dword [esp + 0x54]
mov dl, byte [edi + ecx]
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], dl
mov eax, dword [esp + 0xa0]
push eax
call fcn.0042d6aa
dec edi
jns 0x40bfef
push 0x4587d0
lea ecx, [esp + 0x24]
call fcn.0042aee8
cmp eax, 0xffffffff
je 0x40c0f2
mov ecx, dword [0x45d440]
inc eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x20]
mov byte [esp + 0x538], 0x14
mov ecx, dword [edx - 8]
push ecx
push eax
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x28]
push eax
call fcn.0042ad3c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x53c], 0x15
call fcn.0042d3e0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x538], 0x14
call fcn.0042d2a7
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.0042d01c
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 0x16
call fcn.0042d232
mov edx, dword [esp + 0x3c]
mov edi, dword [edx - 8]
dec edi
cmp edi, ebx
jl 0x40c0c2
mov eax, dword [esp + 0x3c]
mov cl, byte [edi + eax]
mov byte [esp + 0x78], cl
mov edx, dword [esp + 0x78]
push edx
lea ecx, [esp + 0x14]
call fcn.0042d6aa
dec edi
jns 0x40c0a6
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.0042d3e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x538], 0x14
call fcn.0042d2a7
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 0x13
call fcn.0042d2a7
test byte [esp + 0xc0], 0x10
jbe 0x40c192
mov ecx, dword [0x45d440]
mov dword [esp + 0x10], ecx
push str.md__
lea ecx, [esp + 0x14]
mov byte [esp + 0x53c], 0x17
call fcn.0042d430
lea edx, [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.0042d6bf
push 0x45d34c
lea ecx, [esp + 0x14]
call fcn.0042d683
lea eax, [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
call fcn.0042d01c
push ebx
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x544], 0x18
call fcn.0042d01c
mov ecx, esi
call fcn.0040cf90
lea ecx, [esp + 0x44]
mov byte [esp + 0x538], 0x17
call fcn.0042d2a7
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 0x13
call fcn.0042d2a7
jmp 0x40c496
mov eax, dword [esp + 0x2c]
mov ecx, 0x464220
push eax
push str.Explode__
call fcn.004267aa
mov ecx, eax
call fcn.004267aa
push 0x403390
push 0xa
mov ecx, eax
call fcn.00426566
mov ecx, eax
call fcn.00403370
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0042d01c
push 1
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x544], 0x19
call fcn.0042d01c
mov ecx, esi
call fcn.0040cf90
mov eax, dword [esp + 0x2c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x2c]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40c602
mov edx, dword [esp + 0xe0]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push ebx
push ebx
push ebx
push esi
call edi
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x1c]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx + 0xc]
cmp byte [eax + edx*8 - 0x10], bl
je 0x40c315
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebx
call fcn.004033b0
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x54c]
mov edi, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x564]
push edi
push eax
mov eax, dword [esp + 0x568]
push ecx
push edx
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
push esi
push ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0x570], 0x1a
call fcn.004033c0
cmp eax, 0xffffffff
mov dword [esp + 0x84], eax
je 0x40c65b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
add edi, ecx
lea ecx, [esp + 0x24]
adc eax, ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov byte [esp + 0x538], 0x19
call fcn.00405620
jmp 0x40c3ce
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ebx
push 0x64
push ecx
push edx
mov dword [esp + 0x20], 0x4000
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], ebx
call fcn.0041b9a0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
mov edi, dword [esp + 0x74]
lea eax, [esp + 0x10]
push ebx
push eax
push 0x4000
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push ebx
push ecx
push eax
add edx, eax
push edi
push esi
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x5c]
add eax, edi
push edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x5c], eax
adc ecx, ebx
push edx
push ecx
push eax
mov dword [esp + 0x6c], ecx
call fcn.0041b9a0
mov ecx, dword [esp + 0x554]
cmp ecx, ebx
je 0x40c3c4
push eax
mov eax, dword [esp + 0x554]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esp + 0x10], ebx
ja 0x40c345
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xa4], edx
lea ecx, [esp + 0xa4]
mov dword [esp + 0xa8], eax
lea edx, [esp + 0xac]
push ecx
lea eax, [esp + 0xb8]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x40c467
push ebx
lea ecx, [esp + 0xf8]
push ebx
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x2c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 0x13
call fcn.0042d2a7
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x54]
mov byte [esp + 0x538], 0x12
call fcn.0042d2a7
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 0x11
call fcn.0042d2a7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x538], 0x10
call fcn.0042d2a7
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, esi
call fcn.00409f40
test al, al
jne 0x40bf28
cmp byte [esp + 0x33], bl
je 0x40c4fb
mov ecx, dword [esp + 0x548]
add esi, 0x40
push esi
call fcn.0042d3e0
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042d011
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x78]
call fcn.00409a00
mov edx, dword [esp + 0x54c]
lea ecx, [esp + 0x78]
mov al, byte [edx]
mov byte [esp + 0x17], al
call fcn.00409a30
mov al, byte [esp + 0x17]
lea ecx, [esp + 0x60]
cmp al, bl
jne 0x40c786
call fcn.00432777
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x538], 0xf
call fcn.00405620
lea ecx, [esp + 0x40]
mov byte [esp + 0x538], 0xb
call fcn.0042d2a7
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 5
call fcn.00405620
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00432404
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 3
call fcn.0042d2a7
lea ecx, [esp + 0x34]
mov byte [esp + 0x538], 2
call fcn.0042d2a7
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042d2a7
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042d2a7
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042d2a7
mov eax, 1
jmp 0x40c83c
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x60]
call fcn.00432777
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 0x13
call fcn.0042d2a7
lea ecx, [esp + 0x54]
mov byte [esp + 0x538], 0x12
call fcn.0042d2a7
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 0x11
call fcn.0042d2a7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x538], 0x10
call fcn.0042d2a7
jmp 0x40c78b
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call edi
push esi
call edi
lea ecx, [esp + 0x60]
call fcn.00432777
mov eax, dword [esp + 0x74]
push eax
call fcn.0042d011
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 0x19
call fcn.00405620
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 0x13
call fcn.0042d2a7
lea ecx, [esp + 0x54]
mov byte [esp + 0x538], 0x12
call fcn.0042d2a7
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 0x11
call fcn.0042d2a7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x538], 0x10
call fcn.0042d2a7
lea ecx, [esp + 0xbc]
mov byte [esp + 0x538], 0xf
call fcn.00405620
lea ecx, [esp + 0x40]
mov byte [esp + 0x538], 0xb
call fcn.0042d2a7
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 5
call fcn.00405620
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00432404
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 3
call fcn.0042d2a7
lea ecx, [esp + 0x34]
mov byte [esp + 0x538], 2
call fcn.0042d2a7
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042d2a7
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042d2a7
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042d2a7
mov eax, 0xfffffffe
jmp 0x40c83c
call fcn.00432777
lea ecx, [esp + 0xbc]
mov byte [esp + 0x538], 0xf
call fcn.00405620
lea ecx, [esp + 0x40]
mov byte [esp + 0x538], 0xb
call fcn.0042d2a7
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 5
call fcn.00405620
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00432404
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 3
call fcn.0042d2a7
lea ecx, [esp + 0x34]
mov byte [esp + 0x538], 2
call fcn.0042d2a7
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042d2a7
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042d2a7
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042d2a7
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x530]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x52c
ret 0x24