Function at 0xc21020
Capabilities:
Delete directory
Enumerate processes
Get common file path
Resolve function by parsing pe exports
Set registry value

Disassembly:
mov eax, 0x1300
call fcn.00c347f0
mov eax, dword [0xc57104]
mov ecx, dword [esp + 0x130c]
xor eax, esp
push ebx
push ebp
push esi
mov dword [esp + 0x1308], eax
mov eax, dword [esp + 0x1310]
push edi
xor ebx, ebx
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x258
call fcn.00c31c84
add esp, 4
cmp eax, ebx
je 0xc21077
mov ecx, eax
call fcn.00c1ccf0
mov esi, eax
jmp 0xc21079
xor esi, esi
push esi
lea edx, [esi + 8]
push edx
push 0xc58144
mov dword [esp + 0x30], esi
call fcn.00c202e0
mov eax, dword [0xc5b02c]
push ebx
push 0xc20430
push ebx
push 0xbd
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push ebx
push ebx
push ebx
push 0xffffffffffffff9c
push 0xffffffffffffff9c
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xc5910c
push esi
mov dword [0xc5910c], 0x128
call sub.KERNEL32.dll_Process32First
push 0x104
lea eax, [esp + 0x508]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x300]
push ecx
lea edx, [esp + 0x204]
push edx
lea eax, [esp + 0x610]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x514]
push edx
call fcn.00c339cc
push str.Path_extracted_with__splitpath:_n
call fcn.00c34acb
lea eax, [esp + 0x40]
push eax
push str.__Drive:__s_n
call fcn.00c34acb
lea ecx, [esp + 0x628]
push ecx
push str.__Dir:__s_n
call fcn.00c34acb
lea edx, [esp + 0x228]
push edx
push str.__Filename:__s_n
call fcn.00c34acb
lea eax, [esp + 0x330]
push eax
push str.__Ext:__s_n
call fcn.00c34acb
lea ecx, [esp + 0x338]
push ecx
lea edx, [esp + 0x23c]
push edx
lea eax, [esp + 0x748]
push 0xc4bac4
push eax
call fcn.00c33974
add esp, 0x48
jmp 0xc211a0
lea ecx, [esp + 0x708]
push ecx
push 0xc59130
call fcn.00c35057
add esp, 8
test eax, eax
je 0xc211c8
push 0xc5910c
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0xc211a0
push 0x104
lea edx, [esp + 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0xa0c]
push eax
lea ecx, [esp + 0x810]
push ecx
lea edx, [esp + 0x914]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x410]
push ecx
call fcn.00c339cc
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor eax, eax
mov word [esp + 0xac], bx
mov ecx, 0x18
lea edi, [esp + 0xae]
rep stosd dword es:[edi], eax
add esp, 0x14
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push 0x2001f
push ebx
xor edx, edx
push str.SoftwareNeoWizPMangInstall
mov dword [esp + 0x9e], edx
push bind
mov dword [esp + 0x24], ebx
mov word [esp + 0xa0], bx
mov dword [esp + 0xa6], edx
mov dword [esp + 0x34], 0xa
mov dword [esp + 0x40], 0x64
mov dword [esp + 0x28], ebx
call ebp
cmp eax, ebx
jne 0xc21357
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push str.DriveLetter
lea eax, [esp + 0x94]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00c1ff80
test eax, eax
jne 0xc21357
lea esi, [esp + 0x18]
lea eax, [esp + 0x8c]
lea ecx, [ecx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0xc212d4
cmp cl, bl
je 0xc212d0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0xc212d4
add eax, 2
add esi, 2
cmp cl, bl
jne 0xc212b0
xor eax, eax
jmp 0xc212d9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0xc21357
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x100]
push str._sNEOWIZ
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push str.INSTALL_STATUS
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x1c]
call fcn.00c1ff80
test eax, eax
jne 0xc21357
mov edi, str.FIRST_EXECUTE
lea esi, [esp + 0x98]
mov ecx, 0xe
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0xc21333
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0xc21357
lea ecx, [esp + 0xfc]
push 1
push ecx
call fcn.00c200d0
add esp, 8
lea edx, [esp + 0xfc]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [esp + 0x14]
push eax
push 0x2001f
push ebx
push str.SoftwareNeoWizPMangInstall
push bind
mov dword [esp + 0x28], ebx
call ebp
cmp eax, ebx
jne 0xc2145f
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, ebx
je 0xc2138b
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], edi
jne 0xc21463
lea ecx, [esp + 0x20]
push ecx
push str.DriveLetter
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x1c]
call fcn.00c1ff80
lea esi, [esp + 0x18]
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0xc213e5
cmp cl, bl
je 0xc213e1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0xc213e5
add eax, 2
add esi, 2
cmp cl, bl
jne 0xc213c1
xor eax, eax
jmp 0xc213ea
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0xc2145f
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x100]
push str._sNEOWIZ
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x108]
push ebx
push edx
call fcn.00c34a85
add esp, 0x14
cmp eax, 0xffffffff
jne 0xc2145f
push 0x2001f
push str.SoftwareNeowizPmangInstall
push bind
lea ecx, [esp + 0x1c]
call fcn.00c1ff30
test eax, eax
jne 0xc2145f
push str.INSTALL_DONE
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x10]
inc eax
push eax
push str.INSTALL_DONE
push 1
push ebx
push str.INSTALL_STATUS
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0xc21463
mov edi, dword [esp + 0x10]
mov ecx, 0xc581b0
call fcn.00c24d90
mov eax, dword [esp + 0x34]
mov ecx, 0xc581b0
mov dword [0xc581b0], eax
mov dword [0xc59240], 0xffffffff
call fcn.00c226c0
test eax, eax
jne 0xc214b6
mov ebp, dword [esp + 0x1c]
push ebp
mov ecx, 0xc581b0
call fcn.00c22880
mov esi, eax
cmp esi, ebx
jg 0xc214cb
push 0x40
push str.Pmang_WebGame_Downloader_ver_2.0
push 0xc4c8f8
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp edi, ebx
je 0xc214c1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0xc218ad
mov ecx, dword [0xc593c0]
push 4
push str.BUGS
push ecx
push ebx
mov ecx, 0xc593ac
call fcn.00c177d0
test eax, eax
jne 0xc214f7
mov dword [0xc59240], 1
jmp 0xc2157b
push 0xc4c8ec
push 0xc593ac
call fcn.00c178a0
add esp, 8
test al, al
je 0xc21519
mov dword [0xc59240], 2
jmp 0xc2157b
push str.JOINS
push 0xc593ac
call fcn.00c178a0
add esp, 8
test al, al
je 0xc2153b
mov dword [0xc59240], 3
jmp 0xc2157b
push 0xc4c8e0
push 0xc593ac
call fcn.00c178a0
add esp, 8
test al, al
je 0xc2155d
mov dword [0xc59240], 4
jmp 0xc2157b
push str.DAUM
push 0xc593ac
call fcn.00c178a0
add esp, 8
neg al
sbb eax, eax
and eax, 5
mov dword [0xc59240], eax
cmp esi, 0x2710
jle 0xc2182e
cmp esi, 0x4e20
jge 0xc2182e
mov ecx, 0xc581b0
call fcn.00c23050
test eax, eax
jne 0xc215c6
push ebx
push str.Pmang_WebGame_Downloader_ver_2.0
push 0xc4c8a8
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
call fcn.00c202a0
mov eax, 1
jmp 0xc218ad
lea edx, [esp + 0x54]
push edx
mov ecx, 0xc581b0
call fcn.00c23000
mov ecx, dword [eax + 0x18]
mov edi, 0x10
cmp ecx, edi
jb 0xc215e6
mov eax, dword [eax + 4]
jmp 0xc215e9
add eax, 4
push eax
lea eax, [esp + 0xb10]
push eax
call fcn.00c33974
add esp, 8
lea ecx, [esp + 0x54]
call fcn.00c22280
lea ecx, [esp + 0x54]
push ecx
mov ecx, 0xc581b0
call fcn.00c23000
cmp dword [eax + 0x18], edi
jb 0xc2161c
mov eax, dword [eax + 4]
jmp 0xc2161f
add eax, 4
push eax
lea edx, [esp + 0xf10]
push edx
call fcn.00c33974
add esp, 8
lea ecx, [esp + 0x54]
call fcn.00c22280
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xb10]
push ecx
mov word [esp + 0x1c], 0x2d
call fcn.00c33d95
add esp, 8
test eax, eax
je 0xc2167d
lea esp, [esp]
mov eax, dword [0xc5819c]
lea edx, [esp + 0x14]
push edx
inc eax
push ebx
mov dword [0xc5819c], eax
call fcn.00c33d95
add esp, 8
test eax, eax
jne 0xc21660
mov eax, dword [0xc5819c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xf10]
push edx
mov dword [0xc59238], eax
mov dword [0xc5923c], ebx
mov dword [0xc59234], 1
call fcn.00c33d95
mov esi, eax
add esp, 8
cmp esi, ebx
je 0xc2184f
mov ebp, 0xf
jmp 0xc216c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xc216d3
sub eax, edx
push eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.00c01c50
cmp dword [esp + 0x4c], ebx
lea ecx, [esp + 0x38]
je 0xc2181b
push 1
push ebx
push 0xc4c4b0
call fcn.00c01e10
cmp eax, 0xffffffff
je 0xc21817
push eax
push ebx
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00c01ae0
cmp dword [esp + 0x50], edi
mov eax, dword [esp + 0x3c]
jae 0xc2172d
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x74]
call fcn.00c20fa0
cmp dword [esp + 0x6c], edi
mov eax, dword [esp + 0x58]
jae 0xc21745
lea eax, [esp + 0x58]
push esi
push eax
lea ecx, [esp + 0x78]
call fcn.00c20e50
push 0xc4b518
push str.downloadlist.ini
lea ecx, [esp + 0x78]
call fcn.00c20e50
cmp dword [esp + 0x88], edi
mov eax, dword [esp + 0x74]
jae 0xc21774
lea eax, [esp + 0x74]
push eax
mov ecx, 0xc581b0
call fcn.00c22880
cmp dword [esp + 0x88], edi
jb 0xc21794
mov edx, dword [esp + 0x74]
mov dword [0xc58190], edx
jmp 0xc2179d
lea eax, [esp + 0x74]
mov dword [0xc58190], eax
mov dword [0xc58194], 3
mov dword [0xc58198], 1
call fcn.00c20cb0
lea ecx, [esp + 0x14]
push ecx
push ebx
call fcn.00c33d95
add esp, 8
lea ecx, [esp + 0x70]
mov esi, eax
call fcn.00c20400
cmp dword [esp + 0x6c], edi
jb 0xc217e2
mov edx, dword [esp + 0x58]
push edx
call fcn.00c328de
add esp, 4
cmp dword [esp + 0x50], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
jb 0xc21801
mov eax, dword [esp + 0x3c]
push eax
call fcn.00c328de
add esp, 4
cmp esi, ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
jne 0xc216c0
jmp 0xc2184f
lea ecx, [esp + 0x38]
call fcn.00c22280
lea ecx, [esp + 0x10]
call fcn.00c202a0
jmp 0xc218ab
mov dword [0xc58190], ebp
mov dword [0xc58194], 2
mov dword [0xc58198], ebx
mov dword [0xc59234], ebx
call fcn.00c20cb0
mov ecx, dword [str.1D18AF96_0989_457e_9036_ADDB052090AE]
push ecx
push ebx
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, ebx
je 0xc21878
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call edi
mov esi, dword [esp + 0x24]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
push ecx
call edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0xc218ab
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x130c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00c32666
add esp, 0x1300
ret 0x10