joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483750
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ec146
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x130e190]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.004da48f
mov edx, dword [0x130e190]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x4837aa
mov dword [esp + 0x1c], ebx
jmp 0x4837b1
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.004dc5da
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.004d80a5
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x483802
mov dword [esp + 0x14], ebx
jmp 0x483809
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x483824
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x48381e
cmp eax, 2
jne 0x483824
mov dword [esp + 0x18], edi
jmp 0x483828
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x483836
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004d9ac4
mov edi, eax
cmp edi, ebx
jne 0x483846
xor eax, eax
jmp 0x483849
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x483871
mov ecx, esi
call fcn.004dc5da
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x48388d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4838ac
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x4838ac
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.004d7fb8
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.004d7fb8
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x486ed8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ec54c
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
call fcn.004d9699
mov dword [esi], method.CTreeCtrl.virtual_0
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], fcn.00496370
call fcn.0048a4a0
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.0048a4a0
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.0048a4a0
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.0048a4a0
mov dword [edi], 0x12d3924
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.004d67ba
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x12d39f4
mov eax, dword [0x130e190]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.0048a4a0
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.004d67ba
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CTreeCtrl.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x486fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ec5d4
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], method.CTreeCtrl.virtual_0
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.004d67e3
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x12d3920
call fcn.0048a6a0
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.004d7fb8
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 6
call fcn.004defc2
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.004d67e3
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x12d3920
call fcn.0048a6a0
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x12d3920
call fcn.0048a6a0
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x12d3920
call fcn.0048a6a0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x12d3920
call fcn.0048a6a0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d637c
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x488d40
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x488de3
test eax, eax
jbe 0x488de3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x488de3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x488d8e
xor esi, esi
jmp 0x488d94
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x488dbf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0048a970
add esi, eax
push esi
mov ebx, esi
call fcn.0048a970
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x488da0
pop ebp
test edi, edi
pop edi
jne 0x488de3
test ebx, ebx
je 0x488de3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004c6b80
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x489155
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48926d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48926d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004d9aeb
mov esi, eax
test esi, esi
je 0x48926d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x48926d
mov ecx, esi
call fcn.00488ff0
cmp edi, eax
jge 0x48926d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4891f3
mov dword [esp + 0x34], 1
jmp 0x48924e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48926d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00485a80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x48c010
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48c05a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x48c089
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x48c0cb
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x49e200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x49e355
cmp di, 0x801
ja 0x49e355
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x49e355
cmp bx, 0xc
ja 0x49e355
mov al, byte [esp + 0x30]
test al, al
je 0x49e254
push edi
call fcn.0049e790
add esp, 4
cmp ax, bx
je 0x49e254
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.0049e360
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.0049e180
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x49e355
test ebx, ebx
jne 0x49e2e9
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x49e34b
test al, al
je 0x49e2dc
push 0xffffffffffffffe1
jmp 0x49e2de
push 0x1f
push ebp
push edi
push esi
call fcn.0049e130
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.0049e130
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.0049e360
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.0049e180
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x49e2b6
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x49f9e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ee618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x1337410
lea ecx, [esp + 4]
call fcn.004d8026
push 0x1302cac
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.004d8026
push 0x1302ca8
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.004d8026
push 0x1302ca4
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.004d8026
push 0x1302ca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.004d8026
push 0x1302c9c
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.004d8026
push 0x1302c98
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.004d8026
push 0x1302c94
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.004d8026
push 0x1302c90
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.004d8026
push 0x1302c8c
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.004d8026
push 0x1302c88
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.004d8026
push 0x1302c84
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.004d8026
push 0x1302c80
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.004d8026
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x49fb10
cmp eax, 0xc
jle 0x49fb10
mov ecx, dword [esp + 0x48]
push 0x1337410
call fcn.004d80f5
jmp 0x49fb1e
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.004d80a5
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.004d7fb8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.004d7fb8
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.004d7fb8
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.004d7fb8
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.004d7fb8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.004d7fb8
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.004d7fb8
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.004d7fb8
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.004d7fb8
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.004d7fb8
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.004d7fb8
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.004d7fb8
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004d7fb8
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x4a7ef0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4a7f3c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4a7f3c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x4a7f26
push eax
call ebp
test ax, ax
jl 0x4a7f34
inc esi
add edi, 4
cmp esi, 6
jb 0x4a7f18
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.004a7bf0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4abc40
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4abca0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4abca0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4abca0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4abca0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4abcb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4b0f40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x13435c4]
xor edx, edx
cmp eax, edx
jne 0x4b0f66
xor eax, eax
mov byte [eax + 0x13434c4], al
inc eax
cmp eax, 0x100
jl 0x4b0f4e
mov dword [0x13435c4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x13434c4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4b0ff7
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 0x4b0fca
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 0x4b0f98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4b1070
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 0x4b10c3
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 0x4b10aa
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

Function at 0x4b7a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ef1fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004b8350
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x12d5d64
call fcn.004d7cf9
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4b7ac3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d7cf9
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4b7abc
push 0
mov ecx, eax
call fcn.004aebb0
mov dword [esi + 0xc], eax
jmp 0x4b7ac5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4b7ac5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4d8dd9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4d8dfb
cmp dword [edi + 0x3c], 0
jne 0x4d8dfb
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004e2388
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004d8e28
pop edi
pop esi
pop ebx
ret 8

Function at 0x4da48f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4da4c7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d8413
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d83eb
jmp 0x4da4d3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4dbd04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4dbd46
call fcn.004e2388
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4dbd46
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4dbd3d
xor eax, eax
jmp 0x4dbd4e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004dbd54
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e28b8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e28e6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e2904
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e281e
jmp 0x4e2904
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e2904
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e281e
test edi, edi
mov eax, edi
jne 0x4e28ee
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4e51db
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4e5203
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4e5214
push 2
call edi
test ax, ax
jge 0x4e5214
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004d9ac4
cmp dword [esi + 0x30], ebx
jne 0x4e52ee
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004d9ac4
cmp eax, dword [esp + 0x34]
jne 0x4e52ee
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4e528a
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4e52cf
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4e52ee
cmp eax, 0x205
je 0x4e52ee
cmp eax, 0x201
je 0x4e52ee
cmp eax, 0x204
je 0x4e52ee
cmp eax, ebx
jne 0x4e52b5
cmp dword [esp + 0x1c], 0x1b
je 0x4e52ee
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x13550c4]
jbe 0x4e52e4
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4e5247
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x44b7b9
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 0x10]
and dword [ebx], 0
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20
pop edi
push edi
call fcn.0044a2a4
mov esi, eax
test esi, esi
jl 0x44b87b
push 1
push dword [ebp + 8]
call fcn.0044b152
mov esi, eax
test esi, esi
jl 0x44b87b
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044b0e3
mov esi, eax
test esi, esi
jl 0x44b87b
cmp word [ebp + 0x10], di
je 0x44b81b
mov esi, 0xc000000d
jmp 0x44b87b
push edi
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.004446f0
add esp, 0xc
push 1
push dword [ebp + 0xc]
call fcn.0044b152
mov esi, eax
test esi, esi
jl 0x44b87b
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call fcn.0044b0e3
mov esi, eax
test esi, esi
jl 0x44b87b
cmp word [ebp + 0x10], di
jne 0x44b814
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dl, byte [ecx + edx]
add eax, ecx
xor byte [eax], dl
inc ecx
cmp ecx, edi
jb 0x44b858
push ebx
push edi
push dword [ebp - 4]
push 0x2000
call fcn.0044b523
mov esi, eax
cmp dword [ebp - 4], 0
je 0x44b88a
push edi
push dword [ebp - 4]
call fcn.0044a468
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc