joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45771c
Capabilities:
Check os version

Disassembly:
sub esp, 0x34c
push ebp
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x114
push eax
mov esi, 0xc8
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4578a0
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x457883
sub eax, 1
jne 0x4578a0
lea eax, [esp + 0x120]
xor edi, edi
push eax
call fcn.004576d5
pop ecx
test eax, eax
je 0x457790
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
mov ebp, dword [esp + 0x12c]
cmp byte [esp + 0x23a], 1
jmp 0x4577c1
lea eax, [esp + 0x23c]
mov dword [esp + 0x23c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4578a0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x356], 1
jne 0x4577c6
xor edi, edi
inc edi
sub ecx, 3
je 0x45787f
sub ecx, 1
je 0x45787b
sub ecx, 1
je 0x457856
sub ecx, 1
je 0x457806
sub ecx, 4
jne 0x4578a0
test eax, eax
jne 0x4578a0
cmp ebp, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x4578a0
sub eax, 0
je 0x457848
sub eax, 1
je 0x45783a
sub eax, 1
je 0x45782c
sub eax, 1
jne 0x4578a0
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x4578a0
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x4578a0
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x4578a0
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x4578a0
sub eax, 0
je 0x457877
sub eax, 1
je 0x457873
sub eax, 1
jne 0x4578a0
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x4578a0
push 0x3c
jmp 0x45789f
push 0x32
jmp 0x45789f
push 0x14
jmp 0x45789f
push 5
jmp 0x45789f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45789d
cmp eax, 0xa
je 0x457899
cmp eax, 0x5a
jne 0x4578a0
push 0x28
jmp 0x45789f
push 0x1e
jmp 0x45789f
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x34c
ret
Function at 0x4590f8
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
xor edi, edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
and dword [esp + 0x10], edi
push str.PB_WindowID
push ebp
call dword [sym.imp.USER32.dll_GetPropW]
mov esi, eax
push 9
pop eax
test esi, esi
je 0x45918e
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x45918b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x14], eax
jne 0x45918b
lea eax, [esi - 1]
push eax
push dword [0x576108]
call fcn.00460e39
mov edi, eax
mov dword [esp + 0x10], 1
xor eax, eax
push 9
cmp dword [edi + 0x10], eax
jle 0x45918d
mov ecx, dword [edi + 4]
add ecx, 4
pop esi
cmp word [ecx - 2], si
jne 0x45917b
mov edx, 0xfa01
cmp word [ecx], dx
je 0x459186
inc eax
add ecx, 6
cmp eax, dword [edi + 0x10]
jl 0x45916b
jmp 0x45918b
and dword [esp + 0x10], 0
push 9
pop eax
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
test ebx, ebx
je 0x459234
push eax
call esi
test al, al
jns 0x459234
push 0x11
call esi
test al, al
js 0x459234
push 0x10
call esi
test al, al
js 0x459234
push 0x12
call esi
test al, al
js 0x459234
push 0x10
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [esp + 0x10], 0
jne 0x459234
push 5
lea eax, [esp + 0x1c]
push str.RichE
push eax
call fcn.00417192
add esp, 0xc
test eax, eax
je 0x459208
push 4
lea eax, [esp + 0x1c]
push str.RICHE
push eax
call fcn.00417192
add esp, 0xc
test eax, eax
jne 0x45921f
push 0
push 0
push 0x44e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x800
je 0x459275
lea eax, [esp + 0x18]
push str.Scintilla
push eax
call fcn.004ffbd4
pop ecx
pop ecx
test eax, eax
je 0x459275
test ebp, ebp
je 0x459258
push 0x11
call esi
test al, al
js 0x459250
push 0x10
call esi
test al, al
js 0x459250
push 0x12
call esi
test al, al
jns 0x459258
push 1
push ebp
call fcn.00459281
test ebx, ebx
je 0x45926c
push str.PB_Hotkey
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0x459275
test edi, edi
je 0x459275
mov eax, dword [edi + 8]
jmp 0x459277
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4

Function at 0x45ad5c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45add1
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x45ad7a
mov esi, 0x527268
push esi
call fcn.00415a8e
pop ecx
lea ebp, [eax*2 + 2]
push ebp
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x45adc8
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x45adc8
push ebp
push esi
push eax
call fcn.00423fc0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov edi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
pop ebx
mov eax, edi
pop edi
ret 4
Function at 0x45b6a7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
xor ebp, ebp
push esi
test ebx, ebx
je 0x45b6bb
mov esi, ebx
jmp 0x45b6cd
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x45b7bb
lea eax, [esp + 0x18]
push eax
push 0x18
pop eax
push eax
push dword [esp + 0x68]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x45b7b0
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push edi
mov edi, dword [esp + 0x24]
push 0x2c
push 0
push eax
mov dword [esp + 0x20], ebp
call fcn.00420840
add esp, 0xc
mov dword [esp + 0x34], 0x28
xor eax, eax
mov dword [esp + 0x38], ebp
inc eax
mov dword [esp + 0x3c], edi
mov word [esp + 0x40], ax
xor ecx, ecx
push 0x18
pop eax
push ecx
push ecx
mov word [esp + 0x4a], ax
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x54], ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x45b7af
push 0
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x18]
push edi
push 0
push dword [esp + 0x78]
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
imul edi, dword [esp + 0x14]
test edi, edi
jle 0x45b7af
mov ebp, dword [esp + 0x10]
push 3
pop ebx
movzx ecx, byte [ebp + 1]
xor edx, edx
movzx eax, byte [ebp + 2]
add eax, ecx
movzx ecx, byte [ebp]
add eax, ecx
div ebx
mov byte [ebp], al
mov ecx, dword [esp + 0x10]
mov byte [ecx + 1], al
mov ecx, dword [esp + 0x10]
mov byte [ecx + 2], al
mov ebp, dword [esp + 0x10]
add ebp, ebx
mov dword [esp + 0x10], ebp
sub edi, 1
jne 0x45b773
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x18]
pop edi
test ebx, ebx
jne 0x45b7bb
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x50
ret 8

Function at 0x45d9e0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x45da18
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45da13
xor eax, eax
cmp dword [esp + 0xc], esi
pop edi
sete al
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [edi + 4]
add eax, dword [edi + 8]
push esi
push dword [esp + 0x14]
push eax
call fcn.00423fc0
add dword [edi + 8], esi
add esp, 0xc
mov eax, 1
pop edi
pop esi
ret
Function at 0x4651f5
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push esi
push dword [ebp + 0xc]
push dword [edi + 4]
call sub.IMM32.dll_ImmGetCompositionStringW
mov ebx, eax
cdq
sub eax, edx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
sar eax, 1
push eax
call fcn.004627e3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46522a
mov eax, dword [esi]
push ebx
push eax
push dword [ebp + 0xc]
push dword [edi + 4]
call sub.IMM32.dll_ImmGetCompositionStringW
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x465e9f
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov eax, 0x51dc06
call fcn.004cafc4
sub esp, 0x60
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0048053f
mov ecx, dword [edi + 0x2ac]
push eax
mov dword [ebp - 0x1c], eax
call fcn.0049fb1c
mov edx, dword [edi + 0x2ac]
mov esi, eax
add edx, 4
push esi
push edx
mov ecx, dword [edx]
call dword [ecx + 0x18]
mov edx, dword [edi + 0x2ac]
add edx, 4
mov dword [ebp - 0x14], eax
push esi
push edx
mov ecx, dword [edx]
call dword [ecx + 0x54]
mov ecx, edi
mov esi, eax
call fcn.00463a21
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, edi
lea eax, [ebp - 0x54]
push eax
call fcn.004882fd
and dword [ebp - 4], 0
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x465f15
mov ecx, dword [eax]
push dword [ebp - 0x18]
push dword [eax + 0x10]
lea eax, [ebp - 0x3c]
push ecx
push eax
call fcn.0046831f
add esp, 0x10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.0046938a
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp + 8]
lea edx, [eax + eax]
mov dword [ebp - 0x18], edx
lea esi, [edx + 0x22]
test edi, edi
je 0x466009
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push edx
cmovae eax, dword [ebp - 0x3c]
lea ecx, [edi + 0x20]
push eax
push ecx
call fcn.00423fc0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [eax + 0x2b8]
push eax
mov dword [ebp - 0x24], eax
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
test eax, eax
jne 0x465f88
xor esi, esi
jmp 0x466009
push 8
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x24]
call fcn.004651f5
lea ecx, [ebp - 0x6c]
mov esi, dword [eax + 0x10]
call fcn.004693b0
push 0
push 0
push pe_nt_image_headers32
push dword [ebp - 0x20]
call sub.IMM32.dll_ImmGetCompositionStringW
neg eax
push eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov ecx, dword [eax + 0x2ac]
call fcn.0049e179
push eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax + 0x2ac]
call fcn.0049c458
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x20]
and dword [edi + 4], 0
push dword [ebp - 0x24]
mov dword [edi + 0x10], esi
mov dword [edi + 0x18], esi
mov esi, dword [ebp - 0x18]
mov dword [edi + 8], ecx
add esi, 0x22
lea ecx, [eax + eax]
mov dword [edi + 0xc], 0x20
mov dword [edi + 0x14], ecx
mov dword [edi + 0x1c], ecx
call sub.IMM32.dll_ImmReleaseContext
lea ecx, [ebp - 0x3c]
call fcn.004693b0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x466fbd
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [esp + 4]
mov ecx, edx
cwde
shr eax, 0x1f
add eax, eax
shr ecx, 3
and ecx, 1
shr edx, 2
or eax, ecx
and edx, 1
add eax, eax
or eax, edx
ret

Function at 0x46724d
Capabilities:
Open clipboard

Disassembly:
push esi
xor esi, esi
test esi, esi
jle 0x467263
xor eax, eax
lea ecx, [esi - 1]
inc eax
shl eax, cl
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x46727b
inc esi
cmp esi, 8
jl 0x467250
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x467420
Capabilities:
Read clipboard data

Disassembly:
mov eax, 0x51dd1b
call fcn.004cafc4
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x2b8]
call fcn.0046724d
pop ecx
test al, al
je 0x46759c
mov eax, dword [esi + 0x2ac]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x20], cl
mov dword [ebp - 0x24], eax
lea ecx, [eax + 0x10]
call fcn.00476ca5
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call fcn.00489103
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test al, al
je 0x46748a
movzx eax, word [esi + 0x86a]
push eax
call edi
test eax, eax
jne 0x467487
movzx eax, word [esi + 0x86c]
push eax
call edi
test eax, eax
je 0x46748a
push 2
pop ebx
cmp dword [esi + 0x53c], 1
mov ecx, esi
sete al
movzx eax, al
push eax
call fcn.0047fd27
movzx eax, word [esi + 0x866]
push eax
call edi
test eax, eax
setne byte [ebp - 0xd]
test eax, eax
jne 0x4674fc
movzx eax, word [esi + 0x868]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4674fc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4674fc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x4674f0
mov eax, dword [ebp - 0x14]
cmp byte [eax], 2
jne 0x4674f0
mov byte [ebp - 0xd], cl
jmp 0x4674f5
xor eax, eax
mov byte [ebp - 0xd], al
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp byte [ebp - 0xd], 0
push 1
pop eax
push 0xd
cmovne ebx, eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x46757d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x46757d
push ecx
push ecx
mov edx, esp
lea eax, [ecx + 2]
mov dword [ebp - 0x14], eax
mov dword [edx], ecx
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x18]
jne 0x46752d
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, esi
push eax
call fcn.00464834
xor eax, eax
mov ecx, esi
inc eax
cmp dword [ebp - 0x28], 0x10
mov byte [ebp - 4], al
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.00483991
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], al
call fcn.0046938a
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x1c]
add ecx, 0x10
mov dword [ebp - 4], 2
call fcn.004770eb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x46d482
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x51dffc
call fcn.004cafc4
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.Scintilla::Internal::ListBoxX.0
mov dword [esi + 0xc], 0xa
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.004ad468
mov ecx, dword [ebp - 0xc]
xorps xmm0, xmm0
mov dword [esi + 0x28], ebx
mov eax, esi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x48], 9
mov dword [esi + 0x50], 8
mov dword [esi + 0x5c], 0x60
mov dword [esi + 0x68], 1
movups xmmword [esi + 0x70], xmm0
movups xmmword [esi + 0x80], xmm0
movups xmmword [esi + 0x90], xmm0
movups xmmword [esi + 0xa0], xmm0
mov dword [esi + 0xb0], ebx
mov byte [esi + 0xb8], bl
mov byte [esi + 0xc0], bl
mov byte [esi + 0xc8], bl
mov byte [esi + 0xd0], bl
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], 0x40000
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x46d6c5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e03a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
movd xmm0, dword [ebp + 0xc]
xor eax, eax
movd xmm1, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea ecx, [ebp - 0x24]
cvtdq2ps xmm0, xmm0
push ecx
push esi
mov dword [edi + 4], vtable.Scintilla::Internal::SurfaceD2D.1.0
lea ebx, [edi + 0x14]
mov dword [edi + 8], eax
mov byte [edi + 0xc], al
mov dword [edi + 0x10], eax
mov dword [ebx], eax
mov byte [edi + 0x18], al
mov dword [edi + 0x28], 0x60
cvtdq2ps xmm1, xmm1
mov dword [edi], vtable.Scintilla::Internal::SurfaceD2D.0
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0xf
mov dword [edi + 0x2c], 1
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov eax, dword [esi]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
call dword [eax + 0xc8]
push ebx
push 0
mov ecx, dword [eax]
mov eax, dword [esi]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 3
push ecx
push esi
call dword [eax + 0x30]
test eax, eax
js 0x46d790
mov eax, dword [ebx]
mov ecx, edi
push eax
mov dword [edi + 0x10], eax
call fcn.00473722
mov eax, dword [edi + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov byte [edi + 0x18], 1
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x28], eax
mov eax, edi
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x494788
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x51f3d8
call fcn.004cafc4
sub esp, 0x14
push ebx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x10], ebx
push esi
push edi
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebp - 4], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
or dword [ebx + 0x18], 0xffffffff
lea esi, [ebp - 0x20]
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov edi, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x1c], eax
or dword [ebx + 0x20], 0xffffffff
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x24], eax
mov byte [ebp - 4], 1
mov dword [ebx + 0x28], eax
movsd dword es:[edi], dword [esi]
mov word [ebx + 0x2c], ax
mov dword [ebx + 0x30], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00494890
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4a1bed
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x4a1d49
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x4a1d49
cmp ecx, 0x29
jne 0x4a1c54
cmp dword [esi + 0x10], 0
jne 0x4a1d49
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x4a1d51
cmp ecx, 0x5d
jne 0x4a1c35
test dword [edi], edx
je 0x4a1d41
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004a0eb2
mov ecx, esi
call fcn.004a5de8
mov ecx, esi
call fcn.004a5e88
mov al, 1
jmp 0x4a1bf4
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x4a1c68
push 5
lea ecx, [esi + 0x24]
call fcn.004a5d6c
jmp 0x4a1c42
cmp ecx, 0x5c
jne 0x4a1cb3
mov ecx, esi
call fcn.004a5de8
test byte [edi], 0x80
je 0x4a1caa
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x4a1c93
push 4
lea ecx, [esi + 0x24]
call fcn.004a5d6c
mov ecx, esi
call fcn.004a5de8
jmp 0x4a1c50
cmp al, 0x42
jne 0x4a1caa
push 4
lea ecx, [esi + 0x24]
call fcn.004a5d6c
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4a1c8a
mov ecx, esi
call fcn.004a1ee4
jmp 0x4a1c49
cmp ecx, 0x5b
jne 0x4a1cd6
mov ecx, esi
call fcn.004a5de8
mov ecx, esi
call fcn.004a2ad0
push 4
push 0x5d
mov ecx, esi
call fcn.004a49df
jmp 0x4a1c49
cmp ecx, 0x28
jne 0x4a1d03
mov ecx, esi
call fcn.004a5de8
mov ecx, esi
call fcn.004a6d07
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.004a49df
test bl, bl
je 0x4a1c50
jmp 0x4a1c49
cmp ecx, 0x5e
jne 0x4a1d0f
push 2
jmp 0x4a1c82
cmp ecx, 0x24
jne 0x4a1d1b
push 3
jmp 0x4a1c82
cmp ecx, 0x2a
je 0x4a1d45
cmp ecx, 0x2b
je 0x4a1d45
cmp ecx, 0x3f
je 0x4a1d45
cmp ecx, 0x7b
je 0x4a1d45
cmp ecx, 0x7d
jne 0x4a1c28
test dword [edi], edx
je 0x4a1d4d
jmp 0x4a1c35
push 4
jmp 0x4a1d53
push 0xa
jmp 0x4a1d53
pop edi
pop esi
pop ebx
ret
push 6
jmp 0x4a1d53
push 5
mov ecx, esi
call fcn.004a496d
int3
Function at 0x4a1d5b
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x4a1ebc
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x4a1ebc
cmp ecx, 0x29
jne 0x4a1dc2
cmp dword [esi + 0x10], 0
jne 0x4a1ebc
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x4a1ec4
cmp ecx, 0x5d
jne 0x4a1da3
test dword [edi], edx
je 0x4a1eb4
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004a0f11
mov ecx, esi
call fcn.004a5e16
mov ecx, esi
call fcn.004a5f4d
mov al, 1
jmp 0x4a1d62
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x4a1dd6
push 5
lea ecx, [esi + 0x24]
call fcn.004a5daa
jmp 0x4a1db0
cmp ecx, 0x5c
jne 0x4a1e26
mov ecx, esi
call fcn.004a5e16
test byte [edi], 0x80
je 0x4a1e1d
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x4a1e05
push 4
lea ecx, [esi + 0x24]
call fcn.004a5daa
mov ecx, esi
call fcn.004a5e16
jmp 0x4a1dbe
cmp ecx, 0x42
jne 0x4a1e1d
push 4
lea ecx, [esi + 0x24]
call fcn.004a5daa
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4a1dfc
mov ecx, esi
call fcn.004a1f8c
jmp 0x4a1db7
cmp ecx, 0x5b
jne 0x4a1e49
mov ecx, esi
call fcn.004a5e16
mov ecx, esi
call fcn.004a2b19
push 4
push 0x5d
mov ecx, esi
call fcn.004a49fa
jmp 0x4a1db7
cmp ecx, 0x28
jne 0x4a1e76
mov ecx, esi
call fcn.004a5e16
mov ecx, esi
call fcn.004a6d8a
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.004a49fa
test bl, bl
je 0x4a1dbe
jmp 0x4a1db7
cmp ecx, 0x5e
jne 0x4a1e82
push 2
jmp 0x4a1df4
cmp ecx, 0x24
jne 0x4a1e8e
push 3
jmp 0x4a1df4
cmp ecx, 0x2a
je 0x4a1eb8
cmp ecx, 0x2b
je 0x4a1eb8
cmp ecx, 0x3f
je 0x4a1eb8
cmp ecx, 0x7b
je 0x4a1eb8
cmp ecx, 0x7d
jne 0x4a1d96
test dword [edi], edx
je 0x4a1ec0
jmp 0x4a1da3
push 4
jmp 0x4a1ec6
push 0xa
jmp 0x4a1ec6
pop edi
pop esi
pop ebx
ret
push 6
jmp 0x4a1ec6
push 5
mov ecx, esi
call fcn.004a4977
int3

Function at 0x4ad620
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4ad6a3
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov dword [esp + 0x10], 0xff
lea ecx, [esi + 1]
sub esi, eax
mov dword [esp + 0x20], ecx
mov bl, byte [ecx + 2]
xor edx, edx
movzx eax, byte [esi + ebp - 1]
movzx ecx, bl
imul eax, ecx
div dword [esp + 0x10]
xor edx, edx
mov byte [ebp + 1], al
mov eax, dword [esp + 0x20]
movzx eax, byte [eax]
imul eax, ecx
div dword [esp + 0x10]
xor edx, edx
mov byte [ebp], al
lea ebp, [ebp + 4]
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + 1]
imul eax, ecx
mov ecx, 0xff
mov byte [ebp - 2], bl
div ecx
mov ecx, dword [esp + 0x20]
add ecx, 4
mov byte [ebp - 5], al
mov dword [esp + 0x20], ecx
sub edi, 1
jne 0x4ad649
pop esi
pop ebp
pop ebx
pop edi
pop ecx
ret
Function at 0x4b21a2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x520359
call fcn.004cafc4
push ecx
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.Scintilla::Internal::LineLayout.0
mov dword [esi + 8], ecx
mov eax, dword [ebp + 8]
or dword [esi + 0x14], 0xffffffff
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov word [esi + 0x28], cx
mov dword [esi + 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ecx
xor eax, eax
mov word [esi + 0x3c], ax
mov dword [esi + 0x40], ecx
push dword [ebp + 0xc]
xorps xmm0, xmm0
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [esi + 0x44], 0x7ffffff
mov dword [esi + 0x48], 1
movsd qword [esi + 0x50], xmm0
call fcn.004b34f7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8