joyce8/EMBER2024-capa huggingface dataset:
Function at 0x496d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x661138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], vtable.CBitmap.0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.00490160
add esp, 8
test eax, eax
jne 0x496d9e
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call fcn.00629dd1
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18
push eax
lea ecx, [esp + 0xc]
call fcn.00629d7a
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00496950
mov esi, eax
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x18], 2
call fcn.00629dd1
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18

Function at 0x497260
Capabilities:
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x661180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, ecx
push 0x400
lea ecx, [esp + 0x10]
call fcn.0062e819
push 0
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x90], 0
call fcn.006283c5
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x88], 1
call fcn.00497d50
lea ecx, [esp + 0x34]
call fcn.006286d6
lea ecx, [esp + 0xc]
call fcn.0062e97b
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.0062e8cc
push esi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x49732f
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov edi, eax
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [0x7852bc]
push ebp
and ecx, 0xffff
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
lea ecx, [esp + 0x34]
call fcn.00628529
lea ecx, [esp + 0xc]
call fcn.0062eac5
push ebx
call fcn.005fc0ca
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0
call fcn.006284a1
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], 0xffffffff
call fcn.0062e8de
mov ecx, dword [esp + 0x78]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 4

Function at 0x49c680
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x49c6b0
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov ax, word [esp]
pop ecx
ret
Function at 0x49cff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
mov dword [esp + 8], ecx
push esi
mov ecx, dword [esp + 0x1c]
push edi
call fcn.006224f1
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov eax, edi
push 6
shr eax, 4
inc eax
and eax, 0xffff
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x49d02d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x49d041
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x49d056
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x49d075
cmp esi, eax
jae 0x49d079
xor ecx, ecx
dec edi
mov cx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x49d065
cmp esi, eax
jb 0x49d083
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
xor ebx, ebx
mov bx, word [esi]
test ebx, ebx
jne 0x49d096
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x49d0a6
mov ebp, dword [eax + 4]
jmp 0x49d0a8
xor ebp, ebp
push 0
push 0
push 0
lea edi, [esi + 2]
push 0
push ebx
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x20]
mov esi, eax
push esi
call fcn.00622a0d
push 0
push 0
push esi
push eax
push ebx
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esp + 0x20]
push esi
call fcn.006229e5
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x49d700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x661890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
xor ebx, ebx
mov dword [esp + 8], 0x69bf00
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
push edx
mov dword [esp + 0x2c], ebx
call fcn.0049d570
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x49d773
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.0049e710
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
push ebp
push esi
xor esi, esi
cmp eax, ebx
push edi
mov ebp, 4
jle 0x49d7ad
mov eax, dword [esp + 0x18]
mov edi, dword [eax + esi*4]
mov ecx, dword [edi + 8]
push ecx
call fcn.005fce80
mov dl, byte [edi]
add esp, 4
not dl
shr edx, 3
and edx, 2
lea eax, [edx + eax*2 + 4]
add ebp, eax
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x49d781
lea edi, [ebp + 6]
push edi
call fcn.005fbf90
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x10], esi
and ecx, 3
lea ebp, [esi + 4]
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebx
cmp eax, ebx
jle 0x49d879
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [eax + ecx*4]
mov dx, word [ebx]
mov word [ebp], dx
mov al, byte [ebx]
test al, 0x10
je 0x49d816
mov eax, dword [ebx + 8]
push eax
call fcn.005fce80
mov esi, dword [ebx + 8]
add esp, 4
lea ecx, [eax + eax + 2]
lea edi, [ebp + 2]
jmp 0x49d834
mov ax, word [ebx + 2]
mov word [ebp + 2], ax
mov ecx, dword [ebx + 8]
push ecx
call fcn.005fce80
mov esi, dword [ebx + 8]
add esp, 4
lea ecx, [eax + eax + 2]
lea edi, [ebp + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 8]
push eax
call fcn.005fce80
mov cl, byte [ebx]
add esp, 4
not cl
shr ecx, 3
and ecx, 2
lea eax, [ecx + eax*2 + 4]
mov ecx, dword [esp + 0x1c]
add ebp, eax
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x49d7e6
mov esi, dword [esp + 0x10]
xor ebx, ebx
push esi
mov word [ebp], 0x80
call dword [sym.imp.USER32.dll_LoadMenuIndirectA]
mov ecx, dword [esp + 0x38]
push eax
call fcn.006244ae
push esi
mov dword [esp + 0x40], eax
call fcn.005fc0ca
add esp, 4
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x30], 2
jle 0x49d8dc
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esp + 0x18]
mov esi, dword [edx + edi*4]
cmp esi, ebx
je 0x49d8d3
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x49d8ca
push eax
call ebp
push esi
call fcn.0061d6ce
add esp, 4
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x49d8b5
mov dword [esp + 0x14], method.CCommandLineInfo.virtual_0
mov eax, dword [esp + 0x18]
pop edi
pop esi
cmp eax, ebx
mov dword [esp + 0x28], 3
pop ebp
je 0x49d900
push eax
call fcn.0061d6ce
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4a07f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x661c9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x69bf1c
mov al, byte [esi + 0xc]
mov dword [esp + 0x14], 1
test al, al
je 0x4a0838
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4a082e
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 0x14]
push eax
call fcn.00628c0c
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x34]
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x30]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
lea ecx, [esi + 0x24]
mov dword [esp + 8], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x14], 2
call fcn.00629dd1
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0xffffffff
call fcn.00628b11
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a89f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
push esi
cmp ebx, 0x112
push edi
mov esi, ecx
ja 0x4a8b3f
cmp ebx, 0x112
je 0x4a8a9b
mov eax, ebx
sub eax, 2
je 0x4a8a64
sub eax, 3
je 0x4a8a27
sub eax, 0x42
jne 0x4a8a45
cmp ebp, dword [esi + 0x124]
jne 0x4a8a45
mov eax, dword [esi - 0x20]
push 0
push 0x2fbf
push 0x113
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
push ebx
push ebp
mov ecx, esi
call fcn.004ae5e0
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
mov eax, dword [esi + 0x128]
test eax, eax
je 0x4a8a45
lea ecx, [esi - 0x3c]
call fcn.004af420
test eax, eax
je 0x4a8a7d
mov eax, dword [eax + 0x1c]
cmp ebp, eax
jne 0x4a8a45
mov ecx, dword [esi + 0x128]
push ecx
push ebp
call dword [sym.imp.USER32.dll_SetMenu]
mov dword [esi + 0x128], 0
jmp 0x4a8a45
lea edi, [esi - 0x3c]
mov ecx, edi
call fcn.004ab4f0
test eax, eax
je 0x4a8a45
push 0x449ff0
mov ecx, 0x785624
call fcn.0064186d
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x4a8a45
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4a8a45
mov ecx, edi
call fcn.004af540
test eax, eax
jne 0x4a8a45
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
and eax, 0xfff0
cmp eax, 0xf100
jne 0x4a8a45
mov ecx, dword [esp + 0x20]
cmp dword [ecx], 0
jne 0x4a8a45
mov edx, dword [edi]
push 0x12
mov ecx, edi
call dword [edx + 0x174]
test eax, eax
je 0x4a8b1e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x14
mov ecx, edi
call fcn.004af510
test eax, eax
je 0x4a8b33
push 0
push edi
mov ecx, eax
call fcn.00449ed0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x14
cmp ebx, 0x220
jb 0x4a8a45
cmp ebx, 0x222
jbe 0x4a8a2f
cmp ebx, 0x230
jne 0x4a8a45
mov eax, dword [esi - 0x3c]
lea edi, [esi - 0x3c]
mov ecx, edi
call dword [eax + 0xdc]
test eax, eax
mov ecx, edi
je 0x4a8c03
call fcn.004af540
test eax, eax
je 0x4a8bad
mov ecx, edi
call fcn.004af420
mov ecx, dword [eax + 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [edx], 0
mov eax, 1
pop ebx
ret 0x14
mov eax, dword [esi + 0x58]
mov ebx, dword [esp + 0x1c]
test ah, 4
jne 0x4a8bd7
mov eax, dword [ebx]
test eax, eax
jne 0x4a8bcf
mov ecx, dword [esi + 0x128]
test ecx, ecx
je 0x4a8bd7
test eax, eax
jne 0x4a8bcf
mov eax, ecx
push eax
mov ecx, edi
call fcn.004a8990
mov ecx, edi
call fcn.004af420
mov eax, dword [eax + 0x1c]
push 0
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, edi
call fcn.004a7950
pop edi
pop esi
mov dword [ebx], 0
pop ebp
mov eax, 1
pop ebx
ret 0x14
call fcn.004af420
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call fcn.0062447b
test eax, eax
jne 0x4a8a45
mov edx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov eax, 1
pop ebx
ret 0x14
Function at 0x4a9db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx + 0xa4]
push edi
and esi, 0xffff
call fcn.004b1d30
test esi, esi
jne 0x4a9dd8
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
call fcn.0063f37c
mov edi, dword [eax + 0xc]
test edi, edi
jne 0x4a9ded
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 8
push 0xf1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4a9e05
pop edi
pop esi
pop ebx
pop ecx
ret 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4a9e18
pop edi
pop esi
pop ebx
pop ecx
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4a9e2c
pop edi
pop esi
pop ebx
pop ecx
ret 8
xor eax, eax
push ebp
mov ax, word [esi + 6]
shl eax, 2
push eax
call fcn.0061d6a5
xor edi, edi
add esp, 4
cmp word [esi + 6], di
mov dword [esp + 0x10], eax
jbe 0x4a9e6f
mov ebp, eax
mov ecx, esi
call fcn.004a9f00
xor ecx, ecx
xor edx, edx
mov cx, word [eax + edi*2]
inc edi
mov dword [ebp], ecx
mov dx, word [esi + 6]
add ebp, 4
cmp edi, edx
jl 0x4a9e4d
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [esi + 6]
push ecx
push eax
mov ecx, ebx
call fcn.004a9b50
mov ebp, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a9ee0
mov ecx, ebx
call fcn.004affa0
xor edi, edi
xor edx, edx
mov di, word [esi + 4]
mov dx, word [esi + 2]
mov ecx, dword [esp + 0x10]
push 0
push edi
push edx
xor edx, edx
mov dx, word [esi + 6]
push edx
mov edx, dword [esp + 0x28]
push ecx
push edx
mov ecx, eax
call fcn.00496cf0
test eax, eax
jne 0x4a9ebd
xor ebp, ebp
mov ax, word [esi + 2]
cmp ax, 0x10
je 0x4a9ee0
and eax, 0xffff
mov ecx, eax
xor eax, eax
mov ax, word [esi + 4]
mov dword [ebx + 0xb4], ecx
mov dword [ebx + 0xb8], eax
mov eax, dword [esp + 0x10]
push eax
call fcn.0061d6ce
add esp, 4
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x4ad0a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
push ebp
mov ecx, dword [esi + 0xa4]
push eax
call fcn.004b2180
mov ebx, eax
mov eax, dword [esi + 0x78]
cmp eax, 0xffffffff
je 0x4ad0fe
cmp dword [esi + 0xa8], 5
jne 0x4ad0fe
cmp dword [esi + 0xa0], 1
jne 0x4ad0fe
test ebx, ebx
je 0x4ad0e0
cmp dword [ebx + 0x3c], eax
je 0x4ad0fe
cmp eax, dword [esi + 0x74]
jne 0x4ad0f3
mov edx, dword [esi]
push 0
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0xc4]
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004ad470
test ebx, ebx
mov ecx, esi
je 0x4ad1cd
call fcn.004af540
test eax, eax
jne 0x4ad1b6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd8]
test eax, eax
je 0x4ad1b6
push esi
push 0x764c58
call fcn.00624325
add esp, 8
test eax, eax
je 0x4ad1b6
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4ad1b6
mov ecx, esi
call fcn.004af510
mov edi, eax
test edi, edi
je 0x4ad1b6
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x4ad1b6
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x4ad1b6
push 1
mov ecx, edi
call fcn.00448be0
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004ad470
mov edx, dword [esi]
push 0
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0xc4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push ebp
push ecx
mov ecx, ebx
call dword [eax + pe_nt_image_headers32]
push 0
mov ecx, edi
call fcn.00448be0
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx + 0x54]
mov ecx, edi
call fcn.00447b20
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push ebp
push ecx
mov ecx, ebx
call dword [eax + 0xf4]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
call fcn.0061e5bf
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4b0cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6626b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00621d89
xor edi, edi
mov dword [esi + 0x20], 0x69dcb0
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov ecx, esi
mov byte [esp + 0x14], 1
mov dword [esi], 0x69dc40
call fcn.0065489f
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b8500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x662c5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 0x20], 0x696110
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esp + 0x14], edi
call fcn.0049c180
mov edx, dword [eax]
push 0x2393
mov ecx, eax
call dword [edx + 0x18]
mov dword [esi + 0x38], eax
call fcn.0049c180
mov edx, dword [eax]
push 0x2392
mov ecx, eax
call dword [edx + 0x18]
mov dword [esi + 0x3c], eax
call fcn.0049c180
mov edx, dword [eax]
push 0x2391
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], edi
mov dword [esi + 0x34], eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4b8e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x662d00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x77bb1c]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [esp + 0x24], esi
call fcn.0049c180
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push 0x23cb
push ecx
mov ecx, eax
call dword [edx + 8]
mov edx, dword [0x77bb1c]
mov ebp, 1
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x10]
push ebp
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x30], 1
call fcn.00617593
mov edx, dword [edi + 0x68]
add esp, 0xc
mov eax, dword [edx + 0x80]
cmp eax, esi
mov dword [esp + 0x18], eax
jle 0x4b8ee8
push ebx
mov ecx, dword [edi + 0x68]
push esi
call fcn.00448800
test eax, eax
je 0x4b8ee0
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00446e40
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.005fc457
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.00622566
test bl, bl
je 0x4b8ee0
mov eax, ebp
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
inc ebp
call fcn.00617593
add esp, 0xc
xor esi, esi
jmp 0x4b8ee1
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x4b8e8b
pop ebx
lea edx, [esp + 0xc]
lea ecx, [edi + 0x60]
push edx
call fcn.0062269f
push 0
mov ecx, edi
call fcn.00620bfc
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.00622566
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00622566
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x4bfb16
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6631be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
xor eax, eax
mov dword [esi + 8], 0x69ecfc
mov dword [esp + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], 0x69ecf0
push 1
mov byte [esp + 0x14], 2
mov dword [esi], 0x69ecec
mov dword [esi + 0x1c], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x40], eax
call fcn.004c0260
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4c0c20
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
mov eax, dword [esi + 4]
je 0x4c0c58
test eax, eax
jne 0x4c0c6a
push edi
call fcn.0063f37c
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x4c0f60
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 4], eax
pop edi
pop esi
ret 4
test eax, eax
je 0x4c0c6a
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi + 4], 0
pop esi
ret 4
Function at 0x4cb490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x663a27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x77bb1c]
push ebx
push esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov esi, dword [esp + 0x34]
mov ebx, 1
mov dword [esp + 0x28], ebx
fld qword [esi]
call fcn.005fbe64
test eax, eax
jne 0x4cb500
lea ecx, [esp + 0x34]
push str._H:_M:_S
push ecx
mov ecx, esi
call fcn.005ef8a3
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call fcn.0062269f
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x34]
jmp 0x4cb581
mov edx, dword [esi]
mov eax, dword [esi + 4]
fld qword [esi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.005fbe64
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
fild qword [esp + 0x10]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x40
je 0x4cb559
lea ecx, [esp + 0x34]
push str._Y__d__m
push ecx
mov ecx, esi
call fcn.005ef8a3
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.0062269f
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x34]
jmp 0x4cb581
lea edx, [esp + 0x34]
push str._Y__d__mT_H:_M:_S
push edx
mov ecx, esi
call fcn.005ef8a3
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 4
call fcn.0062269f
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x34]
call fcn.00622566
mov esi, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.006222db
mov dword [esp + 0xc], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00622566
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret