joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427d7b
push edi
push str.InstallToolbarRemote__s___File_doesnt_exist_
call fcn.004699e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.0046fe20
push esi
push str._ctid_s__s__openuninstallpageFALSE__openwelcomedialogFALSE
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.0046f31e
add esp, 0x1c
lea eax, [ebp - 0x804]
cmp byte [ebp + 0x14], 3
jne 0x427dc3
push str.__ff
jmp 0x427dc8
push str.__ie
push 0x400
push eax
call fcn.0046ef44
add esp, 0xc
lea eax, [ebp - 0x804]
cmp dword [ebp + 0x18], 0
je 0x427de9
push str.__DefaultSearchTRUE
jmp 0x427dee
push str.__DefaultSearchFALSE
push 0x400
push eax
call fcn.0046ef44
add esp, 0xc
lea eax, [ebp - 0x804]
cmp dword [ebp + 0x1c], 0
je 0x427e0f
push str.__StartPageTRUE
jmp 0x427e14
push str.__StartPageFALSE
push 0x400
push eax
call fcn.0046ef44
add esp, 0xc
mov dword [ebp - 0x808], 0
lea eax, [ebp - 0x808]
push 0
push eax
push 1
push 1
push 0x48d8a4
push 0x48d8a4
lea eax, [ebp - 0x804]
push eax
push edi
push ebx
call fcn.00466f10
mov esi, eax
lea eax, [ebp - 0x804]
push esi
push eax
push edi
push ebx
push str.InstallToolbarRemote__d___s___s___End__d_
call fcn.004699e0
mov ecx, dword [ebp - 4]
add esp, 0x38
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret

Function at 0x428e10
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x81], 0
jne 0x428e9b
cmp dword [ebp + 8], 0
je 0x428e47
cmp dword [esi + 0x6d], 0xffffffff
jne 0x428e9b
push 0
push 0
push esi
push 0x4294a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x6d], eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x6d]
cmp eax, 0xffffffff
je 0x428e9b
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x428e8b
cmp dword [ebp + 8], 0x103
jne 0x428e8b
push 0
push dword [esi + 0x6d]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x428e8b
push 0x2710
push dword [esi + 0x6d]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x6d]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x6d], 0xffffffff
pop esi
pop ebp
ret 4
Function at 0x429a40
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push edi
mov dword [ebp - 0x64], 0x20434150
mov dword [ebp - 0x60], 0x20a9202d
mov dword [ebp - 0x5c], 0x50525642
mov dword [ebp - 0x58], 0x666f5320
mov dword [ebp - 0x54], 0x72617774
mov dword [ebp - 0x50], 0x39312065
mov dword [ebp - 0x4c], 0x322d3039
mov dword [ebp - 0x48], 0x20303030
mov dword [ebp - 0x44], 0x20200a0d
mov dword [ebp - 0x40], 0x20202020
mov dword [ebp - 0x3c], 0x20202020
mov dword [ebp - 0x38], 0x20202020
mov dword [ebp - 0x34], 0x20202020
mov dword [ebp - 0x30], 0x20202020
mov dword [ebp - 0x2c], 0x20202020
mov dword [ebp - 0x28], 0x20202020
mov dword [ebp - 0x24], 0x20202020
mov dword [ebp - 0x20], 0x20202020
mov dword [ebp - 0x1c], 0x20202020
mov dword [ebp - 0x18], 0x1a0a0d00
mov dword [ebp - 0x14], 0x106a9d6
mov dword [ebp - 0x10], 0x12c
mov dword [ebp - 0xc], 0x80
mov word [ebp - 8], 0x1e0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x429b41
push edi
push str.IsaPacFile__s___INVALID_HANDLE_VALUE
call fcn.004699e0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x429bb1
push 0
lea eax, [ebp - 0xc8]
push eax
push 0x5e
lea eax, [ebp - 0xc4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x429bb1
cmp dword [ebp - 0xc8], 0x5e
jne 0x429bb1
xor ecx, ecx
jmp 0x429b80
mov al, byte [ebp + ecx - 0x64]
cmp al, byte [ebp + ecx - 0xc4]
jne 0x429bb1
inc ecx
cmp ecx, 0x5e
jb 0x429b80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046f33a
mov esp, ebp
pop ebp
ret 4
Function at 0x42b290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push eax
push 8
push ebx
mov dword [ebp - 0x408], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0x10
push 0x10
push 1
push 1
push dword [0x4b6514]
call edi
mov esi, dword [sym.imp.USER32.dll_SetClassLongW]
push eax
push 0xffffffffffffffde
push ebx
call esi
push 0
push 0x20
push 0x20
push 1
push 1
push dword [0x4b6514]
call edi
push eax
push 0xfffffffffffffff2
push ebx
call esi
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.0046fe20
mov esi, dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push dword [esi + 4]
push 0x100
push eax
push 0xf0
push dword [esi]
call fcn.00467850
add esp, 0x20
test eax, eax
je 0x42b369
push 0
push 0x4c92e0
push 0x48e54c
lea eax, [ebp - 0x404]
push 0x100
push eax
call fcn.00440630
add esp, 0x14
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0046fe20
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0xf1
push dword [esi]
call fcn.00467850
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 0x20
test eax, eax
je 0x42b3bb
lea eax, [ebp - 0x204]
push eax
push 0x386
push ebx
call edi
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0xf2
push dword [esi]
call fcn.00467850
add esp, 0x14
test eax, eax
je 0x42b3ec
lea eax, [ebp - 0x204]
push eax
push 0x3ec
push ebx
call edi
push dword [esi + 4]
lea eax, [ebp - 0x204]
push 0x100
push eax
push 0xf3
push dword [esi]
call fcn.00467850
add esp, 0x14
test eax, eax
je 0x42b41d
lea eax, [ebp - 0x204]
push eax
push 0x3fd
push ebx
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x10
push 0xc5
push 0x3fe
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0xc]
push eax
push 0x3fe
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [esi + 8]
and al, 2
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
push eax
push 2
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov ecx, dword [ebp - 0x408]
mov eax, dword [ecx + 8]
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
push eax
push 3
push ebx
call edi
push eax
call esi
mov eax, dword [ebp - 0x408]
test byte [eax + 8], 4
je 0x42b4ab
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x42c830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a850
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4b06f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
mov edi, esi
mov dword [ebp - 0x14], 0
lea ecx, [edi + 1]
lea ebx, [ebx]
mov al, byte [edi]
inc edi
test al, al
jne 0x42c870
mov eax, dword [ebp + 0x10]
sub edi, ecx
cmp dword [ebp + 8], 0xffffffff
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
jne 0x42c8ab
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x38ac
call fcn.00470748
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42ca67
mov dword [ebx], 0xdddd
add ebx, 8
mov dword [ebp - 0x18], ebx
je 0x42ca67
push 2
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
mov eax, edi
neg eax
cdq
push edx
push eax
push dword [ebp + 8]
call fcn.00440230
add esp, 0x14
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42c8ff
cmp dword [ebp - 0x1c], 0
je 0x42c945
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42c945
push edi
push esi
push ebx
call fcn.004706d0
add esp, 0xc
test eax, eax
jne 0x42c945
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42c926
sub esi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], esi
mov esi, 1
mov dword [ecx + 4], 0
jmp 0x42c9ec
push 2
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 0xffffffffffffffff
push 0xffffc75c
push dword [ebp + 8]
movlpd qword [ebp - 0x20], xmm0
call fcn.00440230
add esp, 0x14
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push str.OffSet:__I64d
call fcn.00469d40
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42c984
cmp dword [ebp - 0x1c], 0
je 0x42c9e7
push 0
lea eax, [ebp - 0x14]
push eax
push 0x38a4
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42c9e7
push str.Readfile_ok
call fcn.00469d40
add esp, 4
push edi
push esi
push dword [ebp - 0x14]
push ebx
call fcn.00440fc0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42c9e7
push str.memmem_ok
call fcn.00469d40
mov ecx, dword [ebp + 0x10]
mov eax, ebx
sub eax, esi
add esp, 4
add eax, 0x38a4
mov esi, 1
mov dword [ecx], eax
mov dword [ecx + 4], 0
jmp 0x42c9ec
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42ca32
push dword [ecx + 4]
push dword [ecx]
push str.CheckFCWFile____Signature__found___offset_I64d_
call fcn.00469d40
add esp, 0xc
jmp 0x42ca3f
push str.CheckFCWFile____No_signature_found_
call fcn.00469d40
add esp, 4
add ebx, 0xfffffff8
cmp dword [ebx], 0xdddd
jne 0x42ca53
push ebx
call fcn.0046f243
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42dca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x68], eax
call fcn.00447e20
test eax, eax
jne 0x42dcf6
push 0x4c90d2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42dcf6
push str.CreateIAMCZone____No_active_connection__no_local_file_
call fcn.00469d40
add esp, 4
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x64], 0
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x2c
push eax
push ebx
call dword [sym.imp.USER32.dll_GetTitleBarInfo]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 6
call esi
push 0x2e
mov edi, eax
call esi
mov ecx, dword [ebp - 0x1c]
mov dl, byte [0x4c8ec8]
mov esi, dword [0x4c8ec0]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
cmp dl, 1
jne 0x42dd59
lea esi, [esi + edi*2]
jmp 0x42dd63
cmp dl, 2
jne 0x42dd63
add eax, edi
lea esi, [esi + eax*2]
push 6
lea eax, [esi + ecx]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
xor edi, edi
cmp dword [0x4c8e98], edi
je 0x42dda9
mov ecx, dword [0x4be990]
test ecx, ecx
jne 0x42dd97
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x48]
mov eax, esi
sub eax, ecx
push eax
push 0
push ebx
call fcn.0043d9f0
add esp, 0xc
jmp 0x42ddaf
mov edi, dword [ebp - 0x18]
sub edi, dword [ebp - 0x20]
mov cl, byte [0x4c8ec8]
xor edx, edx
mov eax, 0x50000000
cmp cl, 1
je 0x42ddcb
cmp cl, 2
jne 0x42ddd0
mov edx, 0x200
mov eax, 0x50800000
push 0
push dword [0x4b6514]
push 0
push ebx
push esi
push dword [ebp - 0x70]
push edi
push 0
push eax
push 0x48d8a4
push str.Static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x42de54
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push str.CreateIAMCWindow
push dword [0x4b6524]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42de37
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
push 0
push esi
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 0
push 0
call eax
add esp, 0x20
mov dword [ebp - 0x64], eax
jmp 0x42de46
push str.CreateIAMCZone____Cant_find_the_function_CreateIAMCWindow_
call fcn.00469d40
add esp, 4
xor eax, eax
push eax
push str.CreateIAMCZone____hwndIAMC_d
call fcn.00469d40
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x42df00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046fe20
push 0x20
xor edi, edi
call fcn.0046e767
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42df54
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
jmp 0x42df56
xor esi, esi
mov dword [esi + 0xc], 0x4c8eca
mov eax, dword [0x4c8ec4]
mov dword [esi], eax
mov dword [esi + 4], 0x4c8ea0
mov eax, dword [0x4c8ebc]
test eax, eax
jne 0x42df79
call fcn.0042de70
mov dword [esi + 8], eax
cmp byte [0x4bfe2d], 1
jne 0x42df8e
mov dword [esi + 0x10], str.0000_0001
jmp 0x42df95
mov dword [esi + 0x10], str.0000_0003
mov dword [esi + 0x14], edi
cmp word [0x4c90d2], di
je 0x42dfeb
push 7
push str.file:__
push 0x4c90d2
call fcn.00470862
add esp, 0xc
test eax, eax
je 0x42dfd2
push str.file:__
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00470452
add esp, 0xc
push 0x4c90d2
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046ef44
add esp, 0xc
push dword [esi]
lea eax, [ebp - 0x20c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
push str.IAMCZone____TypeID_d
mov dword [esi + 0x1c], eax
call fcn.004699e0
push dword [esi + 8]
push str.IAMCZone____CountryCode_d
call fcn.004699e0
push dword [esi + 4]
push str.IAMCZone____MasterID_s
call fcn.004699e0
push dword [esi + 0x10]
push str.IAMCZone____Serial_s
call fcn.004699e0
push dword [esi + 0xc]
push str.IAMCZone____Tag_s
call fcn.004699e0
push dword [esi + 0x14]
push str.IAMCZone____Priority_d
call fcn.004699e0
push dword [esi + 0x18]
push str.IAMCZone____DefaultLocalURL_s
call fcn.004699e0
push dword [esi + 0x1c]
push str.IAMCZone____ZoneID_d
call fcn.004699e0
add esp, 0x40
push str.AddIAMCZone
push dword [0x4b6524]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e084
push esi
push ebx
call eax
add esp, 8
mov edi, eax
jmp 0x42e091
push str.IAMCZone____Cant_find_the_function_AddIAMCZone_
call fcn.00469d40
add esp, 4
push esi
call fcn.0046e740
push edi
push str.IAMCZone____End__d_
call fcn.004699e0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x42e890
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ax, ax
jne 0x42e8a4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx ecx, ax
mov eax, ecx
and ecx, 0x3ff
shr eax, 0xa
push eax
push ecx
push str._02X_02X
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0046f31e
add esp, 0x14
pop ebp
ret
Function at 0x42e8d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x620], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046fe20
add esp, 0xc
test edi, edi
je 0x42eaf9
push esi
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00470452
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
push str.OLRDisplay__s_
call fcn.004699e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046fe20
add esp, 0x14
lea eax, [ebp - 0x61c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x4b57bc], eax
test eax, eax
je 0x42eae5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046fe20
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.OLRegist.ini
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
push str.OLRDisplay____OLRegistIni_s
call fcn.004699e0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x20c]
add esp, 8
push eax
lea eax, [edi + 0x4f1]
push eax
push str.CompanyName
push 0x48fb7c
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x531]
push eax
push str.NameProduct
push 0x48fb7c
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [edi + 0x491]
push eax
push str.ProductVersion
push 0x48fb7c
call esi
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0
call esi
push edi
push dword [0x4b57bc]
call fcn.0042efb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42eabc
cmp dword [ebp + 0x14], eax
je 0x42eabc
mov cl, byte [edi + 0x208]
cmp cl, 1
jne 0x42ea82
lea eax, [esi + 0x69]
jmp 0x42ea9e
cmp cl, 2
jne 0x42ea8e
mov eax, 0x6d
jmp 0x42ea9e
cmp cl, 3
mov eax, 0x89
mov edx, 0x86
cmove eax, edx
push edi
push 0x42eb20
push dword [ebp - 0x620]
movzx eax, ax
push eax
push dword [0x4b57bc]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
push dword [0x4b57bc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
push str.OLRDisplay____FreeLibrary_____d
call fcn.004699e0
add esp, 8
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x42eafe
lea eax, [ebp - 0x61c]
mov esi, 0x6e
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x42eafe
mov esi, 0x57
push esi
push str.OLRDisplay_____d
call fcn.004699e0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x42f3e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0x18], esi
lea eax, [esi*2 + 2]
call fcn.00470be0
mov eax, esp
lea ecx, [esi + 1]
push ecx
push eax
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x42f44c
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xfffffffffffffff0
push edi
xor esi, esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x1f
cmp eax, 0xc
ja case.0x42f466.3
movzx eax, byte [eax + 0x42f4e8]
jmp dword [eax*4 + 0x42f4d4]
mov esi, 0x10
jmp case.0x42f466.3
mov esi, 1
jmp case.0x42f466.3
mov esi, 0x20
jmp case.0x42f466.3
xor esi, esi
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push edi
push ebx
push 0x138
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x20]
add eax, 4
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ebx
call fcn.0042f500
add esp, 0x18
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x42fac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0046f7a0
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
js 0x42fbce
cmp esi, dword [ecx + 0x1c0]
jge 0x42fbce
lea eax, [esi*8]
sub eax, esi
push 0x800
lea edi, [ecx + eax*4]
lea eax, [ebp - 0x1004]
push eax
movzx eax, word [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
push ebx
mov dword [ebp - 0x1020], ebx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [esi + 1]
mov dword [ebp - 0x101c], eax
mov dword [ebp - 0x1010], ecx
lea ecx, [ebp - 0x1004]
mov dword [ebp - 0x1014], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x100c], ecx
lea ecx, [ebp - 0x1020]
push ecx
push eax
push 0x4e
push ebx
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x1008], 0
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1008]
test eax, eax
jne 0x42fbc9
push 0x7f8a
push eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 5
push 0
push 0
lea eax, [ebp - 0x1004]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x42fbce
mov byte [edi + 0x18], 1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret 8
cmp eax, 1
je 0x42fbb0
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret 8

Function at 0x430430
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0046fe20
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x208]
add esp, 0xc
mov dword [ebp - 0x208], 0x100
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push esi
call ebx
cmp eax, 0x103
je 0x4304da
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop
test eax, eax
jne 0x4304dc
lea eax, [ebp - 0x204]
push eax
push esi
call edi
test eax, eax
jne 0x4304dc
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], 0x100
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push esi
call ebx
cmp eax, 0x103
jne 0x4304a0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret