joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e9f0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push ebp
push esi
push edi
push 0
push 0
push str.path
mov esi, ecx
mov dword [esp + 0x1c], 0
call ebx
mov ebp, eax
xor ecx, ecx
lea eax, [ebp + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a8a10
add esp, 4
push ebp
mov edi, eax
push edi
push str.path
call ebx
xor ebx, ebx
mov eax, edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43ea50
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.004018b0
push edi
call fcn.004a970e
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x440400
Capabilities:
Get file size

Disassembly:
push ecx
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x44040c
xor al, al
pop ecx
ret
push esi
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44042f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x44042f
xor al, al
pop esi
pop ecx
ret
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
call fcn.004b65c0
xor ecx, ecx
add eax, esi
adc edx, ecx
mov dword [edi], eax
mov dword [edi + 4], edx
mov al, 1
pop esi
pop ecx
ret
Function at 0x446da0
Capabilities:
Read data from internet
Receive data

Disassembly:
mov eax, dword [eax]
sub esp, 8
test eax, eax
push ebx
push edi
jne 0x446db6
or eax, 0xffffffff
pop edi
pop ebx
add esp, 8
ret 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x446dab
mov edx, dword [esp + 0xc]
add dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
cmp edi, dword [esi + 4]
je 0x446e4a
mov ecx, edi
sub ecx, dword [esi + 0x18]
cmp ecx, 0x3e8
jbe 0x446e1c
mov ebx, dword [esi + 0xc]
mov eax, ebx
sub eax, dword [esi + 0x1c]
xor edx, edx
div ecx
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x446e13
fadd qword [0x4e6318]
fstp qword [esi + 0x10]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 0xc]
fild dword [esi + 0xc]
test eax, eax
jge 0x446e2c
fadd qword [0x4e6318]
mov ecx, edi
sub ecx, dword [esi]
test ecx, ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jge 0x446e42
fadd qword [0x4e6318]
fdivp st(1)
mov dword [esi + 4], edi
fstp qword [esi + 0x20]
mov eax, dword [esp + 0xc]
pop edi
pop ebx
add esp, 8
ret 4
Function at 0x4485a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cd7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x8c]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
cmp esi, eax
mov ebx, 1
ja 0x44860a
cmp dword [edi + 0x18], eax
je 0x44860a
push ebx
push eax
call fcn.00416a30
test al, al
je 0x44860a
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], esi
jb 0x448603
mov eax, dword [edi + 4]
jmp 0x448606
lea eax, [edi + 4]
mov byte [eax + esi], 0
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
sub ecx, ebx
add esi, ebx
cmp esi, ecx
mov dword [esp + 0x18], ecx
je 0x4487dc
jmp 0x448626
mov ecx, dword [esp + 0x18]
mov al, byte [esi]
add esi, ebx
cmp al, 0x22
mov byte [esp + 0x20], al
je 0x4487dc
cmp al, 0x5c
jne 0x44872a
cmp esi, ecx
je 0x448745
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
cmp eax, 0x53
mov dword [esp + 0x8c], esi
ja case.0x448667.35
movzx eax, byte [eax + 0x44881c]
jmp dword [eax*4 + 0x4487f4]
push 0x22
jmp 0x44872f
push 0x2f
jmp 0x44872f
push 0x5c
jmp 0x44872f
push 8
jmp 0x44872f
push 0xc
jmp 0x44872f
push 0xa
jmp 0x44872f
push 0xd
jmp 0x44872f
push 9
jmp 0x44872f
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x1c]
push edx
push ecx
push ebp
push eax
lea ecx, [esp + 0x9c]
call fcn.00448870
test al, al
je 0x448780
mov ecx, dword [esp + 0x1c]
push ecx
lea esi, [esp + 0x44]
call fcn.00446e80
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov esi, edi
mov dword [esp + 0x8c], ebx
call fcn.00413db0
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x58], 0x10
jb 0x44870c
mov edx, dword [esp + 0x44]
push edx
call fcn.004a93cc
add esp, 4
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jmp 0x448736
mov eax, dword [esp + 0x20]
push eax
mov eax, ebx
call fcn.00413ea0
cmp esi, dword [esp + 0x18]
jne 0x448622
jmp 0x4487dc
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x60]
call fcn.00413d40
mov edx, dword [esp + 0x88]
push esi
push ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x88], 0
call fcn.00448b40
cmp dword [esp + 0x74], 0x10
mov bl, al
jb 0x4487dc
mov ecx, dword [esp + 0x60]
push ecx
jmp 0x4487d4
xor al, al
jmp 0x4487de
push 0x1d
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00413f40
mov edx, dword [esp + 0x88]
push esi
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], 2
call fcn.00448b40
cmp dword [esp + 0x3c], 0x10
mov bl, al
jb 0x4487dc
mov edx, dword [esp + 0x28]
push edx
call fcn.004a93cc
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
Function at 0x451970
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, eax
test esi, esi
push edi
jne 0x4519bf
cmp byte [ebx + 0x2c], al
jne 0x4519b7
mov byte [ebx + 0x2c], 1
mov dword [ebx + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x451998
sub eax, esi
push edx
lea edi, [ebx + 0x34]
mov esi, eax
call fcn.00450810
or eax, 0xffffffff
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
pop edi
pop esi
xor al, al
pop ebx
ret 4
push ebp
mov edi, ebx
call fcn.00450f90
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.004aa3d9
push esi
call fcn.004ad8e2
push 0
push 0
push esi
mov ebp, eax
call fcn.004aa3d9
add esp, 0x1c
test ebp, ebp
jg 0x451a1e
cmp byte [ebx + 0x2c], 0
jne 0x451a82
mov byte [ebx + 0x2c], 1
mov dword [ebx + 0x30], 0xc
mov edx, dword [str.Error_document_empty.]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x451a13
jmp 0x451a6c
lea eax, [ebp + 1]
push eax
call fcn.004a9a85
push esi
push 1
mov edi, eax
push ebp
push edi
mov byte [edi], 0
call fcn.004ac8fe
add esp, 0x14
cmp eax, 1
je 0x451a8b
push edi
call fcn.004a93cc
add esp, 4
cmp byte [ebx + 0x2c], 0
jne 0x451a82
mov byte [ebx + 0x2c], 1
mov dword [ebx + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x451a63
sub eax, esi
push edx
lea edi, [ebx + 0x34]
mov esi, eax
call fcn.00450810
or eax, 0xffffffff
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret 4
mov byte [edi + ebp], 0
cmp byte [edi], 0
mov eax, edi
mov esi, edi
je 0x451abc
mov cl, byte [eax]
cmp cl, 0xd
jne 0x451aaf
mov byte [esi], 0xa
add eax, 1
add esi, 1
cmp byte [eax], 0xa
jne 0x451ab7
jmp 0x451ab4
mov byte [esi], cl
add esi, 1
add eax, 1
cmp byte [eax], 0
jne 0x451a98
push 0
mov byte [esi], 0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push 0
push edi
mov ecx, ebx
call eax
push edi
call fcn.004a93cc
add esp, 4
pop ebp
xor eax, eax
cmp byte [ebx + 0x2c], al
pop edi
pop esi
sete al
pop ebx
ret 4
Function at 0x455720
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cd50b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4fa36c]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push esi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
xor ebx, ebx
cmp byte [edi + 0x10], bl
jne 0x4558bf
cmp dword [edi + 0x34], 8
mov dword [esp + 0x18], ebx
jb 0x455779
mov eax, dword [edi + 0x20]
jmp 0x45577c
lea eax, [edi + 0x20]
lea ecx, [esp + 0x18]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x4558c3
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [edi + 0x14], eax
je 0x4558c3
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
mov dword [edi + 0x18], eax
je 0x4558c3
cmp dword [edi + 0x34], 8
jb 0x4557c2
mov ecx, dword [edi + 0x20]
jmp 0x4557c5
lea ecx, [edi + 0x20]
mov edx, dword [esp + 0x18]
push eax
push esi
push edx
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
mov edx, dword [edi + 0x18]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.VarFileInfoTranslation
push edx
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueW
test dword [esp + 0x10], 0xfffffffc
mov dword [esp + 0x14], ebx
jbe 0x4558bb
xor esi, esi
push 0x7e
lea eax, [esp + 0x42]
push ebx
push eax
mov word [esp + 0x48], bx
call fcn.004aef60
mov eax, dword [esp + 0x28]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
push str.StringFileInfo_04x_04x
lea eax, [esp + 0x54]
push 0x3f
push eax
call fcn.004addbf
lea eax, [esp + 0x5c]
add esp, 0x20
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x455850
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x40]
push ecx
lea esi, [esp + 0x28]
call fcn.004018b0
mov edx, esi
push edx
mov esi, edi
mov dword [esp + 0xd4], ebx
call fcn.004148f0
mov dword [esp + 0xd0], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x45589e
mov eax, dword [esp + 0x24]
push eax
call fcn.004a93cc
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 1
movzx esi, ax
shr ecx, 2
cmp esi, ecx
mov dword [esp + 0x14], eax
jb 0x455802
mov byte [edi + 0x10], 1
mov al, 1
jmp 0x4558c5
xor al, al
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004a9ce9
mov esp, ebp
pop ebp
ret
Function at 0x465fc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cba58
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4fa36c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
xor ebx, ebx
mov esi, 7
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov dword [esp + 0x80], ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
mov dword [esp + 0x1c], ebx
call eax
mov ebp, eax
cmp ebp, ebx
je 0x466158
jmp 0x466045
mov esi, 7
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov byte [esp + 0x80], 1
push 2
mov dword [esp + 0x3c], esi
push 0x4ddaf8
lea esi, [esp + 0x28]
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.004018b0
push ebx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x88], 2
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
mov ecx, esi
push ecx
push ebp
mov ecx, edi
call edx
mov esi, 8
mov byte [esp + 0x80], 1
cmp dword [esp + 0x38], esi
jb 0x4660b2
mov eax, dword [esp + 0x24]
push eax
call fcn.004a93cc
add esp, 4
cmp dword [esp + 0x54], esi
mov eax, dword [esp + 0x40]
jae 0x4660c0
lea eax, [esp + 0x40]
push eax
call fcn.004ab5b2
mov esi, dword [esp + 0x94]
add esp, 4
cmp eax, esi
je 0x466132
mov edx, dword [edi]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x17]
push eax
push ebp
mov ecx, edi
mov byte [esp + 0x1f], bl
call edx
cmp byte [esp + 0x17], bl
jne 0x466101
mov ecx, dword [esp + 0x1c]
push esi
push ebp
push edi
call fcn.00465fc0
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x466144
mov byte [esp + 0x80], bl
cmp dword [esp + 0x54], 8
jb 0x46611c
mov eax, dword [esp + 0x40]
push eax
call fcn.004a93cc
add esp, 4
mov edx, dword [edi]
mov eax, dword [edx + 0x2c]
push ebp
mov ecx, edi
call eax
mov ebp, eax
cmp ebp, ebx
jne 0x466040
jmp 0x466158
cmp dword [esp + 0x54], 8
mov dword [esp + 0x18], ebp
jb 0x466158
mov ecx, dword [esp + 0x40]
push ecx
jmp 0x466150
cmp dword [esp + 0x54], 8
jb 0x466158
mov edx, dword [esp + 0x40]
push edx
call fcn.004a93cc
add esp, 4
cmp dword [esp + 0x70], 8
jb 0x46616c
mov eax, dword [esp + 0x5c]
push eax
call fcn.004a93cc
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004a9ce9
add esp, 0x70
ret 0xc
Function at 0x466920
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
sub esp, 0x20
push ebx
push ebp
push edi
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
cmp dword [esi + 0x18], 0
mov ebp, dword [sym.imp.USER32.dll_SetFocus]
mov edi, eax
jbe 0x466961
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0
push 1
push 0x101
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x466973
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call ebp
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edi
call ebx
mov ecx, dword [esi + 4]
xor eax, eax
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x466a3c
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x466a3c
cmp dword [esp + 0x14], 0x10
jne 0x4669e4
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 4]
jne 0x4669fc
push 1
push edi
call ebx
push edi
call ebp
cmp dword [esp + 0x14], 0x282
jne 0x4669fc
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x466a2a
cmp eax, 9
je 0x466a2a
lea ecx, [esp + 0x10]
push ecx
call fcn.00468980
add esp, 4
test al, al
jne 0x466a23
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esp + 0x14], 0x12
je 0x466a3c
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4669b7
push 1
push edi
call ebx
push edi
call ebp
cmp dword [esp + 0x14], 0x12
jne 0x466a56
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x467800
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jge 0x467818
mov esi, 8
push 2
call edi
test ax, ax
jge 0x467824
or esi, 1
push 1
call edi
test ax, ax
jge 0x467830
or esi, 2
push 0x10
call edi
test ax, ax
jge 0x46783c
or esi, 4
push 0x12
call edi
test ax, ax
jge 0x467848
or esi, 0x20
pop edi
mov ax, si
pop esi
ret

Function at 0x467940
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0x178]
cmp eax, ecx
je 0x467967
cmp byte [ebp + 8], 0
je 0x467967
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xbc]
cmp edi, eax
je 0x467a5b
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x4679d3
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], edi
call ebx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 8]
push edx
call eax
mov dword [esi + 0xbc], 0
test edi, edi
je 0x467a5b
mov edx, dword [edi]
mov eax, dword [edx + 0x124]
mov ecx, edi
call eax
cmp eax, esi
jne 0x467a5b
mov edx, dword [edi]
mov eax, dword [edx + 0xcc]
mov ecx, edi
call eax
test al, al
je 0x467a5b
mov edx, dword [edi]
mov eax, dword [edx + 0x11c]
mov ecx, edi
call eax
test al, al
je 0x467a5b
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esi + 0xbc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 8], 0x11
mov dword [esp + 0xc], edi
call ebx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 8]
push eax
call edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x468ad0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esi + 0x1d4]
sub esp, 0x28
test eax, eax
je 0x468af4
mov edx, dword [esi + 0x178]
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x468c0b
mov eax, dword [esp + 0x2c]
sub eax, 0x100
je 0x468b9e
sub eax, 4
je 0x468b22
sub eax, 1
jne 0x468b96
cmp dword [esi + 0xbc], eax
je 0x468b96
mov dword [esp], 5
jmp 0x468b32
cmp dword [esi + 0xbc], 0
je 0x468b96
mov dword [esp], 4
mov ecx, dword [esi + 0xc8]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc4]
mov word [esp + 0x18], di
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00467800
mov word [esp + 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0xc], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp]
push eax
call edx
xor al, al
add esp, 0x28
ret 4
cmp edi, 9
jne 0x468b96
cmp dword [esi + 0xbc], 0
je 0x468bf5
mov ecx, dword [esi + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
call edx
test al, al
je 0x468bf5
mov ecx, dword [esi + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x11c]
call edx
test al, al
je 0x468bf5
mov ecx, dword [esi + 0xbc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
cmp eax, 0xa
jne 0x468bf5
mov eax, dword [esi + 0xbc]
cmp byte [eax + 0x555], 0
jne 0x468b96
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge cl
mov eax, esi
push ecx
call fcn.00467850
mov al, 1
add esp, 0x28
ret 4
Function at 0x46b870
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4cb968
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebp
push esi
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46b8b2
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x24]
call fcn.004018b0
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
add esi, 0x58
push ecx
mov dword [esp + 0x4c], 0
call fcn.0046c520
cmp dword [esp + 0x34], 8
jb 0x46b8fe
mov edx, dword [esp + 0x20]
push edx
call fcn.004a93cc
add esp, 4
mov edi, dword [esp + 0x14]
test edi, edi
mov ebp, dword [esi + 4]
je 0x46b90d
cmp edi, esi
je 0x46b912
call fcn.004ab591
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x46b945
test edi, edi
jne 0x46b923
call fcn.004ab591
cmp esi, dword [edi + 4]
jne 0x46b92d
call fcn.004ab591
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret 4
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret 4
Function at 0x472230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cebf1
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
fldz
xor ebx, ebx
fstp qword [esi + 0x20]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esp + 0x14], ebx
xor eax, eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
lea eax, [esi + 0x88]
push eax
mov byte [esp + 0x18], 2
call fcn.004721a0
mov byte [esi + 0xc9], bl
mov dword [esi + 0xcc], ebx
mov byte [esi + 0xc8], 0xff
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x487ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0046f940
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x38]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x487faa
call fcn.0046f940
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x487faa
call fcn.0046f940
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x487fa3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x487f9c
test ebp, ebp
je 0x487f9c
push edi
push eax
push ebp
call fcn.004b1120
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
mov edi, dword [esp + 0x18]
push esi
call fcn.00487fc0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc