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

Disassembly:
push 0xffffffffffffffff
push 0x486660
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
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 0x410d19
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], esp
test eax, eax
je 0x40f7e9
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x1c]
push eax
call fcn.0040a810
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x68], 1
call fcn.0040b270
lea edx, [esp + 0x24]
push 0x490424
push edx
mov byte [esp + 0x70], 2
call fcn.00408920
mov ebp, dword [esp + 0x80]
add esp, 0x14
test al, al
je 0x40fa79
push ecx
mov esi, esp
mov dword [esp + 0x38], esp
push str.file
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 0x40f851
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.0040aa00
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.00401660
add eax, 0x10
lea ecx, [esp + 0x30]
add esp, 4
mov dword [esi], eax
push ecx
mov byte [esp + 0x68], 2
call fcn.0040c060
add esp, 0xc
mov edx, dword [esp + 0x64]
push 0x490418
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 0x40f8b3
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x30]
push eax
call fcn.0040aa00
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 0x40f8e7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0040aa00
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 0x40f91c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x24]
push eax
call fcn.0040aa00
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 7
call fcn.004092d0
mov ecx, dword [esp + 0x1c]
xor esi, esi
cmp dword [ecx - 0xc], esi
mov dword [esp + 0x74], esi
jl 0x40f9bf
push 0x48fc44
push ecx
call fcn.0046dc11
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x40f96b
sub eax, ecx
sar eax, 1
js 0x40f96b
mov esi, 1
mov dword [esp + 0x74], esi
cmp dword [ecx - 0xc], 0
jl 0x40f9bf
push 0x48fc3c
push ecx
call fcn.0046dc11
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x40f996
sub eax, ecx
sar eax, 1
js 0x40f996
mov esi, 1
mov dword [esp + 0x74], esi
cmp dword [ecx - 0xc], 0
jl 0x40f9bf
push 0x48fc40
push ecx
call fcn.0046dc11
add esp, 8
test eax, eax
je 0x40f9bf
sub eax, dword [esp + 0x1c]
sar eax, 1
js 0x40f9bf
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.0040f1b0
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 0x40fa01
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 0x40fa26
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 0x40fa4b
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 0x410bd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x410bd3
lea ecx, [esp + 0x18]
push 0x4903e8
push ecx
call fcn.00408920
add esp, 8
test al, al
jne 0x410908
lea edx, [esp + 0x18]
push str.rename
push edx
call fcn.00408920
add esp, 8
test al, al
jne 0x410908
lea eax, [esp + 0x18]
push str.kill
push eax
call fcn.00408920
add esp, 8
test al, al
je 0x40fc81
push str.file
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00408450
lea eax, [esp + 0x28]
push eax
call fcn.0040aa00
add esp, 0xc
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
mov bl, 0x15
mov byte [esp + 0x5c], bl
je 0x410bc5
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401750
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x68], 0x16
call fcn.00401750
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x68], bl
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 0x17
call fcn.00401ab0
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401580
mov edx, dword [esp + 0x20]
push edx
call fcn.0042e040
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.00402e90
mov eax, dword [esp + 0x20]
push eax
push str.__s_
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x18
push str.Kill_process
mov byte [esp + 0x6c], bl
call fcn.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.MAIN
mov byte [esp + 0x70], 0x19
call fcn.00401bd0
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x70], bl
call fcn.00416a90
add esp, 0xc
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x6c], 0x1a
call fcn.00403ce0
add esp, 0xc
mov eax, dword [eax]
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x68], 0x1b
call fcn.00403ac0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00401580
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.00401580
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.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.MAIN
mov byte [esp + 0x70], 0x1c
call fcn.00401bd0
push esi
mov byte [esp + 0x70], bl
call fcn.00416a90
add esp, 0xc
push ebp
call fcn.0040c320
add esp, 8
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.MAIN
mov byte [esp + 0x68], 0x1d
call fcn.00401bd0
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x68], bl
call fcn.00416a90
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x1e
call fcn.0040e570
add esp, 0x10
lea ecx, [esp + 0x30]
jmp 0x410bb7
lea edx, [esp + 0x18]
push str.path
push edx
call fcn.00408920
add esp, 8
test al, al
je 0x40fed8
push str.name
push ecx
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00408450
lea ecx, [esp + 0x24]
push ecx
call fcn.0040aa00
add esp, 0xc
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
mov bl, 0x1f
mov byte [esp + 0x5c], bl
jne 0x40fd08
push ecx
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00408450
lea ecx, [esp + 0x34]
push ecx
call fcn.0040a900
add esp, 8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0x20
call fcn.00401ab0
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401580
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
je 0x40fecf
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401750
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x68], 0x21
call fcn.00401750
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x68], bl
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0x22
call fcn.00401ab0
lea ecx, [esp + 0x30]
call fcn.00401580
lea ecx, [esp + 0x20]
call fcn.00402e90
mov ecx, dword [esp + 0x1c]
push ecx
push str.__s_
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x23
push str.Create_directory
mov byte [esp + 0x6c], bl
call fcn.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.MAIN
mov byte [esp + 0x70], 0x24
call fcn.00401bd0
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x70], bl
call fcn.00416a90
add esp, 0xc
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x6c], 0x25
call fcn.00403ce0
add esp, 0xc
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x68], 0x26
call fcn.00403ac0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00401580
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.00401580
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.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.MAIN
mov byte [esp + 0x70], 0x27
call fcn.00401bd0
push esi
mov byte [esp + 0x70], bl
call fcn.00416a90
add esp, 0xc
push ebp
call fcn.0040c320
add esp, 8
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.MAIN
mov byte [esp + 0x68], 0x28
call fcn.00401bd0
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x68], bl
call fcn.00416a90
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x29
call fcn.0040e570
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401580
push str.1.txt
lea ecx, [esp + 0x20]
call fcn.004050d0
push 0x48ef18
push 0x48ef10
lea ecx, [esp + 0x24]
call fcn.00403660
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401750
call fcn.00409f60
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00401580
lea ecx, [esp + 0x1c]
jmp 0x410bc9
lea eax, [esp + 0x18]
push 0x490350
push eax
call fcn.00408920
add esp, 8
test al, al
je 0x410290
push str.file
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00408450
lea eax, [esp + 0x24]
push eax
call fcn.0040aa00
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
mov byte [esp + 0x5c], 0x2a
test eax, eax
je 0x4100bb
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401750
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x68], 0x2b
call fcn.00401750
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x68], 0x2a
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0x2c
call fcn.00401ab0
lea ecx, [esp + 0x30]
call fcn.00401580
lea ecx, [esp + 0x24]
call fcn.00402e90
mov edx, dword [esp + 0x1c]
push edx
push str.__s_
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x2d
push str.Remove_file
mov byte [esp + 0x6c], bl
call fcn.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.MAIN
mov byte [esp + 0x70], 0x2e
call fcn.00401bd0
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x70], bl
call fcn.00416a90
add esp, 0xc
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x6c], 0x2f
call fcn.00403ce0
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x68], 0x30
call fcn.00403ac0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00401580
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.00401580
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.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.MAIN
mov byte [esp + 0x70], 0x31
call fcn.00401bd0
push esi
mov byte [esp + 0x70], bl
call fcn.00416a90
add esp, 0xc
push ebp
call fcn.0040c320
add esp, 8
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.MAIN
mov byte [esp + 0x68], 0x32
call fcn.00401bd0
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x68], bl
call fcn.00416a90
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x33
call fcn.0040e570
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401580
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0040c4d0
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 0x2a
call fcn.00401580
push str.path
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00408450
lea eax, [esp + 0x28]
push eax
call fcn.0040aa00
add esp, 0xc
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
mov bl, 0x34
mov byte [esp + 0x5c], bl
je 0x41027e
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401750
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x68], 0x35
call fcn.00401750
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x68], bl
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 0x36
call fcn.00401ab0
lea ecx, [esp + 0x30]
call fcn.00401580
lea ecx, [esp + 0x24]
call fcn.00402e90
mov edx, dword [esp + 0x20]
push edx
push str.__s_
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x37
push str.Remove_path
mov byte [esp + 0x6c], bl
call fcn.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.MAIN
mov byte [esp + 0x70], 0x38
call fcn.00401bd0
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x70], bl
call fcn.00416a90
add esp, 0xc
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x6c], 0x39
call fcn.00403ce0
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x68], 0x3a
call fcn.00403ac0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.00401580
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5c], bl
call fcn.00401580
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.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.MAIN
mov byte [esp + 0x70], 0x3b
call fcn.00401bd0
push esi
mov byte [esp + 0x70], bl
call fcn.00416a90
add esp, 0xc
push ebp
call fcn.0040c320
add esp, 8
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.MAIN
mov byte [esp + 0x68], 0x3c
call fcn.00401bd0
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x68], bl
call fcn.00416a90
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x3d
call fcn.0040e570
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401580
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0042ab00
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00401580
lea ecx, [esp + 0x20]
call fcn.00401580
lea ecx, [esp + 0x1c]
jmp 0x410bc9
lea edx, [esp + 0x18]
push str.shortcut
push edx
call fcn.00408920
add esp, 8
test al, al
je 0x41062e
push str.file
push ecx
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00408450
lea ecx, [esp + 0x24]
push ecx
call fcn.0040aa00
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.00408450
lea eax, [esp + 0x28]
push eax
call fcn.0040aa00
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.00408450
lea eax, [esp + 0x34]
push eax
call fcn.0040aa00
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.00408450
lea eax, [esp + 0x30]
push eax
call fcn.0040aa00
add esp, 0xc
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
mov bl, 0x41
mov byte [esp + 0x5c], bl
je 0x41061c
mov edx, dword [esp + 0x20]
cmp dword [edx - 0xc], 0
je 0x41061c
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401750
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x68], 0x42
call fcn.00401750
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x68], bl
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0x43
call fcn.00401ab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00401580
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401750
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x68], 0x44
call fcn.00401750
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x68], bl
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 0x45
call fcn.00401ab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00401580
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401750
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x68], 0x46
call fcn.00401750
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x68], bl
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0x47
call fcn.00401ab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00401580
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401750
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x68], 0x48
call fcn.00401750
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x68], bl
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 0x49
call fcn.00401ab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], bl
call fcn.00401580
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401750
lea eax, [esp + 0x34]
push eax
call fcn.00409e50
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.0046e2cc
push eax
push esi
push edi
push ebx
push ebp
call fcn.0040b060
add esp, 0x20
lea ecx, [esp + 0x24]
call fcn.00402e90
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.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.MAIN
mov byte [esp + 0x6c], 0x4c
call fcn.00401bd0
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x6c], bl
call fcn.00416a90
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x60], 0x4d
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00403ac0
add esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], bl
call fcn.00401580
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.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.MAIN
mov byte [esp + 0x70], 0x4e
call fcn.00401bd0
push esi
mov byte [esp + 0x70], bl
call fcn.00416a90
mov eax, dword [esp + 0x80]
add esp, 0xc
push eax
call fcn.0040c320
add esp, 8
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.MAIN
mov byte [esp + 0x68], 0x4f
call fcn.00401bd0
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x68], bl
call fcn.00416a90
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x50
call fcn.0040e570
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.00401580
lea ecx, [esp + 0x24]
call fcn.00401580
lea ecx, [esp + 0x30]
call fcn.00401580
mov ebp, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
call fcn.00401580
lea ecx, [esp + 0x2c]
jmp 0x410279
lea ecx, [esp + 0x18]
push 0x4902a4
push ecx
call fcn.00408920
add esp, 8
test al, al
je 0x410bd3
push ecx
mov esi, esp
mov dword [esp + 0x40], esp
push str.file
push ecx
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00408450
push esi
call fcn.0040aa00
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x68], 0x51
call fcn.00401750
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x68], 2
call fcn.0040c060
add esp, 0xc
push 0x49029c
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x68], 0x52
call fcn.00408450
lea eax, [esp + 0x28]
push eax
call fcn.0040aa00
add esp, 0xc
push 0x490294
push ecx
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x68], 0x53
call fcn.00408450
lea eax, [esp + 0x24]
push eax
call fcn.0040aa00
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.00408450
lea eax, [esp + 0x2c]
push eax
call fcn.0040aa00
add esp, 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0x55
call fcn.0044e082
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
mov bl, 0x56
push 0x48ef18
mov byte [esp + 0x64], bl
call fcn.00401bd0
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.00401750
mov byte [esp + 0x68], bl
call fcn.00409b20
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x410801
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 0x4108d6
lea ecx, [esp + 0x2c]
call fcn.00402e90
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.00401ec0
mov edx, dword [eax]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.Empty_ini__s___s_
call fcn.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.MAIN
mov byte [esp + 0x70], 0x59
call fcn.00401bd0
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x70], bl
call fcn.00416a90
add esp, 0xc
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x6c], 0x5a
call fcn.00403ac0
add esp, 0x10
jmp 0x41089a
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 0x4108d6
lea ecx, [esp + 0x2c]
call fcn.00402e90
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.00401ec0
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.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.MAIN
mov byte [esp + 0x74], 0x5c
call fcn.00401bd0
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x74], bl
call fcn.00416a90
add esp, 0xc
mov eax, dword [eax]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x70], 0x5d
call fcn.00403ac0
add esp, 0x14
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], bl
call fcn.00401580
push 1
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00401750
push ebp
call fcn.0040c320
mov eax, dword [esp + 0x38]
push eax
call fcn.0040e570
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.00401580
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0x55
call fcn.0044e25f
lea ecx, [esp + 0x24]
call fcn.00401580
lea ecx, [esp + 0x1c]
call fcn.00401580
lea ecx, [esp + 0x20]
call fcn.00401580
lea ecx, [esp + 0x28]
jmp 0x410bc9
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 0x41092a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0040aa00
add esp, 0xc
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x5c], 8
jne 0x410970
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 0x410ccb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x410ccb
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 0x410992
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040aa00
add esp, 0xc
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
mov bl, 9
mov byte [esp + 0x5c], bl
jne 0x4109d8
lea ecx, [esp + 0x1c]
call fcn.00401580
lea ecx, [esp + 0x20]
call fcn.00401580
lea ecx, [esp + 0x14]
call fcn.00401580
lea ecx, [esp + 0x18]
call fcn.00401580
jmp 0x410d15
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00401750
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x68], 0xa
call fcn.00401750
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x68], bl
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 0xb
call fcn.00401ab0
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], bl
call fcn.00401580
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00401750
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x68], 0xc
call fcn.00401750
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x68], bl
call fcn.0040c060
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0xd
call fcn.00401ab0
lea ecx, [esp + 0x34]
call fcn.00401580
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.00402e90
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 0x4901ec
mov byte [esp + 0x70], bl
call fcn.00401bd0
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.MAIN
mov byte [esp + 0x74], 0xf
call fcn.00401bd0
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x74], bl
call fcn.00416a90
add esp, 0xc
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x70], 0x10
call fcn.00403ce0
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x6c], 0x11
call fcn.00403ac0
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.00401580
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], bl
call fcn.00401580
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.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.MAIN
mov byte [esp + 0x70], 0x12
call fcn.00401bd0
push esi
mov byte [esp + 0x70], bl
call fcn.00416a90
add esp, 0xc
push ebp
call fcn.0040c320
add esp, 8
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00401750
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.MAIN
mov byte [esp + 0x68], 0x13
call fcn.00401bd0
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x68], bl
call fcn.00416a90
mov eax, dword [eax]
push eax
mov byte [esp + 0x6c], 0x14
call fcn.0040e570
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.00401580
lea ecx, [esp + 0x2c]
call fcn.00401580
lea ecx, [esp + 0x1c]
call fcn.00401580
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 2
call fcn.00401580
mov ecx, dword [esp + 0x64]
test ecx, ecx
jne 0x410be5
push 0x80004003
call fcn.004844d0
lea edx, [esp + 0x34]
push edx
call fcn.00408b20
mov edi, dword [esp + 0x34]
test edi, edi
sete al
mov byte [esp + 0x5c], 0x5e
test al, al
je 0x410c30
mov byte [esp + 0x5c], 2
test edi, edi
je 0x410c12
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 0x410ce4
test edi, edi
jne 0x410c3e
push 0x80004003
call fcn.004844d0
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x30]
push ecx
push edi
call edx
test eax, eax
jge 0x410c5b
push 0x48f874
push edi
push eax
call fcn.004844f0
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jle 0x410cbe
push ebx
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.00408bc0
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 0x410c9e
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
call fcn.0040f790
add esp, 0x14
mov byte [esp + 0x5c], 0x5e
test esi, esi
je 0x410cb7
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
inc ebx
cmp ebx, dword [esp + 0x30]
jl 0x410c63
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 0x410cf0
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 0x410d15
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 0x410d2d
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