joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401dc0
Capabilities:
Check if file exists
Create process on windows
Read .ini file

Disassembly:
sub esp, 0xa30
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0xa2c], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x222]
push ecx
mov word [esp + 0x224], ax
call fcn.0042fb00
add esp, 0xc
lea ebx, [esp + 0x218]
call fcn.004011d0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, ebx
push edx
push 0x104
lea eax, [esp + 0x428]
push eax
push 0x44aec4
push str.runFirstExe
push str.action_first
call edi
mov ecx, ebx
push ecx
push 0x104
lea edx, [esp + 0x838]
push edx
push 0x44aec4
push str.runFirstParam
push str.action_first
call edi
lea eax, [esp + 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401e57
sub eax, edx
sar eax, 1
jne 0x401e82
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0xa2c]
xor ecx, esp
call fcn.0042d791
add esp, 0xa30
ret
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.0042fb00
add esi, 4
push esi
lea edx, [esp + 0x20]
push 0x104
push edx
call fcn.0042d97f
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [esp + 0x420]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401f61
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x632]
push edx
mov word [esp + 0x634], cx
call fcn.0042fb00
lea eax, [esp + 0x634]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040c890
add esp, 0x14
push 1
lea edx, [esp + 0x62c]
push edx
lea eax, [esp + 0x838]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x449f2c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x62c]
push edx
lea eax, [esp + 0x838]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.MSG:_runpre_file_s__param_s__workdir_s__code_d
call fcn.0040c990
add esp, 0x14
jmp 0x401f98
push 1
push 0
push 0
lea edx, [esp + 0x42c]
push edx
push 0x449f2c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x424]
push eax
push str.MSG:_runpre_url_s__code_d
call fcn.0040c990
add esp, 0xc
mov ecx, dword [esp + 0xa38]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0042d791
add esp, 0xa30
ret
Function at 0x401fc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0042fb00
add esp, 0xc
lea ebx, [esp + 0xc]
call fcn.004011d0
mov edx, ebx
push edx
push 0
push str.setBits
push str.action_first
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
test edi, edi
jle 0x4020a7
push 0xdc
call fcn.004110f8
add esp, 4
mov esi, eax
push esi
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
cmp edi, dword [esi + 0xa8]
jne 0x402052
push esi
call fcn.00411132
push str.MSG:_setBits_false__current_bits_perpel_is_equal_to_set
call fcn.0040c990
add esp, 8
jmp 0x4020a7
push 0xdc
call fcn.004110f8
mov esi, eax
add esp, 4
push 1
mov eax, 0xdc
push esi
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xa8], edi
mov dword [esi + 0xb8], 0
mov dword [esi + 0x48], 0x5c0000
mov word [esi + 0x44], ax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
push esi
call fcn.00411132
add esp, 4
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0042d791
add esp, 0x20c
ret

Function at 0x4020d0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
sub esp, 0x620
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x61c], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x222]
push ecx
mov word [esp + 0x224], ax
call fcn.0042fb00
add esp, 0xc
lea ebx, [esp + 0x218]
call fcn.004011d0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, ebx
push edx
call edi
test eax, eax
jne 0x40213e
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x61c]
xor ecx, esp
call fcn.0042d791
add esp, 0x620
ret
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x42a]
push ecx
mov word [esp + 0x42c], ax
call fcn.0042fb00
add esp, 0xc
lea edx, [esp + 0x218]
push edx
push 0x104
lea eax, [esp + 0x428]
push eax
push 0x44aec4
push str.CompatibilityMode
push str.game_base
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402192
sub eax, edx
sar eax, 1
je 0x402124
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x1c], cx
call fcn.0042fb00
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x20]
push 0x104
push ecx
call fcn.0042d97f
add esp, 0x18
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, dword [esi]
add eax, 4
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea edx, [esp + 0x10]
push edx
call edi
test eax, eax
je 0x402208
lea eax, [esp + 0x10]
push eax
lea esi, [esp + 0x424]
call fcn.00402230
mov ecx, dword [esp + 0x628]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0042d791
add esp, 0x620
ret
Function at 0x402230
Capabilities:
Set registry value

