joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452464
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0xc
cmp dword [0x4abb54], 0
je 0x4526c0
push ebx
call fcn.0044d2ff
pop ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [esp + 0x10]
jne 0x45248c
xor eax, eax
inc eax
jmp 0x452497
xor eax, eax
cmp byte [0x49bcb2], al
sete al
push eax
push ebx
push dword [esp + 0x18]
call fcn.004520cc
push dword [0x4abb50]
call fcn.0044d325
mov ecx, dword [0x49bcec]
add esp, 0x10
cmp ecx, 0xe
je 0x4526b8
push ebp
push esi
push edi
push 0x14
pop edi
lea eax, [ecx - 0x3a]
push 0x1d
cdq
pop esi
idiv esi
and dword [esp + 0x14], 0
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
mov esi, 0xcc0020
test eax, eax
jle 0x452542
mov dword [esp + 0xc], eax
push esi
push 0x2a
push 0
push dword [0x4ab9cc]
push 0x1d
push 0xc
push edi
push 0
push ebx
call ebp
mov eax, dword [0x49bce8]
push esi
push 0x2a
push 0x1f
push dword [0x4ab9cc]
add eax, 0xffffffec
push 0x1d
push 5
push edi
push eax
push ebx
call ebp
mov eax, dword [0x49bce8]
push esi
push 0x2a
push 0x2c
push dword [0x4ab9cc]
add eax, 0xfffffff9
push 0x1d
push 7
push edi
push eax
push ebx
call ebp
add edi, 0x1d
dec dword [esp + 0xc]
jne 0x4524e6
mov ecx, dword [0x49bcec]
lea eax, [ecx - 0x3a]
push 0x1d
cdq
pop ecx
idiv ecx
test edx, edx
mov dword [esp + 0xc], edx
je 0x4525be
push esi
push ecx
push 0xc
push 0x2a
push 0
push dword [0x4ab9cc]
push edx
push 0xc
push edi
push 0
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [0x49bce8]
push esi
push 0x1d
push 5
push 0x2a
push 0x1f
push dword [0x4ab9cc]
add eax, 0xffffffec
push dword [esp + 0x24]
push 5
push edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [0x49bce8]
push esi
push 0x1d
push 7
push 0x2a
push 0x2c
push dword [0x4ab9cc]
add eax, 0xfffffff9
push dword [esp + 0x24]
push 7
push edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
add edi, dword [esp + 0xc]
cmp dword [0x4ac330], 0
jne 0x4526b5
push esi
push 0x48
push 0
push dword [0x4ab9cc]
push 0x26
push 0x7d
push edi
push 0
push ebx
call ebp
mov eax, dword [0x49bce8]
add eax, 0xfffffeed
push 0x19
cdq
pop ecx
idiv ecx
mov dword [esp + 0xc], 0x7d
cmp eax, 3
jl 0x452608
sub eax, 3
mov dword [esp + 0x14], 1
test eax, eax
jle 0x452635
mov dword [esp + 0x10], eax
push esi
push 0
push 0xb3
push dword [0x4ab9cc]
push 0x26
push 0x19
push edi
push dword [esp + 0x28]
push ebx
call ebp
add dword [esp + 0xc], 0x19
dec dword [esp + 0x10]
jne 0x452610
mov eax, dword [0x49bce8]
add eax, 0xfffffeed
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
mov dword [esp + 0x10], edx
je 0x452675
push esi
push 0x26
push ecx
push 0
push 0xb3
push dword [0x4ab9cc]
push 0x26
push edx
push edi
push dword [esp + 0x30]
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x10]
add dword [esp + 0xc], eax
cmp dword [esp + 0x14], 0
je 0x45269b
push esi
push 0
push 0xcd
push dword [0x4ab9cc]
push 0x26
push 0x4b
push edi
push dword [esp + 0x28]
push ebx
call ebp
add dword [esp + 0xc], 0x4b
push esi
push 0x48
push 0x7e
push dword [0x4ab9cc]
push 0x26
push 0x96
push edi
push dword [esp + 0x28]
push ebx
call ebp
pop edi
pop esi
pop ebp
push 0
call fcn.0044d325
pop ecx
add esp, 0xc
ret
Function at 0x453ad9
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4ac330], ebx
jne 0x453ce6
mov eax, dword [0x4b1240]
cmp eax, ebx
je 0x453ce6
cmp dword [0x4ac104], ebx
je 0x453ce6
push esi
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.004541e8
mov edi, dword [ebp + 8]
neg edi
sbb edi, edi
and edi, 0xffffffeb
lea ecx, [ebp - 0x10]
add edi, 0x15
call fcn.0047a850
push eax
call fcn.0044d2ff
push dword [0x4ac100]
call fcn.0044d325
pop ecx
pop ecx
mov esi, 0xcc0020
push esi
push edi
push ebx
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x14
push 0x19
push ebx
push ebx
call fcn.0047a850
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push eax
call ebx
mov eax, dword [0x49bd18]
add eax, 0xffffff6a
push 0x19
cdq
pop ecx
idiv ecx
mov dword [ebp - 4], 0x19
test eax, eax
mov dword [ebp - 8], eax
je 0x453bda
test al, 1
je 0x453ba4
push esi
push edi
push 0x7f
push dword [0x4ab9cc]
push 0x14
push 0xc
push 0
push ecx
lea ecx, [ebp - 0x10]
call fcn.0047a850
push eax
call ebx
mov dword [ebp - 4], 0x25
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x453bda
mov dword [ebp - 8], eax
push esi
push edi
push 0x7f
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x14
push 0x19
push 0
push dword [ebp - 4]
call fcn.0047a850
push eax
call ebx
add dword [ebp - 4], 0x19
dec dword [ebp - 8]
jne 0x453bb3
push esi
push edi
push 0x1a
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x14
push 0x64
push 0
push dword [ebp - 4]
call fcn.0047a850
push eax
call ebx
mov eax, dword [0x49bd18]
add eax, 0xffffff6a
push 0x19
cdq
pop ecx
idiv ecx
add dword [ebp - 4], 0x64
test eax, eax
mov dword [ebp - 8], eax
je 0x453c6f
test al, 1
je 0x453c39
push esi
push edi
push 0x7f
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x14
push 0xd
push 0
push dword [ebp - 4]
call fcn.0047a850
push eax
call ebx
add dword [ebp - 4], 0xd
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x453c6f
mov dword [ebp - 8], eax
push esi
push edi
push 0x7f
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x14
push 0x19
push 0
push dword [ebp - 4]
call fcn.0047a850
push eax
call ebx
add dword [ebp - 4], 0x19
dec dword [ebp - 8]
jne 0x453c48
mov eax, dword [0x49bd18]
add eax, 0xffffff6a
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
mov dword [ebp - 8], edx
je 0x453cb2
push esi
push 0x14
push ecx
push edi
push 0x7f
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x14
push edx
push 0
push dword [ebp - 4]
call fcn.0047a850
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
jmp 0x453cb5
mov eax, dword [ebp - 4]
push esi
push edi
push 0x99
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x14
push 0x19
push 0
push eax
call fcn.0047a850
push eax
call ebx
push 0
call fcn.0044d325
pop ecx
lea ecx, [ebp - 0x10]
call fcn.0045422c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x453ce9
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
xor edi, edi
cmp dword [0x4ac330], edi
jne 0x453edf
mov eax, dword [0x4b1240]
cmp eax, edi
je 0x453edf
cmp dword [0x4ac104], edi
je 0x453edf
push eax
lea ecx, [ebp - 0x10]
call fcn.004541e8
cmp dword [ebp + 8], edi
jne 0x453d2e
mov dword [ebp + 8], 0x4abf00
jmp 0x453d41
push 0x200
push dword [ebp + 8]
push 0x4abf00
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0xc], edi
push esi
je 0x453e46
push ebx
mov ebx, dword [0x49bd1c]
lea ecx, [ebp - 0x10]
add ebx, 0xffffffda
call fcn.0047a850
push eax
call fcn.0044d2ff
push dword [0x4ac100]
call fcn.0044d325
pop ecx
pop ecx
mov esi, 0xcc0020
push esi
push 0x2a
push edi
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x26
push 0x7d
push ebx
push edi
call fcn.0047a850
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
push eax
call edi
mov eax, dword [0x49bd18]
add eax, 0xffffff06
push 0x19
cdq
pop ecx
idiv ecx
mov dword [ebp - 4], 0x7d
test eax, eax
jle 0x453ddb
mov dword [ebp - 8], eax
push esi
push 0x51
push 0x7f
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x26
push 0x19
push ebx
push dword [ebp - 4]
call fcn.0047a850
push eax
call edi
add dword [ebp - 4], 0x19
dec dword [ebp - 8]
jne 0x453db4
mov eax, dword [0x49bd18]
add eax, 0xffffff06
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
mov dword [ebp - 8], edx
je 0x453e1e
push esi
push 0x26
push ecx
push 0x51
push 0x7f
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x26
push edx
push ebx
push dword [ebp - 4]
call fcn.0047a850
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
jmp 0x453e21
mov eax, dword [ebp - 4]
push esi
push 0x51
push 0
push dword [0x4ab9cc]
lea ecx, [ebp - 0x10]
push 0x26
push 0x7d
push ebx
push eax
call fcn.0047a850
push eax
call edi
push 0
call fcn.0044d325
pop ecx
pop ebx
mov eax, dword [0x49bd1c]
push dword [0x4ab9ec]
lea ecx, [eax - 0x1b]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x49bd18]
add ecx, 0xffffffe7
mov dword [ebp - 0x18], ecx
add eax, 0xfffffff3
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], 0x5c
mov dword [ebp - 0x14], eax
call fcn.0047a850
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
call esi
push dword [0x49bdb8]
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0047a850
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [0x49bdbc]
lea ecx, [ebp - 0x10]
call fcn.0047a850
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x820
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0047a850
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
push edi
lea ecx, [ebp - 0x10]
call fcn.0047a850
push eax
call esi
lea ecx, [ebp - 0x10]
call fcn.0045422c
pop esi
pop edi
leave
ret
Function at 0x453faa
Capabilities:
Capture screenshot

Disassembly:
push ecx
push ecx
push ebp
xor ebp, ebp
cmp dword [0x4b1240], ebp
je 0x454194
cmp dword [0x4ac104], ebp
je 0x454194
push ebx
mov ebx, dword [esp + 0x14]
push ebx
call fcn.0044d2ff
pop ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x4b1240]
jne 0x453fe6
xor eax, eax
inc eax
jmp 0x453ff1
xor eax, eax
cmp byte [0x49bcb2], al
sete al
push eax
call fcn.00453ad9
cmp dword [0x4ac330], ebp
pop ecx
jne 0x454193
push esi
push edi
push dword [0x4ac100]
call fcn.0044d325
mov eax, dword [0x49bd1c]
pop ecx
add eax, 0xffffffc6
push 0x1d
pop ecx
cdq
idiv ecx
push 0x14
pop edi
mov esi, 0xcc0020
cmp eax, ebp
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
jle 0x454073
mov dword [esp + 0x10], eax
push esi
push 0x2a
push 0x7f
push dword [0x4ab9cc]
push 0x1d
push 0xb
push edi
push 0
push ebx
call ebp
mov eax, dword [0x49bd18]
push esi
push 0x2a
push 0x8b
push dword [0x4ab9cc]
add eax, 0xfffffff8
push 0x1d
push 8
push edi
push eax
push ebx
call ebp
add edi, 0x1d
dec dword [esp + 0x10]
jne 0x454036
mov eax, dword [0x49bd1c]
add eax, 0xffffffc6
push 0x1d
cdq
pop ecx
idiv ecx
test edx, edx
mov dword [esp + 0x10], edx
je 0x4540d1
push esi
push ecx
push 0xb
push 0x2a
push 0x7f
push dword [0x4ab9cc]
push edx
push 0xb
push edi
push 0
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [0x49bd18]
push esi
push 0x1d
push 8
push 0x2a
push 0x8b
push dword [0x4ab9cc]
add eax, 0xfffffff8
push dword [esp + 0x28]
push 8
push edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
add edi, dword [esp + 0x10]
push esi
push 0x2a
push 0
push dword [0x4ab9cc]
push 0x26
push 0x7d
push edi
push 0
push ebx
call ebp
mov eax, dword [0x49bd18]
add eax, 0xffffff06
push 0x19
cdq
pop ecx
idiv ecx
mov dword [esp + 0x10], 0x7d
test eax, eax
jle 0x454128
mov dword [esp + 0x14], eax
push esi
push 0x51
push 0x7f
push dword [0x4ab9cc]
push 0x26
push 0x19
push edi
push dword [esp + 0x2c]
push ebx
call ebp
add dword [esp + 0x10], 0x19
dec dword [esp + 0x14]
jne 0x454106
mov eax, dword [0x49bd18]
add eax, 0xffffff06
push 0x19
cdq
pop ecx
idiv ecx
test edx, edx
mov dword [esp + 0x14], edx
je 0x454167
push esi
push 0x26
push ecx
push 0x51
push 0x7f
push dword [0x4ab9cc]
push 0x26
push edx
push edi
push dword [esp + 0x34]
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
jmp 0x45416b
mov eax, dword [esp + 0x10]
push esi
push 0x51
push 0
push dword [0x4ab9cc]
push 0x26
push 0x7d
push edi
push eax
push ebx
call ebp
xor esi, esi
push esi
push esi
call fcn.00453ce9
push esi
call fcn.0044d325
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
pop ecx
pop ecx
ret
Function at 0x454987
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
and dword [ebp + 8], 0
push edi
mov edi, dword [eax + 4]
mov dword [ebp - 0xc], edi
mov edi, dword [eax]
mov dword [ebp - 8], edi
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x20
sub dword [ebp + 8], 0x61c88647
mov eax, edx
shl eax, 4
add eax, dword [ebp - 8]
mov edi, edx
shr edi, 5
add edi, dword [ebp - 0xc]
xor eax, edi
mov edi, dword [ebp + 8]
add edi, edx
xor eax, edi
add ecx, eax
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x10]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x14]
xor eax, edi
mov edi, dword [ebp + 8]
add edi, ecx
xor eax, edi
add edx, eax
dec dword [ebp - 4]
jne 0x4549bc
pop edi
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
leave
ret
Function at 0x45624b
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
xor edi, edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.004044c3
mov eax, dword [ebp + 8]
pop ecx
mov dword [0x4b0600], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov dword [0x4ac394], eax
call fcn.004045e1
mov dword [0x4ac394], eax
call fcn.00454a2b
call fcn.004061fd
call fcn.0041234a
mov dword [esp], 0x4ac39c
push 0x4ac398
push dword [0x4ac394]
call fcn.004048fa
add esp, 0xc
mov dword [0x4ac394], eax
call fcn.00407125
test byte [0x4b002c], 0x80
jne 0x4562eb
push dword [0x4ac394]
call fcn.00455b89
cmp eax, edi
pop ecx
je 0x4562eb
push dword [0x4ac39c]
push dword [0x4ac398]
push eax
push dword [0x4ac394]
call fcn.00454b40
add esp, 0x10
jmp 0x456360
push esi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
push 0x455d4b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
call fcn.004044b7
test eax, eax
jne 0x45635d
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 6
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp eax, 1
je 0x456375
cmp eax, edi
jne 0x456354
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004044d2
call fcn.004044b7
test eax, eax
je 0x45631b
xor eax, eax
pop esi
pop edi
leave
ret 0x10
cmp dword [ebp - 0x24], 0x12
je 0x456386
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push edi
push edi
lea eax, [ebp - 0x28]
push edi
push eax
call esi
test eax, eax
jne 0x456365
jmp 0x456354
mov eax, dword [ebp - 0x20]
jmp 0x45635f
Function at 0x45825f
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadIconA]
push esi
mov esi, dword [ebp + 8]
push edi
push 9
pop ecx
xor eax, eax
push 0x66
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
push esi
mov dword [ebp - 0x50], 8
mov dword [ebp - 0x40], esi
call ebx
mov edi, dword [sym.imp.USER32.dll_RegisterClassA]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x4c], 0x42e1a8
mov dword [ebp - 0x2c], 0x48fb6c
call edi
test ax, ax
je 0x458345
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x4c], 0x41f948
mov dword [ebp - 0x2c], str.Winamp_Video
call edi
test ax, ax
je 0x458345
push 9
pop ecx
xor eax, eax
push 0x66
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
push esi
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x18], esi
call ebx
mov esi, dword [sym.imp.USER32.dll_RegisterClassW]
mov dword [ebp - 0x14], eax
mov edi, eax
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], 0x40b099
mov dword [ebp - 4], str.Winamp_Gen
call esi
test ax, ax
je 0x458345
or dword [ebp - 0x28], 3
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x24], 0x431e90
mov dword [ebp - 4], str.Winamp_EQ
call esi
test ax, ax
je 0x458345
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x24], 0x440bed
mov dword [ebp - 4], 0x48fb34
call esi
test ax, ax
jne 0x458349
xor eax, eax
jmp 0x458377
push ebx
push 0x45825a
push ebx
push 0xb0
push dword [0x4b0600]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push edi
mov esi, eax
push 0xfffffffffffffff2
push esi
call dword [sym.imp.USER32.dll_SetClassLongA]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4595f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
sub eax, 0x202
je 0x45963c
sub eax, 3
jne 0x45969d
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [ebp + 8]
push 0
push dword [ebp - 4]
push dword [ebp - 8]
push 2
push dword [0x4b06e0]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
jmp 0x45969d
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
test ah, ah
jns 0x459662
push 0
push 0x9cf9
push 0x111
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x45969c
push 0x10
call esi
test ah, ah
jns 0x459673
push 0
push 0x9c5d
jmp 0x459652
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x459694
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 9
push edi
call esi
push 5
push edi
call esi
jmp 0x45969b
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
xor eax, eax
inc eax
leave
ret
Function at 0x4596a2
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [esp + 8], 1
push ebx
push esi
push edi
jne 0x459769
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
movsx esi, ax
xor ebx, ebx
sar esi, 0xf
cmp byte [0x49fb6d], bl
jne 0x4596da
cmp esi, ebx
jne 0x4596da
cmp dword [0x4a4d48], ebx
je 0x4596ed
push ebx
push dword [esp + 0x14]
call edi
cmp esi, ebx
jne 0x4596f6
cmp dword [0x4a4d48], ebx
jne 0x4596f6
mov byte [0x49e8e1], 1
jmp 0x459708
push 0x4b0700
call fcn.00418d1c
pop ecx
mov byte [0x49e8e1], 2
cmp dword [0x49bce4], ebx
je 0x459749
mov eax, dword [0x4b0400]
cmp eax, ebx
je 0x459749
mov esi, dword [sym.imp.USER32.dll_GetParent]
push eax
call esi
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x459740
push dword [0x4b0400]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x459749
push ebx
push dword [0x4b0400]
call edi
cmp dword [0x49bcd4], ebx
je 0x45975e
mov eax, dword [0x4b0610]
cmp eax, ebx
je 0x45975e
push ebx
push eax
call edi
mov dword [0x4a4d48], ebx
jmp 0x459850
xor ebx, ebx
cmp dword [esp + 0x14], ebx
jne 0x459850
cmp byte [0x49e8e1], 2
jne 0x459790
mov al, byte [0x49fb6d]
cmp al, 1
je 0x459790
cmp al, 2
je 0x459790
call fcn.00418cdb
cmp dword [0x4aa718], ebx
je 0x4597a3
mov dword [0x4aa718], ebx
call fcn.004133a3
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x4597c5
cmp dword [0x4ac3a0], ebx
jne 0x4597c5
push 8
push edi
call esi
cmp byte [0x49e8e1], bl
je 0x4597d4
push ebx
call fcn.00413d30
pop ecx
cmp dword [0x49bcd8], ebx
jne 0x4597e3
push edi
call fcn.00454791
pop ecx
push ebx
push 0x2a
push 0x113
push edi
mov byte [0x49e8e1], bl
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x4ac3a0], ebx
jne 0x459807
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [0x49bce4], ebx
je 0x45981d
mov eax, dword [0x4b0400]
cmp eax, ebx
je 0x45981d
push 8
push eax
call esi
cmp dword [0x49bcd4], ebx
je 0x459833
mov eax, dword [0x4b0610]
cmp eax, ebx
je 0x459833
push 8
push eax
call esi
cmp dword [0x4a0cf0], ebx
je 0x459849
mov eax, dword [0x4b1240]
cmp eax, ebx
je 0x459849
push 8
push eax
call esi
push ebx
call fcn.00413d30
pop ecx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
ret
Function at 0x45b6e5
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x4845e8
call fcn.00483a50
push ecx
push esi
mov esi, ecx
push 0x4ac3dc
mov dword [ebp - 0x10], esi
call fcn.0045add5
and dword [ebp - 4], 0
push 0x4ac3e8
lea ecx, [esi + 0xc]
call fcn.0045b493
push 0x4ac3ec
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0045ae38
push 1
push 0x4ac430
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.0045ae74
push 0x4ac3f0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0045b4b3
push 0x4ac3fc
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call fcn.0045aef4
push 0x4ac3f4
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call fcn.0045af36
push 0x4ac3f8
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 6
call fcn.0045b4e9
push 1
push 0x4adc18
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 7
call fcn.0045b670
push 0x4ac3e0
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 8
call fcn.0045af9f
push 0x4ac3e4
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 9
call fcn.0045afdb
lea eax, [esi + 0x84]
push eax
push 0
mov dword [eax], 0x48fec0
mov ecx, dword [0x4ac3c8]
push 0xa
mov byte [ebp - 4], 0xa
call fcn.00475aa3
mov eax, dword [0x4ac3fc]
mov ecx, dword [ebp - 0xc]
mov dword [0x4ac3b8], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x45b7e7
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4845e8
call fcn.00483a50
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [0x4ac3c8]
lea eax, [esi + 0x84]
push eax
push 0
push 0x14
mov dword [ebp - 4], 0xa
call fcn.00475aa3
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 9
mov dword [ecx], 0x490408
call fcn.0045ab27
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 8
mov dword [ecx], 0x4903a0
call fcn.0045b624
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 7
mov dword [ecx], 0x490338
call fcn.0045aa1f
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 6
mov dword [ecx], 0x490580
call fcn.0045b260
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
mov dword [ecx], 0x4902d8
call fcn.0045b1cb
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
mov dword [ecx], 0x490278
call fcn.0045b18a
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
mov dword [ecx], 0x490218
call fcn.0045a94e
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
mov dword [ecx], 0x4901b0
call fcn.0045a90d
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
mov dword [ecx], 0x490150
call fcn.0045b5a0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0
mov dword [ecx], 0x4900f0
call fcn.0045a805
or dword [ebp - 4], 0xffffffff
mov ecx, esi
mov dword [esi], 0x490090
call fcn.0045b0ae
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x45d225
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, 0x4846d4
call fcn.00483a50
push ecx
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x210]
push edi
mov ecx, esi
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0x4908a4
call fcn.00412820
mov dword [esi], 0x490874
lea edi, [ebx + 0x220]
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.00412820
mov dword [edi], 0x490878
lea eax, [ebx + 0x230]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax], 0x4908a0
lea eax, [ebx + 0x240]
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax], 0x48fee0
mov dword [ebx + 4], esi
mov word [ebx + 8], si
mov eax, 0x494790
mov esi, eax
lea edi, [ebx + 0x250]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebx + 0x260]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebx + 0x270]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
or dword [ebx + 0x284], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebx + 0x280], eax
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret