Function at 0x4016ee
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 ecx, 7
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x284]
sub esp, 0x2cc
mov esi, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x42e26c]
mov dword [ebp - 0x2a0], eax
mov edx, dword [ebp - 0x280]
mov ebx, dword [ebp - 0x284]
mov eax, edx
shl eax, 0xd
add eax, dword [0x40fad4]
mov edi, eax
mov eax, dword [ebp - 0x27c]
mov ecx, eax
shl ecx, 0xd
add ecx, dword [0x40fad4]
mov dword [ebp - 0x29c], ecx
lea ecx, [ebp - 0x280]
mov dword [0x410100], ecx
lea ecx, [ebx - 2]
cmp ecx, 0x44
ja case.0x40175d.67
jmp dword [ecx*4 + 0x40eca0]
mov dword [esp + 4], edx
mov dword [esp], str.Jump:__d
call fcn.00409114
mov eax, dword [ebp - 0x280]
jmp 0x4041d3
xor eax, eax
mov dword [esp], eax
call fcn.00401458
push edx
mov dword [esp + 4], eax
mov dword [esp], str.Aborting:___s_
call fcn.00409114
xor ecx, ecx
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x280]
mov dword [esp], eax
jmp 0x401f93
inc dword [0x4322bc]
cmp dword [ebp - 0x2a0], 0
je 0x4017c9
xor esi, esi
mov dword [esp], esi
call dword [sym.imp.USER32.dll_PostQuitMessage]
push edi
mov eax, 0x7fffffff
jmp 0x4041d3
mov dword [esp], edx
call fcn.004016ab
lea ebx, [eax - 1]
push edx
mov dword [esp + 4], ebx
mov dword [esp], str.Call:__d
call fcn.00409114
xor ecx, ecx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004041dd
push ebx
push ebx
jmp 0x4041d3
xor esi, esi
mov dword [esp], esi
call fcn.00401458
push edi
mov dword [esp + 4], eax
mov dword [esp], str.DetailPrint:__s
call fcn.00409114
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x280]
mov dword [esp], eax
call fcn.00407cd8
push ebx
push ebx
jmp case.0x40175d.67
xor eax, eax
call fcn.004014aa
mov dword [esp], str.Sleep__d_
mov dword [esp + 4], eax
mov ebx, eax
call fcn.00409114
test ebx, ebx
mov eax, 1
cmovle ebx, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4030b7
mov dword [esp], str.BringToFront
call fcn.00409114
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x4030b7
cmp dword [ebp - 0x278], 0
jg 0x4018db
mov eax, dword [edx*4 + 0x410020]
je 0x4018a4
mov dword [0x4100fc], eax
jmp 0x4018ab
mov dword [edx*4 + 0x410060], eax
mov eax, 1
call fcn.004014aa
mov edx, dword [ebp - 0x280]
mov dword [edx*4 + 0x410020], eax
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], str.SetFlag:__d_d
call fcn.00409114
jmp case.0x40175d.67
mov eax, dword [edx*4 + 0x410060]
cmp dword [ebp - 0x274], 0
mov dword [edx*4 + 0x410020], eax
jns case.0x40175d.67
mov eax, dword [0x4100fc]
mov dword [edx*4 + 0x410020], eax
jmp case.0x40175d.67
mov ecx, dword [ebp - 0x278]
xor eax, eax
mov edx, dword [ecx*4 + 0x410020]
test edx, edx
sete al
and edx, dword [ebp - 0x274]
mov eax, dword [ebp + eax*4 - 0x280]
mov dword [ecx*4 + 0x410020], edx
jmp 0x4041d3
mov eax, dword [eax*4 + 0x410020]
jmp 0x402178
mov edx, dword [0x4322a8]
test edx, edx
je 0x401959
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
push ecx
mov eax, dword [0x4322b0]
test eax, eax
je case.0x40175d.67
mov edx, dword [ebp - 0x280]
mov dword [esp], eax
mov dword [esp + 4], edx
jmp 0x402974
mov dword [esp], 0xfffffff0
call fcn.00401458
push edi
mov ebx, eax
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], ebx
mov dword [esp], str.SetFileAttributes:___s_:_08X
mov dword [esp + 8], eax
call fcn.00409114
mov eax, dword [ebp - 0x27c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edx
test eax, eax
push edx
jne case.0x40175d.67
mov dword [esp], str.SetFileAttributes_failed.
call fcn.00409114
jmp 0x401d2e
mov dword [esp], 0xfffffff0
call fcn.00401458
push ebx
mov ebx, eax
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:___s____d_
mov dword [esp + 8], eax
call fcn.00409114
mov dword [esp], ebx
call fcn.00408608
push esi
xor esi, esi
test eax, eax
je 0x401ac0
mov dword [esp + 4], 0x5c
mov dword [esp], eax
call fcn.0040856b
push ecx
mov edi, eax
push ecx
movzx eax, word [eax]
mov word [edi], 0
mov dword [ebp - 0x29c], eax
test eax, eax
jne 0x401a4d
cmp dword [ebp - 0x278], 0
je 0x401a4d
call fcn.00409333
test eax, eax
je 0x401a4d
mov dword [esp], ebx
call fcn.004083b4
jmp 0x401a55
mov dword [esp], ebx
call fcn.00408414
test eax, eax
push edx
je 0x401a98
cmp eax, 0xb7
je 0x401a77
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:_cant_create___s___err_d_
call fcn.00409114
jmp 0x401a95
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ecx
test al, 0x10
jne 0x401aa8
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:_cant_create___s____a_file_already_exists
call fcn.00409114
inc esi
jmp 0x401aa8
mov dword [esp + 4], ebx
mov dword [esp], str.CreateDirectory:___s__created
call fcn.00409114
mov ecx, dword [ebp - 0x29c]
lea eax, [edi + 2]
cmp dword [ebp - 0x29c], 0
mov word [edi], cx
jmp 0x401a05
cmp dword [ebp - 0x27c], 0
je 0x401b20
mov dword [esp], 0xffffffe6
call fcn.004016cf
push eax
mov eax, dword [0x40fad4]
mov dword [esp + 4], ebx
add eax, 0x2c000
mov dword [esp], eax
call fcn.00408c78
push eax
push eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edx
test eax, eax
jne 0x4041cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc esi
mov dword [esp + 4], ebx
mov dword [esp], str.SetCurrentDirectory__s__failed___d_
mov dword [esp + 8], eax
call fcn.00409114
jmp 0x4041cb
mov dword [esp], 0xfffffff5
jmp 0x403ea7
xor ebx, ebx
mov dword [esp], ebx
call fcn.00401458
push esi
mov ebx, eax
mov dword [esp], eax
call fcn.0040916f
push edi
test eax, eax
je 0x401b65
mov eax, dword [ebp - 0x27c]
mov dword [esp + 4], ebx
mov dword [esp], str.IfFileExists:_file___s__exists__jumping__d
mov dword [esp + 8], eax
call fcn.00409114
jmp 0x4026b7
mov eax, dword [ebp - 0x278]
mov dword [esp + 4], ebx
mov dword [esp], str.IfFileExists:_file___s__does_not_exist__jumping__d
mov dword [esp + 8], eax
call fcn.00409114
jmp 0x4026c2
mov dword [esp], 0xffffffd0
call fcn.00401458
push ecx
mov esi, eax
mov dword [esp], 0xffffffdf
call fcn.00401458
push ebx
mov edi, eax
mov dword [esp], 0x13
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.Rename:__s
call fcn.00409114
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push ecx
test eax, eax
push ecx
je 0x401be0
mov dword [esp], 0xffffffe3
jmp 0x4030b2
cmp dword [ebp - 0x278], 0
je 0x401c21
mov dword [esp], esi
call fcn.0040916f
push edx
test eax, eax
je 0x401c21
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00409897
push esi
push esi
mov dword [esp], 0xffffffe4
call fcn.004016cf
push edi
mov dword [esp + 4], ebx
mov dword [esp], str.Rename_on_reboot:__s
jmp 0x403f1c
mov dword [esp + 4], ebx
mov dword [esp], str.Rename_failed:__s
jmp 0x402e13
xor ecx, ecx
mov dword [esp], ecx
call fcn.00401458
push ebx
mov ebx, eax
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], 0x1000
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
sub esp, 0x10
test eax, eax
je 0x401ca4
mov eax, dword [ebp - 0x268]
cmp ebx, eax
jae 0x401c7a
cmp word [eax], 0
jne 0x401c7e
xor esi, esi
jmp 0x401cb4
mov dword [esp], ebx
call fcn.0040916f
push edx
test eax, eax
je 0x401ca4
add eax, 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x268]
mov dword [esp], eax
call fcn.00408c78
push eax
push eax
jmp 0x401c7a
mov eax, dword [ebp - 0x29c]
mov esi, 1
mov word [eax], 0
cmp dword [ebp - 0x278], 0
jne 0x4041cb
mov dword [esp + 8], 0x1000
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
sub esp, 0xc
jmp 0x4041cb
mov dword [esp], 0xffffffff
xor esi, esi
call fcn.00401458
lea edx, [ebp - 0x268]
push ebx
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], esi
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x1000
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SearchPathW]
sub esp, 0x18
test eax, eax
jne 0x4041cb
mov word [edi], 0
mov esi, 1
jmp 0x4041cb
mov dword [esp], 0xffffffef
call fcn.00401458
push edx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0040880f
push ecx
push ecx
jmp 0x403930
mov dword [esp], 0x31
call fcn.00401458
push ebx
mov ebx, eax
mov eax, dword [ebp - 0x280]
mov dword [esp + 0xc], ebx
mov dword [esp], str.File:_overwriteflag_d__allowskipfilesflag_d__name__s_
mov esi, eax
sar eax, 3
and esi, 7
mov dword [esp + 4], esi
and eax, 2
mov dword [esp + 8], eax
call fcn.00409114
mov dword [esp], ebx
call fcn.004085d6
push edi
test eax, eax
je 0x401daf
mov dword [esp + 4], ebx
mov dword [esp], 0x410120
call fcn.00408c78
jmp 0x401de0
mov dword [esp], 0x410120
mov eax, dword [0x40fad4]
add eax, 0x2c000
mov dword [esp + 4], eax
call fcn.00408c78
push edx
push edx
mov dword [esp], eax
call fcn.00408cac
push ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcatW
push ecx
push ecx
mov dword [esp], 0x410120
call fcn.00408d34
cmp esi, 2
push edi
jle 0x401e3b
mov dword [esp], 0x410120
call fcn.0040916f
push edx
test eax, eax
je 0x401e47
add eax, 0x14
sub esi, 3
mov dword [esp], eax
lea edx, [ebp - 0x274]
or esi, 0x80000000
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push edi
test esi, eax
push edi
je 0x401e47
xor edi, edi
mov dword [esp], 0x410120
call fcn.00408722
push esi
jmp 0x401e53
test esi, esi
je 0x401e2a
dec esi
mov edi, 2
jne 0x401e53
mov edi, 1
mov eax, 1
jmp 0x401e58
mov eax, 2
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x410120
call fcn.004087bb
sub esp, 0xc
cmp eax, 0xffffffff
mov esi, eax
jne 0x401f9d
test edi, edi
je 0x401eba
mov dword [esp + 4], ebx
mov dword [esp], 0xffffffe2
call fcn.00407cd8
cmp edi, 2
sete dl
movzx esi, dl
push ecx
push ecx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x410120
mov dword [esp], str.File:_skipped:___s___overwriteflag_d_
call fcn.00409114
jmp 0x4041cb
mov dword [esp + 4], 0x410120
mov dword [esp], str.File:_error_creating___s_
call fcn.00409114
mov eax, dword [0x40fad4]
mov dword [esp], 0x414120
mov dword [esp + 4], eax
call fcn.00408c78
push eax
push eax
mov eax, dword [0x40fad4]
mov dword [esp + 4], 0x410120
mov dword [esp], eax
call fcn.00408c78
push eax
push eax
mov eax, dword [ebp - 0x26c]
mov dword [esp], 0x412120
mov dword [esp + 4], eax
call fcn.0040935a
push eax
push eax
mov eax, dword [0x40fad4]
mov dword [esp + 4], 0x414120
mov dword [esp], eax
call fcn.00408c78
push eax
push eax
mov eax, dword [ebp - 0x280]
mov dword [esp], 0x412120
sar eax, 3
mov dword [esp + 4], eax
call fcn.004084ff
push edx
cmp eax, 4
push edx
je 0x401f67
cmp eax, 5
jne 0x401f78
mov dword [esp], str.File:_error__user_cancel
call fcn.00409114
inc dword [0x410028]
jmp 0x4041d1
mov dword [esp], str.File:_error__user_retry
call fcn.00409114
jmp 0x401e2a
mov dword [esp], str.File:_error__user_abort
call fcn.00409114
mov dword [esp + 4], 0x410120
mov dword [esp], 0xfffffffa
call fcn.00407cd8
jmp 0x4020a0
mov dword [esp + 4], ebx
xor edi, edi
mov dword [esp], 0xffffffea
call fcn.00407cd8
push ecx
push ecx
inc dword [0x410054]
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x278]
mov dword [esp], eax
call fcn.00404695
dec dword [0x410054]
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0x410120
mov dword [esp], str.File:_wrote__d_to___s_
call fcn.00409114
mov eax, dword [ebp - 0x274]
and eax, dword [ebp - 0x270]
inc eax
je 0x402023
mov dword [esp], esi
lea eax, [ebp - 0x274]
xor edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
sub esp, 0x10
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
push eax
jns case.0x40175d.67
cmp edi, 0xfffffffe
jne 0x402062
mov dword [esp + 4], 0xffffffe9
mov dword [esp], 0x410120
call fcn.0040935a
push eax
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x410120
call sub.KERNEL32.dll_lstrcatW
jmp 0x402076
mov dword [esp + 4], 0xffffffee
mov dword [esp], 0x410120
call fcn.0040935a
push eax
push eax
mov dword [esp + 4], 0x410120
mov dword [esp], 0x40e5cc
call fcn.00409114
mov dword [esp + 4], 0x200010
mov dword [esp], 0x410120
call fcn.004084ff
push edi
push edi
jmp 0x4017c9
xor ebx, ebx
mov dword [esp], ebx
call fcn.00401458
push esi
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.Delete:___s_
jmp 0x402146
mov dword [esp], 0x31
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x280]
mov dword [esp], str.MessageBox:__d___s_
mov dword [esp + 4], eax
call fcn.00409114
mov eax, dword [ebp - 0x280]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004084ff
push ecx
test eax, eax
push ecx
je 0x401d2e
cmp dword [ebp - 0x278], eax
je 0x4022f9
cmp dword [ebp - 0x270], eax
jne case.0x40175d.67
mov eax, dword [ebp - 0x26c]
jmp 0x4041d3
mov dword [esp], 0xfffffff0
call fcn.00401458
push edi
mov ebx, eax
mov dword [esp + 4], eax
mov dword [esp], str.RMDir:___s_
call fcn.00409114
mov eax, dword [ebp - 0x27c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004098dc
jmp 0x401833
mov dword [esp], 1
call fcn.00401458
push esi
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
push ebx
mov dword [esp + 4], eax
jmp 0x402865
mov eax, 2
call fcn.004014aa
mov dword [ebp - 0x2a0], edx
mov esi, eax
mov eax, 3
call fcn.004014aa
mov dword [esp], 1
mov ebx, eax
call fcn.00401458
push edx
mov dword [esp], eax
mov dword [ebp - 0x29c], eax
call sub.KERNEL32.dll_lstrlenW
push ecx
mov ecx, dword [ebp - 0x2a0]
mov word [edi], 0
test ecx, ecx
cmove esi, eax
test esi, esi
je case.0x40175d.67
test ebx, ebx
mov edx, dword [ebp - 0x29c]
jns 0x4021e5
add ebx, eax
js case.0x40175d.67
mov dword [esp], edi
cmp ebx, eax
cmovg ebx, eax
add ebx, ebx
add edx, ebx
mov dword [esp + 4], edx
call fcn.00408c78
test esi, esi
push ebx
push ebx
jns 0x40220d
mov dword [esp], edi
call sub.KERNEL32.dll_lstrlenW
push ecx
add esi, eax
js 0x40221b
cmp esi, 0xfff
jg case.0x40175d.67
jmp 0x40221d
xor esi, esi
mov word [edi + esi*2], 0
jmp case.0x40175d.67
mov dword [esp], 0x20
call fcn.00401458
push edi
mov ebx, eax
mov dword [esp], 0x31
call fcn.00401458
push edx
cmp dword [ebp - 0x270], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
jne 0x40225c
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x402262
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
push esi
test eax, eax
push esi
jne 0x4022f9
jmp 0x4026c2
mov dword [esp], 1
call fcn.00401458
push ebx
mov ebx, eax
mov dword [esp + 8], 0x1000
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
sub esp, 0xc
test eax, eax
jne 0x4022a8
mov word [edi], 0
mov esi, 1
jmp 0x4022ca
cmp dword [ebp - 0x278], 0
jne 0x4022b5
xor esi, esi
jmp 0x4022ca
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
push ecx
test eax, eax
push ecx
je 0x40229c
jmp 0x4022b1
mov word [edi + 0x1ffe], 0
jmp 0x4041cb
xor eax, eax
mov esi, dword [ebp - 0x26c]
call fcn.004014aa
mov ebx, eax
mov eax, 1
call fcn.004014aa
test esi, esi
jne 0x402315
cmp ebx, eax
jge 0x402304
mov eax, dword [ebp - 0x274]
jmp 0x4041d3
jle 0x4026c2
mov eax, dword [ebp - 0x270]
jmp 0x4041d3
cmp ebx, eax
jb 0x4022f9
cmp eax, ebx
jae 0x4026c2
jmp 0x40230a
mov eax, 1
call fcn.004014aa
mov dword [ebp - 0x29c], eax
mov eax, 2
call fcn.004014aa
mov esi, dword [ebp - 0x274]
cmp esi, 0xd
mov ebx, eax
mov ecx, eax
ja case.default.0x402350
jmp dword [esi*4 + 0x40edb4]
mov ebx, dword [ebp - 0x29c]
add ebx, eax
jmp 0x402425
mov ebx, dword [ebp - 0x29c]
sub ebx, eax
jmp 0x402423
mov ebx, dword [ebp - 0x29c]
imul ebx, eax
jmp 0x402423
test eax, eax
mov esi, 1
je 0x402425
mov eax, dword [ebp - 0x29c]
cdq
idiv ebx
mov ebx, eax
jmp 0x402423
mov ebx, dword [ebp - 0x29c]
or ebx, eax
jmp 0x402423
mov ebx, dword [ebp - 0x29c]
and ebx, eax
jmp 0x402423
mov ebx, dword [ebp - 0x29c]
xor ebx, eax
jmp 0x402423
cmp dword [ebp - 0x29c], 0
sete bl
jmp 0x4023e4
mov eax, dword [ebp - 0x29c]
or eax, ebx
setne bl
jmp 0x4023e4
cmp dword [ebp - 0x29c], 0
setne bl
test eax, eax
setne al
and bl, al
movzx ebx, bl
jmp 0x402423
test eax, eax
mov esi, 1
je 0x402425
mov eax, dword [ebp - 0x29c]
cdq
idiv ebx
mov ebx, edx
jmp 0x402423
mov ebx, dword [ebp - 0x29c]
shl ebx, cl
jmp 0x402423
mov ebx, dword [ebp - 0x29c]
sar ebx, cl
jmp 0x402423
mov ebx, dword [ebp - 0x29c]
shr ebx, cl
jmp 0x402423
mov ebx, dword [ebp - 0x29c]
xor esi, esi
mov dword [esp + 4], ebx
jmp 0x402693
mov dword [esp], 1
call fcn.00401458
push edx
mov ebx, eax
mov eax, 2
call fcn.004014aa
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_wsprintfW]
jmp case.0x40175d.67
mov edx, dword [ebp - 0x278]
mov ebx, dword [0x41a120]
test edx, edx
je 0x4024db
test ebx, ebx
je 0x402486
lea eax, [edx - 2]
cmp eax, 0xffffffff
mov ebx, dword [ebx]
je 0x402482
dec eax
test ebx, ebx
jne 0x402474
jmp 0x402486
test ebx, ebx
jne 0x40249b
mov dword [esp + 4], edx
mov dword [esp], str.Exch:_stack____d_elements
call fcn.00409114
jmp 0x4031ab
mov dword [esp], 0x410120
add ebx, 4
mov dword [esp + 4], ebx
call fcn.00408c78
push eax
push eax
mov eax, dword [0x41a120]
mov dword [esp], ebx
add eax, 4
mov dword [esp + 4], eax
call fcn.00408c78
push eax
push eax
mov dword [esp + 4], 0x410120
mov eax, dword [0x41a120]
add eax, 4
jmp 0x403f67
test eax, eax
je 0x402515
test ebx, ebx
jne 0x4024ef
mov dword [esp], str.Pop:_stack_empty
jmp 0x4019c5
mov dword [esp], edi
lea eax, [ebx + 4]
mov dword [esp + 4], eax
call fcn.00408c78
push eax
push eax
mov eax, dword [ebx]
mov dword [0x41a120], eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4030b7
mov dword [esp + 4], 0x2004
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov ebx, eax
push esi
mov eax, dword [ebp - 0x280]
mov dword [esp + 4], eax
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.0040935a
push edi
push edi
mov eax, dword [0x41a120]
mov dword [ebx], eax
mov dword [0x41a120], ebx
jmp case.0x40175d.67
mov eax, 3
call fcn.004014aa
mov ebx, eax
mov eax, 4
call fcn.004014aa
test byte [ebp - 0x26c], 1
mov esi, eax
je 0x402587
mov dword [esp], 0x33
call fcn.00401458
push ebx
mov ebx, eax
test byte [ebp - 0x26c], 2
je 0x40259f
mov dword [esp], 0x44
call fcn.00401458
push ecx
mov esi, eax
cmp dword [ebp - 0x284], 0x21
jne 0x402626
mov eax, 1
call fcn.004014aa
mov dword [ebp - 0x29c], eax
mov eax, 2
call fcn.004014aa
mov ecx, dword [ebp - 0x26c]
sar ecx, 2
je 0x402609
mov dword [esp + 0xc], esi
lea edx, [ebp - 0x268]
mov dword [esp + 0x18], edx
xor edx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
sub esp, 0x1c
test eax, eax
sete dl
movzx esi, dl
jmp 0x40267c
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x402671
mov dword [esp], 1
call fcn.00401458
push edx
mov dword [ebp - 0x29c], eax
mov dword [esp], 0x12
call fcn.00401458
push ecx
xor ecx, ecx
mov edx, dword [ebp - 0x29c]
cmp word [eax], 0
cmove eax, ecx
cmp word [edx], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
cmove edx, ecx
mov dword [esp + 8], edx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x268], eax
sub esp, 0x10
xor esi, esi
cmp dword [ebp - 0x280], 0
js 0x4041cb
mov eax, dword [ebp - 0x268]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00408ba8
push edi
push edi
jmp 0x4041cb
xor eax, eax
call fcn.004014aa
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsWindow]
push esi
test eax, eax
je 0x4026c2
mov eax, dword [ebp - 0x27c]
jmp 0x4041d3
mov eax, dword [ebp - 0x278]
jmp 0x4041d3
mov eax, 2
call fcn.004014aa
mov ebx, eax
mov eax, 1
call fcn.004014aa
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
jmp 0x402178
add eax, dword [0x41a188]
mov ebx, eax
xor eax, eax
call fcn.004014aa
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
jmp 0x4041c3
test byte [ebp - 0x273], 1
je 0x402735
mov eax, 2
call fcn.004014aa
jmp 0x402750
mov eax, dword [ebp - 0x278]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
push ecx
mov ebx, eax
mov eax, dword [ebp - 0x274]
mov ecx, eax
mov edx, eax
shr edx, 0x1e
and ecx, 3
mov dword [ebp - 0x29c], ecx
mov ecx, eax
mov esi, edx
and ecx, 4
and esi, 1
mov dword [ebp - 0x2a4], ecx
mov ecx, eax
shr ecx, 0x1f
bt eax, 0x10
mov dword [ebp - 0x2a8], ecx
jae 0x402798
mov dword [esp], 0x11
call fcn.00401458
push edx
jmp 0x40279f
movzx eax, word [ebp - 0x27c]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push eax
push eax
imul esi, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x2a8]
imul eax, dword [ebp - 0x260]
mov edx, esi
xor esi, esi
and ecx, 0xfef0
cmp dword [ebp - 0x2a4], 0
je 0x4027ed
mov esi, dword [0x42e268]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_LoadImageW]
sub esp, 0x18
mov esi, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], 0x172
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
test eax, eax
je 0x402854
cmp dword [ebp - 0x29c], 0
jne 0x402854
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push eax
cmp dword [ebp - 0x280], 0
js case.0x40175d.67
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00408ba8
jmp 0x401833
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDC]
push ecx
mov ebx, eax
mov dword [esp + 4], 0x5a
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push esi
mov esi, eax
mov eax, 2
call fcn.004014aa
mov dword [esp + 4], esi
mov dword [esp + 8], 0x48
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
sub esp, 0xc
neg eax
mov dword [0x4100a0], eax
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push eax
push eax
mov eax, 3
call fcn.004014aa
mov byte [0x4100b7], 1
mov dword [0x4100b0], eax
mov al, byte [ebp - 0x270]
mov dl, al
and dl, 1
mov byte [0x4100b4], dl
mov dl, al
and al, 4
mov byte [0x4100b6], al
mov eax, dword [ebp - 0x27c]
and dl, 2
mov byte [0x4100b5], dl
mov dword [esp], 0x4100bc
mov dword [esp + 4], eax
call fcn.0040935a
push eax
push eax
mov dword [esp], 0x4100a0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x402177
xor eax, eax
call fcn.004014aa
mov ebx, eax
mov eax, 1
call fcn.004014aa
cmp dword [ebp - 0x278], 0
mov esi, eax
je 0x402964
mov dword [esp], str.HideWindow
call fcn.00409114
cmp dword [ebp - 0x274], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
jne 0x40297f
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x401833
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x401833
xor eax, eax
mov dword [esp], eax
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp], 0x31
call fcn.00401458
push ecx
mov edi, eax
mov dword [esp], 0x22
call fcn.00401458
push esi
mov esi, eax
mov dword [esp], 0x15
call fcn.00401458
push eax
mov dword [esp], 0xffffffec
call fcn.004016cf
push eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x24c], eax
xor eax, eax
cmp word [ebx], 0
mov edx, eax
mov dword [ebp - 0x258], edi
cmovne edx, ebx
mov dword [ebp - 0x25c], edx
cmp word [esi], 0
cmovne eax, esi
mov dword [ebp - 0x254], eax
mov eax, dword [0x40fad4]
add eax, 0x2c000
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x268]
mov dword [esp], eax
call fcn.004084b0
push edx
test eax, eax
jne 0x402a61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], str.ExecShell:_warning:_error____s_:_file:__s__params:__s___d
mov dword [esp + 0x10], eax
call fcn.00409114
jmp 0x401d2e
test byte [ebp - 0x264], 0x40
je 0x402a89
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call fcn.00409c58
push eax
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], str.ExecShell:_success____s_:_file:__s__params:__s__
call fcn.00409114
jmp case.0x40175d.67
xor eax, eax
mov dword [esp], eax
call fcn.00401458
push edx
mov edi, eax
mov dword [esp + 4], eax
mov dword [esp], str.Exec:_command__s_
call fcn.00409114
mov dword [esp + 4], edi
mov dword [esp], 0xffffffeb
call fcn.00407cd8
push ecx
push ecx
mov dword [esp], edi
call fcn.00408440
push ebx
test eax, eax
mov ebx, eax
mov dword [esp + 4], edi
je 0x402b3d
mov dword [esp], str.Exec:_success____s__
call fcn.00409114
cmp dword [ebp - 0x278], 0
je 0x402b23
mov dword [esp], ebx
call fcn.00409c58
push edi
cmp dword [ebp - 0x27c], 0
js 0x402b27
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00408ba8
push esi
push esi
xor esi, esi
jmp 0x402b2f
test eax, eax
setne dl
movzx esi, dl
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40410a
mov dword [esp], str.Exec:_failed_createprocess____s__
jmp 0x402e13
mov dword [esp], 2
call fcn.00401458
push edx
mov dword [esp], eax
call fcn.0040916f
test eax, eax
mov ebx, eax
push ecx
je 0x402b84
mov eax, dword [eax + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00408ba8
push eax
push eax
mov eax, dword [ebx + 0x18]
jmp 0x402178
mov word [edi], 0
jmp 0x404110
mov dword [esp], 0xffffffee
call fcn.00401458
push ecx
mov dword [ebp - 0x2a0], eax
mov dword [esp], 0xb
call fcn.004092e7
lea edx, [ebp - 0x28c]
push ebx
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x2a0]
mov dword [esp], ecx
call eax
push esi
push esi
mov esi, eax
mov eax, dword [ebp - 0x29c]
test esi, esi
mov word [edi], 0
mov word [eax], 0
je 0x401d2e
mov dword [esp + 4], esi
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov ebx, eax
push edx
push edx
je 0x401d2e
mov dword [esp], 0xc
call fcn.004092e7
push edx
mov dword [ebp - 0x2a4], eax
mov dword [esp], 0xd
call fcn.004092e7
push ecx
mov dword [ebp - 0x2a8], eax
mov dword [esp + 8], esi
xor esi, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
mov eax, dword [ebp - 0x2a4]
call eax
mov edx, dword [ebp - 0x2a8]
sub esp, 0x10
test eax, eax
jne 0x402c55
mov esi, 1
jmp 0x402cc1
mov dword [esp + 4], 0x40e804
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x288]
mov dword [esp + 8], eax
mov dword [esp], ebx
call edx
sub esp, 0x10
test eax, eax
je 0x402c4e
mov edx, dword [ebp - 0x274]
xor esi, esi
mov eax, dword [ebp - 0x288]
mov eax, dword [eax + edx*4 + 8]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00408ba8
push eax
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x288]
mov eax, dword [eax + edx*4 + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00408ba8
push eax
push eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40410a
cmp dword [section..bss], 0
js 0x402e1d
mov dword [esp], 0xfffffff0
call fcn.00401458
push esi
mov esi, eax
mov dword [esp], 1
call fcn.00401458
push edi
mov edi, eax
cmp dword [ebp - 0x270], 0
jne 0x402d28
mov dword [esp + 8], 8
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
sub esp, 0xc
test eax, eax
mov ebx, eax
jne 0x402d38
jmp 0x402dfb
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
mov ebx, eax
push ecx
je 0x402d03
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00409c10
push edx
test eax, eax
push edx
je 0x402da4
mov esi, dword [ebp - 0x278]
test esi, esi
je 0x402d75
mov dword [ebp - 0x29c], eax
mov dword [esp], esi
call fcn.004016cf
push esi
mov eax, dword [ebp - 0x29c]
call eax
test eax, eax
setne dl
movzx esi, dl
jmp 0x402dcf
mov dword [esp + 0x10], section..data
mov ecx, dword [0x40fad4]
mov dword [esp + 0xc], 0x41a120
mov dword [esp + 4], 0x1000
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x2a0]
mov dword [esp], ecx
call eax
jmp 0x402dcf
mov dword [esp + 4], edi
mov dword [esp], 0xfffffff7
call fcn.00407cd8
push ecx
push ecx
mov dword [esp + 8], esi
mov esi, 1
mov dword [esp + 4], edi
mov dword [esp], 0x40e808
call fcn.00409114
cmp dword [ebp - 0x274], 0
jne 0x4041cb
mov dword [esp], ebx
call fcn.004054c2
push edx
test eax, eax
je 0x4041cb
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40410a
mov dword [esp], 0xfffffff6
call fcn.004016cf
push edi
mov dword [esp + 4], esi
mov dword [esp], str.Error_registering_DLL:_Could_not_load__s
call fcn.00409114
jmp 0x401d2e
mov dword [esp], 0xffffffe7
call fcn.004016cf
push ebx
mov dword [esp], str.Error_registering_DLL:_Could_not_initialize_OLE
jmp 0x4019c5
mov dword [esp], 0xfffffff0
call fcn.00401458
push edx
mov dword [ebp - 0x2a0], eax
mov dword [esp], 0xffffffdf
call fcn.00401458
push ecx
mov ebx, eax
mov dword [esp], 2
call fcn.00401458
push esi
mov dword [ebp - 0x2a4], eax
mov dword [esp], 0xffffffcd
call fcn.00401458
push edi
mov esi, eax
mov dword [esp], 0x45
call fcn.00401458
push edx
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x29c], eax
and eax, 0xfff
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x29c]
sar eax, 0xc
and eax, 7
mov edi, eax
mov eax, dword [ebp - 0x29c]
shr eax, 0x10
mov dword [ebp - 0x2ac], eax
mov dword [esp], ebx
call fcn.004085d6
push ecx
test eax, eax
jne 0x402edb
mov dword [esp], 0x21
call fcn.00401458
push eax
mov eax, dword [ebp - 0x2ac]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], str.CreateShortcut:_out:___s___in:___s__s___icon:__s__d__sw_d__hk_d
mov dword [esp + 4], eax
call fcn.00409114
lea eax, [ebp - 0x288]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], 0x40fb74
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x40fb54
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
js 0x403099
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x268]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x40fb64
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x288]
mov edx, dword [eax]
jns 0x402f8d
mov dword [esp], eax
call dword [edx + 8]
push ecx
jmp 0x403099
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x50]
push edx
mov ebx, eax
push edx
bt dword [ebp - 0x29c], 0xf
jb 0x402fc3
mov edx, dword [ebp - 0x288]
mov eax, dword [0x40fad4]
mov ecx, dword [edx]
mov dword [esp], edx
add eax, 0x2c000
mov dword [esp + 4], eax
call dword [ecx + 0x24]
push eax
push eax
test edi, edi
je 0x402fdb
mov eax, dword [ebp - 0x288]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x3c]
push eax
push eax
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x34]
push eax
push eax
cmp word [esi], 0
je 0x40301a
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x44]
sub esp, 0xc
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x2c]
push eax
push eax
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
test ebx, ebx
push eax
push eax
js 0x403077
mov eax, dword [ebp - 0x268]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov ecx, dword [ebp - 0x2a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x18]
sub esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x268]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0x288]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
test ebx, ebx
push edi
jns 0x4030ab
mov dword [esp], 0xfffffff0
call fcn.004016cf
push ebx
jmp 0x401d2e
mov dword [esp], 0xfffffff4
call fcn.004016cf
push ecx
xor esi, esi
jmp 0x4041cb
xor eax, eax
mov dword [esp], eax
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp], 0x11
call fcn.00401458
push ecx
mov esi, eax
mov dword [esp], 0x23
call fcn.00401458
push edi
mov edi, eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], str.CopyFiles___s_____s_
call fcn.00409114
mov dword [esp], ebx
call fcn.0040916f
push edx
test eax, eax
je 0x40318a
mov dword [ebp - 0x264], 2
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x268], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_lstrlenW
push edx
mov word [ebx + eax*2 + 2], 0
mov dword [esp], esi
call sub.KERNEL32.dll_lstrlenW
push ecx
mov word [esi + eax*2 + 2], 0
mov dword [ebp - 0x260], ebx
mov eax, dword [ebp - 0x278]
xor ebx, ebx
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x24e], edi
mov word [ebp - 0x258], ax
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00407cd8
lea eax, [ebp - 0x268]
push esi
push esi
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
mov esi, eax
push edi
je 0x4041cb
xor ecx, ecx
mov dword [esp + 4], ecx
mov dword [esp], 0xfffffff9
call fcn.00407cd8
push ebx
push ebx
jmp 0x401d2e
cmp edx, 0xbadf00d
je 0x4031cf
mov dword [esp + 4], 0xffffffe8
xor eax, eax
mov dword [esp], eax
call fcn.0040935a
push edx
push edx
mov dword [esp + 4], 0x200010
mov dword [esp], eax
jmp 0x40209b
inc dword [0x410034]
jmp case.0x40175d.67
mov dword [esp + 4], str._RM_
xor ebx, ebx
mov dword [esp], 0x412120
call fcn.00408c78
push esi
push esi
mov dword [esp + 4], 0x412120
mov dword [esp], 0x414120
call fcn.00408c78
push edi
push edi
cmp dword [ebp - 0x280], 0
je 0x40321e
xor ecx, ecx
mov dword [esp], ecx
call fcn.00401458
push ebx
mov ebx, eax
xor esi, esi
cmp dword [ebp - 0x27c], 0
je 0x403238
mov dword [esp], 0x11
call fcn.00401458
push edx
mov esi, eax
xor edi, edi
cmp dword [ebp - 0x270], 0
je 0x403252
mov dword [esp], 0x22
call fcn.00401458
push edi
mov edi, eax
mov dword [esp], 0xffffffcd
call fcn.00401458
push ecx
mov dword [esp + 0x10], eax
mov dword [ebp - 0x29c], eax
mov dword [esp + 0xc], 0x414120
mov dword [esp + 8], 0x412120
mov dword [esp + 4], 0x410120
mov dword [esp], str.WriteINIStr:_wrote___s___s_s_in__s
call fcn.00409114
mov eax, dword [ebp - 0x29c]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
sub esp, 0x10
jmp 0x403930
mov dword [ebp - 0x268], 0xa
mov dword [esp], 1
call fcn.00401458
push edx
mov esi, eax
mov dword [esp], 0x12
call fcn.00401458
push ecx
mov ebx, eax
mov dword [esp], 0xffffffdd
call fcn.00401458
push edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x268]
mov dword [esp], esi
xor esi, esi
mov dword [esp + 0x10], 0xfff
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
sub esp, 0x18
cmp word [edi], 0xa
jmp 0x401d23
mov dword [esp], eax
mov edi, eax
call fcn.00408efb
cmp dword [ebp - 0x270], 0
mov esi, eax
jne 0x40339b
mov dword [esp], 2
call fcn.004014dd
push edi
test eax, eax
mov edi, eax
je 0x401d2e
mov dword [esp], 0x33
call fcn.00401458
push ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x29c], eax
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebx
push ebx
mov ebx, eax
mov edx, dword [ebp - 0x29c]
mov dword [esp + 4], esi
mov dword [esp + 8], 0x414120
mov dword [esp], str.DeleteRegValue:___s_s____s_
mov dword [esp + 0xc], edx
call fcn.00409114
mov dword [esp], edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
jmp 0x40342a
mov dword [esp], 0x22
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], str.DeleteRegKey:___s_s_
call fcn.00409114
mov edx, dword [ebp - 0x270]
sar edx, 1
mov dword [ebp - 0x268], edx
cmp word [ebx], 0
je 0x401d2e
or edx, 0x100020
test edi, edi
mov dword [ebp - 0x268], edx
js 0x4033f3
mov eax, dword [0x410024]
add eax, edi
lea edi, [eax - 0x7fffffff]
mov dword [esp], edi
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
call fcn.004089d0
push esi
test eax, eax
push esi
je 0x401d2e
mov edx, dword [ebp - 0x268]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.00401541
sub esp, 0xc
mov ebx, eax
test ebx, ebx
setne dl
jmp 0x403ba3
mov dword [ebp - 0x2a0], edx
mov edi, dword [ebp - 0x270]
mov esi, dword [ebp - 0x26c]
mov dword [esp], 2
call fcn.00401458
push ecx
mov dword [ebp - 0x29c], eax
mov dword [esp], 0x11
call fcn.00401458
push ebx
mov ebx, eax
mov edx, dword [ebp - 0x2a0]
mov dword [esp], edx
mov dword [ebp - 0x2a4], edx
call fcn.00408efb
mov edx, dword [ebp - 0x2a4]
test edx, edx
mov dword [ebp - 0x2a0], eax
js 0x403498
add edx, dword [0x410024]
sub edx, 0x7fffffff
mov dword [esp + 8], 0x100022
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.00408a9a
sub esp, 0x10
test eax, eax
jne 0x40369a
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x2a4], eax
test eax, eax
je 0x40369a
cmp edi, 1
jne 0x40353a
mov dword [esp], 0x23
call fcn.00401458
push eax
mov dword [esp], 0x414120
call sub.KERNEL32.dll_lstrlenW
cmp esi, 1
push edx
mov edi, eax
mov dword [esp + 0x10], 0x414120
mov eax, dword [ebp - 0x29c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], eax
jne 0x403531
mov dword [esp], str.WriteRegStr:___s_s____s___s_
call fcn.00409114
lea eax, [edi + 1]
add eax, eax
jmp 0x40362b
mov dword [esp], str.WriteRegExpandStr:___s_s____s___s_
jmp 0x403522
cmp edi, 4
jne 0x403580
mov eax, 3
call fcn.004014aa
mov dword [0x414120], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], str.WriteRegDWORD:___s_s____s__0x_08x_
mov dword [esp + 4], eax
call fcn.00409114
mov eax, 4
jmp 0x40362b
xor eax, eax
cmp edi, 3
jne 0x40362b
test esi, esi
mov edi, str.WriteRegNone
je 0x4035a4
cmp esi, 7
mov edi, str.WriteRegMultiStr
mov eax, str.WriteRegBin
cmovne edi, eax
mov dword [esp + 0xc], 0x6000
xor eax, eax
mov dword [esp + 8], 0x414120
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x274]
mov dword [esp], eax
call fcn.00404695
lea edx, [ebp - 0x268]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [ebp - 0x2a8], eax
mov dword [esp], edx
mov dword [esp + 8], 0x414120
mov dword [esp + 4], pe_nt_image_headers32
call fcn.00409031
lea edx, [ebp - 0x268]
mov dword [esp + 0x14], edx
mov eax, dword [ebp - 0x29c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], edi
mov dword [esp], str._s:___s_s____s___s_
mov dword [esp + 8], eax
call fcn.00409114
mov eax, dword [ebp - 0x2a8]
mov dword [esp + 0xc], esi
xor esi, esi
mov dword [esp + 8], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x414120
mov eax, dword [ebp - 0x29c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
mov esi, eax
je 0x40368c
mov eax, dword [ebp - 0x29c]
mov esi, 1
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], str.WriteReg:_error_writing_into___s_s____s_
mov dword [esp + 4], eax
call fcn.00409114
mov eax, dword [ebp - 0x2a4]
mov dword [esp], eax
jmp 0x403775
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x2a0]
mov dword [esp], str.WriteReg:_error_creating_key___s_s_
mov dword [esp + 4], eax
call fcn.00409114
jmp 0x401d2e
mov dword [esp], 0x20019
call fcn.004014dd
push edx
mov ebx, eax
mov dword [esp], 0x33
call fcn.00401458
test ebx, ebx
push ecx
mov word [edi], 0
je 0x401d2e
mov dword [ebp - 0x288], 0x2000
lea edx, [ebp - 0x288]
xor esi, esi
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x268]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x403733
mov eax, dword [ebp - 0x268]
cmp eax, 4
je 0x403744
cmp eax, 1
je 0x40373f
cmp eax, 2
je 0x403763
mov word [edi], 0
mov esi, 1
jmp 0x403772
cmp eax, 4
jne 0x403763
mov eax, dword [edi]
cmp dword [ebp - 0x270], 0
mov dword [esp], edi
mov dword [esp + 4], eax
sete dl
movzx esi, dl
call fcn.00408ba8
push ecx
push ecx
jmp 0x403772
mov esi, dword [ebp - 0x270]
mov word [edi + 0x1ffe], 0
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40410a
mov dword [esp], 0x20019
call fcn.004014dd
push edx
mov ebx, eax
mov eax, 3
call fcn.004014aa
test ebx, ebx
mov word [edi], 0
je 0x401d2e
cmp dword [ebp - 0x270], 0
mov dword [ebp - 0x268], 0xfff
je 0x4037d9
mov dword [esp + 0xc], 0xfff
xor esi, esi
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
sub esp, 0x10
jmp 0x403769
mov dword [esp + 8], edi
lea edx, [ebp - 0x268]
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
setne dl
movzx esi, dl
jmp 0x403769
mov dword [esp], edi
call fcn.00408bcd
push ebx
test eax, eax
je case.0x40175d.67
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4030b7
mov dword [esp], 0xffffffed
call fcn.00401458
push ecx
mov edx, dword [ebp - 0x278]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x27c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004087bb
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x402178
jmp 0x401d29
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x29c], eax
test eax, eax
je 0x40389b
mov eax, 1
call fcn.004014aa
cmp ebx, 0x38
setne dl
movzx esi, dl
inc esi
mov word [0x412120], ax
jmp 0x4038f4
cmp ebx, 0x38
jne 0x4038db
mov dword [esp], 0x21
call fcn.00401458
push esi
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0x412120
mov dword [esp], 0x414120
call fcn.00408cf3
mov dword [esp], 0x412120
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
mov esi, eax
jmp 0x4038f4
mov dword [esp], 0x11
call fcn.00401458
push edx
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenW
lea esi, [eax + eax]
push ecx
cmp word [edi], 0
je 0x401d2e
mov dword [esp], edi
call fcn.00408bcd
push edi
mov edi, eax
xor eax, eax
cmp ebx, 0x38
sete al
or eax, dword [ebp - 0x29c]
je 0x403937
mov dword [esp + 8], esi
mov dword [esp + 4], 0x412120
mov dword [esp], edi
call fcn.004088bd
sub esp, 0xc
test eax, eax
jmp 0x403ba0
cmp dword [ebp - 0x274], 0
je 0x403919
mov dword [esp + 4], edi
mov dword [esp], edi
call fcn.00408901
push ebx
test eax, eax
push ebx
jns 0x403919
jmp 0x401d2e
mov eax, 2
call fcn.004014aa
test eax, eax
jle case.0x40175d.67
cmp word [edi], 0
je 0x404110
mov dword [esp], edi
mov edx, 0xfff
cmp eax, edx
mov esi, edx
cmovle esi, eax
xor ebx, ebx
call fcn.00408bcd
xor ecx, ecx
push edx
mov edi, eax
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2a0], 2
cmp dword [ebp - 0x284], 0x39
mov edx, dword [ebp - 0x274]
jne 0x403a9f
mov dword [esp], edi
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x268]
mov dword [esp + 0xc], eax
mov eax, 2
sub eax, edx
mov dword [esp + 8], eax
lea eax, [ebp - 0x288]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x403b90
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x403b90
mov dword [ebp - 0x2a0], eax
movzx eax, byte [ebp - 0x288]
cmp dword [ebp - 0x274], 0
mov word [ebp - 0x28c], ax
jne 0x403ae4
mov dword [esp + 0x14], 1
lea eax, [ebp - 0x28c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x268]
mov dword [esp + 4], 8
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x288]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub esp, 0x18
test eax, eax
jne 0x403ae4
dec dword [ebp - 0x268]
mov word [ebp - 0x28c], 0xfffd
je 0x403ae4
dec dword [ebp - 0x2a0]
xor ecx, ecx
mov dword [esp + 0xc], 1
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x2a0]
mov dword [esp], edi
neg eax
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
jmp 0x403a19
or edx, ebx
je 0x403ac9
mov dword [esp + 8], 2
lea eax, [ebp - 0x28c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00408879
sub esp, 0xc
test eax, eax
jne 0x403ae4
jmp 0x403b90
mov dword [esp], edi
xor eax, eax
mov dword [esp + 4], eax
call fcn.00408901
push edx
test eax, eax
push edx
jns 0x403aa3
xor ebx, ebx
jmp 0x403b90
cmp dword [ebp - 0x274], 0
movzx eax, word [ebp - 0x28c]
je 0x403b0d
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00408ba8
push ebx
push ebx
jmp 0x4041d1
cmp dword [ebp - 0x2a4], 0xd
je 0x403b1f
cmp dword [ebp - 0x2a4], 0xa
jne 0x403b71
cmp dword [ebp - 0x2a4], eax
je 0x403b31
cmp eax, 0xd
je 0x403b59
cmp eax, 0xa
je 0x403b59
mov dword [esp + 0xc], 1
xor ecx, ecx
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x2a0]
mov dword [esp], edi
neg eax
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
jmp 0x403b90
mov ecx, dword [ebp - 0x29c]
add ebx, ebx
mov word [ecx + ebx], ax
mov word [ecx + ebx + 2], 0
jmp case.0x40175d.67
mov ecx, dword [ebp - 0x29c]
inc ebx
test eax, eax
mov word [ecx + ebx*2 - 2], ax
je 0x403b90
cmp ebx, esi
je 0x403b92
mov dword [ebp - 0x2a4], eax
jmp 0x40399e
mov esi, ebx
mov eax, dword [ebp - 0x29c]
test esi, esi
mov word [eax + esi*2], 0
sete dl
movzx esi, dl
jmp 0x4041cb
cmp word [edi], 0
je case.0x40175d.67
mov eax, 2
mov esi, dword [ebp - 0x274]
call fcn.004014aa
mov dword [esp], edi
mov ebx, eax
call fcn.00408bcd
xor edx, edx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
cmp dword [ebp - 0x27c], 0
js case.0x40175d.67
jmp 0x404023
mov dword [esp], edi
call fcn.00408bcd
push esi
test eax, eax
je case.0x40175d.67
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4030b7
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00408bcd
push ebx
test eax, eax
je 0x401d29
mov dword [esp], eax
lea edx, [ebp - 0x268]
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push ecx
test eax, eax
push ecx
je 0x401d29
jmp 0x403c9c
mov dword [esp], 2
call fcn.00401458
lea edx, [ebp - 0x268]
push esi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push edx
cmp eax, 0xffffffff
push edx
jne 0x403c88
mov eax, dword [ebp - 0x29c]
mov word [eax], 0
jmp 0x401d29
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00408ba8
push ebx
push ebx
lea eax, [ebp - 0x23c]
mov dword [esp + 4], eax
mov dword [esp], edi
jmp 0x403f6a
mov dword [esp], 0xfffffff0
call fcn.00401458
push edx
mov ebx, eax
mov dword [esp], eax
call fcn.004085d6
push ecx
test eax, eax
jne 0x403cd7
mov dword [esp], 0xffffffed
call fcn.00401458
push edi
mov dword [esp], ebx
call fcn.00408722
push esi
mov dword [esp + 8], 2
mov dword [esp + 4], 0x40000000
mov dword [esp], ebx
call fcn.004087bb
mov dword [ebp - 0x29c], eax
sub esp, 0xc
inc eax
jne 0x403d21
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xfffffd66
mov dword [esp], str.created_uninstaller:__d____s_
call fcn.00409114
jmp 0x403e90
cmp dword [ebp - 0x278], 0
mov edx, dword [ebp - 0x27c]
je 0x403e40
mov dword [ebp - 0x2a4], edx
mov eax, dword [0x41a148]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x2a0], eax
mov dword [esp + 4], eax
mov dword [esp], 0x40
call edi
push ecx
test eax, eax
push ecx
mov esi, eax
mov edx, dword [ebp - 0x2a4]
je 0x403e40
xor ecx, ecx
mov dword [esp], ecx
call fcn.00404497
push eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040446f
push eax
push eax
mov eax, dword [ebp - 0x278]
mov dword [esp], 0x40
mov dword [esp + 4], eax
call edi
test eax, eax
mov edi, eax
push edx
push edx
je 0x403e14
mov eax, dword [ebp - 0x278]
xor edx, edx
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x27c]
mov dword [esp], eax
call fcn.00404695
mov eax, edi
sub esp, 0x10
cmp byte [eax], 0
je 0x403e0a
mov ecx, dword [eax]
lea edx, [eax + 8]
mov dword [esp + 8], ecx
mov dword [ebp - 0x2a8], ecx
mov dword [esp + 4], edx
mov dword [ebp - 0x2a4], edx
mov ecx, dword [eax + 4]
add ecx, esi
mov dword [esp], ecx
call fcn.00408705
mov edx, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x2a8]
lea eax, [edx + ecx]
sub esp, 0xc
jmp 0x403dcb
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.004088bd
sub esp, 0xc
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
or edx, 0xffffffff
push eax
xor eax, eax
xor esi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00404695
mov edi, eax
mov eax, dword [ebp - 0x29c]
sub esp, 0x10
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], str.created_uninstaller:__d____s_
call fcn.00409114
test edi, edi
mov eax, 0xfffffff3
jns 0x403ea4
mov dword [esp], ebx
mov esi, 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
mov eax, 0xffffffef
mov dword [esp], eax
call fcn.004016cf
jmp 0x40410a
test edx, edx
je 0x403f04
mov dword [esp + 4], eax
mov dword [esp], str.settings_logging_to__d
call fcn.00409114
mov eax, dword [ebp - 0x27c]
mov dword [0x443380], eax
mov dword [esp + 4], eax
mov dword [esp], str.logging_set_to__d
call fcn.00409114
cmp dword [ebp - 0x27c], 0
je 0x403ef3
call fcn.0040679f
jmp case.0x40175d.67
mov dword [esp], 1
call fcn.00408e0d
jmp 0x4030b7
mov dword [esp], 1
call fcn.00401458
push edi
mov dword [esp + 4], eax
mov dword [esp], 0x40e5cc
call fcn.00409114
jmp case.0x40175d.67
xor eax, eax
call fcn.004014aa
cmp eax, dword [0x41a16c]
mov edi, eax
jae 0x401d2e
imul ebx, eax, 0x2018
mov eax, dword [ebp - 0x278]
add ebx, dword [0x41a168]
test eax, eax
js 0x403f74
mov eax, dword [ebx + eax*4]
jne 0x404023
add ebx, 0x18
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00408c78
jmp 0x401833
not eax
mov dword [ebp - 0x278], eax
test eax, eax
je 0x403f92
mov eax, 1
call fcn.004014aa
mov dword [ebp - 0x27c], eax
jmp 0x403fb0
mov eax, dword [ebp - 0x270]
mov dword [esp + 4], eax
lea eax, [ebx + 0x18]
mov dword [esp], eax
call fcn.0040935a
push esi
push esi
or dword [ebx + 8], 0x100
mov edx, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x278]
mov dword [ebx + eax*4], edx
cmp dword [ebp - 0x274], 0
je case.0x40175d.67
mov dword [esp], edi
call fcn.00401258
jmp 0x4030b7
xor eax, eax
call fcn.004014aa
cmp eax, 0x1f
ja 0x401d2e
cmp dword [ebp - 0x274], 0
mov ecx, dword [ebp - 0x278]
je 0x404035
test ecx, ecx
je 0x404018
mov dword [esp], eax
xor ebx, ebx
call fcn.0040137c
push ecx
mov dword [esp + 4], ebx
mov dword [esp], ebx
call fcn.004012c9
jmp 0x401833
xor eax, eax
mov dword [esp], eax
call fcn.004013d5
push edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
jmp 0x402868
mov edx, dword [0x41a150]
lea eax, [eax + 0x24]
test ecx, ecx
je 0x404051
mov ecx, dword [ebp - 0x27c]
mov dword [edx + eax*4 + 4], ecx
jmp case.0x40175d.67
mov eax, dword [edx + eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.0040935a
jmp 0x401833
mov esi, dword [ebp - 0x274]
test esi, esi
je 0x404082
dec esi
je 0x404120
jmp case.0x40175d.67
mov dword [esp], 5
call fcn.004092e7
push ecx
mov ebx, eax
mov dword [esp], 0x22
call fcn.00401458
test ebx, ebx
push edi
je 0x404110
lea edi, [ebp - 0x268]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ole32.dll_IIDFromString]
push edx
test eax, eax
push edx
js 0x404110
lea eax, [ebp - 0x288]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x274]
mov dword [esp], edi
mov dword [esp + 4], eax
call ebx
sub esp, 0x10
test eax, eax
js 0x404110
mov eax, dword [ebp - 0x288]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call fcn.00408c78
push eax
push eax
mov eax, dword [ebp - 0x288]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push edi
jmp 0x4041cb
mov eax, dword [ebp - 0x29c]
mov word [eax], 0
jmp 0x401d2e
mov eax, 2
xor esi, esi
call fcn.004014aa
mov ebx, eax
mov eax, 4
call fcn.004014aa
mov dword [ebp - 0x268], esi
movzx edx, al
shr eax, 0x18
test ebx, ebx
jne 0x40414d
mov ebx, 0x410020
mov dword [esp + 8], edx
add ebx, eax
mov dword [esp + 4], ebx
lea eax, [ebp - 0x268]
mov dword [esp], eax
call fcn.00408705
mov eax, dword [ebp - 0x268]
sub esp, 0xc
jmp 0x404023
xor ecx, ecx
mov dword [esp + 0xc], ecx
and edx, dword [0x4322c0]
mov dword [esp + 4], 0xb
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendMessageW]
sub esp, 0x10
cmp dword [ebp - 0x280], 0
je case.0x40175d.67
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2a0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
sub esp, 0xc
jmp case.0x40175d.67
add dword [0x410028], esi
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4