joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49dea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ed8
xor eax, eax
push ebp
push 0x49df90
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.0049cec4
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409c30
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0049e79c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409af4
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0049e810
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49df97
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a40
ret
Function at 0x49dfa0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ed8
xor eax, eax
push ebp
push 0x49e0a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.0049cec4
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
cmp dword [ebp - 4], 0
je 0x49e066
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409c30
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0049e79c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409af4
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0049e810
jmp 0x49e078
xor edx, edx
mov eax, ebx
call fcn.0049e79c
xor edx, edx
mov eax, ebx
call fcn.0049e810
xor eax, eax
mov dword [ebx + 0x3c], eax
mov byte [ebx + 0x40], 0
mov byte [ebx + 0x42], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e0a7
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a40
ret

Function at 0x4a4714
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x174]
mov edx, ebx
mov eax, edi
call fcn.004a4938
mov esi, eax
mov dword [edi + 0x174], esi
and esi, 0xff
add dword [edi + 0x178], esi
imul esi, dword [edi + 0x178], 0x8088405
inc esi
mov dword [edi + 0x178], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x17c]
mov eax, edi
call fcn.004a4938
mov dword [edi + 0x17c], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4a4788
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4a47ad
inc esi
mov eax, edi
call fcn.004a476c
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.004a4714
inc ebx
dec esi
jne 0x4a4797
pop edi
pop esi
pop ebx
ret
Function at 0x4a483c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404ed8
xor eax, eax
push ebp
push 0x4a48b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004a47b4
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004a476c
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004a4714
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4a487c
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a48b8
lea eax, [ebp - 4]
call fcn.00404a1c
ret
Function at 0x4a9b14
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4a9b42
mov eax, ebx
call fcn.004aa5cc
cmp dword [ebx + 0x3c], 0
je 0x4a9b3b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4a9bb3
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4a9ba5
cmp dword [ebx + 8], 0
je 0x4a9b64
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4a9b76
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a9ba5
cmp dword [ebx + 8], 0
je 0x4a9b57
cmp eax, 3
je 0x4a9b89
dec eax
jne 0x4a9b57
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a9b57
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4a9b57
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4a9bd1
cmp dword [ebx + 0x10], 0xcc
je 0x4a9bd1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a9bdc
pop ebx
ret

Function at 0x4b9f7c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41942c]
call fcn.00405468
xor eax, eax
push ebp
push 0x4ba0c0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4cd7fc], 0
jne 0x4b9fcf
mov ecx, dword [0x4cda90]
mov dl, 1
mov eax, dword [0x408328]
call fcn.0040d824
call fcn.004043d8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403394
mov eax, ebx
call fcn.004052b8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4ba0d0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406920
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004052c8
test eax, eax
jle 0x4ba067
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4ba060
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404cb8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404c84
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409174
test eax, eax
jne 0x4ba060
mov ebx, 0x15
jmp 0x4ba06c
mov ebx, 0x10
jmp 0x4ba06c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4cd7fc]
call fcn.004b9ed4
mov eax, dword [ebp - 8]
call fcn.004b9ed4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406938
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba0c7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404a40
lea eax, [ebp - 0x10]
mov edx, dword [0x41942c]
call fcn.00405538
ret
Function at 0x4c3278
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
add esi, 0xfffffbf4
mov eax, dword [ebp + 8]
mov word [eax - 0x1a5c], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0x1a58], 0
jne 0x4c32b8
mov eax, dword [ebp + 8]
mov word [eax - 0x1a5c], 1
mov eax, dword [ebp + 8]
mov dword [eax - 0x1a58], 0x10000
mov eax, 0x7fff
mov edx, dword [esi]
mov edx, dword [edx + 0xb94]
mov word [edx + eax*2], 0
mov eax, edx
xor ecx, ecx
mov edx, 0xfffe
call fcn.00407d6c
mov eax, dword [esi]
mov eax, dword [eax + 0x1b0]
mov ax, word [eax*8 + 0x4cd8ba]
mov edx, dword [ebp + 8]
mov word [edx - 0x1a62], ax
mov eax, dword [esi]
mov eax, dword [eax + 0x1b0]
mov ax, word [eax*8 + 0x4cd8b8]
mov edx, dword [ebp + 8]
mov word [edx - 0x1a64], ax
mov eax, dword [esi]
mov eax, dword [eax + 0x1b0]
movzx eax, word [eax*8 + 0x4cd8bc]
mov edx, dword [ebp + 8]
mov dword [edx - 0x1a68], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x1b0]
mov ax, word [eax*8 + 0x4cd8be]
mov edx, dword [ebp + 8]
mov word [edx - 0x1a6a], ax
mov eax, dword [esi]
mov eax, dword [eax + 0x1b0]
cmp eax, 2
jg 0x4c335c
mov eax, dword [esi]
mov eax, dword [eax + 0x26c]
or word [eax + 8], 4
jmp 0x4c336e
cmp eax, 8
jl 0x4c336e
mov eax, dword [esi]
mov eax, dword [eax + 0x26c]
or word [eax + 8], 2
mov eax, dword [ebp + 8]
mov word [eax - 0x10fe], 0
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x1104], edx
mov bx, 0x8000
mov eax, dword [ebp + 8]
lea edi, [eax - 0x420]
mov eax, dword [esi]
mov edx, dword [eax + 0xb8c]
mov ecx, ebx
mov eax, dword [edi + 4]
call dword [edi]
mov edx, dword [ebp + 8]
mov word [edx - 0x1a5a], ax
mov eax, dword [ebp + 8]
cmp word [eax - 0x1a5a], 0
je 0x4c33c6
mov eax, dword [ebp + 8]
cmp word [eax - 0x1a5a], 0xffff
jne 0x4c33de
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a5f], 1
mov eax, dword [ebp + 8]
mov word [eax - 0x1a5a], 0
jmp 0x4c3442
mov eax, dword [ebp + 8]
mov byte [eax - 0x1a5f], 0
mov eax, dword [ebp + 8]
cmp word [eax - 0x1a5a], 0x106
jae 0x4c3400
mov eax, dword [ebp + 8]
push eax
call fcn.004c30a0
pop ecx
mov eax, dword [ebp + 8]
mov word [eax - 0x1a6c], 0
xor ebx, ebx
movzx eax, bx
mov edx, dword [esi]
mov edx, dword [edx + 0xb8c]
movzx eax, byte [edx + eax]
mov edx, dword [ebp + 8]
mov dx, word [edx - 0x1a6c]
shl edx, 5
xor ax, dx
and ax, 0x7fff
mov edx, dword [ebp + 8]
mov word [edx - 0x1a6c], ax
inc ebx
cmp bx, 2
jne 0x4c340e
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4c81d0
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffed0
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x1c8], 0
je 0x4c81f4
mov eax, dword [ebx + 0x1c8]
call fcn.0049d0a8
test al, al
jne 0x4c820a
push esp
push 0x12d
call sub.kernel32.dll_GetTempPathA
mov edx, esi
mov eax, esp
call fcn.0049d3ac
jmp 0x4c8217
mov eax, esi
mov edx, dword [ebx + 0x1c8]
call fcn.00404a70
add esp, 0x130
pop esi
pop ebx
ret

Function at 0x4c95a0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push 0x105
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404c84
add esp, 0x108
pop ebx
ret
Function at 0x614af0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18e000]
push edi
or ebp, 0xffffffff
jmp 0x614b12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x614b19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x614b08
mov eax, 1
add ebx, ebx
jne 0x614b2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x614b3c
jne 0x614b5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x614b5b
dec eax
add ebx, ebx
jne 0x614b48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x614b20
add ebx, ebx
jne 0x614b57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x614bad
xor ecx, ecx
sub eax, 3
jb 0x614b73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x614be2
sar eax, 1
mov ebp, eax
jmp 0x614b7e
add ebx, ebx
jne 0x614b7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x614b4c
inc ecx
add ebx, ebx
jne 0x614b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x614b4c
add ebx, ebx
jne 0x614b99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x614b8e
jne 0x614baa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x614b8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x614bcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x614bbe
jmp 0x614b0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x614bcc
add edi, ecx
jmp 0x614b0e
pop esi
mov edi, esi
mov ecx, 0x2cd9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x614bea
cmp byte [edi], 0x13
jne 0x614bea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x614bef
lea edi, [esi + 0x211000]
mov eax, dword [edi]
or eax, eax
je 0x614c67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x236618]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23671c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x614c1c
mov ecx, edi
jns 0x614c4b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x236720]
or eax, eax
je 0x614c61
mov dword [ebx], eax
add ebx, 4
jmp 0x614c39
call dword [esi + 0x236728]
mov ebp, dword [esi + 0x236724]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x614c9b
sub esp, 0xffffff80
jmp 0x4547be
Function at 0x41b37c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041b52c
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x41b47a
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x41b41d
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x41b460
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x41b434
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x41b44f
test al, 0x40
je 0x41b446
mov ecx, dword [edi + 0x20]
jmp 0x41b44d
test al, 0x80
je 0x41b460
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x41b460
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x41b3ec
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x43db80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4da8eb
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.004ce93c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43dc02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004cbf25
mov eax, dword [eax]
push 0x854e70
push eax
call fcn.004bce54
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004cebc7
test bl, bl
je 0x43dc02
push 0x854e70
lea ecx, [esp + 0xc]
call fcn.004cef57
push 0x854e7c
lea ecx, [esp + 0xc]
call fcn.004cef57
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 0x43dc3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004cebc7
jmp 0x43dd09
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 0x43dcc2
lea edx, [esp + 0x7c]
push 0x854e78
push edx
call fcn.004bce54
add esp, 8
test eax, eax
je 0x43dcc2
lea eax, [esp + 0x7c]
push 0x854e74
push eax
call fcn.004bce54
add esp, 8
test eax, eax
je 0x43dcc2
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 0x43dc52
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.004cebc7
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 0x43e500
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 0x43e562
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 0x43e570
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4da96b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x866350]
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 0x43e6a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43e5d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cebc7
xor eax, eax
jmp 0x43e71f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ced04
push esi
lea ecx, [esp + 0xc]
call fcn.004cef93
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 0x43e6fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0043e500
test eax, eax
jne 0x43e6fd
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 SysReAllocString
mov ecx, edi
call fcn.0043e500
test eax, eax
jne 0x43e6fd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004bdfa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43e6dc
lea ecx, [esp + 0x14]
push 0x854e88
push ecx
call fcn.004bdf20
mov esi, eax
add esp, 8
test esi, esi
jne 0x43e6dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43e6df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004cecb4
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43e5ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004cebc7
xor eax, eax
jmp 0x43e71f
mov byte [esi], 0
push 0x854e84
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.004cebc7
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 0x453cc0
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 0x453d2e
cmp si, 0x69
ja 0x453d2e
add esi, 0xffd0
cmp si, 0x11
je 0x453cfe
push 0x11
call edi
test ax, ax
jge 0x453cfe
or esi, 0x2000
cmp si, 0x10
je 0x453d13
push 0x10
call edi
test ax, ax
jge 0x453d13
or esi, 0x4000
cmp si, 0x12
je 0x453d28
push 0x12
call edi
test ax, ax
jge 0x453d28
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x453d3b
mov esi, 0xbd
jmp 0x453cef
cmp si, 0x6e
jne 0x453d48
mov esi, 0xbe
jmp 0x453cef
cmp si, 0x6f
jne 0x453ce9
mov esi, 0xbf
jmp 0x453cef

Function at 0x4559f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x876d48]
xor edx, edx
cmp eax, edx
jne 0x455a16
xor eax, eax
mov byte [eax + 0x876c48], al
inc eax
cmp eax, 0x100
jl 0x4559fe
mov dword [0x876d48], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x876c48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x455aa7
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 0x455a7a
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 0x455a48
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x455b20
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 0x455b73
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 0x455b5a
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