Function at 0x401434
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x4378a8]
push 7
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov esi, ecx
mov edi, edx
mov dword [ebp - 0xc], eax
mov eax, section..ndata
shl esi, 0xb
shl edi, 0xb
add esi, eax
add edi, eax
lea eax, [ebp - 0x2c]
xor ebx, ebx
mov dword [0x40dfc4], eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffe
mov dword [ebp - 4], ebx
cmp eax, 0x44
ja case.0x401488.66
jmp dword [eax*4 + 0x402f55]
push ecx
push str.Jump:__d
call fcn.00406dce
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jmp 0x402f4e
push ebx
call fcn.004030c3
push eax
push str.Aborting:___s_
call fcn.00406dce
pop ecx
pop ecx
push ebx
push dword [ebp - 0x2c]
call fcn.00405848
jmp 0x4025c9
inc dword [0x43686c]
cmp dword [ebp - 0xc], ebx
je 0x4025c9
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4025c9
push ecx
call fcn.0040136d
mov esi, eax
dec esi
push esi
push str.Call:__d
call fcn.00406dce
pop ecx
pop ecx
push ebx
push esi
call fcn.00401389
jmp 0x402f4e
push ebx
call fcn.004030c3
push eax
push str.DetailPrint:__s
call fcn.00406dce
pop ecx
pop ecx
push ebx
push dword [ebp - 0x2c]
call fcn.00405848
jmp case.0x401488.66
push ebx
call fcn.004030a1
mov esi, eax
mov dword [ebp - 0x48], edx
push esi
push str.Sleep__d_
call fcn.00406dce
add esp, 0xc
cmp esi, 1
jg 0x401544
xor esi, esi
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x401488.66
push str.BringToFront
call fcn.00406dce
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp case.0x401488.66
mov eax, ecx
shl eax, 2
cmp dword [ebp - 0x24], ebx
jne 0x4015a7
mov ecx, dword [eax + 0x437940]
push 1
mov dword [eax + 0x437980], ecx
call fcn.004030a1
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
mov dword [ebp - 0x48], edx
mov dword [ecx*4 + 0x437940], eax
push str.SetFlag:__d_d
call fcn.00406dce
add esp, 0x10
jmp case.0x401488.66
mov ecx, dword [eax + 0x437980]
mov dword [eax + 0x437940], ecx
jmp case.0x401488.66
mov eax, dword [ebp - 0x24]
lea esi, [eax*4 + 0x437940]
xor eax, eax
mov ecx, dword [esi]
cmp ecx, ebx
sete al
and ecx, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x2c]
mov dword [esi], ecx
jmp 0x402f4e
push dword [edx*4 + 0x437940]
push esi
jmp 0x402eec
mov eax, dword [0x436870]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, ebx
je 0x4015fc
push edx
push eax
call esi
mov ecx, dword [ebp - 0x2c]
mov eax, dword [0x436884]
cmp eax, ebx
je case.0x401488.66
push ecx
push eax
call esi
jmp case.0x401488.66
push 0xfffffffffffffff0
call fcn.004030c3
push dword [ebp - 0x28]
mov esi, eax
push esi
push str.SetFileAttributes:___s_:_08X
call fcn.00406dce
add esp, 0xc
push dword [ebp - 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne case.0x401488.66
mov dword [ebp - 4], 1
push str.SetFileAttributes_failed.
call fcn.00406dce
jmp 0x402392
push 0xfffffffffffffff0
call fcn.004030c3
push dword [ebp - 0x28]
mov dword [ebp + 8], eax
push eax
push str.CreateDirectory:___s____d_
call fcn.00406dce
add esp, 0xc
push dword [ebp + 8]
call fcn.004061ee
mov esi, eax
cmp esi, ebx
je 0x401713
push 0x5c
push esi
call fcn.00406170
mov esi, eax
mov di, word [esi]
mov word [esi], bx
cmp di, bx
jne 0x4016ae
cmp dword [ebp - 0x24], ebx
je 0x4016ae
call fcn.00405de6
test eax, eax
je 0x4016ae
push dword [ebp + 8]
call fcn.00405d4c
jmp 0x4016b6
push dword [ebp + 8]
call fcn.00405dc9
cmp eax, ebx
je 0x4016f6
cmp eax, 0xb7
je 0x4016d7
push eax
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s___err_d_
call fcn.00406dce
add esp, 0xc
inc dword [ebp - 4]
jmp 0x401705
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x401705
push dword [ebp + 8]
push str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00406dce
inc dword [ebp - 4]
jmp 0x401703
push dword [ebp + 8]
push str.CreateDirectory:___s__created
call fcn.00406dce
pop ecx
pop ecx
mov word [esi], di
inc esi
inc esi
cmp di, bx
jne 0x401681
cmp dword [ebp - 0x28], ebx
je 0x40175c
push 0xffffffffffffffe6
call fcn.00401423
push dword [ebp + 8]
push 0x443000
call fcn.0040686e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne case.0x401488.66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str.SetCurrentDirectory__s__failed___d_
call fcn.00406dce
add esp, 0xc
inc dword [ebp - 4]
jmp case.0x401488.66
push 0xfffffffffffffff5
jmp 0x40250d
push ebx
call fcn.004030c3
mov esi, eax
push esi
call fcn.00406dff
test eax, eax
je 0x40178b
push dword [ebp - 0x28]
push esi
push str.IfFileExists:_file___s__exists__jumping__d
call fcn.00406dce
add esp, 0xc
jmp 0x401f27
push dword [ebp - 0x24]
push esi
push str.IfFileExists:_file___s__does_not_exist__jumping__d
call fcn.00406dce
add esp, 0xc
mov eax, dword [ebp - 0x24]
jmp 0x402f4e
push 0xffffffffffffffd0
call fcn.004030c3
push 0xffffffffffffffdf
mov esi, eax
call fcn.004030c3
push 0x13
mov dword [ebp + 8], eax
call fcn.004030c3
mov edi, eax
push edi
push str.Rename:__s
call fcn.00406dce
pop ecx
pop ecx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4017e2
push 0xffffffffffffffe3
jmp 0x40250d
cmp dword [ebp - 0x24], ebx
je 0x40180c
push esi
call fcn.00406dff
test eax, eax
je 0x40180c
push dword [ebp + 8]
push esi
call fcn.00406634
push 0xffffffffffffffe4
call fcn.00401423
push edi
push str.Rename_on_reboot:__s
jmp 0x40238c
push edi
mov dword [ebp - 4], 1
push str.Rename_failed:__s
jmp 0x40238c
push ebx
call fcn.004030c3
mov esi, eax
lea eax, [ebp + 8]
push eax
push edi
push 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x40185f
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x401869
cmp word [eax], bx
je 0x401869
push esi
call fcn.00406dff
cmp eax, ebx
je 0x40185f
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.0040686e
jmp 0x401869
mov dword [ebp - 4], 1
mov word [edi], bx
cmp dword [ebp - 0x24], ebx
jne case.0x401488.66
push 0x400
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp case.0x401488.66
push 0xffffffffffffffff
call fcn.004030c3
lea ecx, [ebp + 8]
push ecx
push esi
push 0x400
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne case.0x401488.66
jmp 0x402c7b
push 0xffffffffffffffef
call fcn.004030c3
push eax
push esi
call fcn.00406393
test eax, eax
jne case.0x401488.66
jmp 0x402caa
push 0x31
call fcn.004030c3
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, eax
push esi
sar eax, 3
and eax, 2
and ecx, 7
push eax
push ecx
push str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
mov dword [ebp - 0x34], esi
mov dword [ebp + 8], ecx
call fcn.00406dce
add esp, 0x10
push esi
call fcn.004061ba
push esi
mov esi, 0x40b768
test eax, eax
je 0x40190b
push esi
call fcn.0040686e
jmp 0x401922
push 0x443000
push esi
call fcn.0040686e
push eax
call fcn.00406143
push eax
call sub.KERNEL32.dll_lstrcatW
push esi
call fcn.00406b02
mov edi, 0x40c768
cmp dword [ebp + 8], 3
jl 0x401964
push esi
call fcn.00406dff
xor ecx, ecx
cmp eax, ebx
je 0x40194f
lea ecx, [ebp - 0x20]
add eax, 0x14
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
jne 0x40196f
push esi
call fcn.0040633f
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00406364
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x401a48
cmp dword [ebp + 8], ebx
jne 0x401a0d
push esi
push str.File:_error_creating___s_
call fcn.00406dce
pop ecx
pop ecx
push section..ndata
push edi
call fcn.0040686e
push esi
push section..ndata
call fcn.0040686e
push dword [ebp - 0x18]
push 0x40bf68
call fcn.00406890
push edi
push section..ndata
call fcn.0040686e
mov eax, dword [ebp - 0x2c]
sar eax, 3
push eax
push 0x40bf68
call fcn.00405e7b
sub eax, 4
jne 0x4019f7
push str.File:_error__user_retry
call fcn.00406dce
pop ecx
jmp 0x40192d
dec eax
je 0x401a32
push str.File:_error__user_abort
call fcn.00406dce
pop ecx
push esi
push 0xfffffffffffffffa
jmp 0x4014bb
push dword [ebp - 0x34]
push 0xffffffffffffffe2
call fcn.00405848
cmp dword [ebp + 8], 2
jne 0x401a24
mov dword [ebp - 4], 1
push dword [ebp + 8]
push esi
push str.File:_skipped:___s___overwriteflag_d_
jmp 0x4028a2
push str.File:_error__user_cancel
call fcn.00406dce
inc dword [0x437948]
pop ecx
jmp 0x402f4c
push dword [ebp - 0x34]
push 0xffffffffffffffea
call fcn.00405848
inc dword [0x437974]
push ebx
push ebx
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.00403598
dec dword [0x437974]
mov edi, eax
push esi
push edi
push str.File:_wrote__d_to___s_
call fcn.00406dce
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x401a88
cmp dword [ebp - 0x1c], 0xffffffff
je 0x401a9a
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
jge case.0x401488.66
cmp edi, 0xfffffffe
jne 0x401ac3
push 0xffffffffffffffe9
push esi
call fcn.00406890
push dword [ebp - 0x34]
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x401acb
push 0xffffffffffffffee
push esi
call fcn.00406890
push esi
push 0x40a76c
call fcn.00406dce
pop ecx
pop ecx
push 0x200010
push esi
jmp 0x4025c4
push ebx
call fcn.004030c3
mov esi, eax
push esi
push str.Delete:___s_
jmp 0x401b47
push 0x31
call fcn.004030c3
mov esi, eax
push esi
push dword [ebp - 0x2c]
push str.MessageBox:__d___s_
call fcn.00406dce
add esp, 0xc
push dword [ebp - 0x2c]
push esi
call fcn.00405e7b
cmp eax, ebx
je 0x402caa
cmp eax, dword [ebp - 0x24]
je 0x401ca3
cmp eax, dword [ebp - 0x1c]
jne case.0x401488.66
mov eax, dword [ebp - 0x18]
jmp 0x402f4e
push 0xfffffffffffffff0
call fcn.004030c3
mov esi, eax
push esi
push str.RMDir:___s_
call fcn.00406dce
pop ecx
pop ecx
push dword [ebp - 0x28]
push esi
call fcn.00405f27
jmp case.0x401488.66
push 1
call fcn.004030c3
push eax
call sub.KERNEL32.dll_lstrlenW
jmp 0x4029bd
push 2
call fcn.004030a1
push 3
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
call fcn.004030a1
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x4c]
pop ecx
push 1
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
mov dword [ebp + 8], eax
call fcn.004030c3
push eax
mov dword [ebp - 0x10], eax
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x48], ebx
mov word [esi], bx
jne 0x401bad
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
je case.0x401488.66
mov ecx, dword [ebp - 0x44]
cmp ecx, ebx
jge 0x401bc8
lea edi, [eax + ecx]
cmp edi, ebx
jl case.0x401488.66
cmp edi, eax
jle 0x401bce
mov edi, eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + edi*2]
push eax
push esi
call fcn.0040686e
cmp dword [ebp + 8], ebx
jge 0x401bee
push esi
call sub.KERNEL32.dll_lstrlenW
add dword [ebp + 8], eax
jns 0x401bee
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x400
jge case.0x401488.66
mov word [esi + eax*2], bx
jmp case.0x401488.66
push 0x20
call fcn.004030c3
push 0x31
mov esi, eax
call fcn.004030c3
cmp dword [ebp - 0x1c], ebx
push eax
push esi
jne 0x401c2b
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x401ca3
jmp 0x40179c
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x401c22
xor edi, edi
inc edi
push edi
call fcn.004030c3
push 0x400
push esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x401c63
cmp dword [ebp - 0x24], ebx
je 0x401c69
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x401c69
mov dword [ebp - 4], edi
mov word [esi], bx
mov word [esi + 0x7fe], bx
jmp case.0x401488.66
mov esi, dword [ebp - 0x18]
push ebx
call fcn.004030a1
push 1
mov edi, eax
mov dword [ebp - 0x48], edx
call fcn.004030a1
pop ecx
cmp esi, ebx
pop ecx
mov dword [ebp - 0x48], edx
jne 0x401c9f
cmp edi, eax
jl 0x401ca3
jle 0x40179c
jmp 0x401cb1
cmp edi, eax
jae 0x401cab
mov eax, dword [ebp - 0x20]
jmp 0x402f4e
jbe 0x40179c
mov eax, dword [ebp - 0x1c]
jmp 0x402f4e
push 1
call fcn.004030a1
mov edi, eax
push 2
mov dword [ebp - 0x48], edx
mov dword [ebp + 8], edi
call fcn.004030a1
pop ecx
mov dword [ebp - 0x48], edx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, 0xd
ja case.default.0x401cde
jmp dword [eax*4 + 0x403069]
add edi, ecx
jmp 0x401d54
sub edi, ecx
jmp 0x401d54
imul ecx, edi
jmp 0x401d09
cmp ecx, ebx
je 0x401d3a
mov eax, edi
cdq
idiv ecx
mov edi, eax
jmp 0x401d54
or ecx, edi
jmp 0x401d09
and ecx, edi
jmp 0x401d09
xor ecx, edi
mov edi, ecx
jmp 0x401d54
xor eax, eax
cmp edi, ebx
sete al
jmp 0x401cfb
cmp edi, ebx
jne 0x401d28
jmp 0x401d24
xor edi, edi
jmp 0x401d54
cmp edi, ebx
je 0x401d1c
cmp ecx, ebx
je 0x401d1c
xor edi, edi
inc edi
jmp 0x401d54
cmp ecx, ebx
je 0x401d3a
mov eax, edi
cdq
idiv ecx
mov edi, edx
jmp 0x401d54
xor edi, edi
mov dword [ebp - 4], 1
jmp 0x401d54
shl edi, cl
jmp 0x401d54
sar edi, cl
jmp 0x401d54
shr edi, cl
jmp 0x401d54
mov edi, dword [ebp + 8]
push edi
jmp 0x4015e0
push 1
call fcn.004030c3
push 2
mov edi, eax
call fcn.004030a1
push eax
push edi
push esi
mov dword [ebp - 0x48], edx
call dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x40159f
mov eax, dword [ebp - 0x24]
mov edi, dword [0x40dfc8]
cmp eax, ebx
je 0x401dd8
dec eax
cmp edi, ebx
je 0x401d97
mov edi, dword [edi]
cmp eax, ebx
jne 0x401d88
cmp edi, ebx
jne 0x401dab
push dword [ebp - 0x24]
push str.Exch:_stack____d_elements
call fcn.00406dce
pop ecx
pop ecx
jmp 0x4025b6
add edi, 4
mov esi, 0x40b768
push edi
push esi
call fcn.0040686e
mov eax, dword [0x40dfc8]
add eax, 4
push eax
push edi
call fcn.0040686e
mov eax, dword [0x40dfc8]
push esi
add eax, 4
push eax
jmp 0x402e62
cmp edx, ebx
je 0x401e0d
cmp edi, ebx
jne 0x401df0
push str.Pop:_stack_empty
call fcn.00406dce
pop ecx
jmp 0x402caa
lea eax, [edi + 4]
push eax
push esi
call fcn.0040686e
mov eax, dword [edi]
push edi
mov dword [0x40dfc8], eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp case.0x401488.66
push 0x804
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [ebp - 0x2c]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.00406890
mov eax, dword [0x40dfc8]
mov dword [esi], eax
mov dword [0x40dfc8], esi
jmp case.0x401488.66
push 3
call fcn.004030a1
push 4
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x14], eax
call fcn.004030a1
test byte [ebp - 0x18], 1
pop ecx
mov dword [ebp - 0x48], edx
pop ecx
mov dword [ebp + 8], eax
je 0x401e66
push 0x33
call fcn.004030c3
mov dword [ebp - 0x14], eax
test byte [ebp - 0x18], 2
je 0x401e76
push 0x44
call fcn.004030c3
mov dword [ebp + 8], eax
cmp dword [ebp - 0x30], 0x21
push 1
jne 0x401eca
call fcn.004030a1
push 2
mov edi, eax
mov dword [ebp - 0x48], edx
call fcn.004030a1
pop ecx
mov dword [ebp - 0x48], edx
pop ecx
mov ecx, dword [ebp - 0x18]
sar ecx, 2
je 0x401eba
lea edx, [ebp - 8]
push edx
push ecx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401efd
push dword [ebp + 8]
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x401efa
call fcn.004030c3
push 0x12
mov edi, eax
call fcn.004030c3
mov cx, word [eax]
neg cx
sbb ecx, ecx
and ecx, eax
mov ax, word [edi]
neg ax
sbb eax, eax
push ecx
and eax, edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x2c], ebx
jl case.0x401488.66
push dword [ebp - 8]
jmp 0x4015e0
push ebx
call fcn.004030a1
pop ecx
mov dword [ebp - 0x48], edx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40179c
mov eax, dword [ebp - 0x28]
jmp 0x402f4e
push 2
call fcn.004030a1
push 1
mov edi, eax
mov dword [ebp - 0x48], edx
call fcn.004030a1
pop ecx
mov dword [ebp - 0x48], edx
pop ecx
push edi
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x4029bd
mov eax, dword [0x437908]
push ebx
lea esi, [eax + edx]
call fcn.004030a1
pop ecx
mov dword [ebp - 0x48], edx
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp case.0x401488.66
push edx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x48]
push 0x10
imul eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x24]
push eax
push ebx
push ebx
call fcn.004030c3
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push ebx
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
je case.0x401488.66
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp case.0x401488.66
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov edi, eax
call fcn.004030a1
pop ecx
mov ebx, eax
push 0x48
push 0x5a
push edi
mov dword [ebp - 0x48], edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push edi
push dword [ebp - 0xc]
neg eax
mov dword [0x40df68], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 3
call fcn.004030a1
mov dword [0x40df78], eax
mov al, byte [ebp - 0x1c]
pop ecx
mov dword [ebp - 0x48], edx
push dword [ebp - 0x28]
mov cl, al
and cl, 1
mov byte [0x40df7f], 1
mov byte [0x40df7c], cl
mov cl, al
and cl, 2
and al, 4
push 0x40df84
mov byte [0x40df7d], cl
mov byte [0x40df7e], al
call fcn.00406890
push 0x40df68
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x4029bd
push ebx
call fcn.004030a1
push 1
mov esi, eax
mov dword [ebp - 0x48], edx
call fcn.004030a1
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
mov edi, eax
mov dword [ebp - 0x48], edx
je 0x402088
push str.HideWindow
call fcn.00406dce
pop ecx
cmp dword [ebp - 0x20], ebx
push edi
push esi
jne 0x40209a
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x401488.66
call dword [sym.imp.USER32.dll_EnableWindow]
jmp case.0x401488.66
push ebx
call fcn.004030c3
push 0x31
mov esi, eax
call fcn.004030c3
push 0x22
mov ebx, eax
call fcn.004030c3
push 0x15
mov edi, eax
call fcn.004030c3
push 0xffffffffffffffec
call fcn.00401423
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov ax, word [esi]
neg ax
sbb eax, eax
mov dword [ebp - 0x70], ebx
and eax, esi
mov dword [ebp - 0x74], eax
mov ax, word [edi]
neg ax
sbb eax, eax
mov dword [ebp - 0x68], 0x443000
and eax, edi
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x80]
push eax
call fcn.00405e41
test eax, eax
jne 0x40212c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push ebx
push esi
push str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
call fcn.00406dce
add esp, 0x14
jmp 0x402caa
test byte [ebp - 0x7c], 0x40
je 0x402143
push dword [ebp - 0x48]
call fcn.00406f47
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
push str.ExecShell:_success____s_:_file:__s__params:__s__
jmp 0x40159a
push ebx
call fcn.004030c3
mov esi, eax
push esi
push str.Exec:_command__s_
call fcn.00406dce
pop ecx
pop ecx
push esi
push 0xffffffffffffffeb
call fcn.00405848
push esi
call fcn.00405dfe
cmp eax, ebx
mov dword [ebp + 8], eax
push esi
je 0x4021bb
push str.Exec:_success____s__
call fcn.00406dce
cmp dword [ebp - 0x24], ebx
pop ecx
pop ecx
je 0x4021ad
push dword [ebp + 8]
call fcn.00406f47
cmp dword [ebp - 0x28], ebx
jl 0x4021a2
push eax
push edi
call fcn.004067b5
jmp 0x4021ad
cmp eax, ebx
je 0x4021ad
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x401488.66
mov dword [ebp - 4], 1
push 0x40a528
jmp 0x40238c
push 2
call fcn.004030c3
push eax
call fcn.00406dff
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4021f3
mov ebx, eax
push dword [ebx + 0x14]
push edi
call fcn.004067b5
push dword [ebx + 0x18]
jmp 0x4015e0
mov word [esi], bx
mov word [edi], bx
jmp 0x402caa
push 0xffffffffffffffee
call fcn.004030c3
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], eax
push ecx
push eax
push 9
call fcn.00406e96
call eax
mov word [esi], bx
cmp eax, ebx
mov dword [ebp - 0x10], eax
mov word [edi], bx
mov dword [ebp - 4], 1
je case.0x401488.66
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [ebp + 8], eax
je case.0x401488.66
push 0xa
call fcn.00406e96
push 0xb
mov dword [ebp - 0x14], eax
call fcn.00406e96
push dword [ebp + 8]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x34]
call dword [ebp - 0x14]
test eax, eax
je 0x402299
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 8]
push eax
push 0x40a524
push dword [ebp + 8]
call dword [ebp - 0x3c]
test eax, eax
je 0x402299
mov eax, dword [ebp - 8]
push dword [eax + 8]
push esi
call fcn.004067b5
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push edi
call fcn.004067b5
mov dword [ebp - 4], ebx
push dword [ebp + 8]
jmp 0x401e02
cmp dword [0x437978], ebx
mov dword [ebp - 4], 1
jl 0x402398
push 0xfffffffffffffff0
call fcn.004030c3
push 1
mov edi, eax
call fcn.004030c3
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 8], eax
je 0x4022da
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x4022ef
push 8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x40237f
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00406f05
mov esi, eax
cmp esi, ebx
je 0x40233d
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
je 0x40231f
push dword [ebp - 0x24]
call fcn.00401423
call esi
test eax, eax
je 0x402358
mov dword [ebp - 4], 1
jmp 0x402358
push section..data
push 0x40dfc8
push section..ndata
push 0x400
push dword [ebp - 0xc]
call esi
add esp, 0x14
jmp 0x402358
push dword [ebp - 8]
push 0xfffffffffffffff7
call fcn.00405848
push edi
push dword [ebp - 8]
push str.Error_registering_DLL:__s_not_found_in__s
call fcn.00406dce
add esp, 0xc
cmp dword [ebp - 0x20], ebx
jne case.0x401488.66
push dword [ebp + 8]
call fcn.00403dd3
test eax, eax
je case.0x401488.66
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp case.0x401488.66
push 0xfffffffffffffff6
call fcn.00401423
push edi
push str.Error_registering_DLL:_Could_not_load__s
call fcn.00406dce
pop ecx
pop ecx
jmp case.0x401488.66
push 0xffffffffffffffe7
call fcn.00401423
push str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x40164a
push 0xfffffffffffffff0
call fcn.004030c3
push 0xffffffffffffffdf
mov dword [ebp - 0x38], eax
call fcn.004030c3
push 2
mov dword [ebp - 8], eax
call fcn.004030c3
push 0xffffffffffffffcd
mov dword [ebp - 0x3c], eax
call fcn.004030c3
push 0x45
mov dword [ebp - 0x34], eax
call fcn.004030c3
push dword [ebp - 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
mov edi, eax
mov ecx, eax
mov esi, eax
and ecx, 0x8000
sar eax, 0x10
sar esi, 0xc
and eax, 0xffff
and edi, 0xfff
mov dword [ebp - 0x40], ecx
and esi, 7
mov dword [ebp - 0x10], eax
call fcn.004061ba
test eax, eax
jne 0x402417
push 0x21
call fcn.004030c3
push dword [ebp - 0x10]
push esi
push edi
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
push dword [ebp - 8]
push dword [ebp - 0x38]
push str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
call fcn.00406dce
add esp, 0x20
lea eax, [ebp + 8]
push eax
push 0x4085e8
push 1
push ebx
push 0x4085f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402504
mov eax, dword [ebp + 8]
lea edx, [ebp - 0xc]
push edx
push 0x408608
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jl 0x4024f6
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp - 0x40], ebx
mov dword [ebp - 0x14], eax
jne 0x402492
mov eax, dword [ebp + 8]
push 0x443000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp esi, ebx
je 0x4024a0
mov eax, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0x34]
cmp word [ecx], bx
je 0x4024bf
mov eax, dword [ebp + 8]
push edi
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x14], ebx
jl 0x4024ed
mov eax, dword [ebp - 0xc]
push 1
push dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x14], ebx
jge 0x402517
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
call fcn.00401423
jmp case.0x401488.66
push 0xfffffffffffffff4
jmp 0x40250d
push ebx
call fcn.004030c3
push 0x11
mov esi, eax
call fcn.004030c3
push 0x23
mov edi, eax
call fcn.004030c3
push edi
push esi
push str.CopyFiles___s_____s_
mov dword [ebp + 8], eax
call fcn.00406dce
add esp, 0xc
push esi
call fcn.00406dff
test eax, eax
jne 0x40255c
push ebx
push 0xfffffffffffffff9
call fcn.00405848
jmp 0x402caa
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 2
call sub.KERNEL32.dll_lstrlenW
push edi
mov word [esi + eax*2 + 2], bx
call sub.KERNEL32.dll_lstrlenW
mov word [edi + eax*2 + 2], bx
mov eax, dword [ebp + 8]
mov cx, word [ebp - 0x24]
push eax
push ebx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x4a], eax
mov word [ebp - 0x54], cx
call fcn.00405848
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je case.0x401488.66
jmp 0x40254f
cmp ecx, 0xbadf00d
je 0x4025d3
push 0x200010
push 0xffffffffffffffe8
push ebx
call fcn.00406890
push eax
call fcn.00405e7b
mov eax, 0x7fffffff
jmp 0x402f4e
inc dword [0x437954]
jmp case.0x401488.66
mov esi, 0x40bf68
push str._RM_
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
call fcn.0040686e
mov edi, 0x40c768
push esi
push edi
call fcn.0040686e
cmp dword [ebp - 0x2c], ebx
je 0x402611
push ebx
call fcn.004030c3
mov dword [ebp - 8], eax
cmp dword [ebp - 0x28], ebx
je 0x402620
push 0x11
call fcn.004030c3
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x1c], ebx
je 0x40262f
push 0x22
call fcn.004030c3
mov dword [ebp + 8], eax
push 0xffffffffffffffcd
call fcn.004030c3
mov ebx, eax
push ebx
push edi
push esi
push 0x40b768
push 0x40a310
call fcn.00406dce
add esp, 0x14
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4018b9
mov eax, dword [0x40a30c]
push 1
mov dword [ebp + 8], eax
call fcn.004030c3
push 0x12
mov edi, eax
call fcn.004030c3
push 0xffffffffffffffdd
mov dword [ebp - 0x48], eax
call fcn.004030c3
push eax
push 0x3ff
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp - 0x48]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0xa
jmp 0x4018a0
push edx
mov edi, edx
call fcn.00406c46
cmp dword [ebp - 0x1c], ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x4026f7
push 2
call fcn.00403103
mov edi, eax
cmp edi, ebx
je 0x402caa
push 0x33
call fcn.004030c3
mov esi, eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
push 0x40c768
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
push str.DeleteRegValue:___s_s____s_
call fcn.00406dce
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x402721
push 0x22
call fcn.004030c3
mov esi, eax
push esi
push dword [ebp + 8]
push str.DeleteRegKey:___s_s_
call fcn.00406dce
mov eax, dword [ebp - 0x1c]
add esp, 0xc
sar eax, 1
push eax
push esi
push edi
call fcn.00403181
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], ebx
je case.0x401488.66
jmp 0x402caa
mov eax, dword [ebp - 0x1c]
push 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
mov edi, ecx
mov dword [ebp - 0x3c], eax
call fcn.004030c3
push 0x11
mov dword [ebp - 0xc], eax
call fcn.004030c3
push edi
mov dword [ebp + 8], eax
call fcn.00406c46
pop ecx
xor esi, esi
push 2
inc esi
push dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], esi
push edi
call fcn.00403153
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x402897
cmp dword [ebp - 8], esi
mov dword [ebp - 0x14], ebx
mov edi, 0x40c768
jne 0x4027c6
push 0x23
call fcn.004030c3
push edi
call sub.KERNEL32.dll_lstrlenW
cmp dword [ebp - 0x3c], esi
push edi
push dword [ebp - 0xc]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x14], eax
push dword [ebp + 8]
push dword [ebp - 0x38]
jne 0x4027b9
push str.WriteRegStr:___s_s____s___s_
call fcn.00406dce
add esp, 0x14
jmp 0x40285c
push str.WriteRegExpandStr:___s_s____s___s_
call fcn.00406dce
add esp, 0x14
push 4
pop esi
cmp dword [ebp - 8], esi
jne 0x4027f7
push 3
call fcn.004030a1
push eax
mov dword [ebp - 0x48], edx
push dword [ebp - 0xc]
mov dword [0x40c768], eax
mov dword [ebp - 0x14], esi
push dword [ebp + 8]
push dword [ebp - 0x38]
push str.WriteRegDWORD:___s_s____s__0x_08x_
call fcn.00406dce
add esp, 0x18
cmp dword [ebp - 8], 3
jne 0x40285c
cmp dword [ebp - 0x3c], ebx
jne 0x402809
mov esi, str.WriteRegNone
jmp 0x402819
cmp dword [ebp - 0x3c], 7
mov esi, str.WriteRegMultiStr
je 0x402819
mov esi, str.WriteRegBin
push 0x1800
push edi
push ebx
push dword [ebp - 0x20]
call fcn.00403598
mov dword [ebp - 0x14], eax
push eax
push edi
lea eax, [ebp - 0x180]
push 0x80
push eax
call fcn.00406d50
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x38]
push esi
push str._s:___s_s____s___s_
call fcn.00406dce
add esp, 0x28
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x3c]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402879
mov dword [ebp - 4], ebx
jmp 0x40288f
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 0x38]
push str.WriteReg:_error_writing_into___s_s____s_
call fcn.00406dce
add esp, 0x10
push dword [ebp - 0x10]
jmp 0x402982
push dword [ebp + 8]
push dword [ebp - 0x38]
push str.WriteReg:_error_creating_key___s_s_
call fcn.00406dce
add esp, 0xc
jmp case.0x401488.66
push 0x20019
call fcn.00403103
push 0x33
mov edi, eax
call fcn.004030c3
cmp edi, ebx
mov word [esi], bx
je 0x402caa
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0x800
push ecx
lea ecx, [ebp + 8]
push esi
push ecx
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x40291b
cmp dword [ebp + 8], 4
je 0x402906
cmp dword [ebp + 8], ecx
je 0x4028fe
cmp dword [ebp + 8], 2
jne 0x40291b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jmp 0x40297a
push dword [esi]
xor eax, eax
cmp dword [ebp - 0x1c], ebx
push esi
sete al
mov dword [ebp - 4], eax
call fcn.004067b5
jmp 0x402981
mov word [esi], bx
mov dword [ebp - 4], ecx
jmp 0x402981
push 0x20019
call fcn.00403103
push 3
mov edi, eax
call fcn.004030a1
cmp edi, ebx
pop ecx
mov dword [ebp - 0x48], edx
mov word [esi], bx
je 0x402caa
cmp dword [ebp - 0x1c], ebx
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
je 0x40295e
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x40297a
push ebx
push ebx
push ebx
lea ecx, [ebp + 8]
push ebx
push ecx
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x40297a
mov dword [ebp - 4], 1
mov word [esi + 0x7fe], bx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp case.0x401488.66
push esi
call fcn.004067ce
cmp eax, ebx
je case.0x401488.66
push eax
jmp 0x4021b0
push 0xffffffffffffffed
call fcn.004030c3
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.00406364
cmp eax, 0xffffffff
je 0x402ca7
push eax
jmp 0x4015e0
mov eax, dword [ebp - 0x24]
xor ecx, ecx
cmp dword [ebp - 0x30], 0x38
mov dword [ebp - 0x48], eax
sete cl
cmp eax, ebx
mov edi, ecx
je 0x4029f3
push 1
call fcn.004030a1
mov word [0x40bf68], ax
xor eax, eax
cmp edi, ebx
pop ecx
sete al
mov dword [ebp - 0x40], edx
inc eax
jmp 0x402a37
cmp dword [ebp - 0x30], 0x38
jne 0x402a28
push 0x21
call fcn.004030c3
push ebx
push ebx
push 0x400
push 0x40bf68
push 0xffffffffffffffff
push 0x40c768
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x40bf68
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x402a37
push 0x11
call fcn.004030c3
push eax
call sub.KERNEL32.dll_lstrlenW
add eax, eax
cmp word [esi], bx
mov dword [ebp + 8], eax
je 0x402caa
push esi
call fcn.004067ce
or edi, dword [ebp - 0x48]
mov esi, eax
jne 0x402a64
cmp dword [ebp - 0x20], ebx
je 0x402a64
push esi
push esi
call fcn.00406445
test eax, eax
jl 0x402caa
push dword [ebp + 8]
push 0x40bf68
push esi
call fcn.00406416
jmp 0x4018b9
push 2
mov dword [ebp - 0xc], ebx
pop eax
push eax
mov dword [ebp - 0x3c], eax
call fcn.004030a1
cmp eax, 1
pop ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x10], eax
jl case.0x401488.66
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402aa2
mov dword [ebp - 0x10], ecx
cmp word [esi], bx
je 0x402c03
push esi
mov dword [ebp - 8], ebx
call fcn.004067ce
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
jle 0x402c03
cmp dword [ebp - 0x30], 0x39
jne 0x402b61
lea eax, [ebp - 0x34]
push ebx
push eax
push 2
pop eax
sub eax, dword [ebp - 0x20]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c03
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x402c03
movzx ax, byte [ebp + 0xa]
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jne 0x402bc4
lea eax, [ebp - 0x38]
push 1
push eax
lea eax, [ebp + 0xa]
push ecx
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x402b8e
mov esi, dword [ebp - 0x3c]
neg esi
dec dword [ebp - 0x34]
mov eax, 0xfffd
mov dword [ebp - 0x38], eax
je 0x402b91
dec dword [ebp - 0x3c]
inc esi
push 1
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0x38]
push 1
push eax
lea eax, [ebp + 0xa]
push dword [ebp - 0x34]
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x402b27
jmp 0x402b8e
cmp dword [ebp - 0x20], ebx
jne 0x402b7c
cmp dword [ebp - 0xc], ebx
jne 0x402b7c
push ebx
push dword [ebp - 0x14]
call fcn.00406445
test eax, eax
jl 0x402c03
lea eax, [ebp - 0x38]
push 2
push eax
push dword [ebp - 0x14]
call fcn.004063e7
test eax, eax
je 0x402c03
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x20], ebx
jne 0x402bc4
cmp word [ebp - 8], 0xd
je 0x402bd3
cmp word [ebp - 8], 0xa
je 0x402bd3
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp ax, bx
mov dword [ebp - 8], eax
mov word [edi + ecx*2], ax
je 0x402c03
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jl 0x402ac0
jmp 0x402c03
movzx eax, ax
push eax
push edi
call fcn.004067b5
jmp 0x402f4c
cmp word [ebp - 8], ax
je 0x402bf1
cmp ax, 0xd
je 0x402be5
cmp ax, 0xa
jne 0x402bf1
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov word [edi + ecx*2], ax
jmp 0x402c03
mov eax, dword [ebp - 0x3c]
push 1
neg eax
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
mov word [edi + eax*2], bx
jmp 0x4018bb
cmp word [esi], bx
je case.0x401488.66
push 2
call fcn.004030a1
pop ecx
mov dword [ebp - 0x48], edx
push dword [ebp - 0x20]
push ebx
push eax
push esi
call fcn.004067ce
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x28], ebx
jl case.0x401488.66
jmp 0x402eea
push esi
call fcn.004067ce
cmp eax, ebx
je case.0x401488.66
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp case.0x401488.66
push edi
call fcn.004067ce
cmp eax, ebx
je 0x402c7b
lea ecx, [ebp - 0x3d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402cbd
mov dword [ebp - 4], 1
mov word [esi], bx
jmp case.0x401488.66
push 2
call fcn.004030c3
lea ecx, [ebp - 0x3d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402cb6
mov word [edi], bx
mov word [esi], bx
mov dword [ebp - 4], 1
jmp case.0x401488.66
push eax
push edi
call fcn.004067b5
lea eax, [ebp - 0x3a4]
push eax
push esi
jmp 0x402e62
push 0xfffffffffffffff0
mov dword [ebp - 0x10], 0xfffffd66
call fcn.004030c3
mov esi, eax
push esi
mov dword [ebp - 0x34], esi
call fcn.004061ba
test eax, eax
jne 0x402cee
push 0xffffffffffffffed
call fcn.004030c3
push esi
call fcn.0040633f
push 2
push 0x40000000
push esi
call fcn.00406364
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x402da4
mov eax, dword [0x4378b8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
push 0x40
mov dword [ebp - 8], eax
call esi
mov edi, eax
cmp edi, ebx
je 0x402d9b
push ebx
call fcn.004037c9
push dword [ebp - 8]
push edi
call fcn.004037b3
push dword [ebp - 0x24]
push 0x40
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x48], esi
je 0x402d79
push dword [ebp - 0x24]
push esi
push ebx
push dword [ebp - 0x28]
call fcn.00403598
jmp 0x402d6c
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 8
push ecx
add eax, edi
push esi
push eax
mov dword [ebp - 0x44], ecx
call fcn.0040631f
add esi, dword [ebp - 0x44]
cmp byte [esi], bl
jne 0x402d54
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 8]
push edi
push dword [ebp + 8]
call fcn.00406416
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403598
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x34]
push dword [ebp - 0x10]
push str.created_uninstaller:__d____s_
call fcn.00406dce
add esp, 0xc
cmp dword [ebp - 0x10], ebx
push 0xfffffffffffffff3
pop esi
jge 0x402dd2
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 1
push esi
jmp 0x40250d
cmp ecx, ebx
je 0x402e18
push edx
push str.settings_logging_to__d
call fcn.00406dce
mov eax, dword [ebp - 0x28]
push eax
push 0x40a010
mov dword [0x434820], eax
call fcn.00406dce
add esp, 0x10
cmp dword [ebp - 0x28], ebx
je 0x402e0c
call fcn.00403e33
jmp case.0x401488.66
push 1
call fcn.00406bb1
jmp case.0x401488.66
push 1
call fcn.004030c3
push eax
push 0x40a76c
jmp 0x40238c
push ebx
call fcn.004030a1
cmp eax, dword [0x4378ec]
pop ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
jae 0x402caa
mov esi, eax
mov eax, dword [ebp - 0x24]
imul esi, esi, 0x818
add esi, dword [0x4378e8]
cmp eax, ebx
jl 0x402e6f
mov ecx, dword [esi + eax*4]
jne 0x402e6c
add esi, 0x18
push esi
push edi
call fcn.0040686e
jmp case.0x401488.66
push ecx
jmp 0x402eeb
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x24], ecx
je 0x402e89
push 1
call fcn.004030a1
pop ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x28], eax
jmp 0x402e99
push dword [ebp - 0x1c]
lea eax, [esi + 0x18]
push eax
call fcn.00406890
or byte [esi + 9], 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x20], ebx
je case.0x401488.66
push dword [ebp - 0x4c]
call fcn.0040117d
jmp case.0x401488.66
push ebx
call fcn.004030a1
cmp eax, 0x20
pop ecx
mov dword [ebp - 0x48], edx
jae 0x402caa
cmp dword [ebp - 0x20], ebx
je 0x402ef3
cmp dword [ebp - 0x24], ebx
je 0x402ee4
push eax
call fcn.00401299
push ebx
push ebx
call fcn.004011ef
jmp case.0x401488.66
push ebx
call fcn.004012e2
push eax
push edi
call fcn.004067b5
jmp case.0x401488.66
cmp dword [ebp - 0x24], ebx
je 0x402f0a
mov edx, dword [0x4378b4]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x401488.66
mov ecx, dword [0x4378b4]
push dword [ecx + eax*4 + 0x94]
push edi
call fcn.00406890
jmp case.0x401488.66
mov eax, dword [0x4303d8]
push ebx
and eax, ecx
push eax
push 0xb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x2c], ebx
je case.0x401488.66
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 4]
add dword [0x437948], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4