joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404d70
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebx, ecx
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
mov ecx, dword [ebx + 0x14]
xor edx, eax
movzx eax, byte [edi + 3]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
mov esi, ecx
and esi, edx
cmp dword [ebx + 0x18], esi
ja 0x404dc2
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add esi, eax
mov ecx, dword [ebx]
lea ebp, [esi*8]
mov esi, dword [ebx + 8]
mov eax, dword [esi + ebp]
cmp eax, ecx
jne 0x404dd9
mov esi, ecx
jmp 0x404ddf
mov esi, dword [esi + ebp + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x404df1
mov edx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x404e17
cmp esi, eax
jne 0x404de5
mov eax, dword [ecx]
push edi
push dword [eax + 4]
mov dword [esp + 0x20], eax
push eax
call fcn.00405c40
mov edx, eax
mov eax, dword [ebx + 4]
mov ecx, 0x15555554
sub ecx, eax
cmp ecx, 1
jae 0x404e28
jmp 0x404eb3
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
inc eax
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov edi, dword [ebx]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x404e63
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
add ecx, ebp
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x404e79
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + ebp + 4], edi
jmp 0x404e9b
cmp eax, esi
jne 0x404e81
mov dword [ecx], edi
jmp 0x404e9b
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x404e9b
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + ebp + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebp + 4], eax
mov ecx, ebx
call fcn.00404ed0
mov eax, dword [esp + 0x14]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov byte [eax + 4], 1
pop ebx
ret 0xc
push str.list_T__too_long
call fcn.0041f38b
int3
Function at 0x405370
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
mov esi, dword [ebx + 0x14]
xor edx, eax
movzx eax, byte [edi + 3]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x4053c7
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x4053fc
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4053fc
mov ecx, dword [edi]
lea ebx, [ebx]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x405440
cmp esi, eax
jne 0x4053f0
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x40542a
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0xc]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x405461
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x405483
push dword [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.004040a0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x405469
mov dword [ecx], edi
jmp 0x405483
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x405483
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.004055f0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4054c0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebx, ecx
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
mov ecx, dword [ebx + 0x14]
xor edx, eax
movzx eax, byte [edi + 3]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
mov esi, ecx
and esi, edx
cmp dword [ebx + 0x18], esi
ja 0x405512
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add esi, eax
mov ecx, dword [ebx]
lea ebp, [esi*8]
mov esi, dword [ebx + 8]
mov eax, dword [esi + ebp]
cmp eax, ecx
jne 0x405529
mov esi, ecx
jmp 0x40552f
mov esi, dword [esi + ebp + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x405541
mov edx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x405582
cmp esi, eax
jne 0x405535
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
cmp esi, eax
je 0x40556c
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
add ecx, ebp
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4055b6
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + ebp + 4], edi
jmp 0x4055d8
mov edx, dword [esp + 0x1c]
cmp edx, ecx
je 0x4055a5
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
push edx
mov dword [ecx + 4], eax
call fcn.0040abd8
add esp, 4
dec dword [ebx + 4]
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
cmp eax, esi
jne 0x4055be
mov dword [ecx], edi
jmp 0x4055d8
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4055d8
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + ebp + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebp + 4], eax
mov ecx, ebx
call fcn.00404ed0
mov eax, dword [esp + 0x14]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov byte [eax + 4], 1
pop ebx
ret 0xc
Function at 0x416b56
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4762d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00413d0d
mov dword [ebp - 0x14], eax
cmp dword [0x47aa08], edi
jne 0x416c47
push 0x800
push edi
push 0x463e80
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x416bd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416d27
push 0x463e80
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x416d27
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416d27
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x47aa08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x47aa0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x47aa10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47aa18], eax
test eax, eax
je 0x416c44
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47aa14], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416c6c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416c5f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x416c81
push 4
pop eax
jmp 0x416d29
cmp dword [ebp - 0x14], edi
je 0x416c81
push dword [0x47aa08]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416c66
mov eax, dword [0x47aa14]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x416cdf
cmp dword [0x47aa18], esi
je 0x416cdf
push eax
call ebx
push dword [0x47aa18]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416cdf
test eax, eax
je 0x416cdf
call ecx
test eax, eax
je 0x416cd4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x416cd4
test byte [ebp - 8], 1
jne 0x416cdf
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x416d0f
mov eax, dword [0x47aa0c]
cmp eax, esi
je 0x416d0c
push eax
call ebx
test eax, eax
je 0x416d0c
call eax
mov edi, eax
test edi, edi
je 0x416d0c
mov eax, dword [0x47aa10]
cmp eax, esi
je 0x416d0c
push eax
call ebx
test eax, eax
je 0x416d0c
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x47aa08]
call ebx
test eax, eax
je 0x416d27
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x416d29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004082d3
leave
ret
Function at 0x41a5ed
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040d5d1
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41a625
xor eax, eax
jmp 0x41a651
cmp esi, dword [ebp - 4]
je 0x41a64e
cmp dword [ebp + 0xc], 0
je 0x41a64e
push dword [edi + 0x9c]
call fcn.0041a1fb
push dword [edi + 0x9c]
mov esi, eax
call fcn.00416a7f
pop ecx
pop ecx
cmp esi, eax
je 0x41a621
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x449e90
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x469588
push edi
mov dword [esp + 0x18], edx
call fcn.0040a384
mov esi, eax
add esp, 8
test esi, esi
jne 0x449eba
push edi
push 0x64
call fcn.0045a870
add esp, 8
push 2
push 0
push esi
call fcn.0040b9f7
push esi
call fcn.0040b5ce
push 0
push 0
push esi
mov ebp, eax
call fcn.0040b9f7
lea eax, [ebp + 1]
push eax
call fcn.0040831a
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x449ef2
push 0x67
call fcn.0045a870
add esp, 4
lea eax, [ebp + 1]
push eax
push 0
push ebx
call fcn.004132d0
push esi
push ebp
push 1
push ebx
call fcn.0040a9f0
add esp, 0x1c
cmp eax, ebp
jae 0x449f1a
push edi
push 0x64
call fcn.0045a870
add esp, 8
push esi
call fcn.0040bb2d
push 0x190
call fcn.0040831a
mov edi, eax
add esp, 8
test edi, edi
jne 0x449f3d
push 0x67
call fcn.0045a870
add esp, 4
push str.__t_r_n
push ebx
call fcn.00409dc9
add esp, 8
mov esi, 1
test eax, eax
je 0x449f7f
push str.__t_r_n
push 0
mov dword [edi + esi*4], eax
call fcn.00409dc9
inc esi
add esp, 8
cmp esi, 0x64
jl 0x449f50
test eax, eax
je 0x449f7f
push str.option_table
push 0x66
call fcn.0045a870
add esp, 8
push dword [esp + 0x24]
mov edx, edi
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.00449fc0
push edi
call fcn.004082e2
push ebx
call fcn.004082e2
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x44c3a0
Capabilities:
Write file on windows

Disassembly:
push ecx
push dword [esp + 8]
push 1
push edx
call fcn.0040af44
xor ecx, ecx
add esp, 0x10
cmp eax, dword [esp + 4]
sete cl
mov eax, ecx
ret
Function at 0x45be00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [0x4762d4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov edi, ecx
mov eax, 1
jmp 0x45be20
dec eax
cmp dword [0x479968], 0
mov dword [esp + 0x14], eax
je 0x45bf1d
mov ecx, dword [ebp]
mov bl, cl
shr ecx, 7
mov al, cl
and al, 0x7f
shr ecx, 7
mov byte [esp + 0x19], al
mov al, cl
shr ecx, 7
mov dl, cl
and al, 0x7f
and bl, 0x7f
and dl, 0x7f
shr ecx, 7
and cl, 0x7f
mov byte [esp + 0x1a], al
mov byte [esp + 0x18], bl
mov byte [esp + 0x1b], dl
mov byte [esp + 0x1c], cl
mov esi, 5
lea eax, [esp + 0x1c]
cmp byte [eax + esi - 5], 0
jne 0x45be87
test byte [esp + esi + 0x16], 0x40
jne 0x45be87
dec esi
cmp esi, 1
jg 0x45be73
cmp esi, 5
jne 0x45be9d
cmp cl, 0xf
jne 0x45bea2
test dl, 0x40
je 0x45bea2
mov esi, 4
jmp 0x45bea2
cmp esi, 1
jle 0x45beba
lea eax, [esp + 0x18]
cmp byte [eax + esi - 1], 0x7f
jne 0x45beba
test byte [esp + esi + 0x16], 0x40
je 0x45beba
dec esi
cmp esi, 1
jg 0x45bea6
test esi, esi
jle 0x45bf00
mov edi, edi
dec esi
jne 0x45bec9
mov byte [esp + 0x13], bl
jmp 0x45bed3
mov al, byte [esp + esi + 0x18]
or al, 0x80
mov byte [esp + 0x13], al
push edi
push 1
lea eax, [esp + 0x1b]
push 1
push eax
call fcn.0040af44
dec eax
add esp, 0x10
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
sete cl
inc dword [0x47d8e8]
or dword [0x47d8e0], ecx
test esi, esi
jg 0x45bec0
mov ecx, dword [0x47d8e4]
mov eax, dword [0x47d8e8]
add ecx, 4
sub eax, ecx
mov dword [0x47d8e4], ecx
cmp eax, 0x3e
jl 0x45bf40
jmp 0x45bf62
push edi
push 4
push 1
push ebp
call fcn.0040af44
xor ecx, ecx
add esp, 0x10
cmp eax, 4
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47d8e0], eax
mov eax, dword [esp + 0x14]
add ebp, 4
test eax, eax
jg 0x45be20
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004082d3
add esp, 0x14
ret
push 1
push 0x47d8a0
call fcn.0040b640
int3
Function at 0x45d220
Capabilities:
Check for software breakpoints

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebx, ecx
mov ebp, edx
cmp byte [ebx], 0
push edi
mov dword [esp + 0x10], ebp
mov dword [esi], 0
mov edi, ebx
je 0x45d279
mov edi, edi
mov al, byte [edi]
cmp al, 0x21
je 0x45d270
cmp al, 0x25
je 0x45d24e
inc dword [esi]
jmp 0x45d273
inc edi
push edi
call fcn.0040986c
lea ecx, [eax - 1]
imul ecx, ecx, 0x29
add esp, 4
add ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45d263
sub ecx, edx
add dword [esi], ecx
jmp 0x45d273
add dword [esi], 3
inc edi
cmp byte [edi], 0
jne 0x45d240
push dword [esi]
call fcn.0040831a
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x45d2a1
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
mov dword [esp + 4], 0x67
jmp fcn.0045a870
mov byte [ebp], 9
mov al, byte [ebx]
lea esi, [ebp + 1]
test al, al
je 0x45d31b
mov ebp, dword [esp + 0x10]
mov cl, al
cmp cl, 0x21
je 0x45d2fd
cmp cl, 0x25
je 0x45d2c2
mov byte [esi], al
jmp 0x45d30e
inc ebx
push ebx
call fcn.0040986c
dec eax
imul eax, eax, 0x29
mov edi, esi
lea edx, [eax + ebp]
add esp, 4
mov ecx, edx
sub edi, edx
lea esp, [esp]
mov al, byte [ecx]
mov byte [edi + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x45d2e0
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x45d2f0
sub edx, ecx
add esi, edx
jmp 0x45d30f
mov word [esi], 0xa
add esi, 2
cmp byte [ebx + 1], 0
je 0x45d30f
mov byte [esi], 9
inc esi
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x45d2b2
mov ebp, dword [esp + 0x18]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x403720
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
push str.Name
push 0x419547
push str.SELECT__FROM_Win32_Process
push str.ROOTcimv2
mov ecx, dword [ebp - 4]
call fcn.00403300
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jl 0x40375b
mov al, 1
jmp 0x40376d
xor al, al
jmp 0x40376d
mov esp, ebp
pop ebp
ret
Function at 0x40cbe8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4370a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040ab08
mov dword [ebp - 0x14], eax
cmp dword [0x439124], edi
jne 0x40ccd9
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40cc66
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40cdb9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40cdb9
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40cdb9
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x439124], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x439128], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x43912c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x439134], eax
test eax, eax
je 0x40ccd6
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x439130], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40ccfe
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ccf1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40cd13
push 4
pop eax
jmp 0x40cdbb
cmp dword [ebp - 0x14], edi
je 0x40cd13
push dword [0x439124]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ccf8
mov eax, dword [0x439130]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40cd71
cmp dword [0x439134], esi
je 0x40cd71
push eax
call ebx
push dword [0x439134]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cd71
test eax, eax
je 0x40cd71
call ecx
test eax, eax
je 0x40cd66
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cd66
test byte [ebp - 8], 1
jne 0x40cd71
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40cda1
mov eax, dword [0x439128]
cmp eax, esi
je 0x40cd9e
push eax
call ebx
test eax, eax
je 0x40cd9e
call eax
mov edi, eax
test edi, edi
je 0x40cd9e
mov eax, dword [0x43912c]
cmp eax, esi
je 0x40cd9e
push eax
call ebx
test eax, eax
je 0x40cd9e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x439124]
call ebx
test eax, eax
je 0x40cdb9
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40cdbb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405b6d
leave
ret
Function at 0x44ba10
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [esi], 0
mov al, byte [0x66104a]
mov cl, byte [0x66104d]
mov edx, dword [0x661030]
and cl, al
mov eax, dword [0x661034]
mov byte [0x66104d], cl
mov ecx, eax
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x661043]
mov dword [0x661030], edx
adc eax, 0x661030
mov edx, dword [0x661038]
or edx, 7
imul edx, ecx
and eax, edx
mov edx, dword [0x664aac]
push edx
mov dword [0x661034], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [esi], eax
mov eax, dword [0x664aac]
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
push 0
add al, ch
and al, 0xca
and byte [eax], al
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44ba96
or dword [esi], 0x2000000
mov eax, esi
pop edi
pop esi
ret

Function at 0x499276
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [ecx], al
push ebx
push esi
push edi
mov ebx, edx
aas
add byte [ebx], dh
rcl byte [ebp + 0x68], 0x50
nop
inc eax
add byte [ecx], al
push dword [eax]
mov dword fs:[eax], esp
sbb dword [eax], eax
cmp ebx, 0x40
jle 0x4992e1
lea eax, [ebp]
add ecx, ecx
mov edx, 0x10000040
add byte [esp + esi], cl
add byte [eax], al
adc byte [eax], al
or al, 0x34
add byte [eax], al
lea eax, [ebp - 4]
add byte [ecx], al
xor byte [eax], al
add byte [esi - 0x47], ah
out dx, eax
add byte [edx + 0x40], bh
call 0xff4a92c6
cmp ebx, 0x40
jle 0x49929e
add dh, al
mov edx, dword [ebp - 4]
call 0x14995be
call fcn.004a2d56
sbb eax, 0x400
add byte [eax], al
jne 0x49931a
add byte [ecx], al
inc eax
cmp ebx, 0x40
jg 0x4992b1
add bl, bl
jle 0x49931a
lea eax, [ebp - 4]
xor eax, dword [eax]
add ebx, edx
call 0x2c49c6b2
add byte [ebp - 4], al
call fcn.0049c356
add byte [ecx], al
and byte [eax], al
mov edx, ebx
call fcn.00489372
mov eax, esi
mov edx, dword [ebp - 4]
add byte [ecx], al
add al, byte [eax]
add al, ch
inc ebx
xor eax, dword [eax]
add byte [ebx + 0x4b8], al
add byte [eax], al
add eax, eax
pop edx
pop ecx
pop ecx
push ss
add byte [eax + 0x57], ch
nop
inc eax
add byte [ebp - 0x74feffbb], cl
sub al, byte [eax]
add byte [eax - 0x14], bl
lea eax, [ebp]
add dword [ebx + 0x5800002a], ecx
in al, dx
add cl, ch
ja 0x499355
add byte [eax], al
jmp 0x499327
mov eax, dword [0x885980]
add dword [ebx + 0x488b0845], ecx
pop edx
add byte [esi + 0x2d289], bh
add byte [ebx + 0x508b0100], cl
cld
add edx, 0x7e
lea eax, [ebp - 4]
call fcn.004a93aa
mov eax, dword [ebp + 8]
mov esi, esp
add byte [ebx - 0x5b1703ab], cl
add eax, dword [eax]
add byte [ecx], al
inc ebp
or byte [ebx + 0x54fc40], cl
rol byte [edx], cl
add byte [eax], al
add byte [ebx + 0x40010045], cl
cld
mov byte [eax + 0x12d3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
add byte [ecx], al
adc byte [eax - 0x1f], ch
nop
inc eax
iretd