Function at 0x40bf90
Capabilities:
Contain obfuscated stackstrings
Move file
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x4876e0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
test eax, eax
sete cl
mov dword [esp + 0x5c], 0
test cl, cl
jne 0x40d519
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], esp
test eax, eax
je 0x40bfe9
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x1c]
push eax
call fcn.00406a50
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x68], 1
call fcn.00407280
lea edx, [esp + 0x24]
push 0x490be0
push edx
mov byte [esp + 0x70], 2
call fcn.00403c20
mov ebp, dword [esp + 0x80]
add esp, 0x14
test al, al
je 0x40c279
push ecx
mov esi, esp
mov dword [esp + 0x38], esp
push 0x48fe18
push ecx
mov ecx, dword [esp + 0x70]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], esp
test eax, eax
je 0x40c051
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.00406c40
mov eax, dword [esp + 0x24]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov esi, esp
push eax
mov byte [esp + 0x68], 3
call fcn.00401380
add eax, 0x10
lea ecx, [esp + 0x30]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [esp + 0x68], 2
call fcn.00407f80
add esp, 0xc
mov edx, dword [esp + 0x64]
push 0x490bd4
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x64], 4
mov dword [esp + 0x3c], esp
test eax, eax
je 0x40c0b3
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x30]
push eax
call fcn.00406c40
add esp, 0xc
push str.workpath
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x64], 5
mov dword [esp + 0x3c], esp
test eax, eax
je 0x40c0e7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00406c40
add esp, 0xc
mov edx, dword [esp + 0x64]
push str.waitclose
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x6c]
mov bl, 6
mov byte [esp + 0x64], bl
mov dword [esp + 0x3c], esp
test eax, eax
je 0x40c11c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x24]
push eax
call fcn.00406c40
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 7
call fcn.00404c00
mov ecx, dword [esp + 0x1c]
xor esi, esi
cmp dword [ecx - 0xc], esi
mov dword [esp + 0x74], esi
jl 0x40c1bf
push 0x48ffe0
push ecx
call fcn.00467d3a
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x40c16b
sub eax, ecx
sar eax, 1
js 0x40c16b
mov esi, 1
mov dword [esp + 0x74], esi
cmp dword [ecx - 0xc], 0
jl 0x40c1bf
push 0x48ffd8
push ecx
call fcn.00467d3a
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x40c196
sub eax, ecx
sar eax, 1
js 0x40c196
mov esi, 1
mov dword [esp + 0x74], esi
cmp dword [ecx - 0xc], 0
jl 0x40c1bf
push 0x48ffdc
push ecx
call fcn.00467d3a
add esp, 8
test eax, eax
je 0x40c1bf
sub eax, dword [esp + 0x1c]
sar eax, 1
js 0x40c1bf
mov esi, 1
mov dword [esp + 0x74], esi
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push ebp
push edx
push eax
push ecx
call fcn.0040b9f0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x5c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c201
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c226
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c24b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d3d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40d3d3
lea ecx, [esp + 0x18]
push 0x490ba4
push ecx
call fcn.00403c20
add esp, 8
test al, al
jne 0x40d108
lea edx, [esp + 0x18]
push str.rename
push edx
call fcn.00403c20
add esp, 8
test al, al
jne 0x40d108
lea eax, [esp + 0x18]
push str.kill
push eax
call fcn.00403c20
add esp, 8
test al, al
je 0x40c481
push 0x48fe18
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00403d40
lea eax, [esp + 0x28]
push eax
call fcn.00406c40
add esp, 0xc
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
mov bl, 0x15
mov byte [esp + 0x5c], bl
je 0x40d3c5
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401820
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x68], 0x16
call fcn.00401820
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x68], bl
call fcn.00407f80
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 0x17
call fcn.004022f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401310
mov edx, dword [esp + 0x20]
push edx
call fcn.004277b0
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.004013f0
mov eax, dword [esp + 0x20]
push eax
push 0x490b7c
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x18
push str.Kill_process
mov byte [esp + 0x6c], bl
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x48fda4
mov byte [esp + 0x70], 0x19
call fcn.00402410
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x70], bl
call fcn.00413c80
add esp, 0xc
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x6c], 0x1a
call fcn.00403080
add esp, 0xc
mov eax, dword [eax]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x68], 0x1b
call fcn.004019b0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00401310
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.00401310
push 1
push ecx
mov esi, esp
mov dword [esp + 0x3c], esp
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x48fda4
mov byte [esp + 0x70], 0x1c
call fcn.00402410
push esi
mov byte [esp + 0x70], bl
call fcn.00413c80
add esp, 0xc
push ebp
call fcn.00408510
add esp, 8
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x48fda4
mov byte [esp + 0x68], 0x1d
call fcn.00402410
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x68], bl
call fcn.00413c80
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x1e
call fcn.0040ad00
add esp, 0x10
lea ecx, [esp + 0x30]
jmp 0x40d3b7
lea edx, [esp + 0x18]
push str.path
push edx
call fcn.00403c20
add esp, 8
test al, al
je 0x40c6d8
push str.name
push ecx
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00403d40
lea ecx, [esp + 0x24]
push ecx
call fcn.00406c40
add esp, 0xc
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
mov bl, 0x1f
mov byte [esp + 0x5c], bl
jne 0x40c508
push ecx
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00403d40
lea ecx, [esp + 0x34]
push ecx
call fcn.00406b40
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0x20
call fcn.004022f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401310
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
je 0x40c6cf
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401820
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x68], 0x21
call fcn.00401820
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x68], bl
call fcn.00407f80
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0x22
call fcn.004022f0
lea ecx, [esp + 0x30]
call fcn.00401310
lea ecx, [esp + 0x20]
call fcn.004013f0
mov ecx, dword [esp + 0x1c]
push ecx
push 0x490b7c
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x23
push str.Create_directory
mov byte [esp + 0x6c], bl
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x48fda4
mov byte [esp + 0x70], 0x24
call fcn.00402410
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x70], bl
call fcn.00413c80
add esp, 0xc
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x6c], 0x25
call fcn.00403080
add esp, 0xc
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x68], 0x26
call fcn.004019b0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00401310
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.00401310
push 1
push ecx
mov dword [esp + 0x3c], esp
mov esi, esp
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x48fda4
mov byte [esp + 0x70], 0x27
call fcn.00402410
push esi
mov byte [esp + 0x70], bl
call fcn.00413c80
add esp, 0xc
push ebp
call fcn.00408510
add esp, 8
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x48fda4
mov byte [esp + 0x68], 0x28
call fcn.00402410
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x68], bl
call fcn.00413c80
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x29
call fcn.0040ad00
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401310
push str.1.txt
lea ecx, [esp + 0x20]
call fcn.00403300
push 0x48fda0
push 0x48fd98
lea ecx, [esp + 0x24]
call fcn.00402d90
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401820
call fcn.00405ef0
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00401310
lea ecx, [esp + 0x1c]
jmp 0x40d3c9
lea eax, [esp + 0x18]
push 0x490b0c
push eax
call fcn.00403c20
add esp, 8
test al, al
je 0x40ca90
push 0x48fe18
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00403d40
lea eax, [esp + 0x24]
push eax
call fcn.00406c40
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
mov byte [esp + 0x5c], 0x2a
test eax, eax
je 0x40c8bb
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401820
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x68], 0x2b
call fcn.00401820
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x68], 0x2a
call fcn.00407f80
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0x2c
call fcn.004022f0
lea ecx, [esp + 0x30]
call fcn.00401310
lea ecx, [esp + 0x24]
call fcn.004013f0
mov edx, dword [esp + 0x1c]
push edx
push 0x490b7c
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x2d
push str.Remove_file
mov byte [esp + 0x6c], bl
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x48fda4
mov byte [esp + 0x70], 0x2e
call fcn.00402410
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x70], bl
call fcn.00413c80
add esp, 0xc
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x6c], 0x2f
call fcn.00403080
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x68], 0x30
call fcn.004019b0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00401310
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.00401310
push 1
push ecx
mov dword [esp + 0x3c], esp
mov esi, esp
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x48fda4
mov byte [esp + 0x70], 0x31
call fcn.00402410
push esi
mov byte [esp + 0x70], bl
call fcn.00413c80
add esp, 0xc
push ebp
call fcn.00408510
add esp, 8
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x48fda4
mov byte [esp + 0x68], 0x32
call fcn.00402410
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x68], bl
call fcn.00413c80
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x33
call fcn.0040ad00
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401310
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004086c0
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 0x2a
call fcn.00401310
push str.path
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00403d40
lea eax, [esp + 0x28]
push eax
call fcn.00406c40
add esp, 0xc
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
mov bl, 0x34
mov byte [esp + 0x5c], bl
je 0x40ca7e
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401820
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x68], 0x35
call fcn.00401820
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x68], bl
call fcn.00407f80
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 0x36
call fcn.004022f0
lea ecx, [esp + 0x30]
call fcn.00401310
lea ecx, [esp + 0x24]
call fcn.004013f0
mov edx, dword [esp + 0x20]
push edx
push 0x490b7c
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x37
push str.Remove_path
mov byte [esp + 0x6c], bl
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x48fda4
mov byte [esp + 0x70], 0x38
call fcn.00402410
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x70], bl
call fcn.00413c80
add esp, 0xc
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x6c], 0x39
call fcn.00403080
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x68], 0x3a
call fcn.004019b0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00401310
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.00401310
push 1
push ecx
mov dword [esp + 0x3c], esp
mov esi, esp
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x48fda4
mov byte [esp + 0x70], 0x3b
call fcn.00402410
push esi
mov byte [esp + 0x70], bl
call fcn.00413c80
add esp, 0xc
push ebp
call fcn.00408510
add esp, 8
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x48fda4
mov byte [esp + 0x68], 0x3c
call fcn.00402410
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x68], bl
call fcn.00413c80
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x3d
call fcn.0040ad00
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401310
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004246d0
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00401310
lea ecx, [esp + 0x20]
call fcn.00401310
lea ecx, [esp + 0x1c]
jmp 0x40d3c9
lea edx, [esp + 0x18]
push str.shortcut
push edx
call fcn.00403c20
add esp, 8
test al, al
je 0x40ce2e
push 0x48fe18
push ecx
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00403d40
lea ecx, [esp + 0x24]
push ecx
call fcn.00406c40
add esp, 0xc
push str.shortcut
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x68], 0x3e
call fcn.00403d40
lea eax, [esp + 0x28]
push eax
call fcn.00406c40
add esp, 0xc
push str.shortcuticon
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x68], 0x3f
call fcn.00403d40
lea eax, [esp + 0x34]
push eax
call fcn.00406c40
add esp, 0xc
push str.iconindex
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov byte [esp + 0x68], 0x40
call fcn.00403d40
lea eax, [esp + 0x30]
push eax
call fcn.00406c40
add esp, 0xc
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
mov bl, 0x41
mov byte [esp + 0x5c], bl
je 0x40ce1c
mov edx, dword [esp + 0x20]
cmp dword [edx - 0xc], 0
je 0x40ce1c
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401820
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x68], 0x42
call fcn.00401820
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x68], bl
call fcn.00407f80
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0x43
call fcn.004022f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00401310
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401820
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x68], 0x44
call fcn.00401820
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x68], bl
call fcn.00407f80
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 0x45
call fcn.004022f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00401310
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401820
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x68], 0x46
call fcn.00401820
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x68], bl
call fcn.00407f80
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0x47
call fcn.004022f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00401310
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401820
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x68], 0x48
call fcn.00401820
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x68], bl
call fcn.00407f80
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 0x49
call fcn.004022f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00401310
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401820
lea eax, [esp + 0x34]
push eax
call fcn.00405de0
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x24]
push ecx
mov byte [esp + 0x68], 0x4a
call fcn.00467fac
push eax
push esi
push edi
push ebx
push ebp
call fcn.00407070
add esp, 0x20
lea ecx, [esp + 0x24]
call fcn.004013f0
mov edx, dword [esp + 0x20]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x4b
push str.Create_shortcut__s_...
mov byte [esp + 0x68], bl
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x48fda4
mov byte [esp + 0x6c], 0x4c
call fcn.00402410
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x6c], bl
call fcn.00413c80
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x60], 0x4d
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004019b0
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], bl
call fcn.00401310
push 1
push ecx
mov dword [esp + 0x44], esp
mov esi, esp
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x48fda4
mov byte [esp + 0x70], 0x4e
call fcn.00402410
push esi
mov byte [esp + 0x70], bl
call fcn.00413c80
mov eax, dword [esp + 0x80]
add esp, 0xc
push eax
call fcn.00408510
add esp, 8
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x48fda4
mov byte [esp + 0x68], 0x4f
call fcn.00402410
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x68], bl
call fcn.00413c80
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x50
call fcn.0040ad00
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.00401310
lea ecx, [esp + 0x24]
call fcn.00401310
lea ecx, [esp + 0x30]
call fcn.00401310
mov ebp, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
call fcn.00401310
lea ecx, [esp + 0x2c]
jmp 0x40ca79
lea ecx, [esp + 0x18]
push 0x490a60
push ecx
call fcn.00403c20
add esp, 8
test al, al
je 0x40d3d3
push ecx
mov esi, esp
mov dword [esp + 0x40], esp
push 0x48fe18
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00403d40
push esi
call fcn.00406c40
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x68], 0x51
call fcn.00401820
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x68], 2
call fcn.00407f80
add esp, 0xc
push 0x490a58
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x68], 0x52
call fcn.00403d40
lea eax, [esp + 0x28]
push eax
call fcn.00406c40
add esp, 0xc
push 0x490a50
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x68], 0x53
call fcn.00403d40
lea eax, [esp + 0x24]
push eax
call fcn.00406c40
add esp, 0xc
push str.value
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x68], 0x54
call fcn.00403d40
lea eax, [esp + 0x2c]
push eax
call fcn.00406c40
add esp, 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0x55
call fcn.0043eaf0
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x56
push 0x48fda0
mov byte [esp + 0x64], bl
call fcn.00402410
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x64], 0x57
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00401820
mov byte [esp + 0x68], bl
call fcn.00405ab0
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x40d001
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x48], 0
je 0x40d0d6
lea ecx, [esp + 0x2c]
call fcn.004013f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
dec ecx
push eax
push ecx
mov bl, 0x58
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], bl
call fcn.00401050
mov edx, dword [eax]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.Empty_ini__s___s_
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x48fda4
mov byte [esp + 0x70], 0x59
call fcn.00402410
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x70], bl
call fcn.00413c80
add esp, 0xc
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x6c], 0x5a
call fcn.004019b0
add esp, 0x10
jmp 0x40d09a
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esp + 0x48], 0
je 0x40d0d6
lea ecx, [esp + 0x2c]
call fcn.004013f0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
push ecx
push edx
dec eax
mov bl, 0x5b
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], bl
call fcn.00401050
mov ecx, dword [eax]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.Write_ini__s___s___s_
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x48fda4
mov byte [esp + 0x74], 0x5c
call fcn.00402410
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x74], bl
call fcn.00413c80
add esp, 0xc
mov eax, dword [eax]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x70], 0x5d
call fcn.004019b0
add esp, 0x14
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], bl
call fcn.00401310
push 1
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00401820
push ebp
call fcn.00408510
mov eax, dword [esp + 0x38]
push eax
call fcn.0040ad00
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.00401310
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0x55
call fcn.0043edf9
lea ecx, [esp + 0x24]
call fcn.00401310
lea ecx, [esp + 0x1c]
call fcn.00401310
lea ecx, [esp + 0x20]
call fcn.00401310
lea ecx, [esp + 0x28]
jmp 0x40d3c9
push str.source
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x44], esp
test eax, eax
je 0x40d12a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00406c40
add esp, 0xc
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x5c], 8
jne 0x40d170
add eax, 0xfffffff0
mov byte [esp + 0x5c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d4cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40d4cb
push str.target
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x44], esp
test eax, eax
je 0x40d192
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00406c40
add esp, 0xc
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
mov bl, 9
mov byte [esp + 0x5c], bl
jne 0x40d1d8
lea ecx, [esp + 0x1c]
call fcn.00401310
lea ecx, [esp + 0x20]
call fcn.00401310
lea ecx, [esp + 0x14]
call fcn.00401310
lea ecx, [esp + 0x18]
call fcn.00401310
jmp 0x40d515
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00401820
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x68], 0xa
call fcn.00401820
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x68], bl
call fcn.00407f80
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 0xb
call fcn.004022f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], bl
call fcn.00401310
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00401820
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x68], 0xc
call fcn.00401820
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x68], bl
call fcn.00407f80
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0xd
call fcn.004022f0
lea ecx, [esp + 0x34]
call fcn.00401310
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0x2c]
call fcn.004013f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
push str.__s___s_
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
mov bl, 0xe
push 0x4909a8
mov byte [esp + 0x70], bl
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x48fda4
mov byte [esp + 0x74], 0xf
call fcn.00402410
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x74], bl
call fcn.00413c80
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x70], 0x10
call fcn.00403080
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x6c], 0x11
call fcn.004019b0
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.00401310
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401310
push 1
push ecx
mov dword [esp + 0x44], esp
mov esi, esp
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x48fda4
mov byte [esp + 0x70], 0x12
call fcn.00402410
push esi
mov byte [esp + 0x70], bl
call fcn.00413c80
add esp, 0xc
push ebp
call fcn.00408510
add esp, 8
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00401820
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x48fda4
mov byte [esp + 0x68], 0x13
call fcn.00402410
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x68], bl
call fcn.00413c80
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x14
call fcn.0040ad00
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.00401310
lea ecx, [esp + 0x2c]
call fcn.00401310
lea ecx, [esp + 0x1c]
call fcn.00401310
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 2
call fcn.00401310
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x40d3e5
push 0x80004003
call fcn.004834d0
lea edx, [esp + 0x34]
push edx
call fcn.00403e20
mov edi, dword [esp + 0x34]
test edi, edi
sete al
mov byte [esp + 0x5c], 0x5e
test al, al
je 0x40d430
mov byte [esp + 0x5c], 2
test edi, edi
je 0x40d412
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40d4e4
test edi, edi
jne 0x40d43e
push 0x80004003
call fcn.004834d0
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x30]
push ecx
push edi
call edx
test eax, eax
jge 0x40d45b
push 0x48ff14
push edi
push eax
call fcn.004834f0
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jle 0x40d4be
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.00403f10
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x2c]
push ecx
push edx
push ebp
push eax
push ecx
mov eax, esp
mov byte [esp + 0x70], 0x5f
mov dword [esp + 0x50], esp
mov dword [eax], esi
test esi, esi
je 0x40d49e
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
call fcn.0040bf90
add esp, 0x14
mov byte [esp + 0x5c], 0x5e
test esi, esi
je 0x40d4b7
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
inc ebx
cmp ebx, dword [esp + 0x30]
jl 0x40d463
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
mov byte [esp + 0x60], 2
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x5c], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d4f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d515
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], 0xffffffff
test eax, eax
je 0x40d52d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret