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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.00415410
mov eax, dword [0x441040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00423c58
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x426b21
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x426c98
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004144f0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x442cb0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00427cfe
mov ecx, dword [esi*4 + 0x442cb0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x426c91
cmp eax, dword [edi + ecx + 0x24]
jne 0x426c91
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x426c91
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00427cfe
add esp, 0x14
cmp edx, esi
jl 0x426c91
jg 0x426bec
cmp eax, esi
jb 0x426c91
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0x426c91
jl 0x426c0e
cmp dword [ebp - 0x1008], eax
ja 0x426c91
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0x426c33
cmp ebx, esi
je 0x426c78
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0x426c78
mov al, byte [ecx]
cmp al, 0xd
jne 0x426c59
lea eax, [edi - 1]
cmp ecx, eax
jae 0x426c65
cmp byte [ecx + 1], 0xa
jne 0x426c65
inc ecx
jmp 0x426c65
movzx eax, al
movsx eax, byte [eax + 0x441308]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x426c3f
cmp edx, ebx
jne 0x426c3f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0x426c96
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004144d6
leave
ret
Function at 0x4270e5
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x4270ff
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x427116
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x42716e
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.00429d45
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x42716e
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x42716e
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42716e
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x427168
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x42716a
xor bl, bl
mov al, bl
jmp 0x427170
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x42718a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x442cb0]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4271cc
cmp byte [ebx], 0xa
jne 0x4271cc
or byte [edi + eax + 0x28], 4
jmp 0x4271d1
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4272d4
mov cl, byte [eax]
cmp cl, 0x1a
je 0x4272af
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x427200
mov eax, dword [ebp - 8]
jmp 0x427220
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x42723c
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x42721a
add eax, 2
mov cl, 0xa
jmp 0x42721d
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x4271e2
jmp 0x4272d4
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 0x4272aa
cmp dword [ebp - 0x10], 0
je 0x4272aa
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x442cb0]
test byte [eax + edi + 0x28], 0x48
je 0x427289
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x427279
mov byte [esi], 0xa
jmp 0x4272d3
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x442cb0]
mov byte [eax + edi + 0x2a], cl
jmp 0x4272d3
cmp byte [ebp - 1], 0xa
jne 0x427293
cmp esi, ebx
je 0x427274
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00427d1c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4272d4
mov byte [esi], 0xd
jmp 0x4272d3
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x442cb0]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x4272d1
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x4272d4
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4272dd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x442cb0]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x427321
push 0xa
pop esi
cmp word [ebx], si
jne 0x427321
or byte [eax + edi + 0x28], 4
jmp 0x427326
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x427491
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x427469
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x427373
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x42739d
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x4273bc
push 0xa
pop ebx
cmp word [edx], bx
jne 0x42738a
push ebx
add eax, 4
pop edx
jmp 0x427392
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x427338
jmp 0x427491
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427464
cmp dword [ebp - 0x14], 0
je 0x427464
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x442cb0]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x427440
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x427408
mov word [esi], ax
jmp 0x42748e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x442cb0]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x442cb0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x442cb0]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x42748e
cmp word [ebp - 4], ax
jne 0x42744a
cmp esi, ebx
je 0x427400
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00427d1c
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x427491
push 0xd
pop eax
jmp 0x427400
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x442cb0]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x42748b
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x427491
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4296ac
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 0x429749
push ebx
push esi
call fcn.00429675
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.0042832a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4296f6
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x429748
push edi
push eax
call fcn.004228f0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x429716
call fcn.00421e60
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x429747
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042832a
add esp, 0x20
test eax, eax
jne 0x429735
push edi
call fcn.00421e60
jmp 0x42973d
push ebx
call fcn.00421e60
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 0x42bd3e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00421c88
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 0x42bdad
cmp esi, dword [ebp - 4]
je 0x42bda8
cmp dword [ebp + 0xc], 0
je 0x42bda8
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42bd85
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0042b893
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x42bdaf
xor eax, eax
inc eax
jmp 0x42bdaf
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x42be1a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x441040]
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.00421c88
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.00421c88
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 0x42be91
cmp word [ecx], dx
je 0x42be91
mov eax, dword [0x4392dc]
push edi
dec eax
push eax
push 0x4391c8
call fcn.0042bdb3
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x42bf04
cmp word [eax], dx
je 0x42bf04
mov eax, dword [edi]
test eax, eax
je 0x42beb5
cmp word [eax], dx
je 0x42beb5
lea eax, [ebp - 0x10]
push eax
call fcn.0042b799
jmp 0x42bebe
lea eax, [ebp - 0x10]
push eax
call fcn.0042b834
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x42bf2e
mov eax, dword [0x4391c4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x438eb8
call fcn.0042bdb3
add esp, 0xc
test al, al
je 0x42bf2e
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x42bef9
cmp word [eax], di
je 0x42bef9
lea eax, [ebp - 0x10]
push eax
call fcn.0042b799
pop ecx
jmp 0x42bf30
lea eax, [ebp - 0x10]
push eax
call fcn.0042b834
jmp 0x42bef6
mov eax, dword [edi]
test eax, eax
je 0x42bf1b
cmp word [eax], dx
je 0x42bf1b
lea eax, [ebp - 0x10]
push eax
call fcn.0042b74e
pop ecx
jmp 0x42bf2e
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 0x42bff9
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0042bc38
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42bff9
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x42bff9
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x42bff9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42bf86
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00424562
test ebx, ebx
je 0x42bff4
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00424562
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42bff9
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 0x42bff9
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042f0fa
add esp, 0x10
xor eax, eax
inc eax
jmp 0x42bffb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004144d6
leave
ret
Function at 0x430f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x430f4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x430f4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41b6eb
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004ceb50
mov dword [esp], 0xc8
mov dword [esp + 4], 0x96
push 0
call fcn.004b920d
mov ebx, eax
push 0
call fcn.004b950d
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 8], ebx
push 0
call fcn.004b927a
mov ebx, eax
push 0
call fcn.004b9589
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp + 4]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 0xc], ebx
push 0x80000004
push dword [0xf81550]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x60
call fcn.004b8c38
push 0xb
push 0x67
call fcn.004c78ad
push eax
push 0x1a
push 0xaa
push 0xf
push 0xf
push 0x63
call fcn.004b2fde
push 0xb
push 0x65
call fcn.004c78ad
push eax
push 0x1a
push 0xaa
push 0x2d
push 0xf
push 0x61
call fcn.004b2fde
push 0xb
push 0x66
call fcn.004c78ad
push eax
push 0x1a
push 0xaa
push 0x4b
push 0xf
push 0x62
call fcn.004b2fde
push dword [0xf8169c]
push 0x14
push 0xaa
push 0x78
push 0xf
push 0x64
call fcn.004b06be
call fcn.0043ba90
call fcn.004b8c30
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x41b8fc
call fcn.004bca96
push eax
mov ebx, 0x60
cmp ebx, dword [esp]
jne 0x41b8f9
push dword [esp + 0x20]
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x41b8f8
call fcn.004bca87
push eax
mov ebx, 0x63
cmp ebx, dword [esp]
jne 0x41b8ad
mov eax, str.https:__msfree.su_donaties_donations.html
push eax
call fcn.0048e69a
add esp, 0xc
jmp 0x41b953
mov ebx, 0x61
cmp ebx, dword [esp]
jne 0x41b8cc
mov eax, str.https:__msfree.su_donaties_donations.html
push eax
call fcn.0048e69a
add esp, 0xc
jmp 0x41b953
mov ebx, 0x62
cmp ebx, dword [esp]
jne 0x41b8e8
mov eax, str.https:__msfree.su_donaties_donations.html
push eax
call fcn.0048e69a
add esp, 0xc
jmp 0x41b953
mov ebx, 0x64
cmp ebx, dword [esp]
jne 0x41b8f7
add esp, 0xc
jmp 0x41b953
pop eax
pop eax
pop eax
jmp 0x41b906
push 0x60
call fcn.004b8c12
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41b92a
call fcn.004b9597
mov ebx, eax
cmp ebx, 0x60
jne 0x41b92a
call fcn.0043ba90
jmp 0x41b953
push 0xd
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41b94e
call fcn.004b9597
mov ebx, eax
cmp ebx, 0x60
jne 0x41b94e
call fcn.0043ba90
jmp 0x41b953
jmp 0x41b856
push 0x60
call fcn.004b89c0
xor eax, eax
add esp, 0x10
pop edi
pop ebx
ret 4
Function at 0x44721a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
push eax
push eax
call fcn.004ceb50
mov dword [esp], 0
jmp 0x44722d
mov eax, dword [esp + 0x10]
cmp eax, dword [esp]
jl 0x4472e6
push 0
call fcn.004b8af1
and eax, eax
je 0x4472dd
mov dword [esp + 4], 0xffffffff
call fcn.0044d34c
mov dword [esp + 4], eax
mov ebx, dword [esp + 4]
and ebx, ebx
jle 0x4472ac
call fcn.004bca96
push eax
mov ebx, dword [0xf816bc]
cmp ebx, dword [esp]
jne 0x447287
push dword [esp + 8]
call fcn.00445d91
mov ebx, eax
and ebx, ebx
jne 0x447285
jmp 0x4472a9
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x44729f
push dword [esp + 8]
call fcn.00438e35
mov ebx, eax
and ebx, ebx
jne 0x44729d
jmp 0x4472a9
push 3
call fcn.004b87e3
pop eax
jmp 0x4472b6
push 5
call fcn.004b87e3
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x4472d3
mov dword [0xf8166c], 1
jmp 0x4472dd
mov dword [0xf8166c], 0
inc dword [esp]
jno 0x44722d
xor eax, eax
add esp, 8
pop ebx
ret 4
Function at 0x44c6f6
Capabilities:
Query environment variable

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004ceb50
push dword [esp + 0x1c]
call fcn.0044f440
mov edx, dword [esp + 0x18]
lea ecx, [esp]
call fcn.0044f000
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea40
pop edx
push eax
push 0x3e8
call fcn.004cc530
call fcn.004ceb30
lea eax, [esp + 8]
push eax
call fcn.004ceac0
push 0x3e8
mov eax, dword [esp + 8]
push eax
mov eax, str.WINDIR
push eax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov edx, 0x5e60ba
lea ecx, [esp + 8]
call fcn.0044f008
push edx
call fcn.004cea40
pop edx
push eax
push 0xe
mov edx, dword [esp + 0xc]
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea70
mov edx, str.System32
push edx
call fcn.004cea70
call fcn.004ceb30
push edx
call fcn.004cea40
pop edx
push eax
mov edx, 0x5ec022
push edx
call fcn.004cea70
mov edx, dword [esp + 0x10]
push edx
call fcn.004cea70
call fcn.004ceb30
mov edx, dword [esp + 0x14]
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea70
mov edx, str.System32cmd.exe
push edx
call fcn.004cea70
call fcn.0044f422
add dword [esp], edx
call fcn.0044f422
add dword [esp + 4], edx
call fcn.0044f422
add dword [esp + 8], edx
call fcn.0048e136
call fcn.0044f440
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x44c884
push dword [esp + 0xc]
call fcn.0048e8da
and eax, eax
je 0x44c87b
push dword [esp + 0xc]
call fcn.0048e91c
and eax, eax
je 0x44c879
mov edx, dword [esp + 8]
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea70
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea40
pop edx
push eax
push 0x18
push dword [esp + 0x20]
call fcn.0048e940
call fcn.0044f422
add dword [esp], edx
call fcn.00429c8c
pop eax
mov edx, 0x5f8d70
push edx
call fcn.004cea70
lea eax, [esp + 0xc]
push eax
call fcn.004ceac0
jmp 0x44c804
push dword [esp + 0xc]
call fcn.0048e977
mov edx, dword [esp + 8]
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea70
pop eax
push eax
call fcn.0044f410
pop edx
add eax, edx
jmp 0x44c8ac
push dword [esp]
call fcn.004cebc0
push dword [esp + 4]
call fcn.004cebc0
push dword [esp + 8]
call fcn.004cebc0
add esp, 0x10
pop ebx
ret 4
Function at 0x44d41c
Capabilities:
Delete registry key

Disassembly:
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x44d422
call fcn.004ceb50
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.0044f000
mov edx, dword [esp + 0x28]
lea ecx, [esp + 4]
call fcn.0044f000
push dword [esp]
call fcn.0044d5a3
push dword [esp + 4]
mov edx, 0x5e70f0
pop ecx
call fcn.0044f3d0
je 0x44d4f1
cmp dword [0xf8179c], 0
je 0x44d4d7
mov eax, str.Advapi32.dll
push eax
push 0xffffffff
call fcn.004afc81
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x44d4d5
mov eax, str.RegDeleteKeyExA
push eax
push dword [esp + 0xc]
call fcn.004afcd7
mov dword [esp + 0xc], eax
push 0
mov ebx, dword [0xf817a0]
or ebx, 0xf003f
push ebx
mov eax, dword [0xf81790]
push eax
push dword [0xf81798]
push dword [esp + 0x1c]
call fcn.004afd31
mov dword [esp + 0x10], eax
push dword [esp + 8]
call fcn.004afbc0
jmp 0x44d4ec
mov eax, dword [0xf81790]
push eax
push dword [0xf81798]
call sub.ADVAPI32.dll_RegDeleteKeyW
mov dword [esp + 0x10], eax
jmp 0x44d57a
lea eax, [esp + 0x18]
push eax
push dword [0xf81798]
push dword [esp + 0xc]
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [esp + 0x14], eax
cmp dword [0xf8179c], 0
je 0x44d567
mov eax, str.Advapi32.dll
push eax
push 0xffffffff
call fcn.004afc81
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x44d565
push 0
mov ebx, dword [0xf817a0]
or ebx, 0xf003f
push ebx
mov eax, dword [0xf81790]
push eax
push dword [esp + 0x24]
mov eax, str.RegDeleteKeyExA
push eax
push dword [esp + 0x1c]
call fcn.004afd8e
mov dword [esp + 0x10], eax
push dword [esp + 8]
call fcn.004afbc0
jmp 0x44d57a
mov eax, dword [0xf81790]
push eax
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegDeleteKeyW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x44d589
mov eax, 1
jmp 0x44d58b
xor eax, eax
push dword [esp + 4]
call fcn.004cebc0
push dword [esp]
call fcn.004cebc0
add esp, 0x1c
pop ebx
ret 8
Function at 0x44d7a5
Capabilities:
Get graphical window text

Disassembly:
push ebx
xor eax, eax
push eax
call fcn.004ceb50
push dword [esp + 0xc]
call fcn.0044f440
mov ebx, dword [0xf817d8]
and ebx, ebx
jne 0x44d7e1
push 0
push 0
call sub.USER32.dll_FindWindowW
mov dword [0xf817dc], eax
mov dword [0xf817d8], 1
jmp 0x44d7f6
push 2
push dword [0xf817dc]
call sub.USER32.dll_GetWindow
mov dword [0xf817dc], eax
mov ebx, dword [0xf817dc]
and ebx, ebx
je 0x44d890
push 0xfffffff0
push dword [0xf817dc]
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
and ebx, 0x10000000
cmp ebx, 0x10000000
jne 0x44d88e
push 0xffffffec
push dword [0xf817dc]
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
and ebx, 0x80
cmp ebx, 0x80
je 0x44d88e
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea40
pop edx
push eax
push 0x100
call fcn.004cc530
lea eax, [esp + 4]
push eax
call fcn.004ceac0
push 0x100
push dword [esp + 4]
push dword [0xf817dc]
call sub.USER32.dll_GetWindowTextW
push dword [esp]
mov edx, 0x5e60ba
pop ecx
call fcn.0044f3d0
jne 0x44d88e
jmp 0x44d8a8
jmp 0x44d89a
mov dword [0xf817d8], 0
mov ebx, dword [0xf817dc]
and ebx, ebx
jne 0x44d7b7
mov edx, dword [esp]
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea70
pop eax
push eax
call fcn.0044f410
pop edx
add eax, edx
jmp 0x44d8cf
push dword [esp]
call fcn.004cebc0
add esp, 4
pop ebx
ret

Function at 0x44d8dc
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
mov edx, 0x19
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x44d8e3
call fcn.004ceb50
mov edx, dword [esp + 0x70]
lea ecx, [esp]
call fcn.0044f000
lea eax, [esp + 4]
lea eax, [esp + 0x48]
lea ebp, [esp + 4]
mov dword [ebp], 0x44
mov dword [ebp + 0x2c], 1
mov ebx, dword [esp + 0x74]
and ebx, 2
and ebx, ebx
je 0x44d932
lea ebp, [esp + 4]
mov word [ebp + 0x30], 0
jmp 0x44d93c
lea ebp, [esp + 4]
mov word [ebp + 0x30], 1
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x20]
push 0
call sub.KERNEL32.dll_CreateProcessW
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
je 0x44d9c5
mov ebx, dword [esp + 0x74]
and ebx, 1
and ebx, ebx
je 0x44d9bc
lea ebp, [esp + 0x48]
push dword [ebp + 4]
pop eax
mov dword [esp + 0x5c], eax
push 1
call fcn.004b87e3
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x60]
call sub.KERNEL32.dll_GetExitCodeThread
mov ebx, dword [esp + 0x60]
cmp ebx, 0x103
je 0x44d9ba
jmp 0x44d9bc
jmp 0x44d994
lea ebp, [esp + 0x48]
mov eax, dword [ebp]
jmp 0x44d9c7
xor eax, eax
push dword [esp]
call fcn.004cebc0
add esp, 0x64
pop ebx
pop ebp
ret 8