joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414390
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5bdbf8
push 0x553170
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5d1124]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x18]
cmp eax, 3
ja case.default.0x4143e2
jmp dword [eax*4 + 0x4144ec]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne case.default.0x4143e2
lea eax, [ebp - 0x1c]
push eax
push 0x2001f
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x4143e2
cmp dword [ebp + 0xc], eax
jbe case.default.0x4143e2
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x4143e2
lea edi, [eax + 1]
jmp 0x4144b2
lea eax, [ebp - 0x1c]
push eax
push 0x2001f
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x4143e2
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne case.default.0x4143e2
lea edi, [eax + 1]
jmp 0x4144b2
lea eax, [ebp - 0x1c]
push eax
push 0x2001f
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x4143e2
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, 1
test eax, eax
cmove edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.004144db
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414d70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 0
push 0
push 0
push 0
mov dword [ebp - 0x10], 0x414850
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0x4155a0
push 0
push 0
call fcn.0055ad4c
add esp, 0x18
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415650
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push esi
push 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x10], eax
mov al, byte [ebp + 0x18]
push 0
push 0
mov byte [ebp - 0xc], al
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0x4155a0
push 0
push 0
call fcn.0055ad4c
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4156b0
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x128
mov edi, eax
call fcn.004159e4
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x41572c
push str.explorer.exe
lea ebx, [esi + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4156fa
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebx
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x41572c
nop word [eax + eax]
push str.explorer.exe
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4156f3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x415710
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x415880
Capabilities:
Simulate ctrl alt del

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov ecx, str.Winlogon
mov esi, eax
call fcn.004157c0
test eax, eax
jne 0x4158a0
pop esi
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x4158c2
mov ecx, esi
call fcn.00415740
mov eax, 1
pop esi
ret
Function at 0x4158d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5d1124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x5b4840
mov dword [ebp - 0x20], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push 0x5b4850
push ebx
call edi
push 0x5b4864
push ebx
mov esi, eax
call edi
push 0x5b487c
push ebx
mov dword [ebp - 0x18], eax
call edi
push str.kernel32.dll
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push 0x5b45e0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x1c]
push ecx
push 0x28
call eax
push eax
call esi
test eax, eax
jne 0x415952
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f768
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
neg eax
mov dword [ebp - 0x14], 1
sbb eax, eax
and eax, 2
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [ebp - 0x24]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x1c]
call dword [ebp - 0x18]
push 0x5b4894
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x5b48a4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 1
call eax
push dword [ebp - 0x1c]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x4159c4
push ebx
call esi
test edi, edi
je 0x4159cb
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0054f768
mov esp, ebp
pop ebp
ret

Function at 0x417c47
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x417c8c
call fcn.0042466d
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x417c8c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x417ca8
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00427ebe
mov ebx, eax
test edi, edi
je 0x417ca6
test esi, esi
je 0x417ca6
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418728
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4187e6
cmp dword [esi + 0x20], 0
je 0x4187e6
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4187e6
cmp dword [ebp + 8], 0
je 0x4187e6
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0042466d
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4187b7
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4187e6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004289e1
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x4187d7
test edi, edi
je 0x4187d7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x4187e2
mov ecx, esi
call fcn.004184cb
mov eax, ebx
jmp 0x4187e8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41d22d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x579857
call fcn.005501be
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x41d253
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41d2b2
call fcn.00423460
push eax
lea ecx, [ebp - 0x10]
call fcn.00413d50
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.00550181
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0055b2d8
push eax
call fcn.0041cff0
add esp, 0x14
test esi, esi
je 0x41d2a5
push esi
call fcn.0055ae60
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004130c0
mov eax, ebx
call fcn.00550187
ret 8

Function at 0x41d89e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0042466d
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d8d5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0041d8f6
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x420f5a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x572498
call fcn.005501be
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x421004
push dword [ebp + 8]
mov ecx, eax
call fcn.0042128f
mov esi, eax
test esi, esi
je 0x421097
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x420fed
push edx
call fcn.00415a1b
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x420fed
xor edi, edi
inc edi
jmp 0x420ff7
push dword [ebx]
call fcn.00415a24
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.00420e1f
jmp 0x421095
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.00550181
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x42108d
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.00415a1b
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x421087
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.00441bc8
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.00441bc8
add al, bl
mov edx, edi
test edx, edx
jns 0x421078
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x42104f
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.004130c0
mov eax, edi
call fcn.00550187
ret 0x10

Function at 0x42109f
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4210f2
push esi
push dword [ebp + 8]
call fcn.0042128f
mov edi, eax
test edi, edi
jne 0x4210c2
mov eax, dword [ebp + 0x10]
jmp 0x421104
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4210bd
mov eax, dword [ebp - 8]
jmp 0x421104
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42ba67
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x42ba81
mov edi, dword [esi + 0xc]
jmp 0x42bac1
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42ba9a
call fcn.00425264
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42baaf
call fcn.00425264
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42bac1
call fcn.00425264
call fcn.0042466d
cmp dword [eax + 0x3c], 0
je 0x42bad6
push edi
mov ecx, ebx
call fcn.0042b0fb
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042bcb3
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x42baff
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x42bb0b
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43bbe4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x43bbfd
call fcn.0042466d
mov esi, dword [eax + 0xc]
push 0x5879cc
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x43bc53
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43bc52
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x43bc33
xor esi, esi
jmp 0x43bc49
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0043bc5b
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45f816
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041d177
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x45f852
call fcn.0045fa38
mov dword [esi + 0xc], 1
jmp 0x45f857
call fcn.0045fa38
cmp dword [esi], 0
je 0x45f8a0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x45f87a
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00417d91
jmp 0x45f88b
push 0xff
mov ecx, esi
call fcn.00413bb0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041a5f8
jmp 0x45f8c4
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x45f8c4
push dword [esi]
push dword [ebp - 4]
call fcn.00429b80
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45f98d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0045fa38
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x45f9d5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00417d91
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041a5f8
jmp 0x45f9e0
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00429b80
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x46206a
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004f5a68
call fcn.004246c1
cmp dword [eax + 0x14], 0
jne 0x462085
mov ecx, esi
pop esi
jmp fcn.0046138d
pop esi
ret

Function at 0x4eff2b
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00409300
call fcn.004246c1
cmp dword [eax + 0x14], 0
jne 0x4eff46
mov ecx, esi
pop esi
jmp fcn.004ef7a9
pop esi
ret

Function at 0x56d21e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056cede
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
pcmpeqw mm7, mm7
push ecx
pxor mm6, mm6
push esi
psllw mm7, 0xf
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
sub eax, 4
jl 0x401083
jmp 0x401030
movq mm0, qword [esi]
pxor mm0, mm7
movq mm3, mm0
movq mm1, qword [ebx + esi]
punpcklwd mm0, mm6
pxor mm1, mm7
movq mm2, qword [esi + ebx*2]
movq mm4, mm1
pxor mm2, mm7
add edi, 0x10
prefetcht0 byte [esi + ebx*2 + 0x40]
punpcklwd mm1, mm6
movq mm5, mm2
punpcklwd mm2, mm6
paddd mm0, mm1
punpckhwd mm3, mm6
paddd mm0, mm2
punpckhwd mm4, mm6
paddd mm3, mm4
punpckhwd mm5, mm6
movq qword [edi - 0x10], mm0
paddd mm3, mm5
add esi, 8
movq qword [edi - 8], mm3
sub eax, 4
jge 0x401030
add eax, 4
jle 0x4010b6
push edx
movzx ecx, word [esi]
xor ecx, 0x8000
movzx edx, word [ebx + esi]
xor edx, 0x8000
add ecx, edx
movzx edx, word [esi + ebx*2]
xor edx, 0x8000
add ecx, edx
add esi, 2
mov dword [edi], ecx
add edi, 4
dec eax
jg 0x401089
pop edx
pop edi
pop esi
pop ecx
pop ebx
ret
Function at 0x481261
Capabilities:
Encode data using xor

Disassembly:
call 0xe377872e
sub eax, 0xb8caeede
mov esp, 0xa41bcda6
jno 0x4812c0
popfd
push 0x7d
ret
mov dword [eax - 0x3b], eax
mov dl, 0x8f
push cs
in eax, dx
cmpsb byte [esi], byte es:[edi]
xlatb
call 0x606a27e9
cmpsb byte [esi], byte es:[edi]
add al, 0xdc
jo 0x4812e0
mov edx, dword [esi + ebp]
adc al, 0x2e
xchg edx, eax
fst st(6)
xor cl, bl
pcmpgtd mm7, qword [esp + esi*4 + 0x7a]
add ecx, dword [esi - 0x7c]
or bh, byte [eax + esi*2 + 0x21]
sbb edx, dword [edi]
jp 0x4812e5
dec esi
test byte [edx], cl
jl 0x481357
and dword [ebx], ebx
pop ss
insb byte es:[edi], dx
pop ds
jg 0x4812d5
jl 0x481360
test byte [edi + esi + 0x69], bh
stosd dword es:[edi], eax
into
popal
xchg edx, eax
cwde
inc ebx
or dword [ecx], esp
xchg ebx, eax
mov bh, 0xe8
push es
and al, 0xfd
out dx, al
in eax, 0x6c
mov al, byte [0x5717a26c]
xor dl, byte [edx]
adc ah, byte [ecx + 0x63be9f03]
loop 0x481394
push esp
jmp 0x481377
out dx, al
jb 0x481397
mov al, 0xd3
scasb al, byte es:[edi]
invalid
fstp xword [ebx + eax]
imul ebx, edi, 0xffffffe4
arpl word [ebx], bx
mov bh, 0xff
ret
add dword [ecx - 0x77], esp
invalid
cmp eax, 0x1c55fca6
hlt
push ebp
sbb al, 0xf4
lodsd eax, dword [esi]
ja 0x4813aa
xchg esp, eax
cmp byte [eax], 0x84
mov eax, dword [0xe7571d89]
imul ecx, dword [edx], 0xffffffba
cmp cl, byte [esi - 0x4f208c71]
pop ebx
mov cs, word [edi + 0x5bb0df73]
pop eax
lcall 0x82f, 0xef680585
std
fsubp st(5)
xchg edx, eax
or byte [ebx], al
ja 0x4813c6
insb byte es:[edi], dx
jl 0x4813ef
cdq
push cs
in al, dx
xchg edx, eax
sar dl, 1
sbb dword [ecx - 0x4c], 0x7de18339
or ch, byte [esp + ebx*2 - 0x61123104]
aas
ror dword [edx - 0x29], 1
push esi
test al, 0xbc
push edi
push esi
sbb byte [ebx - 0x132fc4a0], bh
sbb dh, al
sal byte [eax - 0x72], 1
cmp al, 0xd
das
cld
mov byte [0xbde80f4a], al
into
sbb esp, dword [ebp + 0xa915a0a]
insb byte es:[edi], dx
adc eax, 0x6a420f2a
push eax
or ch, byte [ebp + edx + 0x2a]
cmovb ebp, dword [edx + 0x50]
wait
dec esi
aaa
jb 0x48144c
dec edi
xor esp, dword [edi + 0x5f]
inc edx
jge 0x481432
cmp edx, dword [ebp - 0x15605396]
push ecx
push ebx
call 0xeebb8d67
jno 0x4813fa
les esp, [0x43ec8251]
stosb byte es:[edi], al
cmp dh, byte [edi]
sahf
lea ebx, [edi + 0x1a]
add dword [edi + 0x60], edx
shl dword [esi], 1
or al, byte [eax - 0x742f79a6]
imul ebp, dword [edi], 0x1c
movsb byte es:[edi], byte [esi]
xchg al, dl
mov ebp, dword [ebx + 0x2f]
sbb al, 0xa4
xor dword [ebx + 0x60], ebp
pop edi
and byte [0xeacdc7ab], dh
lea ebx, [ecx + 0x52]
in al, dx
test eax, 0x868b6ff3
lodsb al, byte [esi]
pop ebx
pop ecx
ret
Function at 0x486b57
Capabilities:
Encode data using xor

Disassembly:
sahf
iretd
scasb al, byte es:[edi]
xchg ebx, eax
sbb al, 0x1c
push edi
cdq
and eax, 0xdbea861c
lea ebp, [edi + 0x530883cd]
test ecx, edx
arpl cx, di
cmp byte [ecx + 0x62121405], 0xe
aam 0x2d
call [edi + ecx - 0x5f]
xchg byte [ebx - 1], al
mov eax, 0x304fd07a
mov fs, edi
aam 0xa9
jb 0x486b51
popal
inc edi
mov word [ebx - 0x67], gs
das
sub al, 0x29
add dword [edi + 0x1f], 0xc20a9316
jo 0x486bba
imul dword [ecx + 0x66374b90]
pop ds
sahf
xchg byte [eax], al
sti
add bl, bh
dec esi
mov edi, 0xa295ad0d
push esi
mov esi, 0x775e6ecc
mov eax, 0x8df0d426
cmp ah, byte [ebx - 0x4dd5ad63]
rol dword [edi + 0x73], 0xc9
mov dl, 0xc1
inc edi
jae 0x486b88
leave
mov dword [0xe361d039], eax
shl byte [ecx - 0x1d], 1
shl byte [ebp + eax*8 + 0x7382fdd0], 1
dec ebp
push cs
mov ebp, 0xe7812770
sub al, 0xe
out 0x2c, eax
push cs
dec edx
pop ss
sbb dh, byte [esi - 0x47]
in eax, 0x30
xor edx, dword [ebx - 0x70]
push 0xffffffffffffff84
push cs
loope 0x486bc2
sub ecx, dword [ecx]
mov dword [0x72675019], eax
pop ebx
push ebx
dec ebx
stosb byte es:[edi], al
rol dword [ecx + esi*4 - 0x19], 1
lahf
inc edi
pop edi
mov word [edx - 0x3f], fs
out 0xdc, eax
cmpsb byte [esi], byte es:[edi]
imul ebx, dword [edi], 0xb60a58d
inc eax
loopne 0x486ba1
adc byte [ebx + eax*4 - 0x7f13166d], cl
dec esi
xor eax, 0xb65fe800
loope 0x486bd2
fnstsw word [edx + 0x17]
xor byte [0xaf5cfc7f], bl
dec dword [eax]
das
arpl word [ecx], dx
xlatb
mov ebp, 0xbd9b9091
add eax, 0x2985ebd5
aam 0x46
fdiv qword [eax - 0x2a8ed1f1]
mov ch, 0x57
in al, 0xb0
push ebp
lahf
fisubr word [ebx]
in eax, dx
add ebx, 0xb478822
mov esi, 0xf7166426
and ebp, ebp
pop ecx
retf 0x72e9

Function at 0x49abd0
Capabilities:
Encode data using xor

Disassembly:
mov esp, 0x7e9ebf4b
pop es
xchg edi, eax
mov edi, 0x200a2175
in al, 0x99
mov esp, 0xa05ed5d6
pop esi
mov bl, 0xa9
or dword [esi], ecx
ljmp 0xf3cc
pop esi
xor byte [edi - 0x56], dl
adc ebx, dword [edi + 0x58d278c0]
js 0x49aba4
pop eax
js 0x49aba4
pop eax
aas
fst qword [ecx + 0x6e084e2]
scasb al, byte es:[edi]
bnd jge 0x49abc8
dec byte [0xe8f88965]
leave
push ds
jl 0x49abe0
mov eax, edi
call 0x7c67dab1
test dword [edi - 0x2acf3af7], 0xa1b0b110
call 0xbde552d
sub dword [edi - 0x4e3160c6], edi
xchg dword [ecx], ecx
lds esi, [eax]
aad 0x10
mov cl, 0xb0
mov eax, dword [0x94a936e8]
or ebp, dword [ecx]
mov edi, 0xb1ce9f3a
outsb dx, byte [esi]
and dword [eax - 0x1f], esp
sbb ah, bh
in eax, 0xe3
xor eax, 0xc7c88905
cmpsd dword [esi], dword es:[edi]
in al, dx
je 0x49abb2
cmp byte [ecx - 0x44c87d30], dl
mov ebp, 0x8bfcaddc
invalid