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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100c6420]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10047f93
cmp byte [ebx], 0xa
jne 0x10047f93
or byte [edi + eax + 0x28], 4
jmp 0x10047f98
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x10048097
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1004807a
inc eax
cmp dl, 0xd
je 0x10047fc4
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10047fea
cmp eax, ecx
jae 0x10047ff8
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x10047fac
jmp 0x10048097
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10048075
cmp dword [ebp - 0x10], 0
je 0x10048075
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100c6420]
test byte [eax + edi + 0x28], 0x48
je 0x1004804f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1004803a
mov byte [esi], dl
jmp 0x1004804b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100c6420]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10048097
cmp byte [ebp - 1], 0xa
jne 0x1004805e
cmp esi, ebx
jne 0x1004805e
mov byte [esi], 0xa
jmp 0x10048096
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10048ad9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10048097
mov byte [esi], 0xd
jmp 0x10048096
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100c6420]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10048094
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10048097
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100480a0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100c6420]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100480e6
cmp word [ebx], dx
jne 0x100480e6
or byte [eax + edi + 0x28], 4
jmp 0x100480eb
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1004824e
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1004822e
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1004812c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10048162
cmp eax, edx
jae 0x10048170
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10048107
jmp 0x1004824e
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10048229
cmp dword [ebp - 0x18], 0
je 0x10048229
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100c6420]
test byte [eax + edi + 0x28], 0x48
je 0x100481ff
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100481c3
mov word [esi], cx
jmp 0x100481fa
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100c6420]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100c6420]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100c6420]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1004824e
pop eax
cmp word [ebp - 4], ax
jne 0x1004820f
cmp esi, ebx
jne 0x1004820f
mov word [esi], ax
jmp 0x1004824b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10048ad9
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1004824e
push 0xd
pop eax
jmp 0x1004820a
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100c6420]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10048248
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1004824e
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1004b3a5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1004b442
push ebx
push esi
call fcn.1004b36e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10044701
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1004b3ef
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1004b441
push edi
push eax
call fcn.10044623
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1004b40f
call fcn.1004423f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1004b440
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10044701
add esp, 0x20
test eax, eax
jne 0x1004b42e
push edi
call fcn.1004423f
jmp 0x1004b436
push ebx
call fcn.1004423f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1004de7d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10041a1b
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004deec
cmp esi, dword [ebp - 4]
je 0x1004dee7
cmp dword [ebp + 0xc], 0
je 0x1004dee7
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1004dec4
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1004d9cf
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1004deee
xor eax, eax
inc eax
jmp 0x1004deee
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1004df54
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10069080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10041a1b
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10041a1b
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1004dfcb
cmp word [ecx], dx
je 0x1004dfcb
mov eax, dword [0x1005bbd4]
push edi
dec eax
push eax
push 0x1005bac0
call fcn.1004def2
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1004e03e
cmp word [eax], dx
je 0x1004e03e
mov eax, dword [edi]
test eax, eax
je 0x1004dfef
cmp word [eax], dx
je 0x1004dfef
lea eax, [ebp - 0x10]
push eax
call fcn.1004d8d5
jmp 0x1004dff8
lea eax, [ebp - 0x10]
push eax
call fcn.1004d970
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1004e068
mov eax, dword [0x1005babc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1005b7b0
call fcn.1004def2
add esp, 0xc
test al, al
je 0x1004e068
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1004e033
cmp word [eax], di
je 0x1004e033
lea eax, [ebp - 0x10]
push eax
call fcn.1004d8d5
pop ecx
jmp 0x1004e06a
lea eax, [ebp - 0x10]
push eax
call fcn.1004d970
jmp 0x1004e030
mov eax, dword [edi]
test eax, eax
je 0x1004e055
cmp word [eax], dx
je 0x1004e055
lea eax, [ebp - 0x10]
push eax
call fcn.1004d88a
pop ecx
jmp 0x1004e068
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1004e133
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1004dd77
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1004e133
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1004e133
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1004e133
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1004e0c0
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10046cce
test ebx, ebx
je 0x1004e12e
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10046cce
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004e133
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1004e133
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10051fcf
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1004e135
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100365e1
leave
ret
Function at 0x10052b61
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10052add
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10052cd0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10052cd0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10052c85
jg 0x10052bbd
test eax, eax
je 0x10052c7b
push 1
push 0x1000
call fcn.100435bd
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10052be0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10052c72
push 0x8000
push ebx
call fcn.10052a0e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10052c09
jg 0x10052c04
cmp ecx, 0x1000
jb 0x10052c09
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10044023
add esp, 0x10
cmp eax, 0xffffffff
je 0x10052c4e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10052c04
jl 0x10052c35
test ecx, ecx
jne 0x10052bf6
push dword [ebp - 0xc]
push ebx
call fcn.10052a0e
push esi
call fcn.1004423f
add esp, 0xc
xor ebx, ebx
jmp 0x10052cde
cmp byte [edi + 0x24], 0
je 0x10052c65
cmp dword [edi + 0x20], 5
jne 0x10052c65
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10052c70
mov ebx, dword [edi + 0x18]
jmp 0x10052c72
xor ebx, ebx
push esi
call fcn.1004423f
pop ecx
jmp 0x10052cde
test ecx, ecx
jg 0x10052c47
jl 0x10052c85
test eax, eax
jae 0x10052c47
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10048ad9
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10052ca5
cmp byte [edi + 0x1c], 0
je 0x10052c47
jmp 0x10052cd6
push ebx
call fcn.1004bd1c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10052c47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10052cde
cmp byte [edi + 0x1c], 0
je 0x10052cdb
mov ebx, dword [edi + 0x18]
jmp 0x10052cde
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10048ad9
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10054290
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100542bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100542bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001e57
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1023904c]
jne 0x1022f704
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x102451e8], eax
mov dword [0x102451e4], ecx
mov dword [0x102451e0], edx
mov dword [0x102451dc], ebx
mov dword [0x102451d8], esi
mov dword [0x102451d4], edi
mov word [0x10245200], ss
mov word [0x102451f4], cs
mov word [0x102451d0], ds
mov word [0x102451cc], es
mov word [0x102451c8], fs
mov word [0x102451c4], gs
pushfd
pop dword [0x102451f8]
mov eax, dword [ebp]
mov dword [0x102451ec], eax
mov eax, dword [ebp + 4]
mov dword [0x102451f0], eax
lea eax, [ebp + 8]
mov dword [0x102451fc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10245138], 0x10001
mov eax, dword [0x102451f0]
mov dword [0x102450ec], eax
mov dword [0x102450e0], 0xc0000409
mov dword [0x102450e4], 1
mov eax, dword [0x1023904c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10241458]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10245130], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x1022f804
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10245130], 0
jne 0x1022f7f0
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x10003701
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push ebp
push esi
push edi
xor esi, esi
push 3
mov edi, esi
call ebx
xor ebp, ebp
inc ebp
test al, 1
jne 0x101036c6
cmp dword [0x102394ec], esi
jne 0x10003737
mov eax, dword [0x10239cd8]
cmp dword [eax + 0x64], esi
jne 0x101036cd
mov ecx, dword [0x10239cd8]
call fcn.100036f9
test eax, eax
jne 0x101036e0
test edi, edi
jne 0x101036e7
mov eax, dword [0x10239d58]
mov dword [0x10239d58], esi
test edi, edi
jne 0x1000376f
test eax, eax
jne 0x1000376f
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, ebp
jmp 0x10003765
mov edi, ebp
jmp 0x10003721
push 0x1b
call ebx
test al, 1
je 0x10003737
mov edi, ebp
jmp 0x10003737
mov edi, ebp
jmp 0x1000374a
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x1010370e
cmp dword [esp + 0x14], 0x105
je 0x10103703
cmp dword [esp + 0x14], 0x101
jne 0x1010370e
cmp byte [esp + 0x18], 3
je 0x10003752
push ebp
push 0x109
push 0x100
push esi
lea eax, [esp + 0x20]
push eax
call ebx
test eax, eax
je 0x10003752
jmp 0x101036ef

Function at 0x1000d4d1
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x102393ac]
and dword [0x102393d4], 0
and dword [0x102393c4], 0
test eax, eax
jne 0x100fce1b
cmp dword [0x102393b8], 0
jne 0x100fce3d
ret
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000d4ec
push 0
push dword [0x102393ac]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1000d4ec
push 0x102393a8
call fcn.1015010a
jmp 0x1000d4f9
Function at 0x1000f2ea
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x1023a2fc], 0
jne 0x10114446
push esi
mov esi, dword [0x10239884]
test esi, esi
jne 0x1000f30c
mov esi, dword [0x1023a404]
test esi, esi
je 0x1000f31b
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10114449
xor eax, eax
pop esi
ret
xor eax, eax
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop esi
ret

Function at 0x1001618c
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x100], eax
test ecx, ecx
je 0x100162be
mov eax, dword [ecx - 4]
shr eax, 1
push eax
push ecx
call fcn.10016323
mov eax, dword [0x1023a27c]
test eax, eax
je 0x100162be
push ebx
push eax
call fcn.10016599
xor ebx, ebx
cmp dword [0x10239f64], ebx
jne 0x1001629b
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov al, byte [esp + 0xa1]
mov dl, byte [esp + 0x24]
mov cl, byte [esp + 0xa0]
mov byte [0x10239f8a], al
mov ax, word [0x1023a238]
mov ebp, 0x3ff
and ax, bp
push 0x11
pop ebp
mov byte [0x10239f88], dl
mov byte [0x10239f89], cl
cmp ax, bp
je 0x1011b5cc
cmp dword [0x1023a234], ebx
jne 0x100162d3
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 2
pop ebp
test dl, dl
jne 0x1011b5da
test cl, cl
jne 0x1011b5f3
cmp byte [0x10239f8a], bl
jne 0x1011b609
mov ax, word [0x1023a238]
mov edi, 0x3ff
push 0x11
and ax, di
pop ecx
cmp ax, cx
je 0x1011b61f
push 0x11
pop ebp
mov ax, word [0x1023a238]
and ax, di
pop edi
pop esi
cmp ax, bp
mov byte [esp + 0x1c], bl
mov word [esp + 0x98], bx
pop ebp
je 0x1011b63e
lea eax, [esp + 4]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
call fcn.10016695
test eax, eax
je 0x1011b647
mov eax, dword [0x1023a27c]
test eax, eax
je 0x100162bd
push eax
call fcn.1000ac28
mov dword [0x1023a27c], ebx
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.10001e57
add esp, 0x104
ret
mov edi, 0x3ff
jmp 0x1001626f
mov al, byte [esp + 0x25]
mov byte [0x10239f8b], al
jmp 0x10016221
push ebx
push ebx
push ebx
push 0x14
call esi
push ebx
push ebp
push ebx
push 0x14
call esi
mov cl, byte [0x10239f89]
jmp 0x1001623e
push ebx
push ebx
push ebx
mov edi, 0x90
push edi
call esi
push ebx
push ebp
push ebx
push edi
call esi
jmp 0x10016246
push ebx
push ebx
push ebx
mov edi, 0x91
push edi
call esi
push ebx
push ebp
push ebx
push edi
call esi
jmp 0x10016252
cmp byte [0x10239f8b], bl
je 0x1001626c
push ebx
push ebx
push ebx
push 0x15
call esi
push ebx
push ebp
push ebx
push 0x15
call esi
jmp 0x1001626c
mov byte [esp + 0x19], bl
jmp 0x10016290
call fcn.101a9240
jmp 0x100162a8
Function at 0x1001710f
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
xor esi, esi
test ax, ax
js 0x10103336
mov ebx, esi
push 0x12
call edi
test ax, ax
jns 0x10017137
push 4
pop esi
push 0x10
call edi
xor ecx, ecx
test ax, ax
sets cl
pop edi
or ecx, esi
or ecx, ebx
pop esi
mov eax, ecx
pop ebx
ret
push 2
pop ebx
jmp 0x1001712b
Function at 0x10023572
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push eax
lea eax, [esp + 0x38]
push eax
call sub.msvcr100.dll_memcpy
add esp, 0xc
dec esi
cmp esi, 0x40
jae 0x10126b03
push 4
pop eax
push eax
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
mov byte [esp + esi + 0x38], 0
call fcn.1015692e
or word [edi + 0x14], 1
push 2
pop ecx
or word [eax + 0x14], cx
jmp 0x10023673
sub esp, 0x64
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, ecx
push ebp
lea ebp, [ebx + 6]
movzx ecx, word [ebp]
test cl, 2
jne 0x10126ade
mov eax, dword [ebx + 8]
test eax, eax
je 0x100235a4
mov eax, dword [eax + 0x164]
mov dword [ebx + 0x4c], eax
and dword [esp + 0x14], 0
push 2
pop eax
or ecx, eax
mov word [ebp], cx
lea ecx, [ebx + 0x4dc]
mov dword [esp + 0x10], ecx
mov edx, 0x1001db38
xor ecx, ecx
push esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
push edi
mov eax, dword [esp + 0x18]
mov esi, edx
lea edi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [eax]
mov dword [esp + 0x20], edi
test edi, edi
je 0x1002367b
mov eax, dword [ebx + 8]
mov si, word [esp + 0x24]
test eax, eax
je 0x10023604
test dword [eax + 0xa4], 0x80000000
jne 0x10126ae5
cmp byte [ebx + 0x48], 0
je 0x100b7029
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10023613
sub esi, ecx
push esi
call fcn.1015692e
mov ecx, dword [esp + 0x1c]
push 4
mov byte [ebx + ecx + 0x918], al
pop eax
push eax
push edi
mov ecx, ebx
call fcn.1015692e
mov edi, eax
test edi, edi
je 0x10126b08
test byte [esp + 0x28], 0x10
mov ax, word [esp + 0x24]
movzx ecx, ax
mov dword [ebx + ecx*4 + 0x8c], edi
mov word [edi + 0x10], ax
je 0x100236b5
push 4
pop ecx
or word [edi + 0x14], cx
mov eax, dword [esp + 0x20]
cmp byte [esi + eax - 1], 0x24
je 0x1002342c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc dword [esp + 0x1c]
push 4
add ecx, 0xc
pop eax
add dword [esp + 0x18], eax
add edx, 0xc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
cmp ecx, 0xcb4
jb 0x100235cd
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x68]
pop ebp
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x64
ret
push 0x6d
pop ecx
cmp ax, cx
jne 0x10023664
mov ax, word [edi + 0x12]
mov word [ebx + 4], ax
jmp 0x10023664
movzx eax, si
push 0x6d
pop esi
sub eax, esi
je 0x1002360e
sub eax, 0x1b
jne 0x1002367b
jmp 0x1002360e
xor eax, eax
jmp 0x100236a4
movzx eax, si
push eax
call fcn.101c2c78
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
je 0x10023604
jmp 0x1002367b
call fcn.1015692e
mov eax, 0xfffd
and word [ebp], ax
mov eax, 0x8007000e
jmp 0x100236a2
Function at 0x1002695c
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x88
mov eax, dword [0x1023904c]
xor eax, esp
mov dword [esp + 0x84], eax
cmp dword [0x1023a234], 0
push ebx
mov ebx, dword [esp + 0x98]
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0xa4]
jne 0x1013b072
push edi
push ebx
push dword [esp + 0xa4]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10001e57
add esp, 0x88
ret 0x10
push ebp
push 1
push 0
lea ecx, [esp + 0x24]
push ecx
lea eax, [edi + edi]
push eax
push 0
push 0x78
lea ecx, [esp + 0x28]
call fcn.1015692e
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x1013b0bf
lea eax, [edi + edi]
push eax
push ebp
push dword [esp + 0xa8]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x1013b0c4
push edi
push ebx
push 0xffffffffffffffff
push ebp
push eax
push eax
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1013b0c4
mov esi, 0x8007000e
lea ecx, [esp + 0x10]
call fcn.1000cead
mov eax, esi
pop ebp
jmp 0x100269a5