joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100364db
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xb8d435b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10030ca0
xor eax, eax
mov byte [esp + 0x40], 0
mov ecx, 0x18
lea edi, [esp + 0x41]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x64
lea eax, [esp + 0x44]
push eax
push 0x47f
mov dword [esp + 0xb8], 0
mov dword [esi], 0xb8dbdf8
call fcn.10014ec0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esi + 0x2710]
push 0xb8d7810
push edx
call fcn.10001830
xor eax, eax
mov byte [esp + 0x24], 0
mov ecx, 0xc
lea edi, [esp + 0x25]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x32
lea eax, [esp + 0x28]
push eax
push 0x47f
call fcn.10014f50
lea ecx, [esp + 0x30]
push ecx
lea edx, [esi + 0x2714]
push 0xb8d7810
push edx
call fcn.10001830
mov ecx, dword [esp + 0xd4]
add esp, 0x30
mov dword [esi + 0x1b4], 0x47f
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xa8
ret

Function at 0x100365bb
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xb8d435b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10030ca0
xor eax, eax
mov byte [esp + 0x40], 0
mov ecx, 0x18
lea edi, [esp + 0x41]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x64
lea eax, [esp + 0x44]
push eax
push 0x480
mov dword [esp + 0xb8], 0
mov dword [esi], 0xb8dbe00
call fcn.10014ec0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esi + 0x2710]
push 0xb8d7810
push edx
call fcn.10001830
xor eax, eax
mov byte [esp + 0x24], 0
mov ecx, 0xc
lea edi, [esp + 0x25]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x32
lea eax, [esp + 0x28]
push eax
push 0x480
call fcn.10014f50
lea ecx, [esp + 0x30]
push ecx
lea edx, [esi + 0x2714]
push 0xb8d7810
push edx
call fcn.10001830
mov ecx, dword [esp + 0xd4]
add esp, 0x30
mov dword [esi + 0x1b4], 0x480
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x10036680
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xb8d435b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10030ca0
xor eax, eax
mov byte [esp + 0x40], 0
mov ecx, 0x18
lea edi, [esp + 0x41]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x64
lea eax, [esp + 0x44]
push eax
push 0x482
mov dword [esp + 0xb8], 0
mov dword [esi], 0xb8dbe08
call fcn.10014ec0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esi + 0x2710]
push 0xb8d7810
push edx
call fcn.10001830
xor eax, eax
mov byte [esp + 0x24], 0
mov ecx, 0xc
lea edi, [esp + 0x25]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x32
lea eax, [esp + 0x28]
push eax
push 0x482
call fcn.10014f50
lea ecx, [esp + 0x30]
push ecx
lea edx, [esi + 0x2714]
push 0xb8d7810
push edx
call fcn.10001830
mov ecx, dword [esp + 0xd4]
add esp, 0x30
mov dword [esi + 0x1b4], 0x482
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xa8
ret

Function at 0x10036760
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xb8d435b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10030ca0
xor eax, eax
mov byte [esp + 0x40], 0
mov ecx, 0x18
lea edi, [esp + 0x41]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x64
lea eax, [esp + 0x44]
push eax
push 0x483
mov dword [esp + 0xb8], 0
mov dword [esi], 0xb8dbe10
call fcn.10014ec0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esi + 0x2710]
push 0xb8d7810
push edx
call fcn.10001830
xor eax, eax
mov byte [esp + 0x24], 0
mov ecx, 0xc
lea edi, [esp + 0x25]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x32
lea eax, [esp + 0x28]
push eax
push 0x483
call fcn.10014f50
lea ecx, [esp + 0x30]
push ecx
lea edx, [esi + 0x2714]
push 0xb8d7810
push edx
call fcn.10001830
mov ecx, dword [esp + 0xd4]
add esp, 0x30
mov dword [esi + 0x1b4], 0x483
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x10036840
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xb8d435b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.10030ca0
xor eax, eax
mov byte [esp + 0x40], 0
mov ecx, 0x18
lea edi, [esp + 0x41]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x64
lea eax, [esp + 0x44]
push eax
push 0x481
mov dword [esp + 0xb8], 0
mov dword [esi], 0xb8dbe18
call fcn.10014ec0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esi + 0x2710]
push 0xb8d7810
push edx
call fcn.10001830
xor eax, eax
mov byte [esp + 0x24], 0
mov ecx, 0xc
lea edi, [esp + 0x25]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x32
lea eax, [esp + 0x28]
push eax
push 0x481
call fcn.10014f50
lea ecx, [esp + 0x30]
push ecx
lea edx, [esi + 0x2714]
push 0xb8d7810
push edx
call fcn.10001830
mov ecx, dword [esp + 0xd4]
add esp, 0x30
mov dword [esi + 0x1b4], 0x481
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xa8
ret

Function at 0x10036f4d
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xb8d435b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.10030ca0
mov ebp, dword [esp + 0xbc]
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x48], bl
mov ecx, 0x18
lea edi, [esp + 0x49]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x64
lea eax, [esp + 0x4c]
push eax
push ebp
mov dword [esp + 0xc0], ebx
mov dword [esi], 0xb8dbe78
call fcn.10014ec0
lea ecx, [esp + 0x54]
push ecx
lea edx, [esi + 0x2710]
push 0xb8d7810
push edx
call fcn.10001830
xor eax, eax
mov byte [esp + 0x2c], bl
mov ecx, 0xc
lea edi, [esp + 0x2d]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x32
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.10014f50
lea ecx, [esp + 0x38]
push ecx
lea edx, [esi + 0x2714]
push 0xb8d7810
push edx
call fcn.10001830
mov ecx, dword [esp + 0xdc]
add esp, 0x30
mov eax, 1
mov byte [esi + 0x2732], al
mov dword [esi + 0x2734], eax
mov dword [esi + 0x273c], eax
pop edi
mov dword [esi + 0x2740], ebp
mov byte [esi + 0x2731], bl
mov byte [esi + 0x2730], bl
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 4
Function at 0x1003772d
Capabilities:
Get number of processors
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0xb8d435b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.10030ca0
mov ebp, dword [esp + 0xbc]
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x48], bl
mov ecx, 0x18
lea edi, [esp + 0x49]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x64
lea eax, [esp + 0x4c]
push eax
push ebp
mov dword [esp + 0xc0], ebx
mov dword [esi], 0xb8dbed0
mov dword [esi + 0x2740], ebp
call fcn.10014ec0
lea ecx, [esp + 0x54]
push ecx
lea edx, [esi + 0x2710]
push 0xb8d7810
push edx
call fcn.10001830
xor eax, eax
mov byte [esp + 0x2c], bl
mov ecx, 0xc
lea edi, [esp + 0x2d]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x32
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.10014f50
lea ecx, [esp + 0x38]
push ecx
lea edx, [esi + 0x2714]
push 0xb8d7810
push edx
call fcn.10001830
mov ecx, dword [esp + 0xdc]
add esp, 0x30
mov eax, 1
mov dword [esi + 0x2734], eax
mov dword [esi + 0x273c], eax
pop edi
mov byte [esi + 0x2731], bl
mov byte [esi + 0x2730], bl
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 4

Function at 0x1004ab60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0xb8d5419
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov dword [esp + 0xc], 0
call fcn.10074c12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ebx, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
call fcn.100582d3
lea eax, [esp + 8]
push eax
mov byte [esp + 0x34], 2
call fcn.10024350
add esp, 4
push 0xd
push 0xb8dd4fc
lea ecx, [esp + 0x10]
call fcn.100059c0
mov ecx, dword [esp + 8]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.10058366
test eax, eax
je 0x1004ac2b
lea ecx, [esp + 0x10]
call fcn.100580fa
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.10001a00
mov esi, dword [esp + 0x3c]
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x30], bl
call fcn.100582f7
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1004ac77
lea ecx, [esp + 8]
call fcn.10001480
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.10001a00
mov esi, dword [esp + 0x3c]
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esi], eax
mov dword [esp + 0xc], ebx
mov byte [esp + 0x30], bl
call fcn.100582f7
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004ac81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x1006a568
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x1006a596
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x1006a59d
cmp ebx, dword [eax + 4]
jae 0x1006a59d
xor eax, eax
jmp 0x1006a78d
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x1006a5ae
xor eax, eax
inc eax
jmp 0x1006a78c
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x1006a5c4
cmp ecx, edx
jae 0x1006a709
cmp dword [eax + 4], 0
je 0x1006a5cd
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x1006a5b5
cmp dword [ebp + 8], 0
je 0x1006a5ef
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x1006a709
cmp eax, esi
jae 0x1006a709
mov eax, dword [0xb92a570]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x1006a614
cmp dword [esi*4 + 0xb92a578], edi
je 0x1006a70d
inc esi
cmp esi, eax
jl 0x1006a602
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0xb8d7294]
test eax, eax
je 0x1006a789
cmp dword [ebp - 8], 0x1000000
jne 0x1006a789
test byte [ebp - 0xc], 0xcc
je 0x1006a692
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x1006a789
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1006a789
cmp word [eax + 0x18], 0x10b
jne 0x1006a789
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x1006a789
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x1006a692
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x1006a692
test byte [ecx + 0x27], 0x80
jne 0x1006a709
push 1
push 0xb92a5b8
call dword [0xb8d73c0]
test eax, eax
jne 0x1006a5a6
mov ecx, dword [0xb92a570]
test ecx, ecx
mov edx, ecx
jle 0x1006a6c6
lea eax, [ecx*4 + 0xb92a574]
cmp dword [eax], edi
je 0x1006a6c6
dec edx
sub eax, 4
test edx, edx
jg 0x1006a6ba
test edx, edx
jne 0x1006a6f7
push 0xf
pop ebx
cmp ecx, ebx
jg 0x1006a6d3
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x1006a6eb
lea eax, [edx*4 + 0xb92a578]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x1006a6d9
cmp ecx, 0x10
jge 0x1006a6f7
inc ecx
mov dword [0xb92a570], ecx
push 0
push 0xb92a5b8
call dword [0xb8d73c0]
jmp 0x1006a5a6
xor eax, eax
jmp 0x1006a78c
test esi, esi
jle 0x1006a5a6
mov ebx, dword [0xb8d73c0]
push 1
push 0xb92a5b8
call ebx
test eax, eax
jne 0x1006a5a6
cmp dword [esi*4 + 0xb92a578], edi
je 0x1006a763
mov eax, dword [0xb92a570]
lea esi, [eax - 1]
test esi, esi
jl 0x1006a751
cmp dword [esi*4 + 0xb92a578], edi
je 0x1006a74d
dec esi
jns 0x1006a741
test esi, esi
jge 0x1006a761
cmp eax, 0x10
jge 0x1006a75c
inc eax
mov dword [0xb92a570], eax
lea esi, [eax - 1]
jmp 0x1006a763
je 0x1006a77b
xor ecx, ecx
test esi, esi
jl 0x1006a77b
lea eax, [ecx*4 + 0xb92a578]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x1006a769
push 0
push 0xb92a5b8
call ebx
jmp 0x1006a5a6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4017ef
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov ebx, eax
test eax, eax
je 0x40180a
mov edx, dword [0x404050]
add edx, edx
jmp 0x401810
mov edx, dword [0x404050]
mov eax, 0x404054
call fcn.00401720
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x4031fd
push edx
sub edi, fcn.004029a7
push edi
xor eax, eax
push fcn.004029a7
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401865
mov eax, fcn.004029a7
mov ebx, esi
mov edx, edi
call fcn.00401720
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.004020e5
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x424040
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x350
push ebx
push ebp
push esi
mov esi, dword [esp + 0x360]
push edi
xor edi, edi
mov dword [esp + 0x14], ecx
push esi
mov dword [esp + 0x14], edi
call fcn.0040c9d0
add esp, 4
test eax, eax
je 0x42420e
mov ebx, dword [esp + 0x368]
test ebx, ebx
je 0x42420e
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [esp + 0x18]
push esi
push eax
call edi
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0040ce70
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 8
lea edx, [esp + 0x18]
push ebx
push edx
call ebp
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424137
call fcn.004246e0
lea edx, [esp + 0x11c]
push esi
push edx
call edi
lea eax, [esp + 0x11c]
push 0x104
push eax
call fcn.0040ce70
add esp, 8
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x11c]
push ecx
push edx
call ebp
test byte [esp + 0x220], 0x10
jne 0x42411d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jl 0x42411d
inc dword [esp + 0x10]
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4240c3
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x18]
push esi
push ecx
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0040ce70
add esp, 8
lea eax, [esp + 0x18]
push 0x42b1bc
push eax
call ebp
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4241fd
call fcn.004246e0
test byte [esp + 0x220], 0x10
je 0x4241e3
cmp byte [esp + 0x24c], 0x2e
je 0x4241e3
lea eax, [esp + 0x11c]
push esi
push eax
call edi
lea ecx, [esp + 0x11c]
push 0x104
push ecx
call fcn.0040ce70
add esp, 8
lea edx, [esp + 0x24c]
lea eax, [esp + 0x11c]
push edx
push eax
call ebp
mov ecx, dword [esp + 0x368]
lea edx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00424040
add dword [esp + 0x10], eax
lea eax, [esp + 0x220]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x42417b
push ebx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x350
ret 8
Function at 0x405a30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x460fcb
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.00455efb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405ab2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00453e4a
mov eax, dword [eax]
push 0x4751f0
push eax
call fcn.00446b14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00456186
test bl, bl
je 0x405ab2
push 0x4751f0
lea ecx, [esp + 0xc]
call fcn.00456516
push 0x478d40
lea ecx, [esp + 0xc]
call fcn.00456516
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 0x405aee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00456186
jmp 0x405bb9
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 0x405b72
lea edx, [esp + 0x7c]
push 0x478d3c
push edx
call fcn.00446b14
add esp, 8
test eax, eax
je 0x405b72
lea eax, [esp + 0x7c]
push 0x478d38
push eax
call fcn.00446b14
add esp, 8
test eax, eax
je 0x405b72
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 0x405b02
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.00456186
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 0x4063b0
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 0x406412
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 0x406420
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46104b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x47f288]
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 0x406558
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406486
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00456186
xor eax, eax
jmp 0x4065cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004562c3
push esi
lea ecx, [esp + 0xc]
call fcn.00456552
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 0x4065ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004063b0
test eax, eax
jne 0x4065ad
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.004063b0
test eax, eax
jne 0x4065ad
lea eax, [esp + 0x14]
push 0x478d54
push eax
call fcn.00447b50
mov esi, eax
add esp, 8
test esi, esi
jne 0x40658c
lea ecx, [esp + 0x14]
push 0x478d50
push ecx
call fcn.00447ad0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40658c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40658f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00456273
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40649e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00456186
xor eax, eax
jmp 0x4065cf
mov byte [esi], 0
push 0x478d4c
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.00456186
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 0x416ad0
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 0x416b3e
cmp si, 0x69
ja 0x416b3e
add esi, 0xffd0
cmp si, 0x11
je 0x416b0e
push 0x11
call edi
test ax, ax
jge 0x416b0e
or esi, 0x2000
cmp si, 0x10
je 0x416b23
push 0x10
call edi
test ax, ax
jge 0x416b23
or esi, 0x4000
cmp si, 0x12
je 0x416b38
push 0x12
call edi
test ax, ax
jge 0x416b38
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x416b4b
mov esi, 0xbd
jmp 0x416aff
cmp si, 0x6e
jne 0x416b58
mov esi, 0xbe
jmp 0x416aff
cmp si, 0x6f
jne 0x416af9
mov esi, 0xbf
jmp 0x416aff

Function at 0x4181f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x48f8d0]
xor edx, edx
cmp eax, edx
jne 0x418216
xor eax, eax
mov byte [eax + 0x48f7d0], al
inc eax
cmp eax, 0x100
jl 0x4181fe
mov dword [0x48f8d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x48f7d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4182a7
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 0x41827a
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 0x418248
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x418320
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 0x418373
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 0x41835a
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