joyce8/EMBER2024-capa huggingface dataset:
Function at 0x567fb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x67a828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.005683a0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0xfe4034
call fcn.0064241a
mov ecx, dword [0xeb91f0]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00565760
mov esi, 0xeb9248
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x568057
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x56804e
cmp al, 0xff
je 0x56804e
dec al
mov byte [ecx], al
jmp 0x568057
push ecx
call fcn.00667c20
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.006634b0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x56809d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x568094
cmp al, 0xff
je 0x568094
dec al
mov byte [ecx], al
jmp 0x56809d
push ecx
call fcn.00667c20
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.006424a1
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x56d400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67aab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0056cfe0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.0056d050
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0056d330
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0056d000
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10

Function at 0x56d418
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67aab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0056cfe0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.0056d050
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0056d330
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.0056d000
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x56fc70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x56fc7b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x56fd7e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0xebacdc]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xebacdc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xebacdc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xebacdc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xebacdc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xebacdc]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xebacdc]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xebacdc]
xor eax, edx
inc ecx
dec edi
jne 0x56fc96
pop edi
test esi, esi
je 0x56fda0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xebacdc]
xor eax, edx
inc ecx
dec esi
jne 0x56fd82
pop esi
pop ebx
not eax
ret

Function at 0x570550
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x570591
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x570586
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x5705a4
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x5787b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov al, byte [esi + 4]
mov dl, byte [esi + 5]
add eax, 0xfffffffc
and dl, 0xfc
cmp eax, 0x22
mov byte [esi + 5], dl
ja case.0x5787e3.12
mov edi, dword [ebp + 8]
mov bl, 4
xor ecx, ecx
mov cl, byte [eax + 0x57890c]
jmp dword [ecx*4 + 0x5788e8]
mov eax, dword [esi + 8]
test eax, eax
je 0x578801
test byte [eax + 5], 3
je 0x578801
push eax
push edi
call fcn.005787b0
add esp, 8
mov dl, byte [esi + 5]
or dl, bl
mov byte [esi + 5], dl
mov edx, dword [esi + 0xc]
mov eax, dword [edi + 0x10]
add edx, 0x18
add eax, edx
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
mov cl, byte [esi + 6]
test cl, 0x40
je case.0x5787e3.12
mov cl, byte [eax + 5]
test cl, 3
je case.0x5787e3.12
mov dl, cl
mov esi, eax
and dl, 0xfc
mov byte [eax + 5], dl
xor edx, edx
mov dl, byte [eax + 4]
mov eax, edx
add eax, 0xfffffffc
cmp eax, 0x22
jbe 0x5787db
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 5]
or al, bl
mov byte [esi + 5], al
mov ecx, dword [edi + 0x10]
xor eax, eax
mov al, byte [esi + 7]
add eax, 0x11
add ecx, eax
mov dword [edi + 0x10], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 5]
mov ecx, dword [esi + 0xc]
or al, bl
add ecx, 0x11
mov byte [esi + 5], al
mov eax, dword [edi + 0x10]
add eax, ecx
mov dword [edi + 0x10], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x4c]
mov dword [esi + 8], edx
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x4c]
mov dword [esi + 8], eax
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x1c], ecx
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x28], edx
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov dword [edi + 0x4c], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x57a1e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov eax, ecx
shr esi, 5
xor eax, edx
inc esi
cmp ecx, esi
jb 0x57a21b
push ebx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [edi + ecx - 1]
sub ecx, esi
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
cmp ecx, esi
jae 0x57a1fd
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x595720
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x595793
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x595788
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00645466
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x5a5eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67bb28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0xfb94a0]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push eax
push 0xfae7a0
push ecx
mov byte [esp + 0x2c], 1
call fcn.00665336
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push 0xfae79c
push eax
call fcn.00668173
push 0xfae798
lea ecx, [esp + 0x30]
mov bl, 2
push eax
push ecx
mov byte [esp + 0x2c], bl
call fcn.006680ff
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.00667fa3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], bl
call fcn.00667eb6
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.00667eb6
mov edi, dword [esi + 0x118]
mov eax, dword [esi + 0x114]
cmp edi, eax
jge 0x5a6008
push ebp
mov ebp, dword [esp + 0x2c]
mov al, byte [esp + 0x34]
test al, al
je 0x5a5f7c
push 1
push 0x100b6ac
jmp 0x5a5fef
push ebp
lea edx, [esp + 0x34]
push edi
push edx
mov ecx, esi
call fcn.005a1f20
mov eax, dword [eax]
mov ebx, dword [esp + 0x10]
push eax
mov byte [esp + 0x28], 4
call fcn.0063fcd2
push ecx
lea eax, [esp + 0x1c]
fstp qword [esp]
push ebx
push eax
call fcn.00665336
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 1
call fcn.00667eb6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0063fcd2
fcomp qword [0xebc6e0]
add esp, 4
fnstsw ax
test ah, 0x40
je 0x5a5fe8
mov eax, dword [esi + 0x348]
test eax, eax
jne 0x5a5ff8
push 1
push 0x100b6ac
jmp 0x5a5fef
mov edx, dword [esp + 0x14]
push 1
push edx
push ebp
push edi
mov ecx, esi
call fcn.0059cb00
mov eax, dword [esi + 0x114]
inc edi
cmp edi, eax
jl 0x5a5f6b
pop ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.00667eb6
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00667eb6
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x5a9680
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x67bf96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0xfb94a0]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.0066a2ed
cmp dword [0x100b6c0], ebx
je 0x5a96f0
lea ecx, [esp + 8]
mov dword [esp + 0xac], 0xffffffff
call fcn.00667eb6
pop esi
pop ebx
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
add esp, 0xa8
ret
mov edx, dword [0xfb94a0]
push ebp
push edi
mov edi, 1
mov dword [0x100b6c0], edi
mov dword [esp + 0x40], edx
lea eax, [esp + 0x20]
mov byte [esp + 0xb4], 1
push eax
call fcn.005960f0
add esp, 4
cmp esi, ebx
jne 0x5a9726
mov dword [esp + 0x20], ebx
jmp 0x5a972d
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, esi
call fcn.0066c451
mov edx, dword [esi + 0x84]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x88]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.00667fa3
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x5a978b
mov dword [esp + 0x14], ebx
jmp 0x5a9792
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x5a97ac
mov eax, dword [eax + 0x3d0]
cmp eax, edi
je 0x5a97a6
cmp eax, 2
jne 0x5a97ac
mov dword [esp + 0x18], edi
jmp 0x5a97b0
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x5a97be
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00669923
mov edi, eax
cmp edi, ebx
jne 0x5a97ce
xor eax, eax
jmp 0x5a97d1
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 0x5a97f9
mov ecx, esi
call fcn.0066c451
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [edi + 0x1c]
push 0x4e
push eax
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x5a9811
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x100b6c0], 0
test eax, eax
je 0x5a983a
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x5a983a
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb4], 0
call fcn.00667eb6
lea ecx, [esp + 0x10]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00667eb6
mov ecx, dword [esp + 0xac]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x5ab7b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x67c188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0066eb3f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.005ab6f0
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0066ea6d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x5ab877
cmp dword [esp + 0x40], 1
jne 0x5ab875
cmp ecx, eax
jge 0x5ab877
mov eax, ecx
cmp eax, 0x12c
jge 0x5ab883
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.005ab8d0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0066ebb1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x5b1400
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x67c786
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0xfb94a0]
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 + 0xb4], ebx
call fcn.0066a2ed
mov edx, dword [0xfb94a0]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x1c]
mov byte [esp + 0xb0], 1
push eax
call fcn.005960f0
add esp, 4
cmp esi, ebx
jne 0x5b1467
mov dword [esp + 0x1c], ebx
jmp 0x5b146e
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x1c], ecx
push edi
mov ecx, esi
call fcn.0066c451
mov edx, dword [esi + 0x3c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x40]
mov edi, 1
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.00667fa3
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x5b14bf
mov dword [esp + 0x14], ebx
jmp 0x5b14c6
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x5b14e1
mov eax, dword [eax + 0x3d0]
cmp eax, edi
je 0x5b14db
cmp eax, 2
jne 0x5b14e1
mov dword [esp + 0x18], edi
jmp 0x5b14e5
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x5b14f3
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00669923
mov edi, eax
cmp edi, ebx
jne 0x5b1503
xor eax, eax
jmp 0x5b1506
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 0x5b152e
mov ecx, esi
call fcn.0066c451
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 0x5b154a
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 0x5b1569
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x5b1569
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb0], 0
call fcn.00667eb6
lea ecx, [esp + 0xc]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00667eb6
mov ecx, dword [esp + 0xa8]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x5b2d60
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
lea ecx, [esp]
push 0xa
push ecx
and eax, 0xffff
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x5b2d8b
add esp, 0xc
ret
lea edx, [esp]
push edx
call fcn.0063fdb4
add esp, 4
add esp, 0xc
ret

Function at 0x5b436d
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x40c
test ah, 8
push esi
mov esi, ecx
je 0x5b4488
push ebp
call fcn.005b4100
push eax
call sub.IMM32.dll_ImmGetContext
mov ebp, eax
test ebp, ebp
je 0x5b447b
push ebx
push edi
lea eax, [esp + 0x34]
push 0x18e
push eax
push 0x800
push ebp
call sub.IMM32.dll_ImmGetCompositionStringW
cdq
sub eax, edx
mov ecx, esi
mov edi, eax
sar edi, 1
call fcn.005c7f00
test al, al
je 0x5b43f5
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.005cde90
mov ebx, eax
lea edx, [esp + 0x1cc]
push ebx
push edx
lea eax, [esp + 0x44]
push edi
push eax
call fcn.005cdee0
mov edx, dword [esi]
add esp, 0x18
lea eax, [esp + 0x1c4]
mov ecx, esi
push 0
push ebx
push eax
mov byte [esp + ebx + 0x1d0], 0
call dword [edx + 0x40]
jmp 0x5b4436
push 0
push 0
lea ecx, [esp + 0x1cc]
push 0x18f
push ecx
lea edx, [esp + 0x44]
push edi
push edx
push 0
call fcn.005b2d60
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x5b4436
mov al, byte [esp + edi + 0x1c4]
mov ecx, esi
push eax
call fcn.005c2620
inc edi
cmp edi, ebx
jl 0x5b4422
mov ecx, dword [esi + 0x328c]
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.005bbe70
mov ecx, eax
lea edx, [esp + 0x10]
push edx
push ebp
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call sub.IMM32.dll_ImmSetCompositionWindow
push ebp
mov ecx, esi
call fcn.005b4100
push eax
call sub.IMM32.dll_ImmReleaseContext
pop edi
pop ebx
pop ebp
xor eax, eax
pop esi
add esp, 0x40c
ret 8
push eax
mov eax, dword [esp + 0x418]
push eax
push 0x10f
mov ecx, esi
call fcn.005b4100
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
add esp, 0x40c
ret 8
Function at 0x5b881d
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
push 0
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
push edi
push ebx
push edx
push eax
push ecx
push 0x100b750
push 0
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
push 0xb
call fcn.0066a563
push eax
push 0
mov ecx, esi
call fcn.00669e7f
test eax, eax
jne 0x5b8873
pop edi
pop esi
pop ebx
ret 0x1c
call fcn.00672094
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x1c]
push 0
push eax
push 0
push edx
push edi
push ebx
push 0
push 0
push 0x42300000
push str.Source
push 0xfaea9c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x888
push eax
mov dword [esi + 0x98], eax
call edi
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x98]
push 0
push 0
push 0x889
push eax
call edi
mov ecx, dword [esi + 0x98]
push 5
push ecx
mov dword [esi + 0xa0], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
ret 0x1c
Function at 0x5c5fe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67cef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esi + 0x3378]
mov eax, dword [esi + 0xc34]
push ebx
mov dword [esp + 0x34], ebx
mov edx, dword [ecx + 0x4a4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
call fcn.00667c20
mov edi, dword [esp + 0x3c]
push edi
call fcn.00667bf7
add esp, 8
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x5c606d
xor eax, eax
cmp edi, ebx
mov dword [esp + 0x18], edi
jle 0x5c6071
push ebp
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov cl, byte [eax + ebp]
mov byte [eax + edx], cl
inc eax
cmp eax, edi
jl 0x5c605b
pop ebp
jmp 0x5c6071
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ecx
push eax
mov ecx, esi
mov byte [esp + 0x20], bl
call dword [edx + 0x78]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
push ecx
call fcn.00667c20
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8