Function at 0x4016e8
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
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ecx, 7
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x174]
push ebx
sub esp, 0x1ac
mov esi, dword [ebp + 8]
mov eax, dword [0x43216c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x190], eax
mov edi, dword [ebp - 0x170]
mov esi, dword [ebp - 0x16c]
mov eax, edi
mov ebx, esi
shl eax, 0xa
add eax, dword [0x40b634]
shl ebx, 0xa
add ebx, dword [0x40b634]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x170]
mov dword [0x4130dc], eax
mov eax, dword [ebp - 0x174]
sub eax, 2
cmp eax, 0x41
ja case.0x401754.66
jmp dword [eax*4 + 0x40b004]
mov dword [esp + 4], 0
mov dword [esp], edi
jmp 0x401d97
inc dword [0x432dbc]
cmp dword [ebp - 0x190], 0
mov edi, 0x7fffffff
je case.0x401754.2
mov dword [esp], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push ebx
jmp case.0x401754.2
mov dword [esp], edi
call fcn.004016a5
push edx
dec eax
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00403a28
mov edi, eax
push ecx
push ecx
jmp case.0x401754.2
mov dword [esp], edi
mov dword [esp + 4], 0
call fcn.0040703e
jmp 0x4038ca
xor eax, eax
call fcn.00401434
mov edx, 1
test eax, eax
cmovle eax, edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403884
mov eax, dword [ebp - 0x190]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x403884
mov ecx, dword [ebp - 0x168]
test ecx, ecx
jne 0x40183b
mov eax, dword [edi*4 + 0x413060]
mov dword [ebp - 0x18c], ecx
mov dword [edi*4 + 0x413020], eax
mov eax, 1
call fcn.00401434
mov edx, dword [ebp - 0x170]
mov dword [edx*4 + 0x413060], eax
jmp 0x4037be
mov eax, dword [edi*4 + 0x413020]
mov dword [edi*4 + 0x413060], eax
jmp case.0x401754.66
mov ecx, dword [ebp - 0x168]
xor edx, edx
mov eax, dword [ecx*4 + 0x413060]
test eax, eax
sete dl
and eax, dword [ebp - 0x164]
mov dword [ecx*4 + 0x413060], eax
mov edi, dword [ebp + edx*4 - 0x170]
jmp case.0x401754.2
mov eax, dword [esi*4 + 0x413060]
jmp 0x402882
mov eax, dword [0x432da8]
test eax, eax
je 0x40189f
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push eax
push eax
mov eax, dword [0x432db0]
test eax, eax
je case.0x401754.66
mov edx, dword [ebp - 0x170]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4038ca
mov dword [esp], 0xfffffff0
call fcn.00401469
mov edx, dword [ebp - 0x16c]
push edi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x401bc9
mov dword [esp], 0xfffffff0
call fcn.00401469
push ebx
mov ebx, eax
mov dword [esp], eax
call fcn.004079a5
xor ecx, ecx
push esi
test eax, eax
je 0x4019a9
mov dword [esp + 4], 0x5c
mov dword [esp], eax
mov dword [ebp - 0x18c], ecx
call fcn.00407915
push ecx
mov esi, eax
push ecx
movzx edi, byte [eax]
mov byte [eax], 0
mov ecx, dword [ebp - 0x18c]
mov eax, edi
test al, al
jne 0x401959
cmp dword [ebp - 0x168], 0
je 0x401959
call fcn.00408c45
mov ecx, dword [ebp - 0x18c]
test eax, eax
je 0x401959
mov dword [esp], ebx
call fcn.00407714
jmp 0x401967
mov dword [esp], ebx
mov dword [ebp - 0x18c], ecx
call fcn.004077a8
mov ecx, dword [ebp - 0x18c]
push edx
test eax, eax
je 0x40199b
cmp eax, 0xb7
je 0x40197c
inc ecx
jmp 0x40199b
mov dword [ebp - 0x18c], ecx
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
push ecx
mov ecx, dword [ebp - 0x18c]
cmp eax, 1
adc ecx, 0
mov edx, edi
lea eax, [esi + 1]
mov byte [esi], dl
test dl, dl
jmp 0x401905
cmp dword [ebp - 0x16c], 0
mov dword [ebp - 0x18c], ecx
je 0x4019f8
mov dword [esp], 0xffffffe6
call fcn.004016c9
mov eax, dword [0x40b634]
push esi
add eax, 0x5800
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0040805f
push edi
push edi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 0x18c]
cmp eax, 1
push edx
adc ecx, 0
jmp 0x403a14
mov dword [esp], 0xfffffff5
jmp 0x4037b8
mov dword [esp], 0
call fcn.00401469
push ecx
mov dword [esp], eax
call fcn.004087e7
jmp 0x402446
mov dword [esp], 0xffffffd0
call fcn.00401469
push edx
mov ebx, eax
mov dword [esp], 0xffffffdf
call fcn.00401469
push ecx
mov esi, eax
mov dword [esp], 0x13
call fcn.00401469
push edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push edx
push edx
test eax, eax
je 0x401a68
mov dword [esp], 0xffffffe3
jmp 0x402d6a
cmp dword [ebp - 0x168], 0
je 0x4039b2
mov dword [esp], ebx
mov dword [ebp - 0x18c], eax
call fcn.004087e7
push edi
test eax, eax
je 0x4039b2
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004087a2
push ecx
push ecx
mov dword [esp], 0xffffffe4
jmp 0x4037b8
mov dword [esp], 0
call fcn.00401469
push edx
mov esi, eax
lea eax, [ebp - 0x158]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x400
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
sub esp, 0x10
test eax, eax
je 0x401b1e
mov eax, dword [ebp - 0x158]
xor ecx, ecx
cmp eax, esi
jbe 0x401b26
cmp byte [eax], 0
je 0x401b26
mov dword [esp], esi
mov dword [ebp - 0x18c], ecx
call fcn.004087e7
push edi
test eax, eax
je 0x401b1e
add eax, 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x158]
mov dword [esp], eax
call fcn.0040805f
mov ecx, dword [ebp - 0x18c]
push esi
push esi
jmp 0x401b26
mov byte [ebx], 0
mov ecx, 1
cmp dword [ebp - 0x168], 0
jne 0x403a14
mov dword [ebp - 0x18c], ecx
mov dword [esp + 8], 0x400
mov dword [esp + 4], ebx
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
sub esp, 0xc
jmp 0x4037be
mov dword [esp], 0xffffffff
call fcn.00401469
lea edx, [ebp - 0x158]
push ecx
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x18c]
mov dword [esp + 0xc], 0x400
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
xor ecx, ecx
sub esp, 0x18
test eax, eax
jne 0x403a14
jmp 0x4035ab
mov dword [esp], 0xffffffef
call fcn.00401469
push edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.00407bb0
push edi
push edi
jmp 0x4033c1
mov dword [esp], 0x31
call fcn.00401469
mov edi, dword [ebp - 0x170]
push ebx
mov ebx, eax
and edi, 7
mov dword [esp], eax
call fcn.00407978
push esi
test eax, eax
je 0x401c07
mov dword [esp + 4], ebx
mov dword [esp], 0x4130e0
call fcn.0040805f
jmp 0x401c38
mov eax, dword [0x40b634]
mov dword [esp], 0x4130e0
add eax, 0x5800
mov dword [esp + 4], eax
call fcn.0040805f
push edx
push edx
mov dword [esp], eax
call fcn.00408093
push ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.KERNEL32.dll_lstrcatA
push esi
push esi
mov dword [esp], 0x4130e0
call fcn.00408190
push eax
cmp edi, 2
jle 0x401c88
mov dword [esp], 0x4130e0
call fcn.004087e7
push ecx
xor ecx, ecx
test eax, eax
je 0x401c79
lea ecx, [ebp - 0x164]
add eax, 0x14
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push edx
mov ecx, eax
push edx
lea edx, [edi - 3]
or edx, 0x80000000
test edx, ecx
je 0x401ca9
jmp 0x401c8c
test edi, edi
jne 0x401c9d
mov dword [esp], 0x4130e0
xor edi, edi
call fcn.00407ab5
push eax
jmp 0x401ca2
cmp edi, 1
je 0x401ca9
mov eax, 2
jmp 0x401cb3
mov edi, 1
mov eax, 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x4130e0
call fcn.00407b58
sub esp, 0xc
mov esi, eax
cmp eax, 0xffffffff
jne 0x401da8
test edi, edi
je 0x401cf7
mov dword [esp + 4], ebx
mov dword [esp], 0xffffffe2
call fcn.0040703e
cmp edi, 2
push eax
push eax
jmp 0x4034cb
mov eax, dword [0x40b634]
mov dword [esp], 0x4138e0
mov dword [esp + 4], eax
call fcn.0040805f
push eax
push eax
mov eax, dword [0x40b634]
mov dword [esp + 4], 0x4130e0
mov dword [esp], eax
call fcn.0040805f
push eax
push eax
mov eax, dword [ebp - 0x15c]
mov dword [esp], 0x4134e0
mov dword [esp + 4], eax
call fcn.00408259
mov eax, dword [0x40b634]
push edx
push edx
mov dword [esp + 4], 0x4138e0
mov dword [esp], eax
call fcn.0040805f
mov eax, dword [ebp - 0x170]
push ecx
push ecx
sar eax, 3
mov dword [esp + 4], eax
mov dword [esp], 0x4134e0
call fcn.004078a9
push esi
push esi
cmp eax, 4
je 0x401c8c
cmp eax, 5
jne 0x401d88
inc dword [0x413068]
jmp case.0x401754.2
mov dword [esp + 4], 0x4130e0
mov dword [esp], 0xfffffffa
call fcn.0040703e
mov edi, 0x7fffffff
push eax
push eax
jmp case.0x401754.2
mov dword [esp + 4], ebx
mov dword [esp], 0xffffffea
call fcn.0040703e
inc dword [0x413094]
push eax
push eax
mov eax, dword [ebp - 0x168]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00403cae
dec dword [0x413094]
mov edi, eax
mov eax, dword [ebp - 0x164]
and eax, dword [ebp - 0x160]
sub esp, 0x10
inc eax
je 0x401e1e
lea eax, [ebp - 0x164]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
sub esp, 0x10
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
test edi, edi
jns case.0x401754.66
cmp edi, 0xfffffffe
jne 0x401e5d
mov dword [esp + 4], 0xffffffe9
mov dword [esp], 0x4130e0
call fcn.00408259
push esi
push esi
mov dword [esp + 4], ebx
mov dword [esp], 0x4130e0
call sub.KERNEL32.dll_lstrcatA
jmp 0x401e71
mov dword [esp + 4], 0xffffffee
mov dword [esp], 0x4130e0
call fcn.00408259
push ecx
push ecx
mov dword [esp + 4], 0x200010
mov dword [esp], 0x4130e0
jmp 0x40220b
mov dword [esp], 0
jmp 0x401ee3
mov dword [esp], 0x31
call fcn.00401469
mov edx, dword [ebp - 0x170]
push edi
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004078a9
push edx
push edx
test eax, eax
je 0x4039b2
cmp dword [ebp - 0x168], eax
je 0x4020ae
cmp dword [ebp - 0x160], eax
jne case.0x401754.66
mov edi, dword [ebp - 0x15c]
jmp case.0x401754.2
mov dword [esp], 0xfffffff0
call fcn.00401469
mov edx, dword [ebp - 0x16c]
push esi
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004088d3
jmp 0x4038ca
mov dword [esp], 1
call fcn.00401469
push ebx
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenA
jmp 0x4026a9
mov eax, 2
call fcn.00401434
mov ebx, eax
mov eax, 3
mov edi, edx
call fcn.00401434
mov dword [esp], 1
mov esi, eax
call fcn.00401469
push edx
mov dword [ebp - 0x190], eax
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenA
test edi, edi
mov edx, dword [ebp - 0x18c]
cmove ebx, eax
push ecx
mov byte [edx], 0
test ebx, ebx
je case.0x401754.66
test esi, esi
mov edx, dword [ebp - 0x190]
jns 0x401f78
add esi, eax
js case.0x401754.66
cmp eax, esi
cmovle esi, eax
mov eax, dword [ebp - 0x18c]
add esi, edx
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0040805f
push edi
push edi
test ebx, ebx
jns 0x401faa
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenA
push esi
add ebx, eax
js 0x401fb8
cmp ebx, 0x3ff
jg case.0x401754.66
jmp 0x401fba
xor ebx, ebx
mov eax, dword [ebp - 0x18c]
mov byte [eax + ebx], 0
jmp case.0x401754.66
mov dword [esp], 0x20
call fcn.00401469
push edx
mov ebx, eax
mov dword [esp], 0x31
call fcn.00401469
cmp dword [ebp - 0x160], 0
push ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
jne 0x401ffd
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
jmp 0x402003
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
push edi
push edi
test eax, eax
jne 0x4020ae
jmp 0x402456
mov dword [esp], 1
call fcn.00401469
push esi
mov ebx, eax
mov eax, dword [ebp - 0x18c]
mov dword [esp + 8], 0x400
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
sub esp, 0xc
test eax, eax
jne 0x402053
mov eax, dword [ebp - 0x18c]
mov ecx, 1
mov byte [eax], 0
jmp 0x40207b
cmp dword [ebp - 0x168], 0
jne 0x402060
xor ecx, ecx
jmp 0x40207b
mov eax, dword [ebp - 0x18c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
push ebx
push ebx
test eax, eax
je 0x402043
jmp 0x40205c
mov eax, dword [ebp - 0x18c]
mov byte [eax + 0x3ff], 0
jmp 0x403a14
xor eax, eax
mov esi, dword [ebp - 0x15c]
call fcn.00401434
mov ebx, eax
mov eax, 1
call fcn.00401434
test esi, esi
jne 0x4020ca
cmp ebx, eax
jge 0x4020b9
mov edi, dword [ebp - 0x164]
jmp case.0x401754.2
jle 0x402456
mov edi, dword [ebp - 0x160]
jmp case.0x401754.2
cmp ebx, eax
jb 0x4020ae
jbe 0x402456
jmp 0x4020bf
mov eax, 1
call fcn.00401434
mov ebx, eax
mov eax, 2
call fcn.00401434
mov ecx, dword [ebp - 0x164]
mov esi, eax
mov edi, eax
cmp ecx, 0xd
ja case.default.0x4020ff
jmp dword [ecx*4 + 0x40b10c]
lea esi, [eax + ebx]
jmp 0x402187
mov esi, ebx
sub esi, eax
jmp 0x402185
imul edi, ebx
jmp 0x40212c
mov ecx, 1
test eax, eax
je 0x402187
mov eax, ebx
cdq
idiv esi
jmp 0x402145
or edi, ebx
jmp 0x40212c
and edi, ebx
mov esi, edi
jmp 0x402185
mov esi, eax
xor esi, ebx
jmp 0x402185
test ebx, ebx
sete al
jmp 0x402142
or ebx, eax
setne al
movzx eax, al
mov esi, eax
jmp 0x402185
test ebx, ebx
setne al
xor edx, edx
test esi, esi
setne dl
and edx, eax
jmp 0x402167
mov ecx, 1
test eax, eax
je 0x402187
mov eax, ebx
cdq
idiv esi
mov esi, edx
jmp 0x402185
mov esi, ebx
mov ecx, eax
shl esi, cl
jmp 0x402185
mov esi, ebx
mov ecx, eax
sar esi, cl
jmp 0x402185
mov esi, ebx
mov ecx, eax
shr esi, cl
jmp 0x402185
mov esi, ebx
xor ecx, ecx
mov dword [ebp - 0x190], ecx
mov dword [esp + 4], esi
jmp 0x40241b
mov dword [esp], 1
call fcn.00401469
push ecx
mov ebx, eax
mov eax, 2
call fcn.00401434
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfA]
jmp case.0x401754.66
mov ecx, dword [ebp - 0x168]
mov ebx, dword [0x4144e0]
test ecx, ecx
je 0x402255
dec ecx
test ebx, ebx
je 0x4021ea
mov ebx, dword [ebx]
test ecx, ecx
jne 0x4021db
test ebx, ebx
jne 0x402215
mov dword [esp + 4], 0xffffffe8
mov dword [esp], 0
call fcn.00408259
push edx
push edx
mov dword [esp + 4], 0x200010
mov dword [esp], eax
call fcn.004078a9
jmp 0x401d9c
add ebx, 4
mov dword [esp], 0x4130e0
mov dword [esp + 4], ebx
call fcn.0040805f
mov eax, dword [0x4144e0]
push edi
push edi
add eax, 4
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0040805f
push eax
push eax
mov eax, dword [0x4144e0]
add eax, 4
mov dword [esp + 4], 0x4130e0
jmp 0x4035d7
test esi, esi
je 0x402293
mov dword [ebp - 0x190], ecx
test ebx, ebx
je 0x4039b2
lea eax, [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.0040805f
push esi
push esi
mov eax, dword [ebx]
mov dword [0x4144e0], eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4032f6
mov dword [ebp - 0x18c], ecx
mov dword [esp + 4], 0x404
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edx
mov ebx, eax
mov eax, dword [ebp - 0x170]
push edx
mov dword [esp + 4], eax
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.00408259
mov eax, dword [0x4144e0]
push ecx
push ecx
mov dword [ebx], eax
mov dword [0x4144e0], ebx
jmp 0x4037be
mov eax, 3
call fcn.00401434
mov ebx, eax
mov eax, 4
call fcn.00401434
mov esi, eax
test byte [ebp - 0x15c], 1
je 0x40230b
mov dword [esp], 0x33
call fcn.00401469
push edi
mov ebx, eax
test byte [ebp - 0x15c], 2
je 0x402323
mov dword [esp], 0x44
call fcn.00401469
push esi
mov esi, eax
cmp dword [ebp - 0x174], 0x21
jne 0x4023b4
mov eax, 1
call fcn.00401434
mov edi, eax
mov eax, 2
call fcn.00401434
mov ecx, dword [ebp - 0x15c]
sar ecx, 2
je 0x402388
lea edx, [ebp - 0x158]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
xor ecx, ecx
sub esp, 0x1c
test eax, eax
sete cl
jmp 0x4023fe
mov dword [ebp - 0x190], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x158], eax
sub esp, 0x10
jmp 0x4023fe
mov dword [esp], 1
call fcn.00401469
push edx
mov edi, eax
mov dword [esp], 0x12
call fcn.00401469
push ecx
cmp byte [eax], 0
jne 0x4023d7
xor eax, eax
cmp byte [edi], 0
jne 0x4023de
xor edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
xor ecx, ecx
mov dword [ebp - 0x158], eax
sub esp, 0x10
cmp dword [ebp - 0x170], 0
js 0x403a14
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x190], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.00407f77
push edi
push edi
mov ecx, dword [ebp - 0x190]
jmp 0x403a14
xor eax, eax
call fcn.00401434
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsWindow]
push esi
test eax, eax
je 0x402456
mov edi, dword [ebp - 0x16c]
jmp case.0x401754.2
mov edi, dword [ebp - 0x168]
jmp case.0x401754.2
mov eax, 2
call fcn.00401434
mov ebx, eax
mov eax, 1
call fcn.00401434
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
jmp 0x402882
xor eax, eax
add esi, dword [0x414548]
call fcn.00401434
mov dword [esp + 8], esi
mov dword [esp + 4], 0xffffffeb
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x403a0f
test byte [ebp - 0x163], 1
je 0x4024c7
mov eax, 2
call fcn.00401434
jmp 0x4024e2
mov eax, dword [ebp - 0x168]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x190]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
push ecx
mov ebx, eax
mov eax, dword [ebp - 0x164]
mov edx, eax
mov edi, eax
and edx, 4
and edi, 3
mov dword [ebp - 0x194], edx
mov edx, eax
shr edx, 0x1f
mov dword [ebp - 0x198], edx
mov edx, eax
shr edx, 0x1e
and edx, 1
bt eax, 0x10
mov esi, edx
jae 0x402524
mov dword [esp], 0x11
call fcn.00401469
push edx
jmp 0x40252b
movzx eax, word [ebp - 0x16c]
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x14c]
push eax
imul edx, esi
push eax
and ecx, 0xfef0
mov eax, dword [ebp - 0x198]
xor esi, esi
imul eax, dword [ebp - 0x150]
cmp dword [ebp - 0x194], 0
je 0x402579
mov esi, dword [0x432168]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp], esi
mov dword [esp + 8], edi
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_LoadImageA]
sub esp, 0x18
mov esi, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 0x172
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
sub esp, 0x10
test eax, eax
je 0x4025cf
test edi, edi
jne 0x4025cf
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push eax
cmp dword [ebp - 0x170], 0
js case.0x401754.66
mov dword [esp + 4], esi
jmp 0x402886
mov eax, dword [ebp - 0x190]
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.00401434
mov dword [esp + 8], 0x48
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
sub esp, 0xc
mov dword [0x4130a0], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 3
push edi
push edi
call fcn.00401434
mov dword [esp], 0x4130bc
mov dword [0x4130b0], eax
mov eax, dword [ebp - 0x160]
mov byte [0x4130b7], 1
mov edx, eax
and edx, 1
mov byte [0x4130b4], dl
mov edx, eax
and eax, 4
mov byte [0x4130b6], al
mov eax, dword [ebp - 0x16c]
and edx, 2
mov byte [0x4130b5], dl
mov dword [esp + 4], eax
call fcn.00408259
push eax
push eax
mov dword [esp], 0x4130a0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push edx
jmp 0x402882
xor eax, eax
call fcn.00401434
mov ebx, eax
mov eax, 1
call fcn.00401434
mov ecx, dword [ebp - 0x164]
mov dword [esp], ebx
mov dword [esp + 4], eax
test ecx, ecx
mov dword [ebp - 0x18c], ecx
jne 0x4026e4
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x403924
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4038ca
mov dword [esp], 0
call fcn.00401469
push esi
mov esi, eax
mov dword [esp], 0x31
call fcn.00401469
push edi
mov edi, eax
mov dword [esp], 0x22
call fcn.00401469
push edx
mov ebx, eax
mov dword [esp], 0x15
call fcn.00401469
push ecx
mov dword [esp], 0xffffffec
call fcn.004016c9
push eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x13c], eax
cmp byte [esi], 0
jne 0x402761
xor esi, esi
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], edi
cmp byte [ebx], 0
jne 0x402774
xor ebx, ebx
mov eax, dword [0x40b634]
mov dword [ebp - 0x144], ebx
add eax, 0x5800
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.00407858
mov ecx, 1
push ebx
test eax, eax
je 0x403a14
xor ecx, ecx
test byte [ebp - 0x154], 0x40
je 0x403a14
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x18c], ecx
mov dword [esp], eax
call fcn.00408cbc
mov eax, dword [ebp - 0x120]
push ecx
mov dword [esp], eax
jmp 0x402847
mov dword [esp], 0
call fcn.00401469
push ecx
mov esi, eax
mov dword [esp + 4], eax
mov dword [esp], 0xffffffeb
call fcn.0040703e
push edi
push edi
mov dword [esp], esi
call fcn.004077d6
mov esi, eax
push edx
test eax, eax
je 0x4039b2
mov ecx, dword [ebp - 0x168]
test ecx, ecx
je 0x40283e
mov dword [esp], eax
call fcn.00408cbc
cmp dword [ebp - 0x16c], 0
push edx
js 0x402837
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00407f77
xor ecx, ecx
push eax
push eax
jmp 0x40283e
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x18c], ecx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4037bd
mov dword [esp], 2
call fcn.00401469
push esi
mov dword [esp], eax
call fcn.004087e7
mov esi, eax
push edi
test eax, eax
je 0x402894
mov eax, dword [eax + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00407f77
push ebx
push ebx
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
jmp 0x40381a
mov eax, dword [ebp - 0x18c]
mov byte [eax], 0
jmp 0x4039af
mov dword [esp], 0xffffffee
call fcn.00401469
push edi
mov dword [ebp - 0x190], eax
mov dword [esp], 0xa
call fcn.00408bf9
mov edi, dword [ebp - 0x190]
push edx
lea edx, [ebp - 0x17c]
mov dword [esp], edi
mov dword [esp + 4], edx
call eax
mov edi, eax
mov eax, dword [ebp - 0x18c]
push ecx
push ecx
mov byte [eax], 0
mov byte [ebx], 0
test edi, edi
je 0x4039b2
mov dword [esp + 4], edi
mov dword [esp], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push esi
mov esi, eax
test eax, eax
je 0x4039b2
mov dword [esp], 0xb
call fcn.00408bf9
push edx
mov dword [ebp - 0x194], eax
mov dword [esp], 0xc
call fcn.00408bf9
push ecx
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x194]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
call eax
mov ecx, dword [ebp - 0x198]
sub esp, 0x10
test eax, eax
jne 0x402967
mov ecx, 1
jmp 0x4029c5
lea eax, [ebp - 0x158]
mov dword [esp + 4], 0x40b000
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x178]
mov dword [esp + 8], eax
mov dword [esp], esi
call ecx
sub esp, 0x10
test eax, eax
je 0x402960
mov eax, dword [ebp - 0x178]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.00407f77
mov eax, dword [ebp - 0x178]
push edi
push edi
mov eax, dword [eax + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00407f77
xor ecx, ecx
push eax
push eax
mov dword [ebp - 0x18c], ecx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4037bd
cmp dword [section..bss], 0
js 0x402b0b
mov dword [esp], 0xfffffff0
call fcn.00401469
push ebx
mov edi, eax
mov dword [esp], 1
call fcn.00401469
cmp dword [ebp - 0x160], 0
push esi
mov esi, eax
jne 0x402a34
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x402a44
jmp 0x402aff
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
push ecx
test eax, eax
je 0x402a0d
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
push edx
push edx
test eax, eax
je 0x402ab0
mov ecx, dword [ebp - 0x168]
test ecx, ecx
je 0x402a76
mov dword [esp], ecx
call fcn.004016c9
push eax
call edi
xor ecx, ecx
test eax, eax
setne cl
jmp 0x402ac7
mov eax, dword [0x40b634]
mov dword [ebp - 0x18c], ecx
mov dword [esp + 0x10], 0x40a000
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 0xc], 0x4144e0
mov dword [esp + 4], 0x400
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x18c]
jmp 0x402ac7
mov dword [esp + 4], esi
mov dword [esp], 0xfffffff7
call fcn.0040703e
mov ecx, 1
push esi
push esi
cmp dword [ebp - 0x164], 0
jne 0x403a14
mov dword [esp], ebx
mov dword [ebp - 0x18c], ecx
call fcn.00404a07
test eax, eax
push ecx
mov ecx, dword [ebp - 0x18c]
je 0x403a14
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4037bd
mov dword [esp], 0xfffffff6
jmp 0x402bcf
mov dword [esp], 0xffffffe7
jmp 0x402bcf
mov dword [esp], 0xfffffff0
call fcn.00401469
push esi
mov dword [ebp - 0x190], eax
mov dword [esp], 0xffffffdf
call fcn.00401469
push edi
mov esi, eax
mov dword [esp], 2
call fcn.00401469
push edx
mov dword [ebp - 0x194], eax
mov dword [esp], 0xffffffcd
call fcn.00401469
push ecx
mov dword [ebp - 0x18c], eax
mov dword [esp], 0x45
call fcn.00401469
mov edi, dword [ebp - 0x160]
push ebx
mov dword [ebp - 0x198], eax
mov dword [esp], esi
call fcn.00407978
push edx
test eax, eax
jne 0x402b92
mov dword [esp], 0x21
call fcn.00401469
push ebx
lea eax, [ebp - 0x178]
mov dword [esp + 0xc], 0x4112c0
mov dword [esp + 0x10], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x40cc30
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jns 0x402bda
mov dword [esp], 0xfffffff0
call fcn.004016c9
push ecx
jmp 0x4039b2
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x158]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x410900
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x402d4c
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x50]
bt edi, 0xf
mov ebx, eax
push edx
push edx
jb 0x402c40
mov edx, dword [ebp - 0x178]
mov eax, dword [0x40b634]
mov ecx, dword [edx]
add eax, 0x5800
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [ecx + 0x24]
push eax
push eax
mov eax, edi
sar eax, 0xc
and eax, 7
je 0x402c5e
mov edx, dword [ebp - 0x178]
mov ecx, dword [edx]
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [ecx + 0x3c]
push eax
push eax
mov eax, dword [ebp - 0x178]
mov ecx, edi
shr ecx, 0x10
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x34]
push eax
push eax
mov eax, dword [ebp - 0x18c]
cmp byte [eax], 0
je 0x402ca7
mov eax, dword [ebp - 0x178]
and edi, 0xfff
mov edx, dword [eax]
mov dword [esp + 8], edi
mov edi, dword [ebp - 0x18c]
mov dword [esp], eax
mov dword [esp + 4], edi
call dword [edx + 0x44]
sub esp, 0xc
mov eax, dword [ebp - 0x178]
mov edi, dword [ebp - 0x194]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x178]
push edi
push edi
mov edi, dword [ebp - 0x198]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x1c]
push eax
push eax
test ebx, ebx
js 0x402d3d
mov eax, dword [ebp - 0x190]
mov dword [esp + 0x14], 0x400
mov ebx, 0x80004005
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
sub esp, 0x18
test eax, eax
je 0x402d3d
mov eax, dword [ebp - 0x158]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 0x158]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push esi
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push ecx
test ebx, ebx
js 0x402bc8
mov dword [esp], 0xfffffff4
call fcn.004016c9
jmp 0x403884
mov dword [esp], 0
call fcn.00401469
push edi
mov ebx, eax
mov dword [esp], 0x11
call fcn.00401469
push edx
mov esi, eax
mov dword [esp], 0x23
call fcn.00401469
push ecx
mov edi, eax
mov dword [esp], ebx
call fcn.004087e7
push edx
test eax, eax
je 0x402e2b
mov dword [esp], ebx
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x154], 2
mov dword [ebp - 0x158], eax
call sub.KERNEL32.dll_lstrlenA
push edx
mov byte [ebx + eax + 1], 0
mov dword [esp], esi
call sub.KERNEL32.dll_lstrlenA
push ecx
mov byte [esi + eax + 1], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x150], ebx
mov dword [esp + 4], edi
mov dword [esp], 0
mov dword [ebp - 0x14c], esi
mov word [ebp - 0x148], ax
mov dword [ebp - 0x13e], edi
call fcn.0040703e
lea eax, [ebp - 0x158]
push ebx
push ebx
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, eax
push esi
test eax, eax
je 0x403a14
mov dword [esp + 4], 0
mov dword [esp], 0xfffffff9
call fcn.0040703e
push eax
push eax
jmp 0x4039b2
cmp edi, 0xbadf00d
jne 0x4021ea
inc dword [0x413074]
jmp case.0x401754.66
xor ebx, ebx
test edi, edi
je 0x402e72
mov dword [esp], 0
call fcn.00401469
push edi
mov ebx, eax
xor esi, esi
cmp dword [ebp - 0x16c], 0
je 0x402e8c
mov dword [esp], 0x11
call fcn.00401469
push esi
mov esi, eax
xor edi, edi
cmp dword [ebp - 0x160], 0
je 0x402ea6
mov dword [esp], 0x22
call fcn.00401469
push ecx
mov edi, eax
mov dword [esp], 0xffffffcd
call fcn.00401469
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
sub esp, 0x10
jmp 0x4033c1
mov dword [esp], 1
mov word [ebp - 0x158], 0xa
call fcn.00401469
push edx
mov esi, eax
mov dword [esp], 0x12
call fcn.00401469
push ecx
mov ebx, eax
mov dword [esp], 0xffffffdd
call fcn.00401469
push edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp + 0x10], 0x3ff
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x158]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x18c]
xor ecx, ecx
sub esp, 0x18
cmp byte [eax], 0xa
jne 0x403a14
jmp 0x4035b1
cmp dword [ebp - 0x160], 0
jne 0x402f94
mov dword [esp], 2
call fcn.004014bf
mov esi, eax
push edi
test eax, eax
je 0x4039b2
mov dword [esp], 0x33
call fcn.00401469
push edx
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push ecx
mov ebx, eax
push ecx
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
jmp 0x40300c
mov dword [esp], 0x22
call fcn.00401469
mov ebx, eax
mov eax, dword [ebp - 0x160]
push edi
sar eax, 1
mov dword [ebp - 0x158], eax
cmp byte [ebx], 0
je 0x4039b2
or eax, 0x100020
mov dword [ebp - 0x158], eax
test esi, esi
js 0x402fd5
add esi, dword [0x413064]
sub esi, 0x7fffffff
lea eax, [ebp - 0x158]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00407d88
push esi
push esi
test eax, eax
je 0x4039b2
mov edx, dword [ebp - 0x158]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.00401523
sub esp, 0xc
mov ebx, eax
test ebx, ebx
setne cl
jmp 0x4034ce
mov dword [esp], 2
mov eax, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x160]
mov dword [ebp - 0x18c], eax
call fcn.00401469
push ecx
mov dword [ebp - 0x190], eax
mov dword [esp], 0x11
call fcn.00401469
mov edx, edi
push ebx
mov ecx, eax
test edi, edi
js 0x40305c
add edx, dword [0x413064]
sub edx, 0x7fffffff
lea eax, [ebp - 0x158]
mov dword [esp + 8], 0x100022
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00407e5d
sub esp, 0x10
test eax, eax
jne 0x4039b2
mov ebx, dword [ebp - 0x158]
test ebx, ebx
je 0x4039b2
cmp esi, 1
jne 0x4030b5
mov dword [esp], 0x23
call fcn.00401469
push edi
mov dword [esp], 0x4138e0
call sub.KERNEL32.dll_lstrlenA
inc eax
push edx
jmp 0x403100
cmp esi, 4
je 0x4030ec
xor eax, eax
cmp esi, 3
jne 0x403100
mov eax, dword [ebp - 0x164]
mov dword [esp + 0xc], 0xc00
mov dword [esp + 8], 0x4138e0
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00403cae
sub esp, 0x10
jmp 0x403100
mov eax, 3
call fcn.00401434
mov dword [0x4138e0], eax
mov eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp + 0x10], 0x4138e0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
sub esp, 0x18
test eax, eax
setne cl
jmp 0x40321e
mov dword [esp], 0x20019
call fcn.004014bf
push ebx
mov ebx, eax
mov dword [esp], 0x33
call fcn.00401469
mov edx, dword [ebp - 0x18c]
push esi
mov byte [edx], 0
test ebx, ebx
je 0x4039b2
lea edx, [ebp - 0x178]
mov dword [esp + 8], 0
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x178], 0x400
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x158]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x4031c4
mov eax, dword [ebp - 0x158]
lea edx, [eax - 1]
cmp edx, 1
jbe 0x4031d4
cmp eax, 4
je 0x4031d4
mov eax, dword [ebp - 0x18c]
mov ecx, 1
mov byte [eax], 0
jmp 0x40321e
mov ecx, dword [ebp - 0x160]
cmp eax, 4
jne 0x403211
mov eax, dword [ebp - 0x18c]
test ecx, ecx
sete cl
mov eax, dword [eax]
movzx ecx, cl
mov dword [ebp - 0x190], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.00407f77
push ecx
push ecx
mov ecx, dword [ebp - 0x190]
jmp 0x40321e
mov eax, dword [ebp - 0x18c]
mov byte [eax + 0x3ff], 0
mov dword [ebp - 0x18c], ecx
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4037bd
mov dword [esp], 0x20019
call fcn.004014bf
push edx
mov ebx, eax
mov eax, 3
call fcn.00401434
mov edx, dword [ebp - 0x18c]
mov byte [edx], 0
test ebx, ebx
je 0x4039b2
cmp dword [ebp - 0x160], 0
mov dword [ebp - 0x158], 0x3ff
je 0x40328f
mov dword [esp + 0xc], 0x3ff
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
xor ecx, ecx
sub esp, 0x10
jmp 0x4032da
lea edx, [ebp - 0x158]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x18c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
xor ecx, ecx
sub esp, 0x20
test eax, eax
setne cl
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x190], ecx
mov byte [eax + 0x3ff], 0
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
jmp 0x40242b
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.00407f9c
push esi
test eax, eax
je case.0x401754.66
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403884
mov dword [esp], 0xffffffed
call fcn.00401469
mov edx, dword [ebp - 0x168]
push ebx
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x16c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00407b58
sub esp, 0xc
cmp eax, 0xffffffff
jne 0x402882
jmp 0x4035ab
cmp dword [ebp - 0x168], 0
je 0x40337a
mov eax, 1
mov ebx, 1
call fcn.00401434
mov byte [0x4134e0], al
jmp 0x403392
mov dword [esp], 0x11
call fcn.00401469
push edx
mov dword [esp], eax
call sub.KERNEL32.dll_lstrlenA
push ecx
mov ebx, eax
mov eax, dword [ebp - 0x18c]
cmp byte [eax], 0
je 0x4039b2
mov dword [esp], eax
call fcn.00407f9c
push edi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x4134e0
mov dword [esp], eax
call fcn.00407c5a
sub esp, 0xc
test eax, eax
jmp 0x4034cb
mov eax, 2
call fcn.00401434
test eax, eax
jle case.0x401754.66
mov esi, dword [ebp - 0x18c]
xor edi, edi
cmp byte [esi], 0
je 0x4034c5
mov dword [esp], esi
cmp eax, 0x3ff
mov edi, 0x3ff
cmovle edi, eax
call fcn.00407f9c
xor edx, edx
mov dword [ebp - 0x18c], eax
push esi
xor esi, esi
lea eax, [ebp - 0x158]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov byte [ebp - 0x190], dl
mov dword [esp], eax
call fcn.00407c14
sub esp, 0xc
test eax, eax
je 0x4034c3
cmp dword [ebp - 0x164], 0
movzx eax, byte [ebp - 0x158]
mov dl, byte [ebp - 0x190]
je 0x403465
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00407f77
push ecx
push ecx
jmp 0x403a1a
lea ecx, [ebx + esi]
cmp dl, 0xd
je 0x403472
cmp dl, 0xa
jne 0x4034af
cmp dl, al
je 0x40347e
cmp al, 0xd
je 0x4034aa
cmp al, 0xa
je 0x4034aa
mov eax, dword [ebp - 0x18c]
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
jmp 0x4034c3
mov byte [ecx], al
inc esi
jmp 0x4034c3
inc esi
mov byte [ebx + esi - 1], al
test al, al
je 0x4034c3
cmp edi, esi
je 0x4034c5
mov edx, eax
jmp 0x40340b
mov edi, esi
mov byte [ebx + edi], 0
test edi, edi
sete cl
movzx ecx, cl
jmp 0x403a14
mov eax, dword [ebp - 0x18c]
cmp byte [eax], 0
je case.0x401754.66
mov eax, 2
mov edi, dword [ebp - 0x164]
call fcn.00401434
mov esi, eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.00407f9c
push edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
cmp dword [ebp - 0x16c], 0
js case.0x401754.66
jmp 0x403813
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.00407f9c
push ebx
test eax, eax
je case.0x401754.66
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x403884
mov dword [esp], ebx
call fcn.00407f9c
push ecx
test eax, eax
je 0x4035ab
lea edx, [ebp - 0x158]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
push edx
push edx
test eax, eax
je 0x4035ab
jmp 0x4035c7
mov dword [esp], 2
call fcn.00401469
lea edx, [ebp - 0x158]
push esi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push edi
push edi
cmp eax, 0xffffffff
jne 0x4035b9
mov byte [ebx], 0
mov eax, dword [ebp - 0x18c]
mov byte [eax], 0
jmp 0x4039b2
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00407f77
push ebx
push ebx
lea eax, [ebp - 0x12c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.0040805f
jmp 0x4038ca
mov dword [esp], 0xfffffff0
call fcn.00401469
push edx
mov esi, eax
mov dword [esp], eax
call fcn.00407978
push ecx
test eax, eax
jne 0x40360d
mov dword [esp], 0xffffffed
call fcn.00401469
push eax
mov dword [esp], esi
call fcn.00407ab5
push edi
mov dword [esp + 8], 2
mov dword [esp + 4], 0x40000000
mov dword [esp], esi
call fcn.00407b58
mov dword [ebp - 0x18c], eax
sub esp, 0xc
inc eax
jne 0x403653
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0xffffffef
mov ecx, 1
push ebx
jmp 0x4037af
mov eax, dword [0x414508]
mov dword [esp], 0x40
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x190], eax
mov dword [esp + 4], eax
call edi
mov edx, 0xfffffd66
push ecx
mov ebx, eax
push ecx
test eax, eax
je 0x403784
mov dword [esp], 0
call fcn.00403c7c
push eax
mov eax, dword [ebp - 0x190]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00403c54
push eax
push eax
mov eax, dword [ebp - 0x168]
mov dword [esp], 0x40
mov dword [esp + 4], eax
call edi
mov edi, eax
push edx
push edx
test eax, eax
je 0x403730
mov eax, dword [ebp - 0x168]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
call fcn.00403cae
mov eax, edi
sub esp, 0x10
cmp byte [eax], 0
je 0x403726
mov ecx, dword [eax]
lea edx, [eax + 8]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [ebp - 0x194], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x198], ecx
add edx, ebx
mov dword [esp], edx
call fcn.00407a98
mov edx, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x198]
sub esp, 0xc
lea eax, [edx + ecx]
jmp 0x4036e7
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ecx
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18c]
mov dword [esp], eax
call fcn.00407c5a
sub esp, 0xc
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x18c]
push edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0xffffffff
call fcn.00403cae
sub esp, 0x10
mov edx, eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x190], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x190]
push eax
test edx, edx
js 0x40363a
mov eax, 0xfffffff3
xor ecx, ecx
mov dword [ebp - 0x18c], ecx
mov dword [esp], eax
call fcn.004016c9
push eax
mov ecx, dword [ebp - 0x18c]
jmp 0x403a14
xor eax, eax
call fcn.00401434
mov esi, eax
cmp eax, dword [0x41452c]
jae 0x4039b2
mov ecx, dword [ebp - 0x168]
imul edi, eax, 0x418
add edi, dword [0x414528]
test ecx, ecx
js 0x403824
jne 0x403810
add edi, 0x18
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [ebp - 0x18c], ecx
call fcn.0040805f
jmp 0x403924
mov eax, dword [edi + ecx*4]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00407f77
jmp 0x4038ca
not ecx
mov dword [ebp - 0x168], ecx
test ecx, ecx
je 0x403842
mov eax, 1
call fcn.00401434
mov dword [ebp - 0x16c], eax
jmp 0x403860
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], eax
lea eax, [edi + 0x18]
mov dword [esp], eax
call fcn.00408259
push eax
push eax
or dword [edi + 8], 0x100
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x168]
mov dword [edi + eax*4], edx
cmp dword [ebp - 0x164], 0
je case.0x401754.66
mov dword [esp], esi
call fcn.00401248
push eax
jmp case.0x401754.66
xor eax, eax
call fcn.00401434
cmp eax, 0x1f
ja 0x4039b2
cmp dword [ebp - 0x164], 0
mov ecx, dword [ebp - 0x168]
je 0x4038f2
test ecx, ecx
je 0x4038d1
mov dword [esp], eax
call fcn.0040135c
push eax
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004012a7
push edi
push edi
jmp case.0x401754.66
mov dword [esp], 0
mov dword [ebp - 0x18c], ecx
call fcn.004013b5
push esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00407f77
jmp 0x403924
test ecx, ecx
mov edx, dword [0x414510]
lea eax, [eax + 0x24]
je 0x40390e
mov ecx, dword [ebp - 0x16c]
mov dword [edx + eax*4 + 4], ecx
jmp case.0x401754.66
mov eax, dword [edx + eax*4 + 4]
mov dword [esp], ebx
mov dword [ebp - 0x18c], ecx
mov dword [esp + 4], eax
call fcn.00408259
push ebx
push ebx
jmp 0x4037be
mov dword [esp], 5
call fcn.00408bf9
push edx
mov esi, eax
mov dword [esp], 0x22
call fcn.00401469
push ecx
test esi, esi
je 0x4039af
lea edi, [ebp - 0x158]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00408147
test eax, eax
js 0x4039af
lea eax, [ebp - 0x178]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x164]
mov dword [esp], edi
mov dword [esp + 4], eax
call esi
sub esp, 0x10
test eax, eax
js 0x4039af
mov eax, dword [ebp - 0x178]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00408125
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x403884
mov byte [ebx], 0
mov ecx, 1
jmp 0x403a14
mov edx, dword [0x432dc0]
mov eax, dword [ebp - 0x190]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0xb
and edx, edi
mov dword [esp], eax
mov dword [esp + 8], edx
call dword [sym.imp.USER32.dll_SendMessageA]
sub esp, 0x10
cmp dword [ebp - 0x170], 0
je case.0x401754.66
mov eax, dword [ebp - 0x190]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
sub esp, 0xc
xor ecx, ecx
add dword [0x413068], ecx
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 4