joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411f70
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x218]
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 4]
push edx
push 0x422c9c
push 1
push 0
push 0x422f7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
pop edi
jge 0x411fd5
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add esp, 0x210
ret
mov eax, dword [esp]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x21c]
test eax, eax
je 0x411ffa
mov ecx, dword [esp]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esp + eax*2 + 6], 0x5c
lea eax, [esp + eax*2 + 6]
je 0x41201a
sub eax, 2
cmp word [eax], 0x5c
jne 0x412011
mov word [eax], 0
mov eax, dword [esp]
lea edx, [esp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x42334c
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x412054
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add esp, 0x210
ret
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x218]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
add esp, 0x210
ret
Function at 0x412250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4216e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
cmp edi, ebx
jle 0x412332
mov cl, byte [esp + 0x34]
push ebp
lea ebp, [edi + edi]
mov byte [esp + 0x14], cl
push ebp
call fcn.004180fc
add esp, 4
mov esi, eax
cmp edi, ebx
mov dword [esp + 0x18], esi
jbe 0x4122be
mov ecx, edi
cmp eax, ebx
je 0x4122b8
mov word [eax], bx
add eax, 2
dec ecx
jne 0x4122b1
lea eax, [esi + ebp]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x38]
push edi
push esi
push 0xffffffffffffffff
push edx
push ebx
push 0xfde9
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
pop ebp
jle 0x412321
mov edi, dword [esp + 0x30]
mov cl, byte [esp + 0x34]
dec eax
mov byte [edi], cl
push eax
push esi
mov ecx, edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.0040cb90
push esi
call fcn.0041749e
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0041749e
add esp, 4
mov esi, dword [esp + 0x30]
mov dl, byte [esp + 0x34]
push 0x42c54c
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00417a8e
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call fcn.0040ce00
test al, al
je 0x41237c
mov eax, dword [esi + 4]
push edi
push 0x42c54c
push eax
call fcn.00401be0
add esp, 0xc
mov ecx, esi
push edi
call fcn.0040cd60
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x412680
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x421758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
mov eax, dword [esp + 0x44]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x34], ebx
jne 0x4126ad
mov eax, 0x422470
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4126e6
push 1
lea ecx, [esp + 0x44]
call fcn.0040cf30
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebx
push ebp
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x412717
push 1
lea ecx, [esp + 0x44]
call fcn.0040cf30
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push esi
lea eax, [eax + eax + 2]
push edi
push eax
call fcn.004180fc
mov ecx, dword [esp + 0x14]
mov esi, eax
xor eax, eax
mov edi, esi
lea ecx, [ecx + ecx + 2]
add esp, 4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push ecx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41282a
mov dl, byte [esp + 0x44]
push esi
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00417a8e
add esp, 4
lea ecx, [esp + 0x14]
push eax
push esi
call fcn.0040cb90
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x3c], 1
cmp eax, ebx
jbe 0x412804
mov al, byte [esp + 0x44]
push str._License_
mov byte [esp + 0x28], al
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00417a8e
add esp, 4
lea ecx, [esp + 0x24]
push eax
push str._License_
call fcn.0040cb90
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push edx
push eax
mov byte [esp + 0x48], 2
call fcn.00413510
mov ecx, dword [esp + 0x34]
add esp, 0xc
cmp ecx, ebx
je 0x412804
mov al, byte [ecx - 1]
cmp al, bl
je 0x4127f8
cmp al, 0xff
je 0x4127f8
dec al
mov byte [ecx - 1], al
jmp 0x412804
add ecx, 0xfffffffe
push ecx
call fcn.0041749e
add esp, 4
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x41282a
mov al, byte [ecx - 1]
cmp al, bl
je 0x41281e
cmp al, 0xff
je 0x41281e
dec al
mov byte [ecx - 1], al
jmp 0x41282a
add ecx, 0xfffffffe
push ecx
call fcn.0041749e
add esp, 4
push esi
call fcn.0041749e
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x4c]
pop edi
cmp ecx, ebx
pop esi
je 0x412871
mov al, byte [ecx - 1]
cmp al, bl
je 0x412865
cmp al, 0xff
je 0x412865
dec al
pop ebp
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
add ecx, 0xfffffffe
push ecx
call fcn.0041749e
add esp, 4
mov ecx, dword [esp + 0x2c]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4137c0
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
mov dword [esp], 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4137e6
xor eax, eax
pop ecx
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ecx
ret

Function at 0x413820
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
lea eax, [esp + 4]
lea ecx, [esp]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push 2
push 0
push 0
push 0
push edx
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x413861
xor eax, eax
add esp, 8
ret
push esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.00417a8e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add esp, 4
shl eax, 1
push eax
mov eax, dword [esp + 8]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x413db0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get common file path
Set current directory

Disassembly:
sub esp, 0xa74
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x672]
mov word [esp + 0x670], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [esp + 0xa84]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bx
cmp esi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
je 0x413e5d
push esi
call fcn.00417a8e
add esp, 4
test eax, eax
je 0x413e5d
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00417ec8
lea ecx, [esp + 0x18]
push ecx
call fcn.00417a8e
mov esi, 0x5c
add esp, 0xc
cmp word [esp + eax*2 + 0xe], si
je 0x413e37
lea edx, [esp + 0x10]
push edx
call fcn.00417a8e
add esp, 4
mov word [esp + eax*2 + 0x10], si
lea eax, [esp + 0x670]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x413fe7
lea edx, [esp + 0x420]
push edx
push 0x429990
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
je 0x413fc8
mov esi, dword [esp + 0xa8c]
push ebp
mov ebp, dword [esp + 0xa8c]
test byte [esp + 0x424], 0x10
je 0x413f5b
cmp byte [esp + 0xa94], bl
je 0x413fac
lea eax, [esp + 0x450]
push 0x42998c
push eax
call fcn.004181e2
add esp, 8
test eax, eax
je 0x413fac
lea ecx, [esp + 0x450]
push 0x429984
push ecx
call fcn.004181e2
add esp, 8
test eax, eax
je 0x413fac
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x14]
lea eax, [esp + 0x21c]
push edx
push eax
call fcn.00417e9e
lea ecx, [esp + 0x458]
lea edx, [esp + 0x224]
push ecx
push edx
call fcn.00417e9e
lea eax, [esp + 0x22c]
push 0x4274f0
push eax
call fcn.00417e9e
add esp, 0x18
lea ecx, [esp + 0x21c]
push esi
push ebx
push ecx
call ebp
push 1
push esi
lea edx, [esp + 0x224]
push ebp
push edx
call fcn.00413db0
add esp, 0x10
jmp 0x413fac
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x87e]
mov word [esp + 0x87c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x87c]
push eax
push ecx
call fcn.00417e9e
lea edx, [esp + 0x458]
lea eax, [esp + 0x884]
push edx
push eax
call fcn.00417e9e
add esp, 0x10
lea ecx, [esp + 0x87c]
push esi
push 1
push ecx
call ebp
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x424]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x413e8e
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esp + 0x670], bx
je 0x413fe7
lea eax, [esp + 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
add esp, 0xa74
ret
Function at 0x414000
Capabilities:
Enumerate files on windows
Get common file path
Set current directory

Disassembly:
sub esp, 0xa74
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x672]
mov word [esp + 0x670], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [esp + 0xa84]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bx
cmp esi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
je 0x4140ad
push esi
call fcn.00417a8e
add esp, 4
test eax, eax
je 0x4140ad
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00417ec8
lea ecx, [esp + 0x18]
push ecx
call fcn.00417a8e
mov esi, 0x5c
add esp, 0xc
cmp word [esp + eax*2 + 0xe], si
je 0x414087
lea edx, [esp + 0x10]
push edx
call fcn.00417a8e
add esp, 4
mov word [esp + eax*2 + 0x10], si
lea eax, [esp + 0x670]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x41424d
lea edx, [esp + 0x420]
push edx
push 0x429990
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
je 0x41422e
mov esi, dword [esp + 0xa8c]
push ebp
mov ebp, dword [esp + 0xa8c]
test byte [esp + 0x424], 0x10
je 0x4141c1
cmp byte [esp + 0xa94], bl
je 0x414212
lea eax, [esp + 0x450]
push 0x42998c
push eax
call fcn.004181e2
add esp, 8
test eax, eax
je 0x414212
lea ecx, [esp + 0x450]
push 0x429984
push ecx
call fcn.004181e2
add esp, 8
test eax, eax
je 0x414212
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x14]
lea eax, [esp + 0x21c]
push edx
push eax
call fcn.00417e9e
lea ecx, [esp + 0x458]
lea edx, [esp + 0x224]
push ecx
push edx
call fcn.00417e9e
lea eax, [esp + 0x22c]
push 0x4274f0
push eax
call fcn.00417e9e
lea ecx, [esp + 0x468]
push ecx
push 0x429998
call fcn.00417f5c
add esp, 0x20
test eax, eax
je 0x414212
push esi
lea edx, [esp + 0x220]
push ebx
push edx
call ebp
push 1
push esi
lea eax, [esp + 0x224]
push ebp
push eax
call fcn.00413db0
add esp, 0x10
jmp 0x414212
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x87e]
mov word [esp + 0x87c], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x87c]
push ecx
push edx
stosw word es:[edi], ax
call fcn.00417e9e
lea eax, [esp + 0x458]
lea ecx, [esp + 0x884]
push eax
push ecx
call fcn.00417e9e
add esp, 0x10
lea edx, [esp + 0x87c]
push esi
push 1
push edx
call ebp
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x424]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4140de
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esp + 0x670], bx
je 0x41424d
lea ecx, [esp + 0x670]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
add esp, 0xa74
ret
Function at 0x414910
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4094a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46473b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00459256
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409522
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045716d
mov eax, dword [eax]
push 0x47a1c0
push eax
call fcn.00449fd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004594e1
test bl, bl
je 0x409522
push 0x47a1c0
lea ecx, [esp + 0xc]
call fcn.00459871
push 0x47dd34
lea ecx, [esp + 0xc]
call fcn.00459871
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40955e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004594e1
jmp 0x409629
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4095e2
lea edx, [esp + 0x7c]
push 0x47dd30
push edx
call fcn.00449fd4
add esp, 8
test eax, eax
je 0x4095e2
lea eax, [esp + 0x7c]
push 0x47dd2c
push eax
call fcn.00449fd4
add esp, 8
test eax, eax
je 0x4095e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409572
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004594e1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409e20
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
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 0x409e82
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x409e90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4647bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4841d8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x409fc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409ef6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004594e1
xor eax, eax
jmp 0x40a03f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045961e
push esi
lea ecx, [esp + 0xc]
call fcn.004598ad
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40a01d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00409e20
test eax, eax
jne 0x40a01d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00409e20
test eax, eax
jne 0x40a01d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0044b010
mov esi, eax
add esp, 8
test esi, esi
jne 0x409ffc
lea ecx, [esp + 0x14]
push 0x47dd44
push ecx
call fcn.0044af90
mov esi, eax
add esp, 8
test esi, esi
jne 0x409ffc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409fff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004595ce
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409f0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004594e1
xor eax, eax
jmp 0x40a03f
mov byte [esi], 0
push 0x47dd40
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004594e1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41a690
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41a6fe
cmp si, 0x69
ja 0x41a6fe
add esi, 0xffd0
cmp si, 0x11
je 0x41a6ce
push 0x11
call edi
test ax, ax
jge 0x41a6ce
or esi, 0x2000
cmp si, 0x10
je 0x41a6e3
push 0x10
call edi
test ax, ax
jge 0x41a6e3
or esi, 0x4000
cmp si, 0x12
je 0x41a6f8
push 0x12
call edi
test ax, ax
jge 0x41a6f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41a70b
mov esi, 0xbd
jmp 0x41a6bf
cmp si, 0x6e
jne 0x41a718
mov esi, 0xbe
jmp 0x41a6bf
cmp si, 0x6f
jne 0x41a6b9
mov esi, 0xbf
jmp 0x41a6bf

Function at 0x41bdb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x494830]
xor edx, edx
cmp eax, edx
jne 0x41bdd6
xor eax, eax
mov byte [eax + 0x494730], al
inc eax
cmp eax, 0x100
jl 0x41bdbe
mov dword [0x494830], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x494730
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41be67
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41be3a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41be08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41bee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41bf33
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41bf1a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret