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

Disassembly:
push 0xffffffffffffffff
push 0x447110
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 + 0x3c], ecx
xor ebx, ebx
push 0x4000
mov dword [esp + 0x53c], 2
mov dword [esp + 0x88], ebx
mov byte [esp + 0x3b], bl
call fcn.0042e02a
add esp, 4
cmp eax, ebx
mov dword [esp + 0x74], eax
jne 0x40b679
push str.Error_SDC_1001_:_out_of_memory
mov ecx, 0x467338
call fcn.00427794
push 0x403350
push 0xa
mov ecx, eax
call fcn.00427550
mov ecx, eax
call fcn.00403330
jmp 0x40bdc3
lea eax, [esp + 0x30]
push 0x40
push eax
lea ecx, [esp + 0x568]
call fcn.0042be3e
mov ecx, dword [0x45e450]
mov dword [esp + 0x20], 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 0x40b6c7
lea eax, [esp + 0x130]
lea ecx, [esp + 0x20]
push eax
call fcn.0042e472
push str..log
lea ecx, [esp + 0x24]
call fcn.0042e6c5
lea ecx, [esp + 0x60]
call fcn.00433432
mov ecx, dword [esp + 0x20]
push ebx
push 0x1001
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x544], 5
call fcn.004334a7
push str.Unpacking_File:
lea ecx, [esp + 0x64]
call fcn.0043361a
mov edx, dword [esp + 0x540]
lea ecx, [esp + 0x60]
push edx
call fcn.0043361a
push 0x45aa14
lea ecx, [esp + 0x64]
call fcn.0043361a
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 0x40b777
mov ecx, dword [esp + 0x540]
push str._for_input
push ecx
push str.Error_SDC_1002_:_unable_to_open
mov ecx, 0x467338
call fcn.00427794
mov ecx, eax
call fcn.00427794
mov ecx, eax
jmp 0x40bd6d
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 + 0x2c], ebx
jle 0x40b94f
lea eax, [esp + 0x560]
lea ecx, [esp + 0x28]
push eax
call fcn.0042e05e
lea ecx, [esp + 0x18]
push 0x40
push ecx
lea ecx, [esp + 0x568]
mov byte [esp + 0x540], 6
call fcn.0042be3e
mov eax, dword [eax]
push 0x463420
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x540], 7
call fcn.0042bbc9
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 6
call fcn.0042e2e9
mov edx, dword [esp + 0x28]
push edx
call fcn.0041bb4a
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 + 0x38], 1
call fcn.0042e57e
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.0042e2e9
lea edx, [esp + 0x1c]
push ebx
push edx
lea eax, [esp + 0x18]
push 4
push eax
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0042e02a
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x4c]
call fcn.0040ab00
lea ecx, [esp + 0x18]
push 0x20
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x540], 8
call fcn.0042bdc2
push 0x20
mov byte [esp + 0x53c], 9
push 0x20
push 0x20
mov ecx, eax
call fcn.0042e719
push eax
lea ecx, [esp + 0x58]
call fcn.0040ab40
push eax
lea ecx, [esp + 0x54]
call fcn.0040b370
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 8
call fcn.0042e2e9
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push edx
push esi
push esi
call fcn.0040b4c0
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.0042e053
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x538], 6
call fcn.0040ab20
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 5
call fcn.0042e2e9
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b9eb
mov eax, dword [esp + 0x544]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x40b971
push 0x4597e0
lea ecx, [esp + 0x548]
call fcn.0042e6c5
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 0x40ba02
cmp eax, 0xc4
mov dword [esp + 0x1c], 1
jne 0x40b9b9
cmp dword [esp + 0x55c], ebx
je 0x40b9b9
mov byte [esp + 0x80], 1
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
cmp dword [esp + 0x1c], ebx
je 0x40bb65
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 0x40ba08
mov edx, dword [esp + 0x540]
push str._for_input
push edx
jmp 0x40b75a
mov dword [esp + 0x1c], ebx
jmp 0x40b9b9
cmp dword [esp + 0x2c], ebx
je 0x40bd3a
lea eax, [esp + 0x18]
push 0x20
push eax
lea ecx, [esp + 0x568]
call fcn.0042be3e
push 0x20
push 0x20
mov ecx, eax
mov byte [esp + 0x540], 0xa
call fcn.0042e719
mov ecx, dword [esp + 0x40]
push eax
push edi
call fcn.0040a3d0
test al, al
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 5
sete byte [esp + 0x17]
call fcn.0042e2e9
cmp byte [esp + 0x17], bl
je 0x40bb39
push ebp
call esi
push str.Error_SDC_1003_:_failed_to_load_package_header
mov ecx, 0x467338
call fcn.00427794
push 0x403350
push 0xa
mov ecx, eax
call fcn.00427550
mov ecx, eax
call fcn.00403330
lea ecx, [esp + 0x60]
call fcn.004337d7
push edi
call esi
lea ecx, [esp + 0x540]
push str..tmp
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0042e57e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
call fcn.0042e2e9
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00433464
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 3
call fcn.0042e2e9
lea ecx, [esp + 0x30]
mov byte [esp + 0x538], 2
call fcn.0042e2e9
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042e2e9
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042e2e9
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042e2e9
xor eax, eax
jmp 0x40c8cf
push edi
call esi
lea eax, [esp + 0x540]
push str..tmp
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0042e57e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
call fcn.0042e2e9
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.00409a20
mov eax, dword [esp + 0x3c]
xor edi, edi
mov byte [esp + 0x538], 0xb
cmp dword [eax + 0x18], ebx
jle 0x40bbe0
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
add ecx, dword [edx + 0xc]
push ecx
lea ecx, [esp + 0xfc]
call fcn.00409a40
mov edx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
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 0x40bb9a
mov dword [esp + 0x4c], esi
mov ecx, dword [esp + 0x3c]
call fcn.00409ed0
mov eax, dword [esp + 0x554]
cmp eax, ebx
je 0x40bc05
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 + 0x3c]
cmp al, bl
jne 0x40bf79
cmp dword [esi + 0x20], ebx
je 0x40be19
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], bl
call fcn.00401000
lea edx, [esp + 0x1c]
mov byte [esp + 0x538], 0xc
push edx
push ebp
mov dword [esp + 0x24], ebx
call fcn.00401040
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 8
cmp eax, ecx
je 0x40be08
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, 0x467338
call fcn.00427794
push 0x403350
push 0xa
mov ecx, eax
call fcn.00427550
mov ecx, eax
call fcn.00403330
lea ecx, [esp + 0x60]
call fcn.004337d7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x538], 0xb
call fcn.00401030
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 5
call fcn.004099f0
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00433464
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 3
call fcn.0042e2e9
lea ecx, [esp + 0x30]
mov byte [esp + 0x538], 2
call fcn.0042e2e9
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042e2e9
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042e2e9
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042e2e9
or eax, 0xffffffff
jmp 0x40c8cf
mov edx, dword [esp + 0x560]
push edx
call fcn.0041bb4a
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x7c], eax
push ebp
call fcn.00409fb0
test al, al
jne 0x40bb65
push ebp
call esi
push str.Error_SDC_1003_:_failed_to_load_package_header
mov ecx, 0x467338
call fcn.00427794
push 0x403350
push 0xa
mov ecx, eax
call fcn.00427550
mov ecx, eax
call fcn.00403330
lea ecx, [esp + 0x60]
call fcn.004337d7
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00433464
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 3
call fcn.0042e2e9
lea ecx, [esp + 0x30]
mov byte [esp + 0x538], 2
call fcn.0042e2e9
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042e2e9
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042e2e9
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042e2e9
xor eax, eax
jmp 0x40c8cf
mov byte [esp + 0x538], 0xb
lea ecx, [esp + 0x2c]
jmp 0x40bf74
mov edi, dword [esp + 0x55c]
cmp edi, ebx
je 0x40bf45
lea ecx, [esp + 0x2c]
call fcn.00401000
lea edx, [esp + 0x1c]
mov byte [esp + 0x538], 0xd
push edx
push ebp
mov dword [esp + 0x24], ebx
call fcn.00401040
mov eax, dword [esp + 0x24]
add esp, 8
cmp eax, edi
je 0x40bf37
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x540]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.Error_SDC_1010_:_CRC_not_valid
mov ecx, 0x467338
call fcn.00427794
push 0x403350
push 0xa
mov ecx, eax
call fcn.00427550
mov ecx, eax
call fcn.00403330
lea ecx, [esp + 0x60]
call fcn.004337d7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x538], 0xb
call fcn.00401030
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 5
call fcn.004099f0
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00433464
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 3
call fcn.0042e2e9
lea ecx, [esp + 0x30]
mov byte [esp + 0x538], 2
call fcn.0042e2e9
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042e2e9
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042e2e9
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042e2e9
or eax, 0xffffffff
jmp 0x40c8cf
mov byte [esp + 0x538], 0xb
lea ecx, [esp + 0x2c]
jmp 0x40bf74
lea ecx, [esp + 0x44]
call fcn.00401000
lea ecx, [esp + 0x18]
mov byte [esp + 0x538], 0xe
push ecx
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 edx, dword [0x45e450]
mov dword [esp + 0x40], edx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x538], 0xf
call fcn.00409a20
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x540], 0x10
call fcn.00409ee0
test al, al
je 0x40c58e
lea ecx, [esp + 0x98]
call fcn.00409990
mov edx, dword [esp + 0x54c]
lea ecx, [esp + 0x98]
mov al, byte [edx]
mov byte [esp + 0x17], al
call fcn.004099c0
cmp byte [esp + 0x17], bl
jne 0x40c578
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.0042e05e
mov ecx, esi
call fcn.0040d260
mov byte [esp + 0x37], al
lea eax, [esp + 0x544]
push eax
lea ecx, [esp + 0x3c]
call fcn.0042e05e
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x538], 0x11
cmp byte [ecx], 0x5c
jne 0x40c033
push 0x5c
lea ecx, [esp + 0x3c]
call fcn.0042c271
lea edx, [esp + 0x40]
lea ecx, [esp + 0x38]
push edx
call fcn.0042e701
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
call fcn.0042e05e
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 0x12
push ecx
lea ecx, [esp + 0x58]
call fcn.0042e05e
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 0x13
call fcn.0042e274
mov edx, dword [esp + 0x54]
mov edi, dword [edx - 8]
dec edi
cmp edi, ebx
jl 0x40c0a4
mov eax, dword [esp + 0x54]
mov cl, byte [edi + eax]
mov byte [esp + 0xa0], cl
lea ecx, [esp + 0x24]
mov edx, dword [esp + 0xa0]
push edx
call fcn.0042e6ec
dec edi
jns 0x40c082
push 0x4597e0
lea ecx, [esp + 0x28]
call fcn.0042bed8
cmp eax, 0xffffffff
je 0x40c185
mov ecx, dword [0x45e450]
inc eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x24]
mov byte [esp + 0x538], 0x14
mov ecx, dword [edx - 8]
push ecx
push eax
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x2c]
push eax
call fcn.0042bd2c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x53c], 0x15
call fcn.0042e422
lea ecx, [esp + 0x9c]
mov byte [esp + 0x538], 0x14
call fcn.0042e2e9
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call fcn.0042e05e
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 0x16
call fcn.0042e274
mov edx, dword [esp + 0x2c]
mov edi, dword [edx - 8]
dec edi
cmp edi, ebx
jl 0x40c155
mov eax, dword [esp + 0x2c]
mov cl, byte [edi + eax]
mov byte [esp + 0x78], cl
mov edx, dword [esp + 0x78]
push edx
lea ecx, [esp + 0x14]
call fcn.0042e6ec
dec edi
jns 0x40c139
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
call fcn.0042e422
lea ecx, [esp + 0x2c]
mov byte [esp + 0x538], 0x14
call fcn.0042e2e9
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 0x13
call fcn.0042e2e9
test byte [esp + 0xc0], 0x10
jbe 0x40c225
mov ecx, dword [0x45e450]
mov dword [esp + 0x10], ecx
push str.md__
lea ecx, [esp + 0x14]
mov byte [esp + 0x53c], 0x17
call fcn.0042e472
lea edx, [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
call fcn.0042e701
push 0x45e35c
lea ecx, [esp + 0x14]
call fcn.0042e6c5
lea eax, [esp + 0x24]
lea ecx, [esp + 0x44]
push eax
call fcn.0042e05e
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.0042e05e
mov ecx, esi
call fcn.0040d020
lea ecx, [esp + 0x44]
mov byte [esp + 0x538], 0x17
call fcn.0042e2e9
lea ecx, [esp + 0x10]
mov byte [esp + 0x538], 0x13
call fcn.0042e2e9
jmp 0x40c529
mov eax, dword [esp + 0x38]
mov ecx, 0x4672d8
push eax
push str.Explode__
call fcn.00427794
mov ecx, eax
call fcn.00427794
push 0x403350
push 0xa
mov ecx, eax
call fcn.00427550
mov ecx, eax
call fcn.00403330
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0042e05e
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.0042e05e
mov ecx, esi
call fcn.0040d020
mov eax, dword [esp + 0x38]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x38]
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 0x40c695
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 + 0x3c]
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 0x40c3a8
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.0040d3c0
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 + 0x54]
mov byte [esp + 0x570], 0x1a
call fcn.00403370
cmp eax, 0xffffffff
mov dword [esp + 0x84], eax
je 0x40c6ee
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x5c]
add edi, ecx
lea ecx, [esp + 0x1c]
adc eax, ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov byte [esp + 0x538], 0x19
call fcn.004099f0
jmp 0x40c461
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.0041baa0
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.0041baa0
mov ecx, dword [esp + 0x554]
cmp ecx, ebx
je 0x40c457
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 0x40c3d8
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 0x40c4fa
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 + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 0x13
call fcn.0042e2e9
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x54]
mov byte [esp + 0x538], 0x12
call fcn.0042e2e9
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 0x11
call fcn.0042e2e9
lea ecx, [esp + 0x38]
mov byte [esp + 0x538], 0x10
call fcn.0042e2e9
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x40]
push ecx
push edx
mov ecx, esi
call fcn.00409ee0
test al, al
jne 0x40bfbb
cmp byte [esp + 0x37], bl
je 0x40c58e
mov ecx, dword [esp + 0x548]
add esi, 0x40
push esi
call fcn.0042e422
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0042e053
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x78]
call fcn.00409990
mov edx, dword [esp + 0x54c]
lea ecx, [esp + 0x78]
mov al, byte [edx]
mov byte [esp + 0x17], al
call fcn.004099c0
mov al, byte [esp + 0x17]
lea ecx, [esp + 0x60]
cmp al, bl
jne 0x40c819
call fcn.004337d7
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x538], 0xf
call fcn.004099f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x538], 0xb
call fcn.0042e2e9
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 5
call fcn.004099f0
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00433464
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 3
call fcn.0042e2e9
lea ecx, [esp + 0x30]
mov byte [esp + 0x538], 2
call fcn.0042e2e9
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042e2e9
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042e2e9
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042e2e9
mov eax, 1
jmp 0x40c8cf
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x60]
call fcn.004337d7
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 0x13
call fcn.0042e2e9
lea ecx, [esp + 0x54]
mov byte [esp + 0x538], 0x12
call fcn.0042e2e9
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 0x11
call fcn.0042e2e9
lea ecx, [esp + 0x38]
mov byte [esp + 0x538], 0x10
call fcn.0042e2e9
jmp 0x40c81e
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call edi
push esi
call edi
lea ecx, [esp + 0x60]
call fcn.004337d7
mov eax, dword [esp + 0x74]
push eax
call fcn.0042e053
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x538], 0x19
call fcn.004099f0
lea ecx, [esp + 0x28]
mov byte [esp + 0x538], 0x13
call fcn.0042e2e9
lea ecx, [esp + 0x54]
mov byte [esp + 0x538], 0x12
call fcn.0042e2e9
lea ecx, [esp + 0x24]
mov byte [esp + 0x538], 0x11
call fcn.0042e2e9
lea ecx, [esp + 0x38]
mov byte [esp + 0x538], 0x10
call fcn.0042e2e9
lea ecx, [esp + 0xbc]
mov byte [esp + 0x538], 0xf
call fcn.004099f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x538], 0xb
call fcn.0042e2e9
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 5
call fcn.004099f0
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00433464
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 3
call fcn.0042e2e9
lea ecx, [esp + 0x30]
mov byte [esp + 0x538], 2
call fcn.0042e2e9
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042e2e9
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042e2e9
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042e2e9
mov eax, 0xfffffffe
jmp 0x40c8cf
call fcn.004337d7
lea ecx, [esp + 0xbc]
mov byte [esp + 0x538], 0xf
call fcn.004099f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x538], 0xb
call fcn.0042e2e9
lea ecx, [esp + 0xf8]
mov byte [esp + 0x538], 5
call fcn.004099f0
lea ecx, [esp + 0x60]
mov byte [esp + 0x538], 4
call fcn.00433464
lea ecx, [esp + 0x20]
mov byte [esp + 0x538], 3
call fcn.0042e2e9
lea ecx, [esp + 0x30]
mov byte [esp + 0x538], 2
call fcn.0042e2e9
lea ecx, [esp + 0x540]
mov byte [esp + 0x538], 1
call fcn.0042e2e9
lea ecx, [esp + 0x544]
mov byte [esp + 0x538], bl
call fcn.0042e2e9
lea ecx, [esp + 0x560]
mov dword [esp + 0x538], 0xffffffff
call fcn.0042e2e9
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