joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fba10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a3a9a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x30
mov edi, ecx
call fcn.00591ce0
add esp, 4
mov dword [esp + 8], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x4fba4b
mov ecx, eax
call fcn.0057c4a0
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0057c830
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov dword [esi + 0x14], ecx
push esi
lea ecx, [edi + 0xf0]
mov dword [esi + 0x1c], edx
call fcn.0050d760
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x502cf0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a4075
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
push 0x44
mov ebp, ecx
call fcn.00591ce0
add esp, 4
mov dword [esp + 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x38], esi
je 0x502d31
mov ecx, eax
call fcn.00579120
mov ebx, eax
jmp 0x502d33
xor ebx, ebx
push esi
push esi
push 5
push 1
push 0x17b7
or edi, 0xffffffff
push ebx
mov dword [esp + 0x50], edi
call fcn.00423500
add esp, 0x18
test eax, eax
jne 0x502d66
cmp ebx, esi
je 0x502d5f
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
xor eax, eax
jmp 0x502e8d
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx]
inc ecx
mov dword [ebx + 0x10], ecx
mov ecx, ebx
call dword [edx + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
push 0x5c
mov dword [esp + 0x14], eax
call fcn.00519e50
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov dword [esp + 0x38], 1
je 0x502dac
mov ecx, dword [esp + 0x48]
push ecx
push esi
mov ecx, eax
call fcn.0051a200
mov esi, eax
test esi, esi
mov dword [esp + 0x38], edi
jne 0x502dc4
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
xor eax, eax
jmp 0x502e8d
mov ecx, ebp
call fcn.00502510
mov edi, eax
mov ecx, ebp
add edi, 0x160
call fcn.00502510
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
call fcn.004017d0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004f9720
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lea eax, [eax + eax*4]
shl eax, 5
cdq
idiv dword [edi + 4]
mov dword [esp + 0x28], ecx
add esp, 8
mov ecx, eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*4]
shl eax, 6
cdq
idiv dword [edi]
add ecx, 0x1f
push ecx
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add ecx, 0x283
push ecx
push 5
push 1
push ebx
mov ecx, esi
call fcn.0051a300
mov edx, dword [esi]
push 0x2710
mov ecx, esi
call dword [edx + 0x14]
push 0x64
mov ecx, esi
call fcn.00519f70
mov eax, dword [esi]
push 0x40
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x54]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x10]
call fcn.00467ce0
push 2
lea ecx, [eax + 0x68]
call fcn.00408e30
mov eax, 1
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x50e590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a47d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
mov ebx, ecx
lea ecx, [esp + 0x1c]
call fcn.00576920
mov edx, dword [ebx]
push 2
push 0x2000000
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
mov dword [esp + 0x54], 0
call dword [edx + 4]
mov ecx, eax
call fcn.00576db0
test eax, eax
je 0x50e6f9
mov eax, dword [esp + 0x20]
test eax, eax
push ebp
mov ebp, eax
je 0x50e6f8
push esi
push edi
nop
mov eax, ebp
mov esi, dword [eax + 8]
mov ebp, dword [ebp]
push 0x5c4f98
mov ecx, esi
call fcn.00591e20
test eax, eax
mov ecx, esi
je 0x50e68e
mov eax, dword [esi]
push 0
call dword [eax + 0x40]
mov edi, eax
test dword [esi + 0x18], 0x4000000
je 0x50e6d9
cmp dword [esi + 0x74], 0x10
jge 0x50e641
push 1
push 0xb
push 0x10
call dword [sym.imp.SanCalc.dll_int___cdecl_rnd_int__enum_RANDOM_KIND__int_]
add esp, 0xc
test eax, eax
jne 0x50e6d9
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x50e6d9
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x1c]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x18]
call fcn.00591df0
push esi
push ebx
call fcn.005184c0
add esp, 8
jmp 0x50e6d9
push 0x5c46a0
call fcn.00591e20
test eax, eax
mov ecx, esi
je 0x50e6a7
push 0
call fcn.00515440
jmp 0x50e6d7
push 0x5c3a80
call fcn.00591e20
test eax, eax
mov ecx, esi
je 0x50e6c0
mov edx, dword [esi]
push 0
call dword [edx + 0x40]
jmp 0x50e6d7
push 0x5c3a68
call fcn.00591e20
test eax, eax
je 0x50e6ee
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x3c]
mov edi, eax
test edi, edi
jne 0x50e6ee
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov edx, dword [eax]
push 1
push esi
mov ecx, eax
call dword [edx + 0x14]
test ebp, ebp
jne 0x50e5f0
pop edi
pop esi
pop ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], 0xffffffff
call fcn.00576940
mov ecx, dword [esp + 0x40]
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x510350
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a4948
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
add ecx, 0xf0
sub esp, 0x24
test eax, eax
mov eax, dword [ecx]
jne 0x5103d3
push esi
call dword [eax + 4]
lea ecx, [esp + 4]
mov esi, eax
call fcn.00576920
push 3
push 0x30000000
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00576db0
push 1
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00576a20
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.00576940
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
call dword [eax + 4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4

Function at 0x5103f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a4948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00576920
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [eax + 0x54]
mov ecx, dword [esp + 0x38]
push 1
push ecx
lea edx, [esp + 0xc]
push edx
mov ecx, eax
call fcn.00576db0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00576940
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4

Function at 0x515280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a4c2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x50
mov edi, ecx
call fcn.00591ce0
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x5152bf
mov ecx, eax
call fcn.00404d30
mov esi, eax
jmp 0x5152c1
xor esi, esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.00404fc0
test eax, eax
jne 0x515305
test esi, esi
je 0x5152f0
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
mov edx, dword [esi + 0x10]
movsx ecx, word [esi + 0x3a]
push 0
inc edx
push 0
mov dword [esi + 0x10], edx
movsx edx, word [esi + 0x38]
push ecx
push edx
push esi
mov ecx, edi
call fcn.0051a300
test eax, eax
je 0x5152e7
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x51533f
push 1
push 0xb
push 4
call dword [sym.imp.SanCalc.dll_int___cdecl_rnd_int__enum_RANDOM_KIND__int_]
add esp, 0xc
jmp 0x515341
xor eax, eax
movsx ecx, word [esi + 0x3a]
imul ecx, dword [esp + 0x1c]
mov edx, dword [edi]
add ecx, eax
push ecx
mov ecx, edi
call dword [edx + 0x30]
push 0x8e
mov ecx, edi
call fcn.00519f70
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x51b880
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a4f6a
push eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov esi, ecx
jl 0x51b9b0
cmp eax, 0x17
jge 0x51b9b0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push 0
push eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], ecx
mov dword [esi + 0xec], edx
mov dword [esi + 0x60], 0
call fcn.0051f7c0
mov edi, eax
mov eax, dword [edi]
push eax
call fcn.0051f680
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x51b8fc
mov ecx, dword [edi]
push 8
push ecx
call fcn.0051fb00
mov edx, dword [edi]
push edx
call fcn.0051f680
add esp, 0xc
mov ebx, eax
push 0x44
call fcn.00591ce0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x51b921
mov ecx, eax
call fcn.00579120
mov edi, eax
jmp 0x51b923
xor edi, edi
push ebx
push edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004049d0
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x30]
add esp, 8
inc eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push 8
push 1
push edi
mov ecx, esi
call fcn.0051a300
test eax, eax
je 0x51b9b0
push 8
push 0x6095a0
mov ecx, esi
call fcn.00519f50
mov eax, dword [esp + 0x30]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x14]
push 0x7d
mov ecx, esi
call fcn.00519f70
push 1
push 0xb
push 8
call dword [sym.imp.SanCalc.dll_int___cdecl_rnd_int__enum_RANDOM_KIND__int_]
add esp, 0xc
push eax
mov ecx, esi
call fcn.00453480
mov dword [esi + 0x5c], 0
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x18
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18

Function at 0x51ba50
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a4f95
push eax
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push 0x64
call fcn.00519e50
add esp, 4
mov dword [esp + 0x20], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], edi
je 0x51ba90
mov ecx, eax
call fcn.005150c0
mov esi, eax
jmp 0x51ba92
xor esi, esi
push 0x7548
mov dword [esp + 0x1c], 0xffffffff
call fcn.0051f680
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x51bac8
push 4
push 0x7548
call fcn.0051fb00
push 0x7548
call fcn.0051f680
add esp, 0xc
mov ebx, eax
push 0x44
call fcn.00591ce0
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov dword [esp + 0x18], 1
je 0x51baeb
mov ecx, eax
call fcn.00579120
mov edi, eax
push ebx
push edi
mov dword [esp + 0x20], 0xffffffff
call fcn.004049d0
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
inc eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.00515050
mov eax, dword [esi]
push 0xff02
mov ecx, esi
call dword [eax + 0x34]
push 0xc
mov ecx, esi
call fcn.0050ac00
mov edx, dword [ebp]
push esi
mov ecx, ebp
call dword [edx + 0x10]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x51cdf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a4fea
push eax
mov dword fs:[0], esp
push ebx
mov ebx, dword [esp + 0x24]
test ebx, ebx
push esi
push edi
mov esi, ecx
je 0x51ce6c
push 0x44
call fcn.00591ce0
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x51ce37
mov ecx, eax
call fcn.00579120
mov edi, eax
jmp 0x51ce39
xor edi, edi
push ebx
push edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004049d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x10]
add esp, 8
push eax
push ecx
push 8
push 1
inc edx
push edi
mov ecx, esi
mov dword [edi + 0x10], edx
call fcn.0051a300
test eax, eax
jne 0x51ce82
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x18
mov eax, dword [esp + 0x28]
cmp eax, 9
jne 0x51ce94
mov dword [esi + 0x60], 0x18
jmp 0x51ceba
cmp eax, 7
je 0x51ceb3
cmp eax, 8
je 0x51ceb3
mov eax, 0x80
mov dword [esi + 0x5c], 0x3f
mov dword [esi + 0x60], 8
jmp 0x51cec6
mov dword [esi + 0x60], 0xc
mov eax, 0x60
mov dword [esi + 0x5c], 0
shl eax, 8
or eax, 2
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x14]
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00519f70
mov edx, dword [ebx]
mov edi, dword [esi]
mov ecx, ebx
call dword [edx + 0x28]
push eax
mov ecx, esi
call dword [edi + 0x30]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18

Function at 0x51ff90
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call esi
test ah, ah
js 0x51ffab
push 2
call esi
test ah, ah
js 0x51ffab
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x523370
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push 1
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
js 0x523397
mov eax, dword [esi + 0x168]
push 0xfa0
push eax
call fcn.0051ffc0
add esp, 8
test eax, eax
je 0x52339f
mov ecx, esi
pop esi
jmp fcn.005231b0
pop esi
ret

Function at 0x524900
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x608]
call fcn.005262a0
test eax, eax
jne 0x524963
mov eax, dword [esi + 0x608]
push edi
mov edi, dword [eax + 0x8c]
call fcn.00467ce0
mov ecx, eax
mov eax, 0x100
sub eax, edi
imul eax, eax, 0x64
cdq
and edx, 0xff
add eax, edx
sar eax, 8
push eax
add ecx, 0x68
call fcn.00409aa0
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
pop edi
jns 0x524986
mov ecx, dword [esi + 0x608]
push 0
push 0x40
call fcn.00526250
pop esi
ret
mov ecx, esi
call fcn.00524080
call fcn.00467ce0
lea ecx, [eax + 0x68]
call fcn.00408f80
call fcn.00467ce0
push 0x64
lea ecx, [eax + 0x68]
call fcn.00409aa0
pop esi
ret

Function at 0x524cc0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x608]
call fcn.005262a0
test eax, eax
jne 0x524d23
mov eax, dword [esi + 0x608]
push edi
mov edi, dword [eax + 0x8c]
call fcn.00467ce0
mov ecx, eax
mov eax, 0x100
sub eax, edi
imul eax, eax, 0x64
cdq
and edx, 0xff
add eax, edx
sar eax, 8
push eax
add ecx, 0x68
call fcn.00408f10
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
pop edi
jns 0x524d6b
mov ecx, dword [esi + 0x608]
push 0
push 0xffffffffffffffc0
call fcn.00526250
pop esi
ret
mov ecx, esi
call fcn.00524080
call fcn.00467ce0
push 0x64
lea ecx, [eax + 0x68]
call fcn.00408f10
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
mov ecx, dword [esi + 0x608]
mov edx, dword [eax]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0x608]
test ecx, ecx
je 0x524d61
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x608], 0
pop esi
ret
Function at 0x525bc0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x61c]
test eax, eax
push edi
je 0x525dd3
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
xor edi, edi
mov di, ax
mov al, byte [esi + 0x61c]
and edi, 0x8000
test al, 0xc
je 0x525c0a
mov ecx, dword [esi + 0x578]
push edi
call fcn.00527b70
mov ecx, dword [esi + 0x57c]
push edi
call fcn.00527b70
test edi, edi
je 0x525c18
and dword [esi + 0x61c], 0xd3c
mov eax, dword [esi + 0x61c]
test eax, eax
je 0x525dd3
push ebx
mov dword [esp + 0xc], 1
xor edi, edi
push ebp
jmp 0x525c40
mov eax, dword [esp + 0x10]
test dword [esi + 0x61c], eax
je case.default.0x525c59
cmp edi, 0xb
ja case.default.0x525c59
jmp dword [edi*4 + 0x525e30]
mov ecx, dword [esi + edi*4 + 0x578]
mov eax, dword [ecx + 0x5c]
test eax, eax
jne case.default.0x525c59
push edi
jmp 0x525dac
mov ecx, dword [esi + edi*4 + 0x570]
mov eax, dword [ecx + 0xc8]
test eax, eax
jne case.default.0x525c59
push 0
push 0xffffffffffffffff
push 0
call fcn.005279c0
push edi
mov ecx, esi
call fcn.00523ed0
mov eax, dword [esi + 0x61c]
test eax, eax
jne case.default.0x525c59
call fcn.00467ce0
push 6
push 1
lea ecx, [eax + 0x68]
call fcn.00409890
jmp case.default.0x525c59
mov edx, dword [esi + edi*4 + 0x568]
mov eax, dword [edx + 0xe8]
test eax, eax
jne case.default.0x525c59
push edi
jmp 0x525dac
push edi
mov ecx, esi
call fcn.005242b0
test eax, eax
je case.default.0x525c59
push edi
jmp 0x525dac
mov ecx, dword [esi + 0x60c]
test ecx, ecx
je 0x525d0c
call fcn.005272c0
test eax, eax
jne case.default.0x525c59
mov eax, dword [esi + 0x61c]
and eax, 0xfffffeff
mov ecx, esi
mov dword [esi + 0x61c], eax
call fcn.00575c10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov ecx, dword [esi + 0x60c]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov ecx, esi
mov dword [esi + 0x60c], 0
call fcn.00575c20
jmp case.default.0x525c59
mov dword [esp + 0x14], 0
lea ebx, [esi + 0x1b0]
mov ebp, 2
mov ecx, ebx
call fcn.00526170
test eax, eax
je 0x525d74
mov dword [esp + 0x14], 1
add ebx, 0x1e4
dec ebp
jne 0x525d61
mov eax, dword [esp + 0x14]
test eax, eax
jne case.default.0x525c59
mov eax, dword [esi + 0x61c]
mov edx, 1
mov ecx, edi
shl edx, cl
not edx
and eax, edx
mov dword [esi + 0x61c], eax
jmp case.default.0x525c59
mov eax, dword [esi + 0x610]
test eax, eax
jne case.default.0x525c59
push 0xb
mov ecx, esi
call fcn.00523ed0
mov edx, dword [esp + 0x10]
shl edx, 1
inc edi
cmp edi, 0xc
mov dword [esp + 0x10], edx
jl 0x525c40
mov eax, dword [esi + 0x61c]
test eax, eax
pop ebp
pop ebx
jne 0x525e2a
mov eax, dword [esi + 0x614]
test eax, eax
lea edi, [esi + 0x614]
je 0x525e1e
mov ecx, dword [esi + 0x154]
push edi
call fcn.00523b10
test eax, eax
je 0x525e2a
push eax
mov ecx, esi
call fcn.00525b50
test eax, eax
je 0x525e2a
mov ecx, esi
call fcn.00525200
mov ecx, dword [esi + 0x154]
push edi
call fcn.00523af0
pop edi
mov ecx, esi
pop esi
add esp, 8
jmp 0x524d70
pop edi
mov ecx, esi
pop esi
add esp, 8
jmp fcn.00524080
pop edi
pop esi
add esp, 8
ret
Function at 0x528b10
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
mov esi, ecx
call edi
test ah, ah
js 0x528b2e
push 2
call edi
test ah, ah
js 0x528b2e
xor edi, edi
jmp 0x528b33
mov edi, 1
mov ecx, dword [esi + 0x2dc]
test ecx, ecx
je 0x528b5a
call fcn.00515670
test eax, eax
jne 0x528b5a
test edi, edi
je 0x528bee
mov ecx, dword [esi + 0x2dc]
push eax
call fcn.00515b50
mov ecx, dword [esi + 0x2e0]
test ecx, ecx
je 0x528b7d
call fcn.00515670
test eax, eax
jne 0x528b7d
test edi, edi
je 0x528bee
mov ecx, dword [esi + 0x2e0]
push eax
call fcn.00515b50
mov ecx, dword [esi + 0x2e4]
test ecx, ecx
je 0x528ba0
call fcn.00515670
test eax, eax
jne 0x528ba0
test edi, edi
je 0x528bee
mov ecx, dword [esi + 0x2e4]
push eax
call fcn.00515b50
mov ecx, dword [esi + 0x2e8]
test ecx, ecx
je 0x528bc3
call fcn.00515670
test eax, eax
jne 0x528bc3
test edi, edi
je 0x528bee
mov ecx, dword [esi + 0x2e8]
push eax
call fcn.00515b50
mov ecx, dword [esi + 0x2ec]
test ecx, ecx
je 0x528be6
call fcn.00515670
test eax, eax
jne 0x528be6
test edi, edi
je 0x528bee
mov ecx, dword [esi + 0x2ec]
push eax
call fcn.00515b50
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a5735
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
push edi
mov ebx, ecx
call fcn.00515500
mov esi, eax
add esp, 4
test esi, esi
jne 0x5297c3
mov eax, dword [esp + 0x30]
push eax
push edi
call fcn.005156a0
push edi
call fcn.00515500
add esp, 0xc
mov esi, eax
push 0x44
call fcn.00591ce0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x5297e8
mov ecx, eax
call fcn.00579120
mov edi, eax
jmp 0x5297ea
xor edi, edi
push esi
push edi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004049d0
mov eax, dword [edi + 0x10]
inc eax
push 0x5c
mov dword [edi + 0x10], eax
call fcn.00519e50
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x14], 1
je 0x529829
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.0051a200
mov esi, eax
jmp 0x52982b
xor esi, esi
test esi, esi
mov dword [esp + 0x14], 0xffffffff
jne 0x529854
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0x18
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
push 1
push edi
mov ecx, esi
call fcn.0051a300
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.00519f70
mov eax, dword [esi]
push 0x40
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x54]
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x18
Function at 0x537830
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
sub esp, 0x110
push ebp
lea eax, [esp + 4]
push eax
push 0x20019
xor ebp, ebp
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallSan8
push 0x80000002
mov dword [esp + 0x18], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x537902
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push ebp
push str.UnInstallString
mov esi, 1
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x537901
cmp dword [esp + 0xc], esi
jne 0x537901
mov al, byte [esp + 0x14]
test al, al
lea esi, [esp + 0x14]
je 0x537901
push ebx
mov ebx, dword [esp + 0x120]
push edi
mov edi, dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [esi], 0x2a
jne 0x5378f1
lea edx, [esp + 0x1c]
cmp esi, edx
jbe 0x5378f1
push esi
lea eax, [esp + 0x20]
push eax
call edi
mov esi, eax
cmp byte [esi], 0x5c
je 0x5378dd
lea ecx, [esp + 0x1c]
cmp esi, ecx
ja 0x5378c4
jmp 0x5378f1
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
mov byte [esi], 0
call fcn.0056bec0
mov ebp, 1
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
cmp byte [esi], 0
jne 0x5378b7
pop edi
pop ebx
pop esi
mov eax, dword [esp + 4]
test eax, eax
je 0x537911
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop ebp
add esp, 0x110
ret 4

Function at 0x537c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a67d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00467c20
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], edi
mov dword [esi], 0x5c7b30
call fcn.00577020
mov ecx, dword [esp + 0x20]
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 0x3e8
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x74], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8