joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d650
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov eax, dword [0x445850]
test eax, eax
je 0x40d6b0
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40d6d0
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40d6f0
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, edi
call sym.JLN6Dvy9_v_AgDk9_66iQ_AkIBB
cmp eax, 7
je 0x40d740
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call sym.AsUAkqrDg_RDSDhlSDKrNKbycc_
mov eax, dword [0x445850]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40d672
jmp 0x40d6d0
call sym._RDSDhlSDKrNKbycc_aa_oaU
mov eax, dword [0x445850]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40d679
jmp 0x40d6f0
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
sub esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, edi
call sym.JLN6Dvy9_v_AgDk9_66iQ_AkIBB
cmp eax, 7
jne 0x40d6a1
lea esi, [esi]
mov eax, dword [0x445850]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40d78d
mov ecx, dword [eax + 0x30]
test ecx, ecx
js 0x40d799
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40d76e
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40d75d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d75d
call sym.AsUAkqrDg_RDSDhlSDKrNKbycc_
mov eax, dword [0x445850]
jmp 0x40d74c
call sym._RDSDhlSDKrNKbycc_aa_oaU
mov eax, dword [0x445850]
jmp 0x40d753
Function at 0x40d7b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x445850]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40d844
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40d860
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40d880
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x40d838
lea edx, [ebp - 0x14]
mov eax, edi
call sym.txDF_RDSDhlSJLN6Dvy9_v_AgDk
cmp eax, 7
jne 0x40d8ff
mov eax, dword [0x445850]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40d8d6
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40d8f0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40d8b0
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call sym.JLN6Dvy9_v_AgDk9_66iQ_AkIBB
jmp 0x40d7f5
call sym.AsUAkqrDg_RDSDhlSDKrNKbycc_
mov eax, dword [0x445850]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40d7d0
lea esi, [esi]
call sym._RDSDhlSDKrNKbycc_aa_oaU
mov eax, dword [0x445850]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40d7db
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40d7de
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40d827
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d827
call sym.AsUAkqrDg_RDSDhlSDKrNKbycc_
mov eax, dword [0x445850]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x40d819
nop
lea esi, [esi]
call sym._RDSDhlSDKrNKbycc_aa_oaU
mov eax, dword [0x445850]
jmp 0x40d819
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40d910
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x40d9a2
mov eax, dword [0x445850]
test eax, eax
je 0x40d996
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x40da11
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40d9b7
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call sym.JLN6Dvy9_v_AgDk9_66iQ_AkIBB
cmp eax, 7
jne 0x40da2f
mov eax, dword [0x445850]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40da02
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40da20
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40d9e3
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call sym.AsUAkqrDg_RDSDhlSDKrNKbycc_
mov eax, dword [0x445850]
jmp 0x40d932
mov dword [esp], edi
call sym.SDhlSJLN6Dvy9_v_AgDk9_66
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40d947
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40d985
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40d985
call sym.AsUAkqrDg_RDSDhlSDKrNKbycc_
mov eax, dword [0x445850]
jmp 0x40d970
call sym._RDSDhlSDKrNKbycc_aa_oaU
mov eax, dword [0x445850]
jmp 0x40d93d
call sym._RDSDhlSDKrNKbycc_aa_oaU
mov eax, dword [0x445850]
jmp 0x40d97b
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x40dc10
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov edx, eax
je 0x40dc40
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.oCBiAsiQAgDK9_6N6qA3BD_B2BBvDvN
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret
Function at 0x410980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.B57U_c_C3vBgCcoU_A_6kq5__
Function at 0x402670
Capabilities:
Create process on windows

Disassembly:
push ebp
push edi
push 1
push 0x208
call fcn.0041ac52
push 1
push 0x208
mov edi, eax
call fcn.0041ac52
add esp, 0x10
mov ebp, eax
test edi, edi
je 0x4027ab
test ebp, ebp
je 0x4027ab
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov edx, ebp
xor esi, esi
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4026af
push 7
push str.http:__
push ebp
call fcn.0041b1f0
add esp, 0xc
test eax, eax
je 0x4026f5
push 8
push str.https:__
push ebp
call fcn.0041b1f0
add esp, 0xc
test eax, eax
je 0x4026f5
push 0x5c
push ebp
call fcn.0041aa50
add esp, 8
test eax, eax
je 0x4026f5
mov byte [eax], 0
mov esi, ebp
push 5
push esi
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x40279a
mov eax, dword [esp + 0x18]
push edi
push eax
push 0x80000000
call fcn.004027b0
add esp, 0xc
test eax, eax
jne 0x40279a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
push edi
call ebx
push edi
push edi
push 0x80000000
call fcn.004027b0
add esp, 0xc
test eax, eax
jne 0x40279a
push str.__1_
push edi
call fcn.0041af50
mov esi, eax
add esp, 8
test esi, esi
jne 0x40277e
push 0x426444
push edi
call fcn.0041af50
mov esi, eax
add esp, 8
test esi, esi
jne 0x40277e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + edi - 1]
jmp 0x402781
mov byte [esi], 0
push 0x426440
push esi
call ebx
mov ecx, dword [esp + 0x14]
push ecx
push esi
call ebx
push 5
push edi
call dword [sym.imp.KERNEL32.dll_WinExec]
push ebp
call fcn.0041ad03
push edi
call fcn.0041ad03
add esp, 8
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x4027b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4027f9
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
mov dword [esp + 8], 0x104
push eax
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret
Function at 0x402800
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x214]
push 0x208
push eax
push edi
call fcn.004028f0
add esp, 0xc
push edi
call dword [sym.imp.GDI32.dll_AddFontResourceA]
test eax, eax
je 0x4028da
mov al, byte [esp + 8]
push esi
test al, al
je 0x4028b2
push 0x5c
push edi
call fcn.0041aa50
mov esi, eax
add esp, 8
test esi, esi
je 0x40284d
inc esi
jmp 0x40284f
mov esi, edi
lea ecx, [esp + 0xc]
push str.__TrueType_
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [0x42bafc]
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionFonts
test ecx, ecx
je 0x402873
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
lea edx, [esp + 8]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4028b2
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0xc]
push esi
push 1
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x42b684
push 0x1388
push 0
push 0
push 0
push 0x1d
push 0xffff
mov dword [0x42b684], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
pop esi
pop edi
add esp, 0x20c
ret

Function at 0x402b10
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x214]
push edi
push 0x208
push eax
push esi
call fcn.004028f0
add esp, 0xc
push esi
call dword [sym.imp.GDI32.dll_RemoveFontResourceA]
mov edi, eax
mov al, byte [esp + 0xc]
test al, al
je 0x402ba2
push 0x5c
push esi
call fcn.0041aa50
add esp, 8
lea ecx, [esp + 0xc]
push str.__TrueType_
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [0x42bafc]
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionFonts
test ecx, ecx
je 0x402b72
mov eax, str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
lea edx, [esp + 8]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x402ba2
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
pop esi
je 0x402bc5
push 0x42b684
push 0x1388
push 0
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
add esp, 0x20c
ret
Function at 0x402c70
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push 0x208
call fcn.0041aba0
mov ebp, eax
xor ebx, ebx
add esp, 4
cmp ebp, ebx
jne 0x402c96
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x68]
push eax
push str.__s_
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x78]
add esp, 0xc
cmp edx, ebx
je 0x402cef
cmp byte [edx], bl
je 0x402cef
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov cx, word [0x426440]
mov word [edi - 1], cx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x208
call fcn.0041aba0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x402d15
push ebp
call fcn.0041ad03
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esp + 0x68]
lea edi, [esi + 0x104]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x402d31
push 0x5c
push edi
call fcn.0041aa50
add esp, 8
cmp eax, ebx
je 0x402d53
push edi
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
push ebp
push ebx
mov dword [eax], ebx
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x74], ebx
mov word [esp + 0x7a], bx
mov dword [esp + 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push esi
call fcn.0041ad03
push ebp
call fcn.0041ad03
add esp, 8
cmp edi, ebx
jne 0x402dba
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ecx], eax
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret

Function at 0x403a50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 8
lea eax, [esp + 0x10]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403ab9
lea eax, [esp + 0x10]
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push esi
push eax
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403aae
mov esi, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x405660
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, 1
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
call fcn.004020b0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
add ecx, esi
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
push esi
call fcn.004010e0
add esp, 0x18
cmp eax, 0xffffffff
je 0x4056b8
push eax
call fcn.00401360
add esp, 4
or eax, 0xffffffff
jmp 0x4056c6
push esi
call fcn.00401130
add esp, 4
cmp eax, 0xffffffff
jne 0x4056cf
inc ebx
cmp ebx, 0x3e7
jl 0x405671
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4057f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor bl, bl
test edi, edi
jbe 0x40581a
mov eax, dword [esi]
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov al, byte [ecx]
xor al, dl
xor al, 0x6a
inc word [ecx]
add bl, al
dec edi
jne 0x405805
mov edi, dword [esi]
mov dl, byte [edi]
inc edi
mov dword [esi], edi
mov al, byte [ecx]
xor al, dl
pop edi
xor al, 0x6a
inc word [ecx]
xor ecx, ecx
cmp bl, al
sete cl
pop esi
mov eax, ecx
pop ebx
ret

Function at 0x405840
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1a]
and eax, 0xffff
and edx, 0xffff
xor esi, esi
mov byte [esp + 0x13], 0
lea eax, [eax + eax*4]
mov ebp, 8
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1e]
and ecx, 0xffff
xor edi, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
mov bl, byte [ecx]
mov al, dl
xor al, bl
lea esi, [esi + esi*4]
xor al, 0x6a
inc ecx
mov byte [esp + 0x2c], al
inc edx
mov ebx, dword [esp + 0x2c]
and ebx, 0xff
lea esi, [ebx + esi*2 - 0x41]
mov bl, byte [esp + 0x13]
add bl, al
dec ebp
mov byte [esp + 0x13], bl
jne 0x40589b
mov ebp, 8
mov bl, byte [ecx]
mov al, dl
xor al, bl
lea edi, [edi + edi*4]
xor al, 0x6a
inc ecx
mov byte [esp + 0x2c], al
inc edx
mov ebx, dword [esp + 0x2c]
and ebx, 0xff
lea edi, [ebx + edi*2 - 0x41]
mov bl, byte [esp + 0x13]
add bl, al
dec ebp
mov byte [esp + 0x13], bl
jne 0x4058cc
mov al, byte [ecx]
mov cl, bl
xor al, dl
xor al, 0x6a
cmp cl, al
jne 0x40591d
mov eax, dword [esp + 0x14]
cmp eax, esi
jb 0x40591d
cmp eax, edi
jae 0x40591d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x408db0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword [0x42b724]
push esi
push edi
cmp byte [eax], 0
jne 0x408f42
mov ecx, dword [0x42bb7c]
mov edx, dword [0x42b6b4]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x408dcc
mov ecx, dword [0x42b6b4]
push 0x5c
push ecx
call fcn.0041aa50
add esp, 8
test eax, eax
je 0x408dee
inc eax
jmp 0x408df3
mov eax, dword [0x42b6b4]
mov byte [eax], 0x72
inc eax
push ebx
push 0
mov byte [eax], 0x65
inc eax
mov byte [eax], 0x67
inc eax
mov byte [eax], 0x69
inc eax
mov byte [eax], 0x6e
inc eax
mov byte [eax], 0x66
inc eax
mov byte [eax], 0x6f
inc eax
mov byte [eax], 0x2e
inc eax
mov byte [eax], 0x74
inc eax
mov byte [eax], 0x78
inc eax
mov byte [eax], 0x74
mov byte [eax + 1], 0
mov edx, dword [0x42b6b4]
push edx
call fcn.004010e0
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
je 0x408eb1
push ebx
call fcn.00401260
mov esi, eax
add esp, 4
test esi, esi
jbe 0x408ea8
cmp esi, 0x186a0
jae 0x408ea8
lea eax, [esi + 1]
push eax
call fcn.0041aba0
mov edi, eax
add esp, 4
test edi, edi
je 0x408ea8
push esi
push edi
push ebx
call fcn.00401160
mov byte [edi + esi], 0
mov ecx, dword [0x42ba50]
add esp, 0xc
mov eax, dword [ecx + 8]
test eax, eax
jne 0x408e8c
push esi
push edi
call fcn.00408b90
add esp, 8
jmp 0x408e9f
xor edx, edx
cmp eax, 4
sete dl
push edx
push esi
push edi
call fcn.00409a80
add esp, 0xc
push edi
call fcn.0041ad03
add esp, 4
push ebx
call fcn.00401360
add esp, 4
mov eax, dword [0x42b724]
pop ebx
cmp byte [eax], 0
jne 0x408f42
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x408f42
mov ecx, dword [0x42bb44]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x408f42
push ebp
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, eax
test ebp, ebp
je 0x408f39
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x408f32
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x42ba50]
not ecx
mov eax, dword [eax + 8]
dec ecx
test eax, eax
mov esi, ecx
jne 0x408f1f
push esi
push edx
call fcn.00408b90
add esp, 8
jmp 0x408f32
xor ecx, ecx
cmp eax, 4
sete cl
push ecx
push esi
push edx
call fcn.00409a80
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop ebp
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
ret
Function at 0x4091e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword [0x42b724]
cmp byte [eax], 0
jne 0x40929b
mov ecx, dword [0x42bb7c]
mov edx, dword [0x42b6b4]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4091fa
mov ecx, dword [0x42b6b4]
push 0x5c
push ecx
call fcn.0041aa50
add esp, 8
test eax, eax
je 0x40921c
inc eax
jmp 0x409221
mov eax, dword [0x42b6b4]
mov ecx, str.reginfo.txt
mov edx, eax
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x40922a
mov edx, dword [0x42b6b4]
push edx
call fcn.00409130
mov eax, dword [0x42b724]
add esp, 4
cmp byte [eax], 0
jne 0x40929b
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x40929b
mov ecx, dword [0x42bb44]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40929b
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x409294
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40928d
push eax
call fcn.004090a0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
ret
Function at 0x40d440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov byte [ebp], 0
je 0x40d4c4
mov eax, dword [0x42ba50]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x40d489
mov cl, byte [esi]
push edi
mov byte [esp + 0x10], cl
mov edi, ebp
mov eax, dword [esp + 0x10]
and eax, 0xff
inc esi
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov byte [eax + ebp], 0
pop esi
pop ebp
ret
mov edx, dword [0x42b720]
mov eax, esi
sub eax, edx
mov dl, byte [esi]
mov cl, al
inc esi
xor cl, dl
xor cl, 0x6a
inc eax
test cl, cl
mov byte [esp + 0xc], cl
jbe 0x40d4c0
mov ecx, dword [esp + 0xc]
and ecx, 0xff
mov dl, byte [esi]
xor dl, al
xor dl, 0x6a
mov byte [ebp], dl
inc ebp
inc esi
inc eax
dec ecx
jne 0x40d4b0
mov byte [ebp], 0
pop esi
pop ebp
ret

Function at 0x40d6a0
Capabilities:
Encode data using xor
Read .ini file

Disassembly:
mov ecx, dword [0x42bb5c]
sub esp, 0x24
push ebx
push esi
mov esi, dword [ecx*4 + 0x42b950]
test esi, esi
je 0x40d7f5
mov edx, dword [ecx*4 + 0x42b890]
xor eax, eax
test edx, edx
jbe 0x40d6e4
mov bl, byte [eax + esi]
mov cl, al
add cl, 0x40
xor bl, cl
mov byte [eax + esi], bl
mov edx, dword [0x42bb5c]
inc eax
cmp eax, dword [edx*4 + 0x42b890]
jb 0x40d6c7
xor eax, eax
mov ax, word [esi]
add esi, 2
test eax, eax
jbe 0x40d7f5
push ebp
mov dword [esp + 0x14], eax
push edi
mov al, byte [esi]
inc esi
mov byte [esp + 0x13], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], esi
lea edx, [esi + ecx + 1]
or ecx, 0xffffffff
mov edi, edx
mov ebp, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [edx + ecx + 1]
or ecx, 0xffffffff
mov edi, edx
mov ebx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [edx + ecx + 1]
or ecx, 0xffffffff
mov edi, edx
mov dword [esp + 0x14], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [edx + ecx + 1]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x42b6b4]
push ecx
push edx
call fcn.0040d610
mov al, byte [esp + 0x1b]
add esp, 8
test al, 1
je 0x40d786
mov eax, dword [0x42b6b4]
lea ecx, [esp + 0x20]
push eax
push 0x14
push ecx
push 0x42bba8
push ebx
push ebp
mov byte [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x40d7e4
mov edx, dword [esp + 0x14]
push 0xffdc
push edx
push 0
call fcn.0040d4d0
mov dword [esp + 0x28], eax
lea eax, [eax + eax + 1]
push eax
call fcn.0041aba0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
inc ecx
mov edi, eax
push ecx
push edx
push edi
call fcn.0040d4d0
mov eax, dword [0x42b6b4]
add esp, 0x1c
push eax
push edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebp
call ebx
mov ecx, dword [0x42b6b4]
push ecx
push 0
push 0
push 0
call ebx
push edi
call fcn.0041ad03
add esp, 4
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x40d6fa
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x24
ret