joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408331
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x400
lea ebp, [esp - 4]
mov eax, dword [0x4407b4]
xor eax, ebp
mov dword [ebp + 0x400], eax
push 0x20
mov eax, 0x43566a
call fcn.00412414
mov ecx, dword [ebp + 0x410]
mov eax, dword [ebp + 0x40c]
mov dword [ebp - 0x1c], ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402503
push dword [ebp - 0x28]
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call fcn.0040768d
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x4083b9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402707
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00411f86
add ebp, 0x404
leave
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp]
push ecx
push ebx
mov dword [ebp - 0x10], ebx
push eax
jmp 0x40840e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402503
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.004082de
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00402707
inc dword [ebp - 0x10]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x104
call esi
test eax, eax
je 0x4083d2
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
inc ebx
jmp 0x408388
Function at 0x409068
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x4090b6
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4090c7
push 0xd
pop eax
jmp 0x4090f1
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4090ca
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x409bf9
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x34], eax
cmp eax, edi
jne 0x409c15
xor al, al
jmp 0x409c2f
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x409bc5
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret

Function at 0x409e01
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4407b4]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.00409033
mov ebx, eax
cmp ebx, edi
je 0x409e71
lea ecx, [ebp - 0x70]
call fcn.00408fca
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411f86
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x409e89
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.00409e01
cmp eax, edi
jne 0x409ebc
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x409e79
lea ecx, [ebp - 0x70]
call fcn.00408fca
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00408fca
mov eax, esi
jmp 0x409e57
Function at 0x40d210
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov dword [ebp + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x436b90
push dword [ebp + 8]
mov ebx, 0x441ac0
push 0x440290
mov ecx, ebx
call fcn.004095c9
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x437050
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
mov dword [0x441af0], eax
lea eax, [ebp - 4]
movsb byte es:[edi], byte [esi]
xor esi, esi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], esi
jmp 0x40d28c
push str.UnregServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40d2be
push str.RegServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40d2d4
lea eax, [ebp - 4]
push eax
push edi
call fcn.00408bd8
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
jne 0x40d267
mov ecx, ebx
call fcn.00409bf9
push 1
push 4
mov ecx, ebx
call fcn.00409f85
push str..pipeMorDebug
call fcn.00405dd1
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
pop ecx
jmp 0x40d2f8
push esi
push esi
push 0x64
push ebx
call fcn.0040cfb6
push esi
push 1
mov ecx, ebx
call fcn.0040c583
jmp 0x40d2e9
push esi
push 1
push 0x64
push ebx
call fcn.0040cfb6
push esi
push 1
mov ecx, ebx
call fcn.0040c514
mov dword [ebp + 8], eax
jmp 0x40d317
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
push esi
lea eax, [ebp - 0x20]
push eax
call edi
test eax, eax
jne 0x40d2ee
mov ecx, ebx
call fcn.00409fc7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebx
call fcn.00409f33
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x40d40a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4407b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x104
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.00413d00
push str.Debug.ini
push 0x4363c4
push esi
push str.c:Morpheus_
lea eax, [ebp - 0x10c]
push str._s_s_s_s
push eax
call fcn.0041251e
add esp, 0x24
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 0x10]
push edi
push str.MagicParam
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00411f86
leave
ret

Function at 0x411f86
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4407b4]
jne 0x411f90
repz ret
jmp fcn.0041a24b
Function at 0x42ca81
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041940e
and dword [ebp - 4], 0
cmp dword [0x442634], 0
mov ebx, eax
jne 0x42cb32
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42cbe3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43b570
push edi
call esi
test eax, eax
je 0x42cbe3
push eax
call fcn.0041939c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x442634], eax
call esi
push eax
call fcn.0041939c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x442638], eax
call esi
push eax
call fcn.0041939c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44263c], eax
call esi
push eax
call fcn.0041939c
pop ecx
mov dword [0x442644], eax
test eax, eax
je 0x42cb32
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041939c
pop ecx
mov dword [0x442640], eax
mov eax, dword [0x442640]
cmp eax, ebx
je 0x42cb8a
cmp dword [0x442644], ebx
je 0x42cb8a
push eax
call fcn.00419417
push dword [0x442644]
mov esi, eax
call fcn.00419417
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42cb8a
test edi, edi
je 0x42cb8a
call esi
test eax, eax
je 0x42cb81
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42cb81
test byte [ebp - 0xc], 1
jne 0x42cb8a
or dword [ebp + 0x10], 0x200000
jmp 0x42cbc3
mov eax, dword [0x442638]
cmp eax, ebx
je 0x42cbc3
push eax
call fcn.00419417
pop ecx
test eax, eax
je 0x42cbc3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42cbc3
mov eax, dword [0x44263c]
cmp eax, ebx
je 0x42cbc3
push eax
call fcn.00419417
pop ecx
test eax, eax
je 0x42cbc3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x442634]
call fcn.00419417
pop ecx
test eax, eax
je 0x42cbe3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42cbe5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
mov ecx, 0x26d326ca
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x69361cc
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x811644
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x848f8d
jmp fcn.00831b78
Function at 0x830a6e
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 2], al
lea ebp, [eax + edx]
mov ebp, dword [esp + 4]
lea esp, [esp + 8]
jmp fcn.00811644
Function at 0x972f06
Capabilities:
Execute anti-debugging instructions

Disassembly:
not ebp
lea edi, [edi + 0x32]
mov dh, 0xb2
push word [esp + 3]
adc cl, ch
jmp 0x972f42
btc bp, di
jmp 0x972ef0
xchg ecx, eax
mov esi, esp
pop word [esp + 0x2c]
mov byte [esp + 0x14], ch
jmp 0x972f6d
pushal
dec bp
push ecx
setae cl
xchg byte [esp + 0x21], al
xchg edi, ecx
jmp 0x972f0c
lea esi, [eax + esi]
pop dword [esp + 4]
mov esi, ebp
setns bh
setle ch
mov ah, byte [esp + 6]
jmp 0x972f22
mov byte [esp + 0x12], bh
rdtsc
mov eax, 0xc3ce7090
jmp 0x972fc3
xchg byte [esp + 0xe], ah
mov ebp, 0xba2f17c8
push word [esp + 0x2d]
mov ebx, 0x54005182
mov dh, cl
mov word [esp + 0x15], bp
jmp 0x972f57
lea esi, [edi + 0x8c]
not edx
inc dx
neg edx
neg ebx
add esp, 0xd
jmp 0x972fad

Function at 0x973272
Capabilities:
Execute anti-debugging instructions

Disassembly:
bsf ebp, esi
xor ax, 0x1ee1
neg bl
push word [esp + 4]
jmp 0x9732b0
mov si, dx
lea eax, [esi + esi]
push word [esp + 2]
jmp 0x9732c7
mov bx, cx
mov dword [esp], eax
sbb edx, 0x9d49ee39
mov dx, di
not bx
xchg si, ax
jmp 0x97329a
lea eax, [ebx - 0xa6]
xchg byte [esp + 6], dh
cpuid
rdtsc
add esp, 0
cpuid
jmp 0x973301
mov word [esp + 3], ax
pop bp
mov word [esp + 3], sp
pop eax
neg edx
stc
jmp 0x9732eb

Function at 0x973de3
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x973daa
not ebx
mov edi, dword [esp]
mov ch, byte [esp + 1]
mov ecx, 0x9e2641
xchg word [esp + 2], cx
jmp 0x973df9
not ecx
mov di, word [esp]
call 0x973de3
pop esp
push word [esp + 2]
lea esp, [esp + 2]
mov ecx, dword [esp + 0x10]
setno bh
jmp 0x973e22
mov bh, byte [esp + 3]
mov cl, 0x53
lea esp, [esp + 1]
mov edi, ebx
mov ch, 0x98
lea ebx, [edx + ebx]
jmp 0x973dd7
lea ebx, reloc.oleaut32.dll_SysFreeString
mov ebx, dword [esp]
push cx
mov ebx, dword [esp]
jmp 0x973ece
mov bx, ax
mov bx, 0xa1ad
lea ebx, [edi + ebp]
mov edi, dword [esp + 0x14]
lea ebx, [esi - 0xf8]
xchg bh, bl
jmp 0x973e0c
xchg bx, ax
mov eax, ebp
rdtsc
bswap edi
xchg cl, bl
not bp
jmp 0x973e7a
rdtsc
mov ebp, 0x3a21cf42
mov bp, 0xb293
mov ah, cl
bswap esi
mov bl, byte [esp]
jmp 0x973e3a
lea edx, [esi + ebp]
rdtsc
not dl
bswap ecx
cpuid
rdtsc
jmp 0x973eaf
rdtsc
not ch
lea esi, [edi*4]
not dh
mov eax, dword [esp]
mov ch, 2
jmp 0x973e64
bswap ecx
lea edi, [edi + 0xa2]
mov eax, 0xc331588d
cpuid
lea ebp, reloc.oleaut32.dll_SysFreeString
setb ah
jmp 0x973e50
bswap ecx
rdtsc
mov dx, 0xf782
call fcn.00973edf
inc esi
imul ebp, dword [esi + 0x64], 0x73726946
je 0x973f0c
imul ebp, dword [ebp + 0x41], reloc.oleaut32.dll_SysFreeString
lea esp, [esp + 2]
mov ebx, dword [esp + 0x18]
lea esp, [esp + 0x1c]
push 0
pushal
jmp 0x973e95
cmp al, 0x24
Function at 0x97818a
Capabilities:
Execute anti-debugging instructions

Disassembly:
bsf ebx, edx
pop dword [esp + 4]
lea ebx, [ecx*4]
jmp 0x9781b9
pop dx
mov ebp, edx
jmp 0x978174
mov ch, ah
stc
and di, si
pop word [esp + 9]
cmc
mov word [esp + 2], bx
jmp 0x9781de
pushfd
mov ch, 0x66
mov word [esp + 0xf], bx
add esp, 6
std
sub bp, di
jmp 0x9781c8
lea ebp, [eax + eax]
push dword [esp + 0xa]
push edi
cld
not ecx
push di
jmp 0x978190
mov dword [esp + 6], edi
cmc
mov word [esp], bx
xchg edx, ebp
pop bx
jmp 0x97820f
rdtsc
mov ax, word [esp + 0x10]
mov ch, byte [esp + 6]
mov ecx, ebx
lea eax, [edi*4]
mov bl, 0x17
jmp 0x9781a3

Function at 0x9785c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ecx, dword [esp + 0x15]
setg al
btc edi, ebp
mov bh, 0x73
popal
mov eax, dword [esp]
jmp 0x978607
pop si
pop word [esp + 0xc]
mov di, 0x143d
lea edi, [edx + ebp]
jmp 0x9785aa
lea ebx, [ecx + ebx]
lea edi, reloc.oleaut32.dll_SysFreeString
rdtsc
std
mov eax, 0x86a133a3
push dword [esp + 2]
jmp 0x9785f1

Function at 0x978a79
Capabilities:
Execute anti-debugging instructions

Disassembly:
not ah
rdtsc
not bx
xchg edx, edi
mov bh, 0x1c
lea esp, [esp + 1]
jmp 0x978af1
and al, 0x98
mov dl, 0x67
pop cx
std
mov bx, 0xfb80
jmp 0x978a63
xchg bp, di
pop bp
mov ah, bl
inc ah
pop word [esp + 5]
jmp 0x978ad9
mov bl, byte [esp]
mov byte [esp], dl
setae cl
mov dx, di
mov dx, cx
pushal
jmp 0x978a86
dec dl
rdtsc
setg dl
xchg byte [esp], dl
cmc
xchg al, dl
jmp 0x978a9c
bts edx, edi
xchg bp, cx
mov ah, 0x6b
rdtsc
push bp
push esi
jmp 0x978b1f
mov bh, 0x60
push dword [esp]
mov cl, byte [esp + 1]
add esp, 1
mov esi, 0xfdeea418
jmp 0x978ac3
mov cx, word [esp + 1]
push edx
lea esp, [esp + 4]
add esp, 1
not eax
lea eax, [edx*4]
jmp 0x978ab4
xchg bx, bp
pop dword [esp + 0x1c]
popal
inc eax
mov ecx, dword [esp]
push edx
jmp 0x978b62
lea ebp, [ecx*4]
mov dh, cl
or al, 0x51
mov ebp, eax
push dword [esp + 6]
xchg dl, dh
jmp 0x978b09
bsr ecx, edi
lea esi, [ebx - 0x84]
mov byte [esp + 3], dl
btc esi, ebx
mov bh, byte [esp + 7]
xchg al, bl
jmp 0x978b45

Function at 0x978d05
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
lea ebp, [edx*4]
xchg word [esp + 0xa], bx
jmp 0x978ce9
bsf cx, ax
add esp, 0x15
xchg bl, al
std
mov si, cx
pop si
jmp 0x978cc2
add esp, 1
mov ax, 0x37fa
pop ebp
sub esp, 3
lea esp, [esp + 6]
bswap ebx
pushal
setbe dh
jmp 0x978cd8
Function at 0x402908
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402937
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403d0c
jmp 0x402955
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402890
mov edi, eax
test ebx, ebx
je 0x402955
cmp dword [esi], 0
je 0x402955
dec ebx
jmp 0x40293e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402bc0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x4f9044], 0x8088405
inc edx
mov dword [0x4f9044], edx
mul edx
mov eax, edx
ret

Function at 0x402d18
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402db0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402d90
xor eax, eax
push ebp
push 0x402d89
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402dcc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402d90
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x403bd8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402738
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4f9049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403ba0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405a88
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405c44
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405ae9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405c60
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405b5b
xor eax, eax
push ebp
push 0x405b54
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004058e0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405b3d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405c80
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b5b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405c3c
cmp byte [ebp - 0xd], 0
jne 0x405b9d
cmp byte [ebp - 0x12], 0
je 0x405c3c
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405bb6
dec ebx
cmp byte [ebx], 0x2e
je 0x405bc5
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405bb5
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405c3c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405bf2
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405c3c
cmp byte [ebp - 0xd], 0
je 0x405c3c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405c3c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b670
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b6a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403d0c
jmp 0x40b6b2
mov eax, ebx
mov edx, esi
call fcn.00403c78
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b6bc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b6dd
mov al, byte [esp]
jmp 0x40b6df
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41c4a8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41c4ae
ret

Function at 0x41ec1c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41ec6d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ec54
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ec44
jmp 0x41ec6d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41ec55
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c658
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42c6ac
mov eax, dword [0x4f84f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42c684
push ebx
push 0x42c6b4
call fcn.00447a98
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x42c6a8
mov ecx, dword [0x4f8240]
mov dl, 1
mov eax, dword [0x407d80]
call fcn.0040bf20
call fcn.00403638
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x42c6d4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0042c658
xor edx, edx
push ebp
push 0x42c7a6
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x42c778
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x42c767
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402850
mov eax, dword [ebp - 4]
call fcn.0042c610
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c76e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x42c7b8
Capabilities:
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, ecx
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.0042c658
push 1
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
jne 0x42c7da
xor edi, edi
jmp 0x42c7f9
push ebx
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov ecx, ebp
dec ecx
mov eax, edi
call fcn.004093f0
call fcn.00409360
mov edi, eax
push ebx
call sub.kernel32.dll_GlobalUnlock
mov eax, esi
call fcn.0042c62c
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42c828
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042c658
xor edx, edx
push ebp
push 0x42c8ca
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42c89d
mov edx, ebx
mov eax, dword [0x41bf7c]
call fcn.00420490
test al, al
je 0x42c88d
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.004203a0
call fcn.004036d8
jmp 0x42c8d1
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42c858
mov ecx, dword [0x4f82b8]
mov dl, 1
mov eax, dword [0x407d80]
call fcn.0040bf20
call fcn.00403638
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c8d1
mov eax, dword [ebp - 4]
call fcn.0042c62c
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret