joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a6e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
mov al, byte [edi + 0x68]
lea ecx, [esp + 0xc]
push ecx
push edx
push edi
xor ebx, ebx
mov byte [esp + 0x24], al
call fcn.0040a4b0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
test esi, esi
mov byte [eax], bl
jne 0x40a721
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push ebp
mov ebp, dword [esp + 0x28]
test ebp, ebp
jne 0x40a73f
push 1
push esi
call fcn.00474b87
mov ebx, eax
add esp, 8
test ebx, ebx
mov ebp, ebx
jne 0x40a747
jmp 0x40a743
mov eax, dword [esp + 0x30]
cmp esi, eax
ja 0x40a7c2
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov al, byte [esp + 0x1c]
test al, al
jne 0x40a776
mov eax, dword [edi]
push eax
push 1
lea ecx, [esp + 0x24]
push 1
push ecx
call fcn.00408520
add esp, 0x10
dec esi
mov eax, dword [edi]
push 0
lea edx, [esp + 0x18]
push edx
push esi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
xor ecx, ecx
cmp edi, esi
sete cl
test eax, eax
je 0x40a79d
mov dword [eax], esi
test ecx, ecx
je 0x40a7b5
mov cl, byte [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov eax, ebp
pop ebp
pop edi
pop esi
mov byte [edx], cl
pop ebx
add esp, 8
ret
test ebx, ebx
je 0x40a7c2
push ebx
call fcn.00474358
add esp, 4
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x40a7d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
lea ecx, [esp + 0x18]
push ecx
push eax
push esi
mov dword [esi + 0x48], eax
call fcn.0040a4b0
mov ebx, dword [esp + 0x24]
push ebx
mov ebp, eax
call fcn.00474346
mov edi, eax
add esp, 0x10
test edi, edi
je 0x40a83a
mov edx, dword [esi]
push 0
push 0
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi]
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push edi
push esi
call fcn.00403130
push edi
mov esi, eax
call fcn.00474358
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x40a850
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x88
mov eax, dword [0x4c1830]
push esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
push 0
push eax
push esi
call fcn.0040a4b0
mov ecx, dword [esi]
add esp, 0xc
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi]
push 0
lea edx, [esp + 8]
push edx
push 0x80
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x98]
mov dword [0x4c5b48], 0x4b91fc
movzx edx, byte [esi + 0x6e]
push edx
lea eax, [esp + 0xf]
push eax
push ecx
call fcn.00401f00
mov ecx, dword [esp + 0x94]
add esp, 0xc
mov dword [0x4c5b48], 0
pop esi
call fcn.0047471e
add esp, 0x88
ret
Function at 0x40ab20
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push edi
push ebx
call fcn.0040a4b0
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x28]
add esp, 0xc
shr esi, 2
cmp edi, eax
sbb eax, eax
and eax, 2
mov dword [ecx], eax
add eax, esi
mov dword [edx], eax
je 0x40abac
inc eax
push 4
push eax
call fcn.00474b87
mov edi, eax
add esp, 8
test edi, edi
je 0x40abac
mov eax, dword [ebx]
push 0
push 0
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
je 0x40aba5
mov eax, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax]
mov eax, dword [ebx]
lea edx, [esi*4]
push edx
lea edx, [edi + ecx*4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x40ae10
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
xor edi, edi
push edi
lea eax, [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x1b]
push ecx
push ebp
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40ae98
lea ebx, [ebx]
mov cl, byte [esp + 0xf]
cmp cl, 0xa
je 0x40ae98
cmp cl, 0x3a
je 0x40ae53
cmp cl, 0x3d
jne 0x40ae60
test edi, edi
jne 0x40ae60
mov byte [esi], 0
mov esi, dword [esp + 0x1c]
jmp 0x40ae7b
cmp cl, 0x22
jne 0x40ae6a
xor edi, 1
jmp 0x40ae7b
test edi, edi
jne 0x40ae73
cmp cl, 0x20
je 0x40ae7b
cmp cl, 0xd
je 0x40ae7b
mov byte [esi], cl
inc esi
push 0
lea edx, [esp + 0x14]
push edx
push 1
lea eax, [esp + 0x1b]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40ae40
test eax, eax
mov byte [esi], 0
jne 0x40aea9
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 8
ret
cmp byte [ebx], 0
jne 0x40aeb7
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edi, str.Group
mov esi, ebx
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40aed5
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 8
ret
mov edi, 0x4987d8
mov esi, ebx
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40aef3
pop edi
pop esi
mov eax, 2
pop ebp
add esp, 8
ret
mov edi, str.Title
mov esi, ebx
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40af11
pop edi
pop esi
mov eax, 3
pop ebp
add esp, 8
ret
mov edi, 0x4987c8
mov esi, ebx
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40af2f
pop edi
pop esi
mov eax, 4
pop ebp
add esp, 8
ret
mov edi, 0x4987c0
mov esi, ebx
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40af4d
pop edi
pop esi
mov eax, 0xa
pop ebp
add esp, 8
ret
mov edi, str.mtra
mov esi, ebx
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40af6b
pop edi
pop esi
mov eax, 0xb
pop ebp
add esp, 8
ret
mov edi, str.emph
mov esi, ebx
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40af89
pop edi
pop esi
mov eax, 0xc
pop ebp
add esp, 8
ret
mov edi, 0x4987a8
mov esi, ebx
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40afa7
pop edi
pop esi
mov eax, 0xd
pop ebp
add esp, 8
ret
mov edi, str.labs
mov esi, ebx
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40afc5
pop edi
pop esi
mov eax, 0xe
pop ebp
add esp, 8
ret
xor eax, eax
mov edi, str.colo
mov esi, ebx
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
setne al
pop edi
pop esi
pop ebp
add eax, 0x11
add esp, 8
ret
Function at 0x40bf60
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [0x4c5b58]
mov edx, dword [0x4c5b5c]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov edi, eax
lea esp, [esp]
cmp ecx, edx
jl 0x40bfaa
push 0
lea eax, [esp + 0x10]
push eax
push 0x2000
push 0x4c2d60
push ebp
call esi
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov dword [0x4c5b5c], edx
mov dword [0x4c5b58], ecx
test edx, edx
je 0x40bfda
movsx eax, byte [ecx + 0x4c2d60]
inc ecx
cmp eax, 0xffffffff
mov dword [0x4c5b58], ecx
je 0x40bfdd
cmp eax, 0xa
je 0x40bfdd
cmp eax, 0xd
je 0x40bf80
cmp dword [ebx], 0
je 0x40bf80
mov byte [edi], al
mov eax, dword [ebx]
inc edi
dec eax
mov dword [ebx], eax
jmp 0x40bf80
or eax, 0xffffffff
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov byte [edi], 0
dec ecx
and ecx, edi
pop edi
pop esi
mov eax, ecx
pop ebp
pop ecx
ret

Function at 0x40c200
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40c36e
mov eax, dword [ebp + 0x10c]
mov edx, 1
cmp eax, edx
mov dword [esp + 0xc], edx
jle 0x40c358
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
nop
test edx, edx
jl 0x40c26b
cmp edx, dword [ebp + 0x10c]
jge 0x40c26b
mov ecx, dword [ebp + 0x108]
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x10], eax
jmp 0x40c273
mov dword [esp + 0x10], 0
test edx, edx
jl 0x40c2a6
cmp edx, dword [ebp + 0x10c]
jge 0x40c2a6
mov ecx, dword [ebp + 0x108]
mov ebx, dword [ecx + edx*4]
test ebx, ebx
je 0x40c2a6
mov eax, ebx
lea ecx, [eax + 1]
mov dword [esp + 0x18], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c295
sub eax, dword [esp + 0x18]
lea ebx, [ebx + eax + 1]
jmp 0x40c2a8
xor ebx, ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40c343
cmp byte [ebx], 0
je 0x40c343
push 0
lea edx, [esp + 0x20]
push edx
push 1
push 0x4988c0
push esi
call edi
mov eax, dword [esp + 0x10]
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c2d5
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x24]
push ecx
sub eax, ebp
push eax
push edx
push esi
call edi
push 0
lea eax, [esp + 0x28]
push eax
push 2
push 0x4988bc
push esi
call edi
mov eax, ebx
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c304
push 0
lea ecx, [esp + 0x2c]
push ecx
sub eax, ebp
push eax
push ebx
push esi
call edi
push 0
lea edx, [esp + 0x30]
push edx
push 2
push 0x4988bc
push esi
call edi
push 0
lea eax, [esp + 0x34]
push eax
push 2
push 0x4988bc
push esi
call edi
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp + 0x10c]
inc edx
cmp edx, eax
mov dword [esp + 0x14], edx
jl 0x40c250
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov byte [ebp + 0x11c], 0
mov al, 1
pop ebp
add esp, 0x24
ret
pop esi
xor al, al
pop ebp
add esp, 0x24
ret
Function at 0x410c70
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov edx, ebx
sar edx, 0xb
push esi
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x60]
movsx eax, dx
push edi
mov di, word [ecx + eax*2]
cmp di, 0x270f
jne 0x410d42
xor eax, eax
xor edi, edi
cmp word [esi + 0x70], ax
push ebp
mov dword [esp + 0x14], 0xffff
jle 0x410cdc
jmp 0x410cb0
mov ecx, dword [esi + 0x64]
movsx ebx, ax
movsx ecx, word [ecx + ebx*2]
test cx, cx
je 0x410d69
movzx ebp, word [esp + 0x14]
movsx ebx, cx
cmp ebx, ebp
jge 0x410cd5
mov edi, eax
mov dword [esp + 0x14], ecx
inc eax
cmp ax, word [esi + 0x70]
jl 0x410cb0
mov ecx, dword [esi + 0x68]
movsx eax, di
movzx ecx, word [ecx + eax*2]
mov eax, dword [esi + 0x60]
mov word [eax + ecx*2], 0x270f
mov ecx, dword [esi + 0x60]
movsx eax, dx
mov word [ecx + eax*2], di
mov ecx, dword [esi + 0x68]
movsx ebx, di
mov word [ecx + ebx*2], dx
lea edx, [eax + eax*2]
mov eax, dword [esi + 4]
push 0
shl edx, 0xb
push 0
add edx, eax
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [esi + 0x5c]
mov eax, dword [esi]
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [ebx + ebx*2]
shl edx, 0xb
push 0x1800
add edx, ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [esp + 0x18]
pop ebp
inc word [esi + 0x6c]
mov ax, word [esi + 0x6c]
jne 0x410d6d
xor eax, eax
cmp word [esi + 0x70], ax
jle 0x410d77
mov edx, dword [esi + 0x64]
movsx ecx, ax
inc eax
mov word [edx + ecx*2], 1
cmp ax, word [esi + 0x70]
jl 0x410d54
jmp 0x410d77
mov edi, eax
jmp 0x410cef
mov edx, dword [esi + 0x64]
movsx ecx, di
mov word [edx + ecx*2], ax
movsx eax, di
mov edi, dword [esi + 0x5c]
shl eax, 0xb
and ebx, 0x7ff
add eax, ebx
lea eax, [eax + eax*2]
movzx edx, byte [eax + edi]
add eax, edi
xor ecx, ecx
mov ch, byte [eax + 2]
pop edi
pop esi
pop ebx
mov cl, byte [eax + 1]
shl ecx, 8
or ecx, edx
mov eax, ecx
ret
Function at 0x412630
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x8c
mov ecx, dword [esp + 0x90]
test ecx, ecx
mov eax, dword [0x4c1830]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov dword [esp + 0x90], eax
mov esi, ebp
jne 0x412670
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x88]
call fcn.0047471e
add esp, 0x8c
ret
mov dl, byte [esp + 0x9c]
cmp dl, 0x72
jne 0x412683
mov eax, 0x80000000
jmp 0x412696
xor eax, eax
cmp dl, 0x77
setne al
dec eax
and eax, 0x80000000
add eax, 0xc0000000
cmp dl, 0x75
sete dl
test dl, dl
mov byte [esp + 0xb], dl
je 0x4126a8
lea esi, [esp + 0x10]
push ebx
push 0
push 0x80
push 3
push 0
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4126e8
call fcn.004752d6
mov dword [eax], 0x78
or eax, ebx
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x88]
call fcn.0047471e
add esp, 0x8c
ret
cmp byte [esp + 0xa0], 0x77
je 0x41279c
push 0
lea eax, [esp + 0x14]
push eax
push 0x80
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
and ecx, 0xffffff80
cmp ecx, 0x80
je 0x412744
call fcn.004752d6
push ebx
mov dword [eax], 0x79
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x88]
call fcn.0047471e
add esp, 0x8c
ret
mov ax, word [esp + 0xa8]
cmp word [esi + 0x40], ax
je 0x412758
cmp ax, 0x5357
jne 0x412719
mov al, byte [esi]
xor dl, dl
test al, al
mov ecx, esi
je 0x41276c
add dl, al
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x412762
cmp byte [esi + 0x43], dl
je 0x41279c
call fcn.004752d6
push ebx
mov dword [eax], 0x7a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x88]
call fcn.0047471e
add esp, 0x8c
ret
mov al, byte [esp + 0xf]
test al, al
je 0x4127bc
push edi
push 0
push 0
push 0
mov ecx, 0x12
mov edi, ebp
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edi
cmp byte [esp + 0xa0], 0x77
je 0x4127ce
mov al, byte [esp + 0xf]
test al, al
je 0x412840
mov dx, word [esp + 0xa8]
mov word [ebp + 0x40], dx
mov al, byte [ebp]
xor dl, dl
test al, al
mov ecx, ebp
je 0x4127ef
add dl, al
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x4127e5
push 0
lea eax, [esp + 0x14]
push eax
push 0x80
push ebp
push ebx
mov byte [ebp + 0x43], dl
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x10]
and ecx, 0xffffff80
cmp ecx, 0x80
je 0x412840
call fcn.004752d6
push ebx
mov dword [eax], 0x7c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x88]
call fcn.0047471e
add esp, 0x8c
ret
mov ecx, dword [esp + 0x94]
mov eax, ebx
pop ebx
pop esi
pop ebp
call fcn.0047471e
add esp, 0x8c
ret
Function at 0x421b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x421b19
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x421b2d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x421b4e
cmp esi, eax
jae 0x421b27
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x421b40
cmp esi, eax
jae 0x421b27
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4333d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x494e38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
push ebx
mov dword [esp + 0x14], esi
call fcn.00439320
mov eax, dword [esp + 0x20]
mov dword [esi + 0xf8], vtable.CLgButtonListener.0
mov dword [esi + 0xfc], vtable.CLgBoundedRangeModel.0
push ebx
push 1
lea edi, [esi + 0x50]
push 0xffffff
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.CLgSlideBar.3.0
mov dword [edi], vtable.CLgSlideBar.2.0
mov dword [esi + 0xf8], vtable.CLgSlideBar.1.0
mov dword [esi + 0xfc], vtable.CLgSlideBar.0
mov dword [esi + 0x10c], eax
mov dword [esi + 0x144], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x138], 0x64
mov dword [esi + 0x130], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov byte [esi + 0x104], bl
mov dword [esi + 0x148], ebx
call fcn.00464a80
add esp, 0xc
push eax
push ebx
push 1
push ebx
call fcn.00464a80
add esp, 0xc
push eax
mov ecx, edi
call fcn.00427460
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push ecx
mov dword [esi + 0x12c], ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x128], eax
call fcn.00433180
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x452700
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
mov eax, dword [0x4c1830]
push ebx
push esi
mov esi, dword [esp + 0x18]
test esi, esi
mov dword [esp + 0x10], eax
push edi
mov ebx, ecx
je case.0x452771.68
cmp dword [esi + 4], 0x100
mov edi, dword [0x4c7168]
jne case.0x452771.68
test edi, edi
je case.0x452771.68
mov ecx, dword [esi]
push 6
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [esi + 8]
movsx edx, ax
shr edx, 0x10
test edx, edx
seta al
add ecx, 0xffffffbd
cmp ecx, 0x33
ja case.0x452771.68
movzx ecx, byte [ecx + 0x452840]
jmp dword [ecx*4 + 0x452830]
test al, al
je case.0x452771.68
lea edx, [esp + 0xc]
push 0x498e20
push edx
call fcn.004751e1
add esp, 8
test eax, eax
je case.0x452771.68
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x3c]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
call fcn.0047471e
add esp, 0xc
ret 4
test al, al
je case.0x452771.68
lea ecx, [esp + 0xc]
push 0x498e20
push ecx
call fcn.004751e1
add esp, 8
test eax, eax
je case.0x452771.68
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x44]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
call fcn.0047471e
add esp, 0xc
ret 4
test al, al
je case.0x452771.68
mov eax, dword [edi]
push 0
push 0
mov ecx, edi
call dword [eax + 0x38]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
call fcn.0047471e
add esp, 0xc
ret 4
push esi
mov ecx, ebx
call fcn.00486d49
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
call fcn.0047471e
add esp, 0xc
ret 4

Function at 0x45c670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x495ba3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
xor ebx, ebx
push 0x24
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CLgBasicTreeCellRenderer.0
call fcn.00486744
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x45c6c4
push ebx
push ebx
push ebx
push 0x49875c
mov ecx, eax
call fcn.00466540
jmp 0x45c6c6
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
mov byte [esi + 0x4e], bl
mov byte [esi + 0x4f], bl
mov byte [esi + 0x50], bl
mov byte [esi + 0x51], bl
mov byte [esi + 0x52], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x464be0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x496068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi + 4], 1
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push str._2x_2x_2x
push eax
mov dword [esp + 0x3c], 0
mov dword [esi], vtable.CLgColor.0
call fcn.00475d05
movzx edx, byte [esp + 0x1c]
xor ecx, ecx
mov ch, byte [esp + 0x44]
add esp, 0x14
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], vtable.CLgColor.0
mov dword [esp + 0x1c], 0
mov cl, byte [esp + 4]
shl ecx, 8
or ecx, edx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
call fcn.00464980
movzx ecx, byte [esp + 8]
xor eax, eax
mov ah, byte [esp + 0x30]
mov dword [esi + 0xc], 0
mov al, byte [esp + 4]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x4708a0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4966af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CLgAppSI.0
mov dword [esi + 0xc], vtable.CLgAppSI.11.0
mov dword [esi + 0x10], vtable.CLgAppSI.10.0
mov dword [esi + 0x14], vtable.CLgAppSI.9.0
mov dword [esi + 0x18], vtable.CLgAppSI.8.0
mov dword [esi + 0x1c], vtable.CLgAppSI.7.0
mov dword [esi + 0x20], vtable.CLgAppSI.6.0
mov dword [esi + 0x24], vtable.CLgAppSI.5.0
mov dword [esi + 0x28], vtable.CLgAppSI.4.0
mov dword [esi + 0x2c], vtable.CLgAppSI.3.0
mov dword [esi + 0x30], vtable.CLgAppSI.2.0
mov dword [esi + 0x34], vtable.CLgAppSI.1.0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
mov dword [esp + 0x14], 1
je 0x470ee7
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x470ef4
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x470f0e
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x470f0e
mov edx, dword [ecx]
push 1
call dword [edx + 8]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x470f28
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x470f28
mov edx, dword [ecx]
push 1
call dword [edx + 8]
mov eax, dword [esi + 0x78]
push eax
call fcn.0048676f
mov eax, dword [esi + 0x84]
push eax
call fcn.0048676f
mov eax, dword [esi + 0x7c]
push eax
call fcn.0048676f
mov eax, dword [esi + 0x80]
push eax
call fcn.0048676f
mov eax, dword [esi + 0x88]
push eax
call fcn.0048676f
mov eax, dword [esi + 0x8c]
push eax
call fcn.0048676f
mov eax, dword [esi + 0x90]
push eax
call fcn.0048676f
mov ecx, dword [esi + 0x6c]
add esp, 0x1c
test ecx, ecx
je 0x470f86
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, byte [esi + 0x74]
test al, al
je 0x470f9a
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x470f9a
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, esi
mov dword [esi + 0x1c], vtable.CLgMouseListener.0
mov dword [esp + 0x14], 0xffffffff
call fcn.0043d040
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret