Function at 0x4ebf30
Capabilities:
Create process on windows
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57225f
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
push ebx
push esi
push edi
mov eax, dword [0x5bda40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00410610
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.00410610
mov byte [ebp - 4], 5
cmp dword [ebp + 0x1c], 0
jle 0x4ec2a4
lea ecx, [ebp - 0x1c]
call fcn.00410610
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00410610
mov byte [ebp - 4], 7
cmp dword [ebp + 0x1c], 1
jne 0x4ebfe0
lea esi, [ebp - 0x5c]
call fcn.004fac20
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00406980
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x5c]
call fcn.004072c0
jmp 0x4ec116
cmp dword [ebp + 0x1c], 2
jne 0x4ec024
lea esi, [ebp - 0x60]
call fcn.004fac00
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406980
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.004072c0
jmp 0x4ec116
cmp dword [ebp + 0x1c], 3
jne 0x4ec09e
lea esi, [ebp - 0x64]
call fcn.004fac20
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x164]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00406980
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.004072c0
lea esi, [ebp - 0x68]
call fcn.004fac00
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00406980
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call fcn.004072c0
jmp 0x4ec116
cmp dword [ebp + 0x1c], 4
jne 0x4ec116
lea esi, [ebp - 0x6c]
call fcn.004fac00
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x174], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x174]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406980
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.004072c0
lea esi, [ebp - 0x70]
call fcn.004fac20
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x17c]
push edx
lea ecx, [ebp - 0x18]
call fcn.00406980
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.004072c0
mov eax, dword [ebp + 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea edx, [ebp - 0x18]
push edx
call fcn.004068e0
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.004068e0
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea edx, [ebp + 0x14]
push edx
call fcn.004068e0
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x194], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004068e0
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp + 8]
push edx
call fcn.004068e0
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 7
call fcn.004eacd0
add esp, 0x20
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0x14]
call fcn.00406980
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.004072c0
cmp dword [ebp + 0x28], 0
je 0x4ec28c
lea ecx, [ebp - 0x14]
call fcn.004070f0
movzx eax, al
test eax, eax
jne 0x4ec28c
push 0
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004068e0
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x90]
push eax
call fcn.004ed180
add esp, 0x10
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], ecx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1b4]
call fcn.004072e0
push eax
call fcn.004ecfd0
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call fcn.004072c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.004072c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004072c0
cmp dword [ebp + 0x20], 1
jne 0x4ec7d3
call fcn.004fae40
test eax, eax
je 0x4ec6ac
lea esi, [ebp - 0x94]
call fcn.004fac40
mov dword [ebp - 0x1b8], eax
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], edx
mov byte [ebp - 4], 0x14
push 0x589e28
mov eax, dword [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.00406e40
add esp, 0xc
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edx
mov byte [ebp - 4], 0x15
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c4]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.00406d90
add esp, 0xc
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 0x16
push 0x589e18
mov ecx, dword [ebp - 0x1cc]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.00406e40
add esp, 0xc
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x9c]
call fcn.004072c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x98]
call fcn.004072c0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x94]
call fcn.004072c0
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea eax, [ebp - 0x20]
push eax
call fcn.004068e0
mov dword [ebp - 0x1d0], eax
call fcn.0050ba00
add esp, 4
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 0
je 0x4ec509
lea ecx, [ebp - 0x30]
call fcn.00410610
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2c]
call fcn.00410610
mov byte [ebp - 4], 0x1c
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004068e0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x24]
call fcn.00406bb0
lea ecx, [ebp - 0x20]
call fcn.004072e0
lea ebx, [ebp - 0x2c]
lea edi, [ebp - 0x30]
mov esi, eax
call fcn.004faa90
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2c]
call fcn.00406bb0
cmp dword [ebp - 0x28], 0
je 0x4ec4e0
lea ecx, [ebp - 0x30]
call fcn.004070f0
movzx edx, al
test edx, edx
jne 0x4ec4e0
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00406fc0
add esp, 8
movzx edx, al
test edx, edx
je 0x4ec4e0
lea ecx, [ebp - 0x20]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea ecx, [ebp - 0x20]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea ecx, [ebp + 0x14]
call fcn.004072e0
push eax
lea ecx, [ebp - 0x20]
call fcn.004072e0
mov esi, eax
call fcn.004fa9c0
add esp, 4
push 0
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp - 0x20]
push eax
call fcn.004068e0
mov dword [ebp - 0x1d8], eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.004ed180
add esp, 0x10
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], edx
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x1e0]
call fcn.004072e0
push eax
call fcn.004ecfd0
add esp, 8
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xa8]
call fcn.004072c0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x24]
call fcn.004072c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2c]
call fcn.004072c0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x30]
call fcn.004072c0
jmp 0x4ec69b
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
push 0x589ea8
call fcn.00406900
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 4], 0x1f
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
lea edx, [ebp + 0x18]
push edx
call fcn.004068e0
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], eax
mov byte [ebp - 4], 0x20
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea edx, [ebp + 0x14]
push edx
call fcn.004068e0
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], eax
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004068e0
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], eax
mov byte [ebp - 4], 0x22
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
lea edx, [ebp + 8]
push edx
call fcn.004068e0
mov dword [ebp - 0x204], eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x1a
call fcn.004eacd0
add esp, 0x20
mov dword [ebp - 0x208], eax
mov byte [ebp - 4], 0x23
push 0
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004068e0
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004ed180
add esp, 0x10
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x214], ecx
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x214]
call fcn.004072e0
push eax
call fcn.004ecfd0
add esp, 8
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xc4]
call fcn.004072c0
lea ecx, [ebp - 0x34]
call fcn.004070f0
movzx edx, al
test edx, edx
jne 0x4ec68f
push 1
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.004072e0
push eax
push 0x589eac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.004072e0
push eax
push 0x589ec8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x34]
call fcn.004072c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004072c0
jmp 0x4ec7d3
lea esi, [ebp - 0x38]
call fcn.004fac40
mov byte [ebp - 4], 0x25
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 0x589ee0
call fcn.00406900
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0x26
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 0x589ee8
lea edx, [ebp - 0x38]
push edx
push ecx
call fcn.00406e40
add esp, 0xc
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0x27
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea edx, [ebp + 0x14]
push edx
call fcn.004068e0
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004068e0
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0x29
push ecx
mov ecx, esp
mov dword [ebp - 0xd8], esp
lea edx, [ebp + 8]
push edx
call fcn.004068e0
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0x25
call fcn.004eacd0
add esp, 0x20
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x240]
push edx
lea ecx, [ebp - 0x14]
call fcn.00406980
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0xdc]
call fcn.004072c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.004072c0
cmp dword [ebp + 0x24], 0
jle 0x4ecf52
lea ecx, [ebp - 0x40]
call fcn.00410610
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x3c]
call fcn.00410610
mov byte [ebp - 4], 0x2c
cmp dword [ebp + 0x24], 1
jne 0x4ec845
push 0xb
lea eax, [ebp - 0xe0]
push eax
call fcn.004fac60
add esp, 8
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 0x2d
mov edx, dword [ebp - 0x248]
push edx
lea ecx, [ebp - 0x40]
call fcn.00406980
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xe0]
call fcn.004072c0
jmp 0x4ec9c2
cmp dword [ebp + 0x24], 2
jne 0x4ec895
push 0x16
lea eax, [ebp - 0xe4]
push eax
call fcn.004fac60
add esp, 8
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], ecx
mov byte [ebp - 4], 0x2e
mov edx, dword [ebp - 0x250]
push edx
lea ecx, [ebp - 0x40]
call fcn.00406980
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xe4]
call fcn.004072c0
jmp 0x4ec9c2
cmp dword [ebp + 0x24], 3
jne 0x4ec92e
push 0xb
lea eax, [ebp - 0xe8]
push eax
call fcn.004fac60
add esp, 8
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x258], ecx
mov byte [ebp - 4], 0x2f
mov edx, dword [ebp - 0x258]
push edx
lea ecx, [ebp - 0x40]
call fcn.00406980
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xe8]
call fcn.004072c0
push 0x16
lea eax, [ebp - 0xec]
push eax
call fcn.004fac60
add esp, 8
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], ecx
mov byte [ebp - 4], 0x30
mov edx, dword [ebp - 0x260]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00406980
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xec]
call fcn.004072c0
jmp 0x4ec9c2
cmp dword [ebp + 0x24], 4
jne 0x4ec9c2
push 0x16
lea eax, [ebp - 0xf0]
push eax
call fcn.004fac60
add esp, 8
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x268], ecx
mov byte [ebp - 4], 0x31
mov edx, dword [ebp - 0x268]
push edx
lea ecx, [ebp - 0x40]
call fcn.00406980
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xf0]
call fcn.004072c0
push 0xb
lea eax, [ebp - 0xf4]
push eax
call fcn.004fac60
add esp, 8
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x270]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00406980
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xf4]
call fcn.004072c0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xf8], esp
lea eax, [ebp - 0x3c]
push eax
call fcn.004068e0
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x278], ecx
mov byte [ebp - 4], 0x33
push ecx
mov ecx, esp
mov dword [ebp - 0xfc], esp
lea edx, [ebp - 0x40]
push edx
call fcn.004068e0
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 0x34
push ecx
mov ecx, esp
mov dword [ebp - 0x100], esp
lea edx, [ebp + 0x14]
push edx
call fcn.004068e0
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0x35
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x104], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004068e0
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 0x36
push ecx
mov ecx, esp
mov dword [ebp - 0x108], esp
lea edx, [ebp + 8]
push edx
call fcn.004068e0
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 0x2c
call fcn.004eacd0
add esp, 0x20
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], ecx
mov byte [ebp - 4], 0x37
mov edx, dword [ebp - 0x29c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00406980
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x10c]
call fcn.004072c0
cmp dword [ebp + 0x28], 0
je 0x4ecb42
lea ecx, [ebp - 0x14]
call fcn.004070f0
movzx eax, al
test eax, eax
jne 0x4ecb42
push 0
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x110], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004068e0
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x114]
push eax
call fcn.004ed180
add esp, 0x10
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], ecx
mov byte [ebp - 4], 0x38
mov ecx, dword [ebp - 0x2a8]
call fcn.004072e0
push eax
call fcn.004ecfd0
add esp, 8
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x114]
call fcn.004072c0
lea esi, [ebp - 0x118]
call fcn.004fac40
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 0x39
push 0x589f50
mov eax, dword [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00406e40
add esp, 0xc
mov dword [ebp - 0x2b4], eax
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], edx
mov byte [ebp - 4], 0x3a
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2b8]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.00406d90
add esp, 0xc
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 0x3b
push 0x589f40
mov ecx, dword [ebp - 0x2c0]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00406e40
add esp, 0xc
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x120]
call fcn.004072c0
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0x11c]
call fcn.004072c0
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x118]
call fcn.004072c0
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
lea eax, [ebp - 0x44]
push eax
call fcn.004068e0
mov dword [ebp - 0x2c4], eax
call fcn.0050ba00
add esp, 4
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0
je 0x4ecd96
lea ecx, [ebp - 0x54]
call fcn.00410610
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x50]
call fcn.00410610
mov byte [ebp - 4], 0x41
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004068e0
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x48]
call fcn.00406bb0
lea ecx, [ebp - 0x44]
call fcn.004072e0
lea ebx, [ebp - 0x50]
lea edi, [ebp - 0x54]
mov esi, eax
call fcn.004faa90
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x50]
call fcn.00406bb0
cmp dword [ebp - 0x4c], 0
je 0x4ecd6d
lea ecx, [ebp - 0x54]
call fcn.004070f0
movzx edx, al
test edx, edx
jne 0x4ecd6d
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00406fc0
add esp, 8
movzx edx, al
test edx, edx
je 0x4ecd6d
lea ecx, [ebp - 0x44]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea ecx, [ebp - 0x44]
call fcn.004072e0
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea ecx, [ebp + 0x14]
call fcn.004072e0
push eax
lea ecx, [ebp - 0x44]
call fcn.004072e0
mov esi, eax
call fcn.004fa9c0
add esp, 4
cmp dword [ebp + 0x28], 0
je 0x4ecd6d
push 0
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
lea eax, [ebp - 0x44]
push eax
call fcn.004068e0
mov dword [ebp - 0x2cc], eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.004ed180
add esp, 0x10
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], edx
mov byte [ebp - 4], 0x43
mov ecx, dword [ebp - 0x2d4]
call fcn.004072e0
push eax
call fcn.004ecfd0
add esp, 8
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x12c]
call fcn.004072c0
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x48]
call fcn.004072c0
mov byte [ebp - 4], 0x40
lea ecx, [ebp - 0x50]
call fcn.004072c0
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x54]
call fcn.004072c0
jmp 0x4ecf2e
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
push 0x589fd4
call fcn.00406900
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], eax
mov byte [ebp - 4], 0x44
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
lea edx, [ebp + 0x18]
push edx
call fcn.004068e0
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 0x45
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
lea edx, [ebp + 0x14]
push edx
call fcn.004068e0
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 0x46
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004068e0
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2f4], eax
mov byte [ebp - 4], 0x47
push ecx
mov ecx, esp
mov dword [ebp - 0x140], esp
lea edx, [ebp + 8]
push edx
call fcn.004068e0
mov dword [ebp - 0x2f8], eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x3f
call fcn.004eacd0
add esp, 0x20
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 0x48
cmp dword [ebp + 0x28], 0
je 0x4eceea
lea ecx, [ebp - 0x58]
call fcn.004070f0
movzx ecx, al
test ecx, ecx
jne 0x4eceea
push 0
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x144], esp
lea edx, [ebp - 0x58]
push edx
call fcn.004068e0
mov dword [ebp - 0x300], eax
lea eax, [ebp - 0x148]
push eax
call fcn.004ed180
add esp, 0x10
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
mov dword [ebp - 0x308], ecx
mov byte [ebp - 4], 0x49
mov ecx, dword [ebp - 0x308]
call fcn.004072e0
push eax
call fcn.004ecfd0
add esp, 8
mov byte [ebp - 4], 0x48
lea ecx, [ebp - 0x148]
call fcn.004072c0
push 1
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.004072e0
push eax
push 0x589fd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.004072e0
push eax
push 0x589ff0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x58]
call fcn.004072c0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x44]
call fcn.004072c0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x3c]
call fcn.004072c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.004072c0
lea ecx, [ebp - 0x14]
call fcn.004070f0
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov dword [ebp - 0x14c], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.004072c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004072c0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.004072c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.004072c0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret