joyce8/EMBER2024-capa huggingface dataset:
Function at 0x797cb0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push ebx
push esi
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.kernel32.dll_GetVersionExA]
lea eax, [esp + 0xc]
push eax
xor esi, esi
mov dword [esp + 0x10], 0x9c
call edi
mov ebx, eax
test ebx, ebx
jne 0x797d00
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call edi
test eax, eax
jne 0x797d00
pop edi
pop esi
pop ebx
add esp, 0x9c
ret
mov eax, dword [esp + 0x1c]
dec eax
je 0x797e58
dec eax
jne 0x797ea4
mov eax, dword [esp + 0x10]
cmp eax, 3
jne 0x797d29
cmp dword [esp + 0x14], 0x33
jne 0x797d7b
mov esi, 6
jmp 0x797d7b
cmp eax, 4
jne 0x797d3d
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x797d7b
mov esi, 7
jmp 0x797d7b
cmp eax, 5
jne 0x797d69
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x797d51
mov esi, 8
jmp 0x797d7b
cmp eax, 1
jne 0x797d5d
mov esi, 9
jmp 0x797d7b
cmp eax, 2
jne 0x797d7b
mov esi, 0xa
jmp 0x797d7b
cmp eax, 6
jne 0x797d7b
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x797d7b
mov esi, 0xb
cmp ebx, 1
jne 0x797ea4
cmp esi, 8
jne 0x797dd3
mov al, byte [esp + 0xa6]
cmp al, bl
jne 0x797da5
mov esi, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp al, 3
jne 0x797dba
mov esi, 0x28
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp al, 2
jne 0x797ea4
mov esi, 0x38
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp esi, 9
jne 0x797e09
cmp byte [esp + 0xa6], 1
jne 0x797ea4
mov esi, dword [esp + 0xa4]
pop edi
and esi, 0x200
neg esi
sbb esi, esi
and esi, 0xfffffff0
add esi, 0x29
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp esi, 0xa
jne 0x797ea4
mov al, byte [esp + 0xa6]
cmp al, 1
jne 0x797e2e
mov esi, 0x39
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp al, 3
jne 0x797e43
mov esi, 0x2a
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp al, 2
jne 0x797ea4
mov esi, 0x3a
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp dword [esp + 0x10], 4
jne 0x797ea4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x797e78
mov esi, 2
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp eax, 0xa
jne 0x797e9a
mov cl, byte [esp + 0x21]
xor edx, edx
cmp cl, 0x41
pop edi
sete dl
add edx, 3
mov esi, edx
mov eax, esi
pop esi
pop ebx
add esp, 0x9c
ret
cmp eax, 0x5a
jne 0x797ea4
mov esi, 5
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x9c
ret
Function at 0x7986d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
test edx, edx
je 0x798703
push ebx
push esi
lea esi, [edx]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x9edb4c]
xor eax, edx
inc ecx
dec esi
jne 0x7986e3
pop esi
pop ebx
not eax
ret

Function at 0x798710
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
ret
Function at 0x79e4e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
cdq
and edx, 0xf
add eax, edx
sar eax, 4
test eax, eax
jle 0x79e591
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
sub edi, ecx
mov esi, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
jmp 0x79e516
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
add edi, esi
mov ebp, 4
xor eax, eax
mov ebx, dword [ecx]
xor edx, edx
mov dl, byte [edi + eax]
shl ebx, 8
xor edx, ebx
inc eax
cmp eax, 4
mov dword [ecx], edx
jl 0x79e523
add ecx, 4
add edi, 4
dec ebp
jne 0x79e521
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0079c220
add esp, 0xc
lea ebp, [esp + 0x20]
mov edx, 4
mov edi, dword [ebp]
xor eax, eax
mov ecx, 0x18
mov ebx, edi
sub ecx, eax
add eax, 8
shr ebx, cl
inc esi
cmp eax, 0x20
mov byte [esi - 1], bl
jl 0x79e565
add ebp, 4
dec edx
jne 0x79e560
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x79e512
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret

Function at 0x79e5a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
cdq
and edx, 0xf
add eax, edx
sar eax, 4
test eax, eax
jle 0x79e651
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
sub edi, ecx
mov esi, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], eax
jmp 0x79e5d6
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
add edi, esi
mov ebp, 4
xor eax, eax
mov ebx, dword [ecx]
xor edx, edx
mov dl, byte [edi + eax]
shl ebx, 8
xor edx, ebx
inc eax
cmp eax, 4
mov dword [ecx], edx
jl 0x79e5e3
add ecx, 4
add edi, 4
dec ebp
jne 0x79e5e1
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0079d350
add esp, 0xc
lea ebp, [esp + 0x20]
mov edx, 4
mov edi, dword [ebp]
xor eax, eax
mov ecx, 0x18
mov ebx, edi
sub ecx, eax
add eax, 8
shr ebx, cl
inc esi
cmp eax, 0x20
mov byte [esi - 1], bl
jl 0x79e625
add ebp, 4
dec edx
jne 0x79e620
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x38], eax
jne 0x79e5d2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x79e660
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [esp + 0x38]
mov dword [esp], 0x12345678
cdq
and edx, 0xf
mov dword [esp + 4], 0x56785678
add eax, edx
mov dword [esp + 8], 0x9abc5678
sar eax, 4
test eax, eax
mov dword [esp + 0xc], 0xdeff5678
jle 0x79e737
mov ecx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
push edi
mov esi, ecx
sub ebx, ecx
mov dword [esp + 0x48], eax
lea edi, [ebx + esi]
xor ecx, ecx
xor eax, eax
mov ebp, dword [esp + ecx + 0x20]
xor edx, edx
mov dl, byte [edi + eax]
shl ebp, 8
xor edx, ebp
inc eax
cmp eax, 4
mov dword [esp + ecx + 0x20], edx
jl 0x79e6b3
mov eax, edx
mov edx, dword [esp + ecx + 0x10]
xor edx, eax
add edi, 4
mov dword [esp + ecx + 0x10], edx
add ecx, 4
cmp ecx, 0x10
jl 0x79e6b1
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0079c220
add esp, 0xc
xor ebp, ebp
mov edi, dword [esp + ebp + 0x30]
xor eax, eax
mov dword [esp + ebp + 0x10], edi
mov ecx, 0x18
mov edx, edi
sub ecx, eax
add eax, 8
shr edx, cl
inc esi
cmp eax, 0x20
mov byte [esi - 1], dl
jl 0x79e705
add ebp, 4
cmp ebp, 0x10
jl 0x79e6fb
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x48], eax
jne 0x79e6ac
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x79e740
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x48]
mov dword [esp], 0x12345678
cdq
and edx, 0xf
mov dword [esp + 4], 0x56785678
add eax, edx
mov dword [esp + 8], 0x9abc5678
sar eax, 4
test eax, eax
mov dword [esp + 0xc], 0xdeff5678
jle 0x79e825
mov ecx, dword [esp + 0x4c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
sub esi, ecx
mov edi, ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], eax
jmp 0x79e796
mov esi, dword [esp + 0x5c]
lea ecx, [esp + 0x20]
add esi, edi
mov ebp, 4
xor eax, eax
mov ebx, dword [ecx]
xor edx, edx
mov dl, byte [esi + eax]
shl ebx, 8
xor edx, ebx
inc eax
cmp eax, 4
mov dword [ecx], edx
jl 0x79e7a3
add ecx, 4
add esi, 4
dec ebp
jne 0x79e7a1
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.0079d350
add esp, 0xc
xor esi, esi
mov eax, dword [esp + esi + 0x30]
mov ecx, dword [esp + esi + 0x10]
xor eax, ecx
mov ecx, dword [esp + esi + 0x20]
mov dword [esp + esi + 0x40], eax
mov ebp, eax
mov dword [esp + esi + 0x10], ecx
xor eax, eax
mov ecx, 0x18
mov edx, ebp
sub ecx, eax
add eax, 8
shr edx, cl
inc edi
cmp eax, 0x20
mov byte [edi - 1], dl
jl 0x79e7f3
add esi, 4
cmp esi, 0x10
jl 0x79e7d9
mov eax, dword [esp + 0x58]
dec eax
mov dword [esp + 0x58], eax
jne 0x79e792
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x79fdf0
Capabilities:
Download url
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x7e3e2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push ebx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], bl
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x218], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x219]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x32c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x218]
push eax
push ecx
call fcn.0079fd60
add esp, 8
lea edx, [esp + 0x218]
lea eax, [esp + 0x114]
push 0x86c8bc
push edx
push 0x86c8b4
push eax
call fcn.007a3155
mov ecx, dword [esp + 0x340]
add esp, 0x10
lea edx, [esp + 0x10]
push 0x86c8bc
push ecx
push 0x865eb8
push edx
call fcn.007a3155
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.007a5cf5
add esp, 0x18
cmp eax, 0xffffffff
jne 0x79ff4e
lea ecx, [esp + 8]
call fcn.007a00b0
lea ecx, [esp + 0x114]
mov dword [esp + 0x324], ebx
push ecx
call dword [sym.imp.wininet.dll_DeleteUrlCacheEntry]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push ebx
lea ecx, [esp + 0x11c]
push eax
push ecx
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jmp 0x79ff3a
lea ecx, [esp + 8]
mov dword [esp + 0x324], 0xffffffff
call fcn.007a00d0
mov ecx, dword [esp + 0x31c]
pop edi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x320
ret

Function at 0x79ff70
Capabilities:
Delete file

Disassembly:
sub esp, 0x108
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x11c]
push 0x86c8bc
push edi
lea eax, [esp + 0x14]
push 0x865eb8
push eax
call fcn.007a3155
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jmp 0x79ffdc
push 0x86c8c8
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
jmp 0x7a000b
lea edx, [esp + 8]
push ebp
mov ebp, dword [esp + 0x118]
push edx
push 0
push edi
mov edi, dword [esp + 0x128]
mov dword [esp + 0x18], 0
push edi
push ebp
call eax
add esp, 0x14
test eax, eax
jmp 0x7a003e
mov eax, dword [esp + 0x124]
push eax
push edi
push ebp
call dword [esp + 0x18]
add esp, 0xc
mov edi, eax
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
cmp edi, 0xc500f002
pop ebp
jne 0x7a0077
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
pop edi
xor eax, eax
pop esi
add esp, 0x108
ret
pop edi
mov eax, 1
pop esi
add esp, 0x108
ret
Function at 0x7a02a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x7a02d7
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x86c8d0]
xor eax, edx
inc ecx
cmp ecx, esi
jl 0x7a02b5
pop edi
pop ebx
pop esi
ret 0xc

Function at 0x7a5cf5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x7a5d15
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.007a3a61
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x7a5d38
test byte [esp + 8], 2
je 0x7a5d38
call fcn.007a3ad4
mov dword [eax], 0xd
call fcn.007a3add
mov dword [eax], 5
jmp 0x7a5d11
xor eax, eax
ret
Function at 0x436dc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ea0bb
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.004dc97a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x436e42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004da333
mov eax, dword [eax]
push 0x6c826c
push eax
call fcn.004b9924
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004dcc05
test bl, bl
je 0x436e42
push 0x6c826c
lea ecx, [esp + 0xc]
call fcn.004dcfe1
push 0x6cbde4
lea ecx, [esp + 0xc]
call fcn.004dcfe1
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 0x436e7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004dcc05
jmp 0x436f49
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 0x436f02
lea edx, [esp + 0x7c]
push 0x6cbde0
push edx
call fcn.004b9924
add esp, 8
test eax, eax
je 0x436f02
lea eax, [esp + 0x7c]
push 0x6cbddc
push eax
call fcn.004b9924
add esp, 8
test eax, eax
je 0x436f02
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 0x436e92
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.004dcc05
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 0x437740
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 0x4377a2
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 0x4377b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ea13b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6d8aa0]
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 0x4378e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x437816
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004dcc05
xor eax, eax
jmp 0x43795f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004dcd8e
push esi
lea ecx, [esp + 0xc]
call fcn.004dd01d
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 0x43793d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.00437740
test eax, eax
jne 0x43793d
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 bind
mov ecx, edi
call fcn.00437740
test eax, eax
jne 0x43793d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004bab50
mov esi, eax
add esp, 8
test esi, esi
jne 0x43791c
lea ecx, [esp + 0x14]
push 0x6cbdf4
push ecx
call fcn.004baad0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43791c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43791f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004dcd3e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43782e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004dcc05
xor eax, eax
jmp 0x43795f
mov byte [esi], 0
push 0x6cbdf0
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.004dcc05
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 0x44b510
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 0x44b57e
cmp si, 0x69
ja 0x44b57e
add esi, 0xffd0
cmp si, 0x11
je 0x44b54e
push 0x11
call edi
test ax, ax
jge 0x44b54e
or esi, 0x2000
cmp si, 0x10
je 0x44b563
push 0x10
call edi
test ax, ax
jge 0x44b563
or esi, 0x4000
cmp si, 0x12
je 0x44b578
push 0x12
call edi
test ax, ax
jge 0x44b578
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44b58b
mov esi, 0xbd
jmp 0x44b53f
cmp si, 0x6e
jne 0x44b598
mov esi, 0xbe
jmp 0x44b53f
cmp si, 0x6f
jne 0x44b539
mov esi, 0xbf
jmp 0x44b53f

Function at 0x44d040
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6ea768]
xor edx, edx
cmp eax, edx
jne 0x44d066
xor eax, eax
mov byte [eax + 0x6ea668], al
inc eax
cmp eax, 0x100
jl 0x44d04e
mov dword [0x6ea768], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6ea668
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44d0f7
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 0x44d0ca
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 0x44d098
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44d170
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 0x44d1c3
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 0x44d1aa
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
Function at 0x453f20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4540b8
cmp ebp, ebx
jle 0x4540b8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x453f7e
dec eax
or eax, 0xfffffff8
inc eax
je 0x453f85
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x453f94
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x453f9b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004dc946
add esp, 4
cmp eax, ebx
je 0x453fbc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004dc946
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4540ae
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x454095
mov al, byte [edx]
cmp al, 0xc0
jbe 0x454081
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x454076
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x454084
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x454084
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x454020
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x454011
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret

Function at 0x456620
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.004de2c9
lea eax, [esp + 4]
mov dword [esi], method.CWnd.virtual_0
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
mov dword [esi + 0x44], 0x4d12
inc eax
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
add esp, 0x190
ret