joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a8d4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x43a902
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x43a909
cmp ebx, dword [eax + 4]
jae 0x43a909
xor eax, eax
jmp 0x43aaf9
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x43a91a
xor eax, eax
inc eax
jmp 0x43aaf8
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x43a930
cmp ecx, edx
jae 0x43aa75
cmp dword [eax + 4], 0
je 0x43a939
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x43a921
cmp dword [ebp + 8], 0
je 0x43a95b
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x43aa75
cmp eax, esi
jae 0x43aa75
mov eax, dword [0x582298]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x43a980
cmp dword [esi*4 + 0x5822a0], edi
je 0x43aa79
inc esi
cmp esi, eax
jl 0x43a96e
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43aaf5
cmp dword [ebp - 8], 0x1000000
jne 0x43aaf5
test byte [ebp - 0xc], 0xcc
je 0x43a9fe
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x43aaf5
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x43aaf5
cmp word [eax + 0x18], 0x10b
jne 0x43aaf5
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x43aaf5
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x43a9fe
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x43a9fe
test byte [ecx + 0x27], 0x80
jne 0x43aa75
push 1
push 0x5822e0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x43a912
mov ecx, dword [0x582298]
test ecx, ecx
mov edx, ecx
jle 0x43aa32
lea eax, [ecx*4 + 0x58229c]
cmp dword [eax], edi
je 0x43aa32
dec edx
sub eax, 4
test edx, edx
jg 0x43aa26
test edx, edx
jne 0x43aa63
push 0xf
pop ebx
cmp ecx, ebx
jg 0x43aa3f
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x43aa57
lea eax, [edx*4 + 0x5822a0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x43aa45
cmp ecx, 0x10
jge 0x43aa63
inc ecx
mov dword [0x582298], ecx
push 0
push 0x5822e0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x43a912
xor eax, eax
jmp 0x43aaf8
test esi, esi
jle 0x43a912
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x5822e0
call ebx
test eax, eax
jne 0x43a912
cmp dword [esi*4 + 0x5822a0], edi
je 0x43aacf
mov eax, dword [0x582298]
lea esi, [eax - 1]
test esi, esi
jl 0x43aabd
cmp dword [esi*4 + 0x5822a0], edi
je 0x43aab9
dec esi
jns 0x43aaad
test esi, esi
jge 0x43aacd
cmp eax, 0x10
jge 0x43aac8
inc eax
mov dword [0x582298], eax
lea esi, [eax - 1]
jmp 0x43aacf
je 0x43aae7
xor ecx, ecx
test esi, esi
jl 0x43aae7
lea eax, [ecx*4 + 0x5822a0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x43aad5
push 0
push 0x5822e0
call ebx
jmp 0x43a912
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d3d2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x57dcc0]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
test esi, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
je 0x43d45a
push esi
call fcn.004420f5
test eax, eax
pop ecx
jne 0x43d422
call fcn.0042ee31
mov dword [eax], 0xf
call fcn.0042ee28
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042b98a
leave
ret
and word [ebp - 6], 0
lea eax, [ebp - 0x218]
push eax
add esi, 0x40
lea eax, [ebp - 0x214]
push eax
mov word [ebp - 0xc], si
mov esi, 0x104
push esi
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xa], 0x3a
mov word [ebp - 8], 0x2e
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
jmp 0x43d46d
lea eax, [ebp - 0x214]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x43d412
inc eax
cmp eax, esi
ja 0x43d412
test edi, edi
mov ecx, edi
jne 0x43d4a3
cmp eax, dword [ebp + 0x10]
jg 0x43d484
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
call fcn.0042c9d3
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x43d4b8
call fcn.0042ee28
mov dword [eax], 0xc
jmp 0x43d412
cmp eax, dword [ebp + 0x10]
jle 0x43d4b8
call fcn.0042ee28
mov dword [eax], 0x22
jmp 0x43d412
lea eax, [ebp - 0x214]
push eax
push ecx
call fcn.0042bfbf
pop ecx
pop ecx
jmp 0x43d414

Function at 0x43d591
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x5822e8], ebx
push esi
push edi
jne 0x43d611
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43d64c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x5822e8], eax
je 0x43d64c
push 0x54903c
push edi
call esi
push 0x549028
push edi
mov dword [0x5822ec], eax
call esi
cmp dword [0x581d9c], 2
mov dword [0x5822f0], eax
jne 0x43d611
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x5822f8], eax
je 0x43d611
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x5822f4], eax
mov eax, dword [0x5822f4]
test eax, eax
je 0x43d656
call eax
test eax, eax
je 0x43d63d
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x5822f8]
test eax, eax
je 0x43d63d
test byte [ebp - 8], 1
jne 0x43d656
cmp dword [0x581da8], 4
jb 0x43d650
or byte [ebp + 0x12], 0x20
jmp 0x43d675
xor eax, eax
jmp 0x43d685
or byte [ebp + 0x12], 4
jmp 0x43d675
mov eax, dword [0x5822ec]
test eax, eax
je 0x43d675
call eax
mov ebx, eax
test ebx, ebx
je 0x43d675
mov eax, dword [0x5822f0]
test eax, eax
je 0x43d675
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x5822e8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4420f5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x442123
add al, 0x40
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x442128
cmp eax, 1
je 0x442128
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x442bfb
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0042c7e0
mov eax, dword [0x57dcc0]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0043543b
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x442d30
push 2
push esi
push dword [ebp + 8]
call fcn.0043543b
add esp, 0xc
cmp eax, ebx
je 0x442d30
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x442cd0
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0042bfe0
push 0x8000
push dword [ebp + 8]
call fcn.00443571
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x442c86
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.004351d4
add esp, 0xc
cmp eax, 0xffffffff
je 0x442ca6
sub edi, eax
test edi, edi
jg 0x442c7e
jmp 0x442cbe
call fcn.0042ee31
cmp dword [eax], 5
jne 0x442cbb
call fcn.0042ee28
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00443571
pop ecx
pop ecx
jmp 0x442d18
jge 0x442d18
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043543b
push dword [ebp + 8]
call fcn.004406da
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x442d18
call fcn.0042ee28
mov dword [eax], 0xd
call fcn.0042ee31
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0043543b
add esp, 0xc
mov eax, esi
pop edi
jmp 0x442d32
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b98a
leave
ret
Function at 0x443331
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x44334a
or eax, 0xffffffff
jmp 0x4433ab
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x4433a7
push 0x3d
push esi
call fcn.00443608
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4433a7
cmp esi, eax
je 0x4433a7
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x581dbc]
sete cl
cmp eax, dword [0x581dc0]
mov dword [ebp - 4], ecx
jne 0x44338d
mov edi, eax
call fcn.004432d0
mov dword [0x581dbc], eax
cmp eax, ebx
jne 0x4433e6
cmp dword [ebp + 0xc], ebx
je 0x4433af
cmp dword [0x581dc4], ebx
je 0x4433af
call fcn.004428a7
test eax, eax
je 0x4433e6
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x4433b8
xor eax, eax
jmp 0x4433aa
push 4
call fcn.0042c9d3
cmp eax, ebx
pop ecx
mov dword [0x581dbc], eax
je 0x4433a7
mov dword [eax], ebx
cmp dword [0x581dc4], ebx
jne 0x4433e6
push 4
call fcn.0042c9d3
cmp eax, ebx
pop ecx
mov dword [0x581dc4], eax
je 0x4433a7
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x581dbc]
sub edi, esi
push esi
call fcn.00443283
mov edi, eax
test edi, edi
pop ecx
jl 0x44344d
cmp dword [ebx], 0
je 0x44344d
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.0042c81d
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x44342d
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x44348e
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x443424
mov eax, edi
shl eax, 2
push eax
push dword [0x581dbc]
call fcn.0042ec40
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x44348e
jmp 0x443489
cmp dword [ebp - 4], 0
jne 0x4434f5
test edi, edi
jge 0x44345d
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x581dbc]
call fcn.0042ec40
test eax, eax
pop ecx
pop ecx
je 0x4433a7
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x581dbc], eax
cmp dword [ebp + 0xc], 0
je 0x4434e0
push esi
call fcn.0042cca0
inc eax
inc eax
push eax
call fcn.0042c9d3
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x4434e0
push esi
push edi
call fcn.00432e00
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x4434d9
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.0042c81d
pop ecx
cmp dword [ebp - 4], 0
je 0x4434ed
push esi
call fcn.0042c81d
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x4433aa
push esi
call fcn.0042c81d
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x4433b4
Function at 0x448570
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0x524248
push eax
mov eax, dword [esp + 0x20]
sub eax, ecx
mov dword fs:[0], esp
sub esp, 0x14
cdq
push ebx
sub eax, edx
sar eax, 1
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
lea edi, [eax + ecx - 0xa]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
test esi, esi
lea ebx, [eax + ecx - 0xa]
jne 0x4485be
xor eax, eax
jmp 0x4485c1
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x48]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004675e0
mov eax, dword [esp + 0x4c]
test eax, eax
mov dword [esp + 0x2c], 0
mov ecx, esi
lea ebp, [ebx + 6]
lea eax, [esp + 0x38]
je 0x44863c
lea edx, [edi + 7]
push edx
push ebp
push eax
call fcn.00505797
lea ecx, [edi + 0xb]
lea eax, [ebx + 0xa]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.005053fd
lea eax, [edi + 8]
push eax
add ebx, 0xd
push ebx
mov ecx, esi
call fcn.005053fd
lea eax, [edi + 8]
push eax
push ebp
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.00505797
mov ecx, dword [esp + 0x34]
lea eax, [edi + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.005053fd
add edi, 9
jmp 0x44868d
lea edx, [edi + 9]
push edx
push ebp
push eax
call fcn.00505797
lea ecx, [edi + 0xb]
lea eax, [ebx + 8]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.005053fd
lea edx, [edi + 6]
push edx
add ebx, 0xd
push ebx
mov ecx, esi
call fcn.005053fd
lea eax, [edi + 0xa]
push eax
push ebp
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.00505797
mov eax, dword [esp + 0x34]
lea edx, [edi + 0xc]
push edx
push eax
mov ecx, esi
call fcn.005053fd
add edi, 7
push edi
mov ecx, esi
push ebx
call fcn.005053fd
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00467670
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x1c
Function at 0x4515d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
mov ecx, dword [esi + 0xf0]
push ebp
push eax
call fcn.004a2680
mov ebx, eax
mov eax, dword [esi + 0xc4]
cmp eax, 0xffffffff
je 0x451633
cmp dword [esi + 0xf4], 5
jne 0x451633
cmp dword [esi + 0xec], 1
jne 0x451633
test ebx, ebx
je 0x451612
cmp dword [ebx + 0x7c], eax
je 0x451633
cmp eax, dword [esi + 0xc0]
jne 0x451628
mov edx, dword [esi]
push 0
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0x13c]
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004504b0
test ebx, ebx
je 0x451768
mov eax, esi
push edi
mov edi, edi
mov ecx, dword [eax + 0xf8]
test ecx, ecx
jne 0x45165a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jne 0x451640
jmp 0x45166f
mov eax, dword [eax + 0xf8]
test eax, eax
je 0x45166f
mov ecx, dword [eax + 0x58]
test ecx, ecx
jne 0x451714
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x451714
push esi
push 0x57eee8
call fcn.00503c61
add esp, 8
test eax, eax
je 0x451714
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x451714
mov ecx, esi
call fcn.0044e910
mov edi, eax
test edi, edi
je 0x451714
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x451714
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x451714
push 1
mov ecx, edi
call fcn.00457c20
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004504b0
mov edx, dword [esi]
push 0
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0x13c]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push ebp
push ecx
mov ecx, ebx
call dword [eax + 0x100]
push 0
mov ecx, edi
call fcn.00457c20
push 0
mov ecx, edi
call fcn.00456b10
mov ecx, edi
call fcn.00457680
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, esi
mov ecx, dword [eax + 0xf8]
test ecx, ecx
jne 0x451730
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jne 0x451716
jmp 0x45174f
mov eax, dword [eax + 0xf8]
test eax, eax
je 0x45174f
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x45174f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x45170d
mov eax, dword [esp + 0x18]
mov edx, dword [ebx]
push ebp
push eax
push 0
mov ecx, ebx
call dword [edx + 0xe0]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, esi
call fcn.004fda89
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4526f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x524848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push 1
lea edx, [esp + 0x28]
push edx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], edi
call fcn.0050ee9f
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00403640
mov edi, dword [esp + 0x34]
add eax, 0x10
add esp, 0x18
mov dword [edi], eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452786
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x455490
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xf0]
push esi
call fcn.004a23f0
call fcn.00517ba7
mov esi, dword [eax + 0xc]
movzx eax, word [esp + 0xc]
push 0xf1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4554d6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4554d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4554dd
pop esi
xor eax, eax
pop ebx
ret 8
movzx ecx, word [esi + 6]
push ebp
shl ecx, 2
push edi
push ecx
call fcn.00500fce
mov edi, eax
xor eax, eax
add esp, 4
cmp word [esi + 6], ax
jbe 0x455512
lea ecx, [esi + 8]
lea esp, [esp]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 2
cmp eax, edx
jl 0x455500
movzx eax, word [esi + 6]
push eax
push edi
mov ecx, ebx
call fcn.00455260
mov ebp, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x455571
mov ecx, ebx
call fcn.0044eab0
movzx edx, word [esi + 4]
movzx ecx, word [esi + 2]
push 0
push edx
mov edx, dword [esp + 0x1c]
push ecx
movzx ecx, word [esi + 6]
push ecx
push edi
push edx
mov ecx, eax
call fcn.00498fe0
test eax, eax
jne 0x455554
xor ebp, ebp
mov ax, word [esi + 2]
cmp ax, 0x10
je 0x455571
movzx ecx, word [esi + 4]
movzx eax, ax
mov dword [ebx + 0x100], eax
mov dword [ebx + 0x104], ecx
push edi
call fcn.00500fd3
add esp, 4
pop edi
mov eax, ebp
pop ebp
pop esi
pop ebx
ret 8
Function at 0x45a020
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
cmp dword [eax + 0x58], 2
jne 0x45a032
xor eax, eax
pop esi
ret 4
push ebp
mov ebp, dword [esp + 0xc]
cmp ebp, 0x60
jb 0x45a04f
cmp ebp, 0x69
ja 0x45a04f
mov ecx, dword [eax + 0x78]
test ecx, ecx
jne 0x45a04f
pop ebp
xor eax, eax
pop esi
ret 4
push 2
push ebp
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
je 0x45a048
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x50]
mov edi, eax
test edi, edi
je 0x45a07c
mov ecx, edi
call fcn.00454d00
test eax, eax
je 0x45a07c
mov eax, 1
jmp 0x45a07e
xor eax, eax
neg eax
sbb eax, eax
and eax, edi
push ebx
mov ebx, eax
mov eax, dword [esi + 0x80]
xor edi, edi
test eax, eax
jle 0x45a0eb
test edi, edi
jl 0x45a0ad
mov eax, dword [esi + 0x80]
cmp edi, eax
jge 0x45a0ad
cmp edi, eax
jge 0x45a0e0
mov ecx, dword [esi + 0x7c]
mov ebp, dword [ecx + edi*4]
jmp 0x45a0af
xor ebp, ebp
mov eax, dword [ebp + 0xd4]
test eax, eax
jne 0x45a0e5
mov edx, dword [esi + 0x70]
test byte [edx + 0x58], 1
je 0x45a0d3
test ebx, ebx
jne 0x45a0d3
mov ecx, ebp
call fcn.00454d00
test eax, eax
je 0x45a0d3
mov ebx, ebp
mov eax, dword [esi + 0x80]
inc edi
cmp edi, eax
jl 0x45a093
jmp 0x45a0e7
call fcn.004f96a8
mov ebx, ebp
mov ebp, dword [esp + 0x14]
test ebx, ebx
je 0x45a18b
mov ecx, ebx
call fcn.00454d00
test eax, eax
je 0x45a18b
mov eax, dword [ebx]
push ebp
mov ecx, ebx
call dword [eax + 0x1d8]
test eax, eax
jne 0x45a17f
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebx
mov ecx, esi
call fcn.00459d00
mov ebp, eax
test ebp, ebp
je 0x45a18b
mov edi, dword [ebp + 0xf8]
mov eax, dword [edi + 0xd4]
test eax, eax
mov ebx, dword [ebp + 0x7c]
jne 0x45a13f
mov ecx, esi
call fcn.00457680
push 1
mov ecx, esi
call fcn.00457560
push 1
push 0
mov dword [esi + 0x40], 1
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x134]
mov eax, dword [edi]
push 1
push ebx
mov ecx, edi
call dword [eax + 0x13c]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x45a17f
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xa8]
pop ebx
pop edi
pop ebp
mov eax, 1
pop esi
ret 4
pop ebx
pop edi
pop ebp
xor eax, eax
pop esi
ret 4

Function at 0x45b380
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
cmp esi, 8
push edi
mov edi, ecx
je 0x45b3c5
cmp esi, 0x21
jb 0x45b39a
cmp esi, 0x2e
jbe 0x45b3c5
cmp esi, 0x43
je 0x45b3ae
cmp esi, 0x56
je 0x45b3ae
cmp esi, 0x58
je 0x45b3ae
cmp esi, 0x5a
jne 0x45b3bb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x45b3c5
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 0x1c]
lea edx, [esp + 8]
mov dword [esp + 0x14], ecx
push edx
mov ecx, edi
mov dword [esp + 0x10], 0x100
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
call fcn.00500116
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x1c
ret 8
Function at 0x45b500
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
jne 0x45b516
xor eax, eax
pop edi
add esp, 0x1c
ret 8
push ebx
mov ebx, dword [esp + 0x28]
cmp ebx, 0x26
je 0x45b52f
cmp ebx, 0x28
je 0x45b52f
cmp ebx, 0x22
je 0x45b52f
cmp ebx, 0x21
jne 0x45b53c
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x45b546
pop ebx
xor eax, eax
pop edi
add esp, 0x1c
ret 8
mov eax, dword [edi + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push eax
call esi
push 1
push eax
call esi
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
push edx
push eax
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
neg eax
pop esi
sbb eax, eax
pop ebx
neg eax
pop edi
add esp, 0x1c
ret 8

Function at 0x460b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x525447
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
or edi, 0xffffffff
mov dword [esp + 0xc], esi
mov dword [esi], 0x54c890
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], 1
mov byte [esi + 0x16], bl
call fcn.005011a5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov dword [esp + 0x18], ebx
call fcn.005011a5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x18], 1
call fcn.005011a5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0x54c880
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0xa
lea ecx, [esi + 0x50]
mov byte [esp + 0x18], 3
call fcn.004c1920
mov ecx, esi
mov byte [esp + 0x18], 4
call fcn.0045fd60
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret