joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51e2fa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x51e332
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0051c387
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0051c35f
jmp 0x51e33e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x51f9ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x51fa31
call fcn.005254ec
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x51fa31
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x51fa28
xor eax, eax
jmp 0x51fa39
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0051fa3f
pop edi
pop esi
pop ebx
ret 4

Function at 0x525a1c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x525a4a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x525a68
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00525982
jmp 0x525a68
mov eax, dword [esi + 0x14]
test eax, eax
je 0x525a68
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00525982
test edi, edi
mov eax, edi
jne 0x525a52
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41e4c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x41e4e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e4e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e4d8
mov eax, 1
add ebx, ebx
jne 0x41e4fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e4f0
jne 0x41e50c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e4f0
xor ecx, ecx
sub eax, 3
jb 0x41e520
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e592
mov ebp, eax
add ebx, ebx
jne 0x41e52b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e538
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e55c
inc ecx
add ebx, ebx
jne 0x41e548
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e53d
jne 0x41e559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e53d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e57c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e56d
jmp 0x41e4de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e57c
add edi, ecx
jmp 0x41e4de
pop esi
mov edi, esi
mov ecx, 0x89c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e59a
cmp byte [edi], 0xa
jne 0x41e59a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41e59f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e60e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24860]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x248d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e5cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x248dc]
or eax, eax
je 0x41e608
mov dword [ebx], eax
add ebx, 4
jmp 0x41e5e9
call dword [esi + 0x248e0]
popal
jmp 0x40f084
Function at 0x401b50
Capabilities:
Modify service
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push 0x35
push str.ServicesActive
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x401c74
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push 0x34
mov ebx, str.RemoteRegistry
push ebx
push eax
call edi
cmp eax, esi
mov dword [ebp - 8], eax
je 0x401c69
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x401c60
cmp dword [ebp + 0xc], esi
je 0x401c13
cmp dword [ebp - 0x24], 4
je 0x401c60
push esi
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x422
jne 0x401c60
push 0x36
push ebx
push dword [ebp - 0xc]
call edi
mov edi, eax
cmp edi, esi
je 0x401c60
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
je 0x401c05
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov dword [ebp - 4], eax
jmp 0x401c59
cmp dword [ebp - 0x24], 4
jne 0x401c60
lea eax, [ebp - 0x28]
push eax
push 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], esi
je 0x401c60
cmp dword [ebp - 4], esi
je 0x401c60
push 0x36
push ebx
push dword [ebp - 0xc]
call edi
mov edi, eax
cmp edi, esi
je 0x401c60
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x4021b2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, eax
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
mov eax, esi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.00402465
push dword [0x41571c]
mov ebx, eax
call fcn.00401de6
or eax, 0x20019
push eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 4]
call fcn.0040facf
add esp, 0x10
cmp dword [ebp - 8], edi
mov ebx, eax
je 0x402296
mov eax, dword [esi + 0x10]
mov ecx, 0x41512c
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
call fcn.00405e0c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], eax
call esi
mov ebx, eax
cmp ebx, edi
jne 0x40228d
cmp dword [ebp - 4], edi
jbe 0x40228d
push dword [ebp - 4]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x10]
push dword [ebp - 8]
call esi
mov ebx, eax
cmp ebx, edi
jne 0x40227f
push dword [ebp + 8]
call fcn.00404a54
mov esi, eax
cmp esi, 0xffffffff
pop ecx
je 0x40227f
push dword [ebp - 4]
push dword [ebp - 0x1c]
push esi
call fcn.004056b3
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x1c], edi
je 0x40228d
push dword [ebp - 0x1c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x402325
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [0x41571c]
xor esi, esi
mov dword [ebp - 8], esi
call fcn.00401de6
or eax, 0x20019
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040facf
add esp, 0x10
test eax, eax
jne 0x402377
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
leave
ret 8
Function at 0x40237f
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 4]
xor ebx, ebx
push eax
mov eax, edi
mov esi, 0xffff
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.00402465
cmp dword [ebp + 8], ebx
mov dword [ebp - 0xc], eax
je 0x4023da
cmp dword [ebp - 4], 0x80000002
je 0x4023bd
cmp dword [ebp - 4], 0x80000003
jne 0x40245d
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
jne 0x40245d
mov ebx, dword [ebp - 8]
jmp 0x4023dd
mov ebx, dword [ebp - 4]
cmp dword [edi + 0x18], 0x63
jne 0x4023fe
push dword [ebp - 0xc]
push ebx
call fcn.00402325
test eax, eax
jne 0x40244e
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
jmp 0x40244e
push dword [0x41571c]
call fcn.00401de6
or eax, 0x2001f
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0xc]
push ebx
call fcn.0040facf
add esp, 0x10
test eax, eax
jne 0x40244e
mov eax, dword [edi + 0x10]
mov ecx, 0x41512c
call fcn.00405e0c
test eax, eax
jne 0x402439
mov eax, 0x412535
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x40245d
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x404be2
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
xor esi, esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test ebp, ebp
je 0x404c3e
push ebx
push edi
push ebp
call sub.msvcrt.dll_strlen
pop ecx
lea ebx, [eax + 1]
push ebx
push 0x2000
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x404c3c
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push ebx
push ebp
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
neg esi
sbb esi, esi
neg esi
pop edi
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x404c49
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
call fcn.00404a3b
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 8], eax
je 0x404cd8
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
lea eax, [esi + 1]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x404cc1
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push 0
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x404cc1
push ebx
mov byte [edi + esi], 0
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x404cca
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
jmp 0x404ce1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x404cec
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 8]
call fcn.00404a3b
cmp eax, 0xffffffff
pop ecx
mov dword [ebp - 8], eax
je 0x404d7b
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
lea eax, [esi + 1]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x404d64
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push 0
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x404d64
push ebx
mov byte [edi + esi], 0
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x404d6d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
jmp 0x404d84
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x404f97
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x405145
Capabilities:
Get common file path

Disassembly:
cmp byte [0x415b08], 0
push esi
mov esi, 0x415b08
jne 0x405165
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov dword [0x415c10], eax
push esi
push dword [esp + 0xc]
call sub.msvcrt.dll_strcpy
mov eax, dword [0x415c10]
pop ecx
pop ecx
pop esi
ret

Function at 0x405178
Capabilities:
Get common file path

Disassembly:
cmp byte [0x415c18], 0
push esi
mov esi, 0x415c18
jne 0x405198
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov dword [0x415d20], eax
push esi
push dword [esp + 0xc]
call sub.msvcrt.dll_strcpy
mov eax, dword [0x415d20]
pop ecx
pop ecx
pop esi
ret

Function at 0x405546
Capabilities:
Create process on windows

Disassembly:
push 5
mov eax, 0x412535
push eax
push eax
push dword [esp + 0x14]
push str.open
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret

Function at 0x405b05
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], str.RunAs
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
leave
ret

Function at 0x4068d7
Capabilities:
Read .ini file

Disassembly:
push 0x4157c0
push dword [esp + 0xc]
mov byte [esi], 0
push esi
push 0x412535
push dword [esp + 0x14]
push 0x4158c8
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
mov eax, esi
ret
Function at 0x4068fb
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00411710
push esi
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1003]
push 0
push eax
mov byte [ebp - 0x1004], 0
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x4157c0
push esi
lea eax, [ebp - 0x1004]
push eax
push 0x412535
push dword [ebp + 8]
push 0x4158c8
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
cmp byte [ebp - 0x1004], 0
pop esi
je 0x406967
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 0xc]
call sub.msvcrt.dll_strcpy
pop ecx
xor eax, eax
pop ecx
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x40696b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00411710
push esi
push edi
mov esi, 0x1000
push esi
lea eax, [ebp - 0x1003]
push 0
push eax
mov byte [ebp - 0x1004], 0
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x4157c0
push edi
push esi
lea eax, [ebp - 0x1004]
push eax
push 0x412535
push dword [ebp + 8]
mov esi, 0x4158c8
push esi
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
cmp byte [ebp - 0x1004], 0
jne 0x4069d3
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
jmp 0x4069d5
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x406ccb
Capabilities:
Read .ini file

Disassembly:
push dword [esp + 4]
call fcn.00404f97
test eax, eax
pop ecx
je 0x406d52
push esi
push edi
push dword [esp + 0xc]
mov edi, 0x4157c0
push edi
call sub.msvcrt.dll_strcpy
push str.general
mov esi, 0x4158c8
push esi
call sub.msvcrt.dll_strcpy
add esp, 0x10
push edi
push 0
push 0x412bd4
push esi
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
dec eax
neg eax
sbb eax, eax
inc eax
push 0x3f
push str.charset
mov esi, 0x415910
mov dword [0x41590c], eax
call fcn.004068d7
push 0x3f
push str.TranslatorName
mov esi, 0x415950
call fcn.004068d7
push 0xff
push str.TranslatorURL
mov esi, 0x415990
call fcn.004068d7
add esp, 0x18
pop edi
pop esi
ret

Function at 0x409afe
Capabilities:
Delete file
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
lea edi, [ebp - 0x104]
mov esi, eax
call fcn.00404e48
push 1
push 2
mov eax, edi
push eax
call fcn.00409877
test eax, eax
je 0x409b60
push dword [esi + 0x108]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x409b41
mov eax, edi
push eax
call fcn.00404cec
pop ecx
jmp 0x409b47
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x409b53
push eax
mov eax, esi
call fcn.00401a57
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
leave
ret
Function at 0x40a416
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
push edi
push 1
mov ebx, eax
call fcn.0040ae51
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp - 0x267]
push ebx
push eax
mov byte [ebp - 0x268], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x15f]
push ebx
push eax
mov byte [ebp - 0x160], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x40
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 0x58], ebx
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x268]
add esp, 0xc
push eax
call fcn.00404fac
pop ecx
lea eax, [ebp - 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x160]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 0x58], 0x44
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ac11
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push edi
xor edi, edi
push edi
push dword [eax + 0x11c]
call esi
push 4
push eax
call esi
mov esi, eax
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp eax, edi
jle 0x40ac5c
mov ebx, eax
push 0x400
push edi
push esi
call dword [sym.imp.USER32.dll_DeleteMenu]
dec ebx
jne 0x40ac4c
push 0x2c
lea eax, [esp + 0x20]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x30
pop edi
push 0x17
pop ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x42
mov dword [esp + 0x28], 0xbdd7
call fcn.00406415
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x18]
push eax
push 1
xor ebx, ebx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_InsertMenuItemA]
call esi
lea eax, [esp + 0x18]
push eax
push 1
push ebx
push dword [esp + 0x20]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x100
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], 0x800
call esi
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x550]
cmp edi, ebx
mov dword [esp + 0x10], ebx
jle 0x40ad9e
push 0x2c
lea eax, [esp + 0x50]
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x1c]
add eax, 0xbd74
push 0x3ff
mov dword [esp + 0x68], eax
lea eax, [esp + 0x89]
push ebx
push eax
mov dword [esp + 0x60], 0x30
mov dword [esp + 0x64], 0x42
mov byte [esp + 0x90], bl
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
sub edi, eax
add esp, 0x18
add ecx, 0x534
dec edi
call fcn.00405e0c
cmp edi, 0xa
push eax
jge 0x40ad60
push edi
push str._d____s
lea eax, [esp + 0x84]
push 0x3ff
push eax
call sub.msvcrt.dll__snprintf
add esp, 0x14
jmp 0x40ad71
mov ebx, 0x3ff
lea edi, [esp + 0x7c]
call fcn.00404dcd
pop ecx
xor ebx, ebx
lea eax, [esp + 0x78]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x48]
push eax
push 1
push ebx
push dword [esp + 0x20]
call esi
mov eax, dword [ebp + 8]
inc dword [esp + 0x10]
mov edi, dword [eax + 0x550]
cmp dword [esp + 0x10], edi
jl 0x40ace1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ae51
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
cmp dword [ebx + 0x54e8], 0
push esi
push edi
je 0x40aea4
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
mov edi, 0x4135d0
lea esi, [ebp - 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], eax
call fcn.0040fcbe
lea eax, [ebp - 4]
push eax
call fcn.0040fae8
pop ecx
mov eax, esi
push eax
push ebx
call fcn.0040a9fd
call fcn.0040fcbe
mov dword [ebp - 0xc], edi
call fcn.0040fcbe
jmp 0x40afd9
mov edi, 0x104
push edi
lea eax, [ebp - 0x117]
push 0
push eax
mov byte [ebp - 0x118], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea esi, [ebp - 0x118]
call fcn.00404fbe
call fcn.00404a8f
mov eax, esi
push str.regscanner.cfg
push eax
call sub.msvcrt.dll_strcat
mov esi, dword [ebx + 0x54e0]
pop ecx
pop ecx
push str._cfg
call fcn.0040624b
test eax, eax
jl 0x40afc7
push edi
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebx + 0x54e0]
inc eax
call fcn.0040623b
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x118]
push 0x5c
push eax
call sub.msvcrt.dll_strchr
test eax, eax
pop ecx
pop ecx
jne 0x40afc7
push edi
push eax
mov byte [ebp - 0x220], al
lea eax, [ebp - 0x21f]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
lea eax, [ebp - 0x327]
push 0
push eax
mov byte [ebp - 0x328], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
lea eax, [ebp - 0x220]
push eax
call sub.msvcrt.dll_strlen
mov esi, eax
pop ecx
lea eax, [ebp - 0x118]
push eax
call sub.msvcrt.dll_strlen
lea eax, [esi + eax + 1]
cmp eax, edi
pop ecx
jae 0x40afab
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x328]
call fcn.004050cd
pop ecx
pop ecx
jmp 0x40afb2
mov byte [ebp - 0x328], 0
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x118]
push eax
call sub.msvcrt.dll_strcpy
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
push ebx
call fcn.0040aac7
pop edi
pop esi
leave
ret 4