Disassembly:
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402235
mov ecx, dword [esp + 4]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ecx
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x40227a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.SetCompatibilityMode_Succeed:_mode_s__code_d
call fcn.0040c990
add esp, 0xc
mov al, 1
ret 4
Function at 0x403000
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x443116
mov eax, dword fs:[0]
push eax
sub esp, 0x624
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x620], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457600]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [esi + 4]
push esi
mov ecx, 0x44a5f0
call fcn.00402ca0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x436]
push ecx
mov word [esp + 0x438], ax
call fcn.0042fb00
add esp, 0xc
lea ebx, [esp + 0x42c]
call fcn.004011d0
push 0x206
xor edi, edi
lea eax, [esp + 0x22]
xor edx, edx
push edi
push eax
mov word [esp + 0x28], dx
call fcn.0042fb00
add esp, 0xc
mov ecx, ebx
push ecx
push 0x104
lea edx, [esp + 0x24]
push edx
push 0x44aec4
push str.assocGids
push str.action_first
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4030c0
sub eax, edx
sar eax, 1
je 0x4031f1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406b70
mov dword [esp + 0x640], edi
call fcn.0041160a
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x403104
push 0x80004005
call fcn.004069f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x640], 1
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
push 0x7c
push edi
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0041158d
mov ebp, dword [esp + 0x14]
cmp dword [ebp - 0xc], 0
je 0x4031a2
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22e]
push ecx
mov word [esp + 0x230], ax
call fcn.0042fb00
add esp, 0xc
lea edx, [esp + 0x224]
push edx
push ebp
call fcn.00403220
call ebx
push eax
lea eax, [esp + 0x228]
push eax
push str.MSG:_Assis_gid_directory_s__code_d
call fcn.0040c990
mov ecx, dword [esp + 0x20]
add esp, 0xc
push esi
lea edx, [esp + 0x228]
call fcn.00402ca0
inc edi
cmp edi, 0x104
jb 0x403122
mov ebp, dword [esp + 0x14]
lea eax, [ebp - 0x10]
mov byte [esp + 0x640], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4031c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x640], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4031f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.0042d791
add esp, 0x630
ret
Function at 0x403710
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4425eb
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push esi
push edi
mov eax, dword [0x457600]
xor eax, esp
push eax
lea eax, [esp + 0x658]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x246]
push ecx
mov word [esp + 0x248], ax
call fcn.0042fb00
add esp, 0xc
lea edi, [esp + 0x23c]
mov ecx, esi
call fcn.00401130
mov edx, edi
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
push str..reg
mov eax, edi
push eax
call esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x44e]
push edx
mov word [esp + 0x450], cx
call fcn.0042fb00
add esp, 0xc
push 0
push 0x25
lea eax, [esp + 0x44c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x1c]
call fcn.0041250b
push 0
mov ecx, edi
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x668], 0
call fcn.004125a3
test eax, eax
je 0x4038e4
lea ecx, [esp + 0x1c]
call fcn.004121f1
xor edx, edx
push 0x206
mov ebx, eax
push edx
lea eax, [esp + 0x3e]
push eax
mov word [esp + 0x40], dx
call fcn.0042fb00
add esp, 0xc
push str._s__
lea ecx, [esp + 0x38]
push ecx
call esi
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
call fcn.0041287b
mov eax, dword [eax]
push eax
lea eax, [esp + 0x38]
push eax
call esi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403860
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44a758
lea ecx, [esp + 0x38]
push ecx
call esi
push 0
lea edx, [esp + 0x448]
push edx
lea eax, [esp + 0x3c]
push eax
push 0x44a75c
push 0x449f2c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041287b
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi]
push eax
push edx
push str.MSG:_regedit_succeed__file_s__code_d
call fcn.0040c990
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4038d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jne 0x4037f7
lea ecx, [esp + 0x1c]
call fcn.0041210b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x660], 0xffffffff
call fcn.00412534
mov al, 1
mov ecx, dword [esp + 0x658]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x640]
xor ecx, esp
call fcn.0042d791
mov esp, ebp
pop ebp
ret
Function at 0x403f90
Capabilities:
Check if file exists
Read .ini file

Disassembly:
sub esp, 0x414
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.0042fb00
add esp, 0xc
lea ebx, [esp + 8]
call fcn.004011d0
mov edx, ebx
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40402c
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x21a]
push ecx
mov word [esp + 0x21c], ax
call fcn.0042fb00
add esp, 0xc
mov edx, ebx
push edx
push 0x104
lea eax, [esp + 0x218]
push eax
push 0x44aec4
push str.delFileOrDirs
push str.action_first
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x210]
push ecx
mov ecx, esi
call fcn.00404050
mov ecx, dword [esp + 0x418]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0042d791
add esp, 0x414
ret
Function at 0x404050
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443076
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x457600]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00406b70
xor esi, esi
mov dword [esp + 0x240], esi
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], esi
jne 0x4040df
lea eax, [edx - 0x10]
mov dword [esp + 0x240], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4040d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x404205
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x240], 1
call fcn.0040c700
cmp dword [esp + 0x14], esi
jle 0x4041cf
mov ebx, dword [esp + 0x10]
add edi, 4
mov dword [esp + 0x20], edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2e]
push edx
mov word [esp + 0x30], cx
call fcn.0042fb00
mov eax, dword [esp + 0x2c]
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
push 0x104
push ecx
call fcn.0042d97f
add esp, 0xc
lea edx, [esp + 0x24]
push edx
call edi
test esi, esi
jl 0x40422b
cmp esi, dword [esp + 0x14]
jge 0x40422b
mov eax, dword [ebx + esi*4]
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4041a0
lea edx, [esp + 0x24]
push edx
call fcn.0040c210
add esp, 4
lea eax, [esp + 0x24]
push eax
push str.MSG:_Delete_directory_succeed__dir_s
call fcn.0040c990
add esp, 8
jmp 0x4041c4
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x28]
push edx
push str.MSG:_Delete_file_succeed__file_s__code_d
call fcn.0040c990
add esp, 0xc
inc esi
cmp esi, dword [esp + 0x14]
jl 0x404117
lea esi, [esp + 0x10]
call fcn.00405ef0
mov dword [esp + 0x240], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404203
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0042d791
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x404240
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443026
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push esi
push edi
mov eax, dword [0x457600]
xor eax, esp
push eax
lea eax, [esp + 0x648]
mov dword fs:[0], eax
push 0x206
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x43a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x440], ax
call fcn.0042fb00
add esp, 0xc
lea ebx, [esp + 0x434]
call fcn.004011d0
push 0x206
lea eax, [esp + 0x232]
xor edx, edx
push edi
push eax
mov word [esp + 0x238], dx
call fcn.0042fb00
add esp, 0xc
mov ecx, ebx
push ecx
push 0x104
lea edx, [esp + 0x234]
push edx
push 0x44aec4
push str.regDlls
push str.action_first
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x22c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404300
sub eax, edx
sar eax, 1
jne 0x404318
xor al, al
jmp 0x404424
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x14]
call fcn.00406b70
mov dword [esp + 0x650], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0x650], 1
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
call fcn.0040c700
mov edi, dword [esp + 0x1c]
xor ebx, ebx
test edi, edi
jle 0x4043ee
add esi, 4
mov dword [esp + 0x14], esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2e]
push edx
mov word [esp + 0x30], cx
call fcn.0042fb00
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
push 0x104
push ecx
call fcn.0042d97f
add esp, 0xc
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test ebx, ebx
jl 0x404448
cmp ebx, edi
jge 0x404448
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ebx*4]
push eax
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4043dd
lea esi, [esp + 0x24]
call fcn.00404460
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, edi
jl 0x404366
lea esi, [esp + 0x18]
call fcn.00405ef0
mov dword [esp + 0x650], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404422
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x648]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x630]
xor ecx, esp
call fcn.0042d791
mov esp, ebp
pop ebp
ret
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x404460
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x26c
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x264], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x62]
push ecx
mov word [esp + 0x64], ax
call fcn.0042fb00
push esi
push str.regsvr32__s___s_
lea edx, [esp + 0x6c]
call fcn.00405e60
push 0x40
lea edx, [esp + 0x1c]
push 0
push edx
call fcn.0042fb00
add esp, 0x20
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 4]
push edx
push 0
push 0
push 0x20
push 0
push 0
mov eax, 5
mov word [esp + 0x4c], ax
push 0
lea eax, [esp + 0x78]
push eax
push 0
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x54], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.MSG:_regsvr32_success____s__code_d
call fcn.0040c990
mov ecx, dword [esp + 0x270]
add esp, 0xc
xor ecx, esp
mov al, 1
call fcn.0042d791
add esp, 0x26c
ret

Function at 0x404520
Capabilities:
Check for peb beingdebugged flag
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x442fd6
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x457600]
xor eax, esp
push eax
lea eax, [esp + 0x43c]
mov dword fs:[0], eax
push 0x206
mov esi, ecx
xor ebp, ebp
lea ecx, [esp + 0x236]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x23c], ax
call fcn.0042fb00
add esp, 0xc
lea ebx, [esp + 0x230]
call fcn.004011d0
push 0x206
lea eax, [esp + 0x2e]
xor edx, edx
push ebp
push eax
mov word [esp + 0x34], dx
call fcn.0042fb00
add esp, 0xc
mov ecx, ebx
push ecx
push 0x104
lea edx, [esp + 0x30]
push edx
push 0x44aec4
push str.killProNames
push str.action_after
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4045d0
sub eax, edx
sar eax, 1
jne 0x4045e8
xor al, al
jmp 0x404680
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.00406b70
mov dword [esp + 0x444], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x444], 1
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.0040c700
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp edi, ebp
jle 0x40464a
mov ebp, dword [esp + 0x18]
test esi, esi
jl 0x4046a8
cmp esi, edi
jge 0x4046a8
mov ebx, dword [ebp + esi*4]
call fcn.0040ca00
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, edi
jl 0x40462c
lea esi, [esp + 0x18]
call fcn.00405ef0
mov dword [esp + 0x444], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40467e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0042d791
add esp, 0x434
ret
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x4046c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x61c
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x618], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.0042fb00
add esp, 0xc
lea edi, [esp + 4]
mov ecx, esi
call fcn.00401130
mov edx, edi
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.toSystem
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ecx, edi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
jne 0x404736
xor al, al
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.0042d791
add esp, 0x61c
ret
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x41a]
push eax
mov word [esp + 0x41c], dx
call fcn.0042fb00
add esp, 0xc
push 0x104
lea ecx, [esp + 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x212]
push eax
mov word [esp + 0x214], dx
call fcn.0042fb00
movzx ecx, word [esp + 0x41c]
push ecx
push str._c:_
lea edx, [esp + 0x21c]
call fcn.00405e60
lea edx, [esp + 0x21c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0040bdc0
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x20c]
push ecx
lea edx, [esp + 8]
push edx
push str.MSG:_Copy_succeed___s____s__code_d
call fcn.0040c990
mov ecx, dword [esp + 0x628]
add esp, 0x10
xor ecx, esp
mov al, 1
call fcn.0042d791
add esp, 0x61c
ret

Function at 0x4047f0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x457600]
xor eax, esp
mov dword [esp + 0x410], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.0042fb00
add esp, 0xc
lea edi, [esp + 4]
mov ecx, esi
call fcn.00401130
mov edx, edi
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.CurrentUserDir
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
mov ecx, edi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
jne 0x404866
xor al, al
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0042d791
add esp, 0x414
ret
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x212]
push eax
mov word [esp + 0x214], dx
call fcn.0042fb00
add esp, 0xc
push 0
push 0x10
lea ecx, [esp + 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x208]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x208]
push eax
lea ecx, [esp + 4]
push ecx
call fcn.0040bdc0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x20c]
push edx
lea eax, [esp + 8]
push eax
push str.MSG:_Copy_succeed___s____s__code_d
call fcn.0040c990
mov ecx, dword [esp + 0x420]
add esp, 0x10
xor ecx, esp
mov al, 1
call fcn.0042d791
add esp, 0x414
ret