joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102a700c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10337f00], 0
mov dword [0x10337f04], 0
mov dword [0x10337f10], 0
mov dword [0x10337ef8], 0x498
mov dword [0x10337efc], 0xe3f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jne 0x102a708b
mov dword [0x10337ef8], 0x397
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
mov dword [0x10337ef8], 0xfffff2ab
add eax, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x10337f00], edx
mov dword [0x10337efc], 0x83e
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10337f04], edx
mov dword [0x10337ef8], 0x1daa
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x10337f08], cl
mov dword [0x10337ef8], 0x2573
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10337f08]
mov edx, dword [0x10337f04]
mov byte [ebx + edx], cl
mov dword [0x10337ef8], 0x258c
mov edx, dword [0x10337f00]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10337f04]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10337f10], ecx
mov dword [0x10337efc], 0x1aff
mov dword [0x10337ef8], 0xfa
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov byte [0x10337f15], ch
mov byte [0x10337f16], cl
xor ch, cl
mov byte [0x10337f14], ch
mov dword [0x10337ef8], 0x28d6
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov dword [0x10337efc], 0x7d8
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x102a7079
mov eax, dword [0x10337f04]
mov ecx, dword [0x10337f00]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
jmp 0x102a708b
Function at 0x102a726f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, 0x24f6
mov dword [0x10337f04], 0
mov byte [0x10337f08], 0
mov dword [0x10337efc], 0x1ef1
mov dword [0x10337ef8], 0x24f6
mov dword [0x10337f00], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffe203
mov dword [0x10337ef8], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [0x10337ef8]
mov esi, ecx
add esi, 0xffffe242
mov dword [0x10337efc], esi
mov esi, dword [0x10337f00]
add esi, 1
mov dword [0x10337f00], esi
cmp esi, 0x100
mov edi, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jl 0x102a72c6
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffff6b9
mov dword [0x10337ef8], 0x102a
mov dword [0x10337f00], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, 0x1ed7
mov esi, 0x100
mov dword [0x10337f0c], 0
mov dword [0x10337ef8], eax
mov eax, dword [0x10337f04]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x10337f0c], ebx
mov dword [0x10337ef8], 0x1a9c
mov eax, ebx
cdq
idiv esi
mov dword [0x10337f04], edx
mov dword [0x10337efc], 0x2bd1
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x10337f08], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10337f08]
mov ecx, dword [0x10337f04]
mov byte [esi + ecx], bl
mov dword [0x10337efc], 0xa60
mov dword [0x10337ef8], 0x2186
mov ecx, dword [0x10337f00]
add ecx, 1
mov dword [0x10337f00], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jl 0x102a733e
mov dword [0x10337ef8], 0xfffff31b
mov dword [0x10337efc], 0xffffe0e4
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102a741f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x10337efc], 0x27a
mov dword [0x10337ef8], 0x121c
mov dword [ebp - 0x10], eax
call fcn.102a6170
xor ecx, ecx
mov edx, eax
mov dword [0x10337efc], 0x3660
mov esi, dword [eax + 0x3c]
mov dword [0x10337ef8], 0x17e2
mov esi, dword [eax + esi + 0x78]
mov dword [0x10337efc], 0x18a9
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x10337ef8], 0x1d5d
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x102a758b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x2c], eax
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [0x10337ef8], 0x1c5e
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x102a7530
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x102a74df
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x102a7568
jmp 0x102a7539
mov eax, dword [ebp - 0x3c]
add eax, 2
mov dword [ebp - 0x50], eax
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], eax
jb 0x102a74bb
jmp 0x102a758b
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10337ef8], 0x2555
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102a7596
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10337ef8]
mov ecx, eax
add ecx, 0xffffeae2
mov dword [0x10337efc], ecx
mov dword [ebp - 4], 0
add eax, 0xffffe7ca
mov dword [0x10337ef8], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10337ef8], 0x256b
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x102a760a
mov eax, dword [ebp - 0x14]
mov dword [0x10337ef8], 0x7e6
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x102a7639
jmp 0x102a76f3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
je 0x102a75e9
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x102a760a
jmp 0x102a75e9
mov dword [0x10337ef8], 0xe40
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x102a76f3
mov dword [0x10337efc], 0x242f
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff5
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2], 0x61
jne 0x102a76f3
mov dword [0x10337ef8], 0x6f6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x102a76f3
mov dword [0x10337ef8], 0xf06
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x102a76f3
mov dword [0x10337ef8], 0x2a3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x102a76f3
mov dword [0x10337ef8], 0x1286
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff9
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, 1
mov ecx, dword [ebp - 0x24]
cmp word [ecx], 0x6c
mov dword [ebp - 0x28], eax
je 0x102a770a
xor eax, eax
mov ecx, dword [0x10337efc]
add ecx, 0xa08
mov dword [0x10337ef8], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop ebp
ret
Function at 0x40ab63
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441e68]
jne 0x40ab6d
repz ret
jmp fcn.0040db58

Function at 0x40d782
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441e68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004079de
and dword [ebp - 0x14], 0
cmp dword [0x4593e8], 0
mov dword [ebp - 0x18], eax
jne 0x40d835
push 0x40454c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40d8dd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404540
push ebx
call edi
test eax, eax
je 0x40d8dd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404530
push ebx
mov dword [0x4593e8], eax
call edi
push eax
call esi
push 0x40451c
push ebx
mov dword [0x4593ec], eax
call edi
push eax
call esi
push 0x404500
push ebx
mov dword [0x4593f0], eax
call edi
push eax
call esi
mov dword [0x4593f8], eax
test eax, eax
je 0x40d835
push 0x4044e8
push ebx
call edi
push eax
call esi
mov dword [0x4593f4], eax
mov eax, dword [0x4593f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40d88e
cmp dword [0x4593f8], ecx
je 0x40d88e
push eax
call esi
push dword [0x4593f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40d88e
test ebx, ebx
je 0x40d88e
call edi
test eax, eax
je 0x40d885
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40d885
test byte [ebp - 8], 1
jne 0x40d88e
or dword [ebp + 0x10], 0x200000
jmp 0x40d8c1
mov eax, dword [0x4593ec]
cmp eax, dword [ebp - 0x18]
je 0x40d8c1
push eax
call esi
test eax, eax
je 0x40d8c1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40d8c1
mov eax, dword [0x4593f0]
cmp eax, dword [ebp - 0x18]
je 0x40d8c1
push eax
call esi
test eax, eax
je 0x40d8c1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4593e8]
call esi
test eax, eax
je 0x40d8dd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40d8df
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ab63
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
nop
mov ecx, 0x1eea569e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xdb14ccf
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4301c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14c0
call fcn.004307f0
call dword [sym.imp.USER32.dll_GetDialogBaseUnits]
push 0x101a
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x4301eb
xor eax, eax
jmp 0x430396
push 0x7f04
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x430203
xor eax, eax
jmp 0x430396
push 0x432190
push str.gdi32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x436834], eax
mov edx, dword [ebp + 8]
mov dword [0x432124], edx
mov dword [0x43210c], ebp
mov eax, dword [str.Interfac4b196b287_bab4_101a_b69c_00aa00341d07]
mov byte [eax + 8], 0x65
push 0x436840
mov ecx, dword [str.Interfac4b196b287_bab4_101a_b69c_00aa00341d07]
push ecx
mov edx, dword [0x432130]
sub edx, 2
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x14bc], eax
cmp dword [ebp - 0x14bc], 0
je 0x43026d
mov eax, 1
test eax, eax
je 0x43026d
jmp 0x430262
mov ecx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [0x436844], ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.0042ff30
mov dword [0x432128], eax
push 0x15
call fcn.004300b0
add esp, 4
mov dword [0x4320f8], eax
push 0x7e45
call fcn.0042fe90
add esp, 4
mov dword [0x432118], 0
mov edx, dword [0x432118]
mov dword [0x43211c], edx
mov dword [0x432114], 0x19
mov dword [ebp - 0x14c0], 0
mov eax, dword [0x43211c]
mov dword [0x43211c], eax
mov ecx, dword [0x4320fc]
add ecx, dword [ebp - 0x14c0]
push ecx
mov edx, dword [0x432110]
add edx, dword [ebp - 0x14c0]
push edx
call fcn.004307c0
add esp, 8
mov dword [0x436820], eax
mov eax, dword [0x432118]
cmp eax, dword [0x4320f8]
jb 0x430311
jmp 0x43038c
push 1
call fcn.00430100
add esp, 4
mov ecx, dword [0x436820]
mov dword [0x432100], ecx
mov edx, dword [0x432110]
mov eax, dword [0x432114]
lea ecx, [eax + edx + 0x15]
sub ecx, dword [ebp - 0x14c0]
add ecx, dword [0x43211c]
mov dword [0x43211c], ecx
mov edx, dword [0x43211c]
sub edx, 0x15
mov dword [0x43211c], edx
mov eax, dword [0x432110]
add eax, dword [ebp - 0x14c0]
add eax, dword [0x432118]
mov dword [0x432118], eax
mov ecx, dword [0x4320fc]
sub ecx, dword [0x432100]
mov dword [0x4320fc], ecx
mov edx, 1
test edx, edx
jne 0x4302c7
call fcn.0042fe60
jmp fcn.00430190
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b008]
jne 0x40100a
repz ret
jmp fcn.004019c6

Function at 0x40908b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004034d0
and dword [ebp - 4], 0
cmp dword [0x42f9a0], 0
mov ebx, eax
jne 0x40913c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4091ed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4091ed
push eax
call fcn.0040345e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42f9a0], eax
call esi
push eax
call fcn.0040345e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42f9a4], eax
call esi
push eax
call fcn.0040345e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42f9a8], eax
call esi
push eax
call fcn.0040345e
pop ecx
mov dword [0x42f9b0], eax
test eax, eax
je 0x40913c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040345e
pop ecx
mov dword [0x42f9ac], eax
mov eax, dword [0x42f9ac]
cmp eax, ebx
je 0x409194
cmp dword [0x42f9b0], ebx
je 0x409194
push eax
call fcn.004034d9
push dword [0x42f9b0]
mov esi, eax
call fcn.004034d9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409194
test edi, edi
je 0x409194
call esi
test eax, eax
je 0x40918b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40918b
test byte [ebp - 0xc], 1
jne 0x409194
or dword [ebp + 0x10], 0x200000
jmp 0x4091cd
mov eax, dword [0x42f9a4]
cmp eax, ebx
je 0x4091cd
push eax
call fcn.004034d9
pop ecx
test eax, eax
je 0x4091cd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4091cd
mov eax, dword [0x42f9a8]
cmp eax, ebx
je 0x4091cd
push eax
call fcn.004034d9
pop ecx
test eax, eax
je 0x4091cd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42f9a0]
call fcn.004034d9
pop ecx
test eax, eax
je 0x4091ed
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4091ef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b7ff
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1ba5eac], 0x930
jne 0x40b81c
push str.pejideduroc
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1ba5eac], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1ba5cf0], eax
jne 0x40b83c
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
leave
ret
Function at 0x40b846
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp edi, 0x19f
jne 0x40b860
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor edx, edx
cmp edi, esi
jle 0x40b890
lea ecx, [ebp - 8]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call fcn.0040b83e
mov eax, dword [ebp - 8]
add eax, 0x64
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0x64
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edx
xor byte [eax], cl
inc edx
cmp edx, edi
jl 0x40b866
pop esi
cmp edi, 0x2d
jne 0x40b8a7
or dword [0x1ba5fe4], 0xffffffff
mov dword [0x1ba5fe0], 0xa62e7790
leave
ret
Function at 0x43a870
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
mov byte [ebp - 8], dl
test dl, dl
jle 0x43a883
call fcn.004bb6f8
mov ebx, ecx
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], eax
mov eax, 0x4d1b04
call fcn.004ae0a4
mov word [ebp - 0x18], 8
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049ca08
add dword [ebp - 0xc], 2
mov edx, dword [ebp - 4]
mov byte [edx + 0x41], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x42], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
mov eax, dword [ebp - 4]
cmp byte [ebp - 0x29], 0
je 0x43a8e1
call fcn.004bb705
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449270
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00448e6c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004ab3f4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4492ce
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d6684]
mov dl, 1
mov eax, dword [0x448d64]
call fcn.004a5e40
call fcn.004aaaac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4492d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004ab3f4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x449330
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d6688]
mov dl, 1
mov eax, dword [0x448d64]
call fcn.004a5e40
call fcn.004aaaac
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00448e9c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44b224
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004aafb0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44b273
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.004ab1e0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4520b4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4520ba
ret
Function at 0x463a50
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463bfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x463bdc
mov dl, 1
mov eax, dword [0x494654]
call fcn.004aa2e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004aafb0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x463bcb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0047f398
test al, al
je 0x463bbe
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x463c0c
lea eax, [ebp - 0x254]
call fcn.004a3ae4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x463bbe
xor eax, eax
push ebp
push 0x463bb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x463c44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x463ba0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004ab1e0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x463ba0
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004ab1e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463bbe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463ac1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00497f18
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463c02
lea eax, [ebp - 0x260]
call fcn.004aafb0
ret

Function at 0x464448
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d6a44]
cmp byte [eax + 0x95], 0
jne 0x4644b9
cmp dword [0x4d6a60], 0
jne 0x46447a
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x464404
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d6a60], eax
cmp dword [0x4d6a5c], 0
jne 0x464495
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d6a5c], eax
cmp dword [0x4d6a64], 0
jne 0x4644b9
push esp
push 0
push 0
push 0x4643a8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4d6a64], eax
pop edx
ret