joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405169
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x405187
xor eax, eax
inc eax
jmp 0x405212
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x40520f
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40520f
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x40517f
cmp dword [edi], 0x4550
jne 0x40520f
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x40520f
movzx eax, word [esi + 0x46]
test ax, ax
je 0x40520f
mov edi, eax
imul edi, edi, 0x28
push edi
mov dword [esi + 0x140], edi
call fcn.00425b3b
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x4051eb
push 3
jmp 0x405211
movzx ecx, word [esi + 0x54]
push dword [ebp + 0xc]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
push edi
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x405212
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x406c9d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x406cab
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x406d66
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43f800]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43f800]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43f800]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43f800]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43f800]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43f800]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43f800]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x43f800]
add edx, 8
sub edi, 8
dec esi
jne 0x406cc9
pop ebx
test edi, edi
je 0x406d7f
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x43f800]
inc edx
dec edi
jne 0x406d6a
pop edi
not eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x43f800]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x43f800]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x420ec1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x420ecf
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x420f8a
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
add edx, 8
sub edi, 8
dec esi
jne 0x420eed
pop ebx
test edi, edi
je 0x420fa3
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
inc edx
dec edi
jne 0x420f8e
pop edi
not eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + str.mcohilncbfahbmgdjkbpemcciiolgcge]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x421189
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4496f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x38]
push eax
push esi
call dword [0x45bfe0]
test eax, eax
jne 0x4211cc
mov eax, 0x200
jmp 0x421355
mov ecx, dword [ebp - 0x38]
xor eax, eax
push ebx
xor ebx, ebx
inc eax
mov dword [ebp - 0x40], ecx
and dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ebx
je 0x4211e3
mov dword [ebp - 0x3c], eax
test cl, 2
je 0x4211ec
or dword [ebp - 0x3c], 2
test cl, 4
je 0x4211f5
or dword [ebp - 0x3c], 4
mov eax, ecx
and eax, 0x10
je 0x421200
or dword [ebp - 0x3c], 0x10
test cl, 0x20
je 0x421209
or dword [ebp - 0x3c], 0x20
cmp eax, ebx
je 0x421216
or dword [ebp - 0x3c], 0x40000000
jmp 0x42121d
or dword [ebp - 0x3c], 0x80000000
or dword [ebp - 0x3c], 0x1000000
cmp dword [ebp - 0x40], ebx
jne 0x421230
or dword [ebp - 0x3c], 0x800000
push ebx
push esi
call dword [0x45c0c8]
mov dword [ebp - 0x48], eax
cmp eax, 0x28
jbe 0x4212d5
push ebx
push ebx
push ebx
push esi
call dword [0x45beec]
push ebx
lea eax, [ebp - 0x44]
push eax
push 2
lea eax, [ebp - 0x40]
push eax
push esi
call dword [0x45c00c]
push ebx
push ebx
push 0x24
push esi
call dword [0x45beec]
push ebx
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x4c]
push eax
push esi
call dword [0x45c00c]
mov eax, 0x54ad
cmp word [ebp - 0x40], ax
jne 0x4212d5
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x48], ecx
jbe 0x4212d5
push ebx
push ebx
push eax
push esi
call dword [0x45beec]
push ebx
lea eax, [ebp - 0x44]
push eax
push 4
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [0x45c00c]
mov eax, dword [ebp - 0x5c]
cmp eax, 0x5a4d
je 0x4212ce
cmp eax, 0x454e
je 0x4212ce
cmp eax, 0x454c
je 0x4212ce
cmp eax, 0x4550
jne 0x4212d5
or dword [ebp - 0x3c], 0x400000
mov eax, dword [ebp - 0x58]
cmp eax, ebx
je 0x4212e1
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x4212ed
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
cmp edi, ebx
je 0x421326
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004210f4
push dword [ebp - 0x20]
mov dword [edi], eax
push dword [ebp - 0x24]
mov dword [edi + 4], edx
call fcn.004210f4
push dword [ebp - 0x30]
mov dword [edi + 8], eax
push dword [ebp - 0x34]
mov dword [edi + 0xc], edx
call fcn.004210f4
add esp, 0x18
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov esi, dword [ebp - 0x54]
cmp esi, ebx
pop ebx
je 0x421353
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.00421118
movzx eax, word [ebp - 0x40]
movzx ecx, word [ebp - 0x3c]
shl eax, 0x10
add esp, 0x10
or eax, ecx
mov dword [esi], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004241da
leave
ret
Function at 0x421ff9
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x422026
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.00424160
mov ecx, dword [ebp + 0xc]
mov eax, ecx
movzx edx, word [eax*8 + 0x44170a]
mov dword [esi + 0x6af98], edx
movzx edx, word [eax*8 + 0x441708]
mov dword [esi + 0x6af9c], edx
movzx edx, word [eax*8 + 0x44170c]
mov dword [esi + 0x6afa0], edx
movzx eax, word [eax*8 + 0x44170e]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ecx, 2
jg 0x42208c
mov eax, dword [ebp + 0x10]
or word [eax], 4
jmp 0x422098
cmp ecx, 8
jl 0x422098
mov eax, dword [ebp + 0x10]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x4220ff
cmp eax, 0xffffffff
je 0x4220ff
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x4220da
push esi
call fcn.004205e5
pop ecx
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x4220e2
jmp 0x42210f
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4226c1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x4228c9
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x42273b
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x42277e
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x42277e
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x422765
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
push esi
call fcn.004204a1
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
pop ecx
cmp ebx, eax
jbe 0x42277e
mov ebx, eax
cmp ebx, 3
jb 0x422843
lea eax, [ebx - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.00420026
sub dword [esi + 0x6af90], ebx
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x422810
cmp eax, 3
jb 0x422810
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x4227be
jmp 0x422866
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x42286c
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.00420026
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [ebp + 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp + 8], 0
je 0x4228a8
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x422885
lea ecx, [eax + esi + 0x1af70]
jmp 0x422887
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.0042253e
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x4228bb
push esi
call fcn.004205e5
pop ecx
cmp dword [esi + 0x6af90], 0
jne 0x4226eb
pop edi
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x4228dc
lea ecx, [eax + esi + 0x1af70]
jmp 0x4228de
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.0042253e
add esp, 0x10
pop esi
pop ebx
leave
ret
Function at 0x40ec50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c2b9b
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.004b22cb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ecd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004aef05
mov eax, dword [eax]
push 0x4ee224
push eax
call fcn.0048eda4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b2556
test bl, bl
je 0x40ecd2
push 0x4ee224
lea ecx, [esp + 0xc]
call fcn.004b2932
push 0x4f1d9c
lea ecx, [esp + 0xc]
call fcn.004b2932
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 0x40ed0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b2556
jmp 0x40edd9
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 0x40ed92
lea edx, [esp + 0x7c]
push 0x4f1d98
push edx
call fcn.0048eda4
add esp, 8
test eax, eax
je 0x40ed92
lea eax, [esp + 0x7c]
push 0x4f1d94
push eax
call fcn.0048eda4
add esp, 8
test eax, eax
je 0x40ed92
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 0x40ed22
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.004b2556
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 0x40f5f0
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 0x40f652
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 0x40f660
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c2c1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4fcdcc]
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 0x40f798
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40f6c6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b2556
xor eax, eax
jmp 0x40f80f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b26df
push esi
lea ecx, [esp + 0xc]
call fcn.004b296e
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 0x40f7ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0040f5f0
test eax, eax
jne 0x40f7ed
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 SysReAllocStringLen
mov ecx, edi
call fcn.0040f5f0
test eax, eax
jne 0x40f7ed
lea eax, [esp + 0x14]
push 0x4f1db0
push eax
call fcn.004900c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f7cc
lea ecx, [esp + 0x14]
push 0x4f1dac
push ecx
call fcn.00490040
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f7cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40f7cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b268f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40f6de
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b2556
xor eax, eax
jmp 0x40f80f
mov byte [esi], 0
push 0x4f1da8
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.004b2556
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 0x412a7a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4c2fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004b3c1d
xor ebp, ebp
mov dword [esi], 0x4d2f68
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.0045bbd0
call fcn.00406a40
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.004b1364
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00406a40
mov dword [ebx], 0x4d1104
mov dword [edi], 0x4d2e8c
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], vtable.CFont.0
lea ecx, [esi + 0xb0]
call fcn.00406a40
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x4d2e94
mov dword [esi + 0xac], ebp
call fcn.004be480
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.004b971a
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x412c30
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4c3045
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4d2e94
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.004b9771
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x4d1100
call fcn.00406c40
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.004b9771
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x4d1100
call fcn.00406c40
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.004b1397
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x4d1100
call fcn.00406c40
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004bc637
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4234b0
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 0x42351e
cmp si, 0x69
ja 0x42351e
add esi, 0xffd0
cmp si, 0x11
je 0x4234ee
push 0x11
call edi
test ax, ax
jge 0x4234ee
or esi, 0x2000
cmp si, 0x10
je 0x423503
push 0x10
call edi
test ax, ax
jge 0x423503
or esi, 0x4000
cmp si, 0x12
je 0x423518
push 0x12
call edi
test ax, ax
jge 0x423518
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42352b
mov esi, 0xbd
jmp 0x4234df
cmp si, 0x6e
jne 0x423538
mov esi, 0xbe
jmp 0x4234df
cmp si, 0x6f
jne 0x4234d9
mov esi, 0xbf
jmp 0x4234df

Function at 0x424c60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50eb20]
xor edx, edx
cmp eax, edx
jne 0x424c86
xor eax, eax
mov byte [eax + 0x50ea20], al
inc eax
cmp eax, 0x100
jl 0x424c6e
mov dword [0x50eb20], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50ea20
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424d17
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 0x424cea
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 0x424cb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424d90
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 0x424de3
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 0x424dca
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