joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4a6350
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
push 0xe
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44f543
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44f53f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
xor eax, eax
test ebp, ebp
je 0x44f5c2
xor ebx, ebx
cmp ax, word [ebp + 4]
jae 0x44f524
lea ecx, [esp + 0x18]
call fcn.0044c0b0
mov edx, dword [esp + 0x80]
movzx eax, bx
lea ecx, [eax*8]
sub ecx, eax
movzx esi, byte [ebp + ecx*2 + 6]
movzx edi, byte [ebp + ecx*2 + 7]
lea eax, [ebp + ecx*2]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x68], 0
cmp ecx, esi
jne 0x44f4c4
cmp edx, edi
je 0x44f4cc
test ecx, ecx
jne 0x44f508
test edx, edx
jne 0x44f508
movzx edx, word [eax + 0x12]
mov eax, dword [esp + 0x70]
push 0
push edi
push esi
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.0044de00
test eax, eax
je 0x44f52e
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x18]
push edi
push esi
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0044f280
test eax, eax
je 0x44f52e
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0xffffffff
call fcn.0044ddf0
inc ebx
cmp bx, word [ebp + 4]
jb 0x44f486
mov eax, 1
jmp 0x44f5c2
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 0xffffffff
call fcn.0044ddf0
xor eax, eax
jmp 0x44f5c2
lea ecx, [esp + 0x3c]
call fcn.0044c0b0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push 0
push ecx
push edx
push edi
push esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x7c], 1
call fcn.0044de00
test eax, eax
jne 0x44f587
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], 0xffffffff
call fcn.0044ddf0
xor eax, eax
jmp 0x44f5c2
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.0044f280
lea ecx, [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x68], 0xffffffff
call fcn.0044ddf0
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x18
Function at 0x4520a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
mov ebp, ecx
call esi
test ax, ax
jl 0x4521ab
push 2
call esi
test ax, ax
jl 0x4521ab
push 4
call esi
test ax, ax
jl 0x4521ab
push ebx
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor edi, edi
cmp dword [ebp + 0x5c], edi
jle 0x452192
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
test edi, edi
jl 0x4521a6
cmp edi, dword [ebp + 0x5c]
jge 0x4521a6
mov ecx, dword [ebp + 0x58]
mov esi, dword [ecx + edi*4]
mov edx, dword [esi + 0x20]
push edx
call ebx
test eax, eax
je 0x452188
mov eax, dword [esi + 0x20]
push eax
call fcn.00409056
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x24], edx
test byte [esi + 8], 1
lea ecx, [esp + 0x18]
push ecx
je 0x45214f
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x452156
mov ecx, eax
call fcn.0040d5d1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x452188
test byte [esi + 8], 1
jne 0x45219c
lea edx, [esp + 0x10]
push edx
push 0
mov ecx, ebp
call fcn.00451580
cmp eax, dword [esi + 0x20]
je 0x45219c
inc edi
cmp edi, dword [ebp + 0x5c]
jl 0x4520f2
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0x18
ret
call fcn.0040e092
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
Function at 0x453280
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a672d
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x4de980]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.00405275
xor ebx, ebx
lea edi, [esi + 0x98]
mov dword [esi], 0x4b62ac
mov dword [esp + 0x218], ebx
mov dword [edi + 4], ebx
mov dword [edi], 0x4afd44
lea ebp, [esi + 0xa0]
mov dword [ebp + 4], ebx
mov dword [ebp], 0x4afd44
push ebx
mov byte [esp + 0x21c], 2
mov dword [esi + 0x60], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
push 0x2c
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x64]
push ebx
push eax
call fcn.004263a0
add esp, 0xc
call fcn.0045c100
mov ecx, eax
call fcn.0045cfa0
push ebx
push ebx
push ebx
mov dword [esi + 0x34], eax
or eax, 0xffffffff
push ebx
lea ecx, [esi + 0x44]
push ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x38], 1
mov dword [esi + 0x40], 2
call dword [sym.imp.USER32.dll_SetRect]
push 0x1f4
or eax, 0xffffffff
lea edx, [esp + 0x1c]
push ebx
push edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], eax
call fcn.004263a0
add esp, 0xc
push ebx
lea eax, [esp + 0x1c]
push eax
push 0x1f4
push 0x29
mov dword [esp + 0x28], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [esp + 0x164], 0x190
call fcn.0045bc60
mov ecx, eax
call fcn.0045b6e0
mov ebx, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea ecx, [esp + 0x154]
push ecx
mov byte [esp + 0x16f], al
call ebx
push eax
mov ecx, edi
call fcn.0040db03
mov dword [esp + 0x164], 0x2bc
lea edx, [esp + 0x154]
push edx
call ebx
push eax
mov ecx, ebp
call fcn.0040db03
mov dword [esi + 0xa8], 1
mov eax, esi
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.00424ae1
add esp, 0x208
ret
Function at 0x4587c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a6c69
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00405275
xor edi, edi
mov dword [esi], 0x4b6dfc
mov eax, 0x4afd44
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 3
call fcn.004467e0
lea ecx, [esi + 0x48]
call fcn.004467e0
lea ecx, [esi + 0x54]
call fcn.004467e0
lea ecx, [esi + 0x60]
call fcn.004467e0
lea ecx, [esi + 0x6c]
call fcn.004467e0
lea ecx, [esi + 0x78]
call fcn.004467e0
lea ecx, [esi + 0x84]
call fcn.004467e0
lea ecx, [esi + 0x90]
call fcn.004467e0
mov eax, dword [esp + 0x20]
mov dword [esi + 0xa4], eax
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x9c], 0x24
mov dword [esi + 0xa0], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4588a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a6cae
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 2
mov dword [ecx], 0x4afd44
call fcn.0040dc81
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 1
mov dword [ecx], 0x4afd44
call fcn.0040dc81
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 0
mov dword [ecx], 0x4afd44
call fcn.0040dc81
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0040529d
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x45bcc0
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x45bc10
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov ax, word [esp]
pop ecx
ret

Function at 0x45bfa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push edi
call fcn.004014e1
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov eax, edi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x45bfd5
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0xc
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45bfcd
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x45c01b
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x45c010
mov edi, edi
cmp esi, eax
jae 0x45c01b
sub edi, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x45c000
cmp esi, eax
jae 0x45c01b
movzx edi, word [esi]
test edi, edi
jne 0x45c024
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret 0xc
mov ebx, dword [esp + 0x1c]
push edi
mov ecx, ebx
call fcn.00404e68
lea ecx, [edi + edi]
push ecx
add esi, 2
push esi
push eax
call fcn.00441060
add esp, 0xc
push edi
mov ecx, ebx
call fcn.00404e3e
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
ret 0xc

Function at 0x45e540
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [ecx + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x45e551
ret 4
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [esp + 0xc]
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
lea edx, [eax + eax + 2]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x45e582
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
xor eax, eax
pop esi
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [edi]
push ecx
mov ecx, dword [ecx - 0xc]
inc ecx
push ecx
push eax
call fcn.004261ce
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
ret 4
Function at 0x460710
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x5c], 0
je 0x460734
cmp dword [esi + 0x20], 0
je 0x460734
call fcn.0040c2ea
test eax, 0x800
jne 0x460734
mov eax, dword [esi + 0x70]
cmp dword [eax - 0xc], 0
jne 0x46074b
mov edx, dword [esi]
mov eax, dword [edx + 0x118]
push 0
push 0
push 0x302
mov ecx, esi
call eax
pop esi
ret
mov eax, dword [esi + 0x20]
push edi
test eax, eax
je 0x46079a
push ebx
lea edi, [esi + 0x58]
push edi
lea ebx, [esi + 0x54]
push ebx
push 0xb0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi + 0x80]
push ecx
mov ecx, esi
call fcn.0040a59b
mov ecx, esi
call fcn.0045f6c0
push 1
push ebx
mov ecx, esi
call fcn.0045ea10
push 1
push edi
mov ecx, esi
call fcn.0045ea10
mov ebx, dword [ebx]
cmp dword [edi], ebx
jge 0x460799
mov dword [edi], ebx
pop ebx
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4607ab
pop edi
pop esi
ret
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4607d8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, esi
call fcn.004603a0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 1
mov ecx, esi
call fcn.0045f880
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, 1
pop esi
ret

Function at 0x4607f0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x5c], 0
je 0x460814
cmp dword [esi + 0x20], 0
je 0x460814
call fcn.0040c2ea
test eax, 0x800
jne 0x460814
mov eax, dword [esi + 0x70]
cmp dword [eax - 0xc], 0
jne 0x460824
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.004071f6
pop esi
ret 4
push ebx
push edi
mov edi, dword [esp + 0x10]
cmp dword [edi + 4], 0x100
jne case.0x46089a.68
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x6d
call ebx
test ax, ax
jge 0x46085e
push 1
push 1
push 0x2d
mov ecx, esi
call fcn.00460280
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
push 0x6b
call ebx
test ax, ax
jge 0x46087f
push 1
push 1
push 0x2b
mov ecx, esi
call fcn.00460280
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
push 0x11
call ebx
test ax, ax
jge case.0x46089a.68
mov eax, dword [edi + 8]
add eax, 0xffffffbd
cmp eax, 0x37
ja case.0x46089a.68
movzx edx, byte [eax + 0x46090c]
jmp dword [edx*4 + 0x4608f8]
mov ecx, esi
call fcn.004606c0
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
mov ecx, esi
call fcn.0045f9d0
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
mov ecx, esi
call fcn.00460710
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
mov ecx, esi
call fcn.0045e950
pop edi
pop ebx
mov eax, 1
pop esi
ret 4
push edi
mov ecx, esi
call fcn.004071f6
pop edi
pop ebx
pop esi
ret 4
Function at 0x463e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8348
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x4b937c
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x463e82
call fcn.004630a0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00463040
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x464c10
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
push eax
mov esi, ecx
call fcn.0040e2a1
movzx ecx, word [edi + 6]
mov ebx, dword [esp + 0x18]
and eax, ecx
mov dword [ebx], eax
xor edx, edx
div dword [esi + 8]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov esi, dword [esi + 4]
test esi, esi
je 0x464c5f
mov esi, dword [esi + edx*4]
test esi, esi
je 0x464c5f
mov ecx, dword [esi + 0x10]
cmp ecx, dword [ebx]
jne 0x464c58
push edi
push esi
call fcn.00463cc0
test eax, eax
jne 0x464c67
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x464c46
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret 0xc

Function at 0x469670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4a7dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [ebp + 8], 0
call fcn.0040db5b
mov esi, dword [esp + 0x50]
test esi, esi
je 0x46970f
mov edi, dword [esp + 0x4c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46970f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x46970f
cmp ebx, 0xa
jb 0x46970f
push 0
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0041889c
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov dword [esp + 0x48], 0
call fcn.004694e0
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call fcn.00418c1d
mov eax, esi
jmp 0x469711
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x46c070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a8038
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
mov dword [esp + 0x28], 1
call fcn.004010fa
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
mov byte [esp + 0x2c], 2
call fcn.004010fa
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.0046baa0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x46c179
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c114
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c139
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c161
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc
push ecx
call fcn.00428468
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c1a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c1c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c1f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc
Function at 0x46c680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4a8158
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0046b370
mov eax, dword [esi + 0x24]
mov ecx, dword [eax - 0xc]
lea ebx, [esi + 0x24]
push 0x4ba244
test ecx, ecx
je 0x46c6ce
push eax
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
jmp 0x46c6ef
mov ecx, dword [esi + 0x28]
push 0x4ba2b0
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x46c6f3
push 0x4ba2b0
mov ecx, ebx
call fcn.00401775
test edi, edi
jne 0x46c708
mov edx, dword [ebx]
cmp dword [edx - 0xc], 0
jne 0x46c708
mov eax, dword [esi + 0x28]
push eax
mov ecx, esi
call fcn.0046b9f0
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x46c73d
mov ecx, dword [esi + 0x28]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x46c73d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 0x28]
push edi
push edx
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, dword [esi + 0x2c]
mov ebx, 1
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x46c754
push 0
push 0
push 0
push 0x294f
call fcn.004909d0
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4ba28c
call fcn.00401787
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4ba27c
mov dword [esp + 0x30], 0
call fcn.00401787
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0046c070
mov dword [esi + 0x50], eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x471e10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 0x100]
test esi, esi
je 0x471ea5
push ebp
mov ebp, dword [esp + 0x10]
mov eax, ebp
shr eax, 8
push edi
mov edi, dword [esi + 0x34]
cmp al, 2
jne 0x471ea3
test edi, edi
je 0x471ea3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x471e55
mov eax, dword [edi + 0x2c]
jmp 0x471e7d
mov ecx, dword [esi + 0x34]
cmp dword [ecx + 0x58], 0
mov ecx, dword [esp + 0x1c]
jne 0x471e66
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x471e7b
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x471e7d
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00471d90
cmp ebp, 0x202
je 0x471e9a
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x471ea3
push 0
mov ecx, ebx
call fcn.00471d00
pop edi
pop ebp
pop esi
pop ebx
ret 0xc
Function at 0x478080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8ad8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4de980]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x4bc494
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x4780c9
call fcn.004630a0
mov dword [esi + 0x30], 0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00477f50
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x48b780
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x48b92a
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x48b7d8
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x48b7eb
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x48b7ff
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x48b846.3
jmp 0x48b810
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x48b81c
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x48b821
mov esi, 1
inc eax
cmp eax, edi
jl 0x48b810
cmp si, cx
je case.0x48b846.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x48b846.3
movzx eax, byte [eax + 0x48b944]
jmp dword [eax*4 + 0x48b930]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x48b846.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x48b860
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x48b846.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x48b8a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x48b846.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x48b8c6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x48b846.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x48b8f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret