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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x8000
mov ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x7ffe
call fcn.10048e72
mov esi, eax
add esp, 4
test esi, esi
je 0x10071710
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 8]
call edi
test eax, eax
je 0x1007172b
cmp eax, 0xea
jne 0x10071719
mov eax, dword [ebp - 4]
add eax, 2
push eax
push esi
call fcn.10049479
mov esi, eax
add esp, 8
test esi, esi
jne 0x100716e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.10048d9b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov ax, word [0x1008b28c]
shr ecx, 1
mov dword [ebp - 4], ecx
mov word [esi + ecx*2], ax
mov eax, dword [ebp - 4]
lea edi, [eax + eax]
lea eax, [edi + edi]
push eax
call fcn.10048e72
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10071710
push edi
push ebx
push esi
push 0
call dword [0x10097850]
test eax, eax
jne 0x100717a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1007178e
lea edi, [edi + edi*4]
add edi, edi
lea eax, [edi + edi]
push eax
push ebx
call fcn.10049479
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10071755
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.10048d9b
push ebx
call fcn.10048d9b
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.10048d9b
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10071c90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 5], 0x6c6c64
push eax
xor esi, esi
mov dword [ebp - 0xc], 0x72657355
mov word [ebp - 8], 0x3233
mov byte [ebp - 6], 0x2e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10071d01
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x13], 0x41784577
push eax
push edi
mov dword [ebp - 0x1c], 0x646e6946
mov dword [ebp - 0x18], 0x646e6957
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0xf], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10071cfa
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push esi
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10071d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ecx
push eax
mov ebx, edx
mov dword [ebp - 9], 0x6c6c64
xor esi, esi
mov dword [ebp - 0x10], 0x72657355
mov word [ebp - 0xc], 0x3233
mov byte [ebp - 0xa], 0x2e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10071e02
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x17], 0x6f646e69
push eax
push edi
mov word [ebp - 0x12], 0x41
mov dword [ebp - 0x1c], 0x646e6946
mov byte [ebp - 0x18], 0x57
mov byte [ebp - 0x13], 0x77
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10071dfb
push ebx
push dword [ebp - 4]
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10071e10
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x61766441
push eax
xor bl, bl
mov dword [ebp - 0xc], 0x32336970
mov dword [ebp - 7], 0x6c6c64
mov byte [ebp - 8], 0x2e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1007200a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x84]
push eax
push edi
mov word [ebp - 0x73], 0x7478
mov dword [ebp - 0x84], 0x70797243
mov word [ebp - 0x7f], 0x6341
mov word [ebp - 0x79], 0x4365
mov word [ebp - 0x76], 0x746e
mov word [ebp - 0x7c], 0x6975
mov word [ebp - 0x71], 0x41
mov byte [ebp - 0x80], 0x74
mov byte [ebp - 0x74], 0x65
mov byte [ebp - 0x77], 0x6f
mov byte [ebp - 0x7a], 0x72
mov byte [ebp - 0x7d], 0x71
call esi
mov dword [0x10097868], eax
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 0x26], 0x73614865
mov word [ebp - 0x2a], 0x6572
mov word [ebp - 0x22], 0x68
mov word [ebp - 0x2d], 0x7470
mov byte [ebp - 0x2b], 0x43
mov word [ebp - 0x30], 0x7243
mov word [ebp - 0x28], 0x7461
mov byte [ebp - 0x2e], 0x79
call esi
mov dword [0x10097870], eax
lea eax, [ebp - 0x6c]
push eax
push edi
mov word [ebp - 0x5a], 0x74
mov dword [ebp - 0x5f], 0x65746e6f
mov word [ebp - 0x6b], 0x7972
mov dword [ebp - 0x66], 0x61656c65
mov word [ebp - 0x68], 0x5274
mov byte [ebp - 0x6c], 0x43
mov word [ebp - 0x61], 0x4365
mov byte [ebp - 0x62], 0x73
mov byte [ebp - 0x69], 0x70
mov byte [ebp - 0x5b], 0x78
call esi
mov dword [0x1009786c], eax
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp - 0x1b], 0x68736148
mov dword [ebp - 0x16], 0x617461
mov dword [ebp - 0x1f], 0x74707972
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x17], 0x44
call esi
mov dword [0x10097860], eax
lea eax, [ebp - 0x44]
push eax
push edi
mov word [ebp - 0x38], 0x6148
mov word [ebp - 0x35], 0x68
mov word [ebp - 0x40], 0x4474
mov word [ebp - 0x43], 0x7972
mov word [ebp - 0x3b], 0x6f72
mov byte [ebp - 0x44], 0x43
mov byte [ebp - 0x36], 0x73
mov word [ebp - 0x3e], 0x7365
mov byte [ebp - 0x39], 0x79
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x41], 0x70
call esi
mov dword [0x10097864], eax
mov word [ebp - 0x53], 0x6547
mov word [ebp - 0x4b], 0x7261
mov dword [ebp - 0x50], 0x68736148
mov dword [ebp - 0x58], 0x70797243
mov word [ebp - 0x48], 0x6d
mov byte [ebp - 0x54], 0x74
mov byte [ebp - 0x51], 0x74
mov byte [ebp - 0x49], 0x61
lea eax, [ebp - 0x58]
mov byte [ebp - 0x4c], 0x50
push eax
push edi
call esi
cmp dword [0x10097868], 0
mov ecx, eax
mov dword [0x1009785c], ecx
pop esi
je 0x1007200a
cmp dword [0x10097870], 0
je 0x1007200a
cmp dword [0x1009786c], 0
je 0x1007200a
cmp dword [0x10097860], 0
je 0x1007200a
cmp dword [0x10097864], 0
je 0x1007200a
movzx eax, bl
test ecx, ecx
mov edx, 1
pop edi
cmovne eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10078f90
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push esi
push 0x1008a1cf
mov esi, ecx
call fcn.10002a20
push 0x20a
lea eax, [ebp - 0x668]
push 0
push eax
call fcn.1002b830
add esp, 0xc
lea eax, [ebp - 0x458]
push 0x20a
push 0
push eax
call fcn.1002b830
add esp, 0xc
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
push 0x208
push 0
push eax
call fcn.1002b830
add esp, 0xc
lea eax, [ebp - 0x248]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov word [ebp - 9], 0x2e32
mov word [ebp - 0x242], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xe], 0x6c656e72
push eax
mov word [ebp - 0x10], 0x654b
mov dword [ebp - 7], 0x6c6c64
mov byte [ebp - 0xa], 0x33
mov dword [ebp - 0x16], 0x576e6f
mov word [ebp - 0x19], 0x7461
mov dword [ebp - 0x20], 0x666e4965
mov word [ebp - 0x28], 0x6547
mov word [ebp - 0x1c], 0x726f
mov word [ebp - 0x25], 0x6f56
mov byte [ebp - 0x1a], 0x6d
mov word [ebp - 0x22], 0x6d75
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x17], 0x69
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10096ffc], eax
test eax, eax
je 0x100790e0
push 0x105
lea ecx, [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0x105
lea ecx, [ebp - 0x668]
push ecx
lea ecx, [ebp - 0x248]
push ecx
call eax
test eax, eax
je 0x100790e0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0x75
push eax
push esi
mov dword [ebp - 0x34], 0x6c0025
call fcn.100048d0
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100790f0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc94
push ebx
push esi
push edi
push 0x1008a1cf
mov edi, ecx
call fcn.10002a20
mov eax, 0x43
mov dword [ebp - 0x52], 0x720075
mov word [ebp - 0x54], ax
mov edx, 0x72
mov eax, 0x52
mov dword [ebp - 0x6a], 0x690057
mov word [ebp - 0x84], ax
mov ebx, 0x6f
mov eax, 0x4d
mov dword [ebp - 0x7c], 0x630069
mov word [ebp - 0x7e], ax
mov eax, 0x65
push 0x800
mov word [ebp - 0x44], ax
lea eax, [ebp - 0xc90]
push 0
push eax
mov dword [ebp - 0x88], 0x410057
mov dword [ebp - 0x82], 0x5c0045
mov dword [ebp - 0x90], 0x4f0053
mov dword [ebp - 0x76], 0x73006f
mov dword [ebp - 0x72], 0x66006f
mov dword [ebp - 0x42], 0x730072
mov dword [ebp - 0x8c], 0x540046
mov dword [ebp - 0x5c], 0x4e0020
mov dword [ebp - 0x4c], 0x6e0065
mov dword [ebp - 0x3e], 0x6f0069
mov dword [ebp - 0x6e], 0x5c0074
mov dword [ebp - 0x58], 0x5c0054
mov dword [ebp - 0x48], 0x560074
mov dword [ebp - 0x60], 0x730077
mov dword [ebp - 0x66], 0x64006e
mov word [ebp - 0x4e], dx
mov word [ebp - 0x78], dx
mov dword [ebp - 0x3a], 0x6e
mov word [ebp - 0x62], bx
mov dword [ebp - 0x1a], 0x64006f
mov dword [ebp - 0x16], 0x630075
mov dword [ebp - 0x20], 0x50006c
mov dword [ebp - 0x24], 0x610074
mov dword [ebp - 0x12], 0x490074
mov dword [ebp - 0x28], 0x690067
mov dword [ebp - 0xe], 0x64
mov dword [ebp - 0x2c], 0x690044
mov word [ebp - 0x1c], dx
call fcn.1002b830
add esp, 0xc
mov dword [ebp - 4], 0x800
lea eax, [ebp - 8]
push eax
push 0x101
push 0
lea eax, [ebp - 0x90]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100792f8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc90]
push eax
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100792ef
push 0x400
push eax
lea eax, [ebp - 0x490]
push eax
call fcn.1002b830
add esp, 0xc
lea edx, [ebp - 0x490]
lea ecx, [ebp - 0xc90]
push dword [ebp - 4]
call fcn.10079310
lea eax, [ebp - 0x490]
add esp, 4
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100792b0
sub eax, edx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x100792c8
xor eax, eax
jmp 0x100792e0
lea eax, [esi + esi]
call fcn.100293d0
mov ecx, esp
lea edx, [ebp - 0x490]
push 3
push esi
call fcn.100011b0
push eax
push 0x1008a238
push edi
call fcn.100048d0
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xca0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100793b0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079a01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x70], 0
call fcn.10001d70
mov ecx, eax
test ecx, ecx
jne 0x100793f9
push 0x80004005
call fcn.10001310
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x1007940e
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x10079410
call edx
add eax, 0x10
mov dword [esi], eax
push 0x200
lea eax, [ebp - 0x278]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x70], 1
call fcn.1002b830
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, 0x54
mov word [ebp - 0x66], ax
add esp, 0xc
mov eax, 0x53
mov dword [ebp - 0x14], 0x200
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x64], 0x410057
mov dword [ebp - 0x6a], 0x46004f
lea ecx, [eax + 0x16]
mov dword [ebp - 0x48], 0x43005c
mov eax, 0x65
mov dword [ebp - 0x5c], 0x4d005c
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x44], 0x790072
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x38], 0x610072
mov dword [ebp - 0x30], 0x79
mov dword [ebp - 0x54], 0x6f0072
mov dword [ebp - 0x4c], 0x740066
mov dword [ebp - 0x34], 0x680070
mov dword [ebp - 0x58], 0x630069
mov dword [ebp - 0x60], 0x450052
mov dword [ebp - 0x3c], 0x67006f
mov dword [ebp - 0x40], 0x740070
mov dword [ebp - 0x50], 0x6f0073
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x28], 0x680063
mov dword [ebp - 0x24], 0x6e0069
mov dword [ebp - 0x1e], 0x750047
mov dword [ebp - 0x2c], 0x61004d
mov word [ebp - 0x1a], cx
call ebx
test eax, eax
jne 0x1007959e
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x1007956e
lea eax, [ebp - 0x10]
push eax
push 0x20119
push 0
lea eax, [ebp - 0x6c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x1007959e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x1007959e
lea eax, [ebp - 0x278]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10079577
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.100043b0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43a945
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.0042f88a
and dword [ebp - 4], 0
cmp dword [0x454778], 0
mov ebx, eax
jne 0x43a9f6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43aaa7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x447118
push edi
call esi
test eax, eax
je 0x43aaa7
push eax
call fcn.0042f818
mov dword [esp], 0x447108
push edi
mov dword [0x454778], eax
call esi
push eax
call fcn.0042f818
mov dword [esp], 0x4470f4
push edi
mov dword [0x45477c], eax
call esi
push eax
call fcn.0042f818
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x454780], eax
call esi
push eax
call fcn.0042f818
pop ecx
mov dword [0x454788], eax
test eax, eax
je 0x43a9f6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042f818
pop ecx
mov dword [0x454784], eax
mov eax, dword [0x454784]
cmp eax, ebx
je 0x43aa4e
cmp dword [0x454788], ebx
je 0x43aa4e
push eax
call fcn.0042f893
push dword [0x454788]
mov esi, eax
call fcn.0042f893
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43aa4e
test edi, edi
je 0x43aa4e
call esi
test eax, eax
je 0x43aa45
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43aa45
test byte [ebp - 0xc], 1
jne 0x43aa4e
or dword [ebp + 0x10], 0x200000
jmp 0x43aa87
mov eax, dword [0x45477c]
cmp eax, ebx
je 0x43aa87
push eax
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aa87
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43aa87
mov eax, dword [0x454780]
cmp eax, ebx
je 0x43aa87
push eax
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aa87
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x454778]
call fcn.0042f893
pop ecx
test eax, eax
je 0x43aaa7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43aaa9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4194f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x6d351b
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.006c7de1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x419572
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.006c5af7
mov eax, dword [eax]
push 0x851cec
push eax
call fcn.006b79f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.006c806c
test bl, bl
je 0x419572
push 0x851cec
lea ecx, [esp + 0xc]
call fcn.006c83fc
push 0x851cf8
lea ecx, [esp + 0xc]
call fcn.006c83fc
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 0x4195ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.006c806c
jmp 0x419679
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x419632
lea edx, [esp + 0x7c]
push 0x851cf4
push edx
call fcn.006b79f4
add esp, 8
test eax, eax
je 0x419632
lea eax, [esp + 0x7c]
push 0x851cf0
push eax
call fcn.006b79f4
add esp, 8
test eax, eax
je 0x419632
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 0x4195c2
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.006c806c
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 0x419e80
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 0x419ee2
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 0x419ef0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x6d359b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8ae878]
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 0x41a028
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x419f56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006c806c
xor eax, eax
jmp 0x41a09f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.006c81a9
push esi
lea ecx, [esp + 0xc]
call fcn.006c8438
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x851d2c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA_1]
mov esi, eax
cmp esi, 0x20
ja 0x41a07d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00419e80
test eax, eax
jne 0x41a07d
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 closesocket
mov ecx, edi
call fcn.00419e80
test eax, eax
jne 0x41a07d
lea eax, [esp + 0x14]
push 0x851d08
push eax
call fcn.006b8b00
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a05c
lea ecx, [esp + 0x14]
push 0x851d04
push ecx
call fcn.006b8a80
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a05c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41a05f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.006c8159
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x419f6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006c806c
xor eax, eax
jmp 0x41a09f
mov byte [esi], 0
push 0x851d00
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.006c806c
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 0x42c910
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 0x42c97e
cmp si, 0x69
ja 0x42c97e
add esi, 0xffd0
cmp si, 0x11
je 0x42c94e
push 0x11
call edi
test ax, ax
jge 0x42c94e
or esi, 0x2000
cmp si, 0x10
je 0x42c963
push 0x10
call edi
test ax, ax
jge 0x42c963
or esi, 0x4000
cmp si, 0x12
je 0x42c978
push 0x12
call edi
test ax, ax
jge 0x42c978
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42c98b
mov esi, 0xbd
jmp 0x42c93f
cmp si, 0x6e
jne 0x42c998
mov esi, 0xbe
jmp 0x42c93f
cmp si, 0x6f
jne 0x42c939
mov esi, 0xbf
jmp 0x42c93f

Function at 0x42e500
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8bf050]
xor edx, edx
cmp eax, edx
jne 0x42e526
xor eax, eax
mov byte [eax + 0x8bef50], al
inc eax
cmp eax, 0x100
jl 0x42e50e
mov dword [0x8bf050], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8bef50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42e5b7
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 0x42e58a
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 0x42e558
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42e5c0
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 0x42e613
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 0x42e5fa
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