joyce8/EMBER2024-capa huggingface dataset:
Function at 0x566180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f7bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push ecx
lea eax, [esp + 0x30]
mov ebx, 3
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x24], ebx
call fcn.005c3c54
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x28], 4
call fcn.005c3c54
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x2c], 5
call fcn.005c3c54
mov ecx, esi
mov byte [esp + 0x28], bl
call fcn.005662c0
test al, al
jne 0x566241
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
call fcn.005c3edf
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.005c3edf
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.005c3edf
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005c3edf
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esi + 0x24]
mov edx, dword [esp + 0x30]
xor ecx, ecx
push edx
test eax, eax
setne cl
mov dword [esi + 0x30], ecx
mov ecx, esi
mov dword [esi + 0x28], 0
call fcn.00564930
lea ecx, [esp + 0x24]
mov bl, al
mov byte [esp + 0x1c], 2
call fcn.005c3edf
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.005c3edf
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.005c3edf
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005c3edf
mov ecx, dword [esp + 0x14]
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x10
Function at 0x573110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f8dd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [esp + 0x10]
push eax
call fcn.00573320
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x573296
push 0xc0c0c0
lea ecx, [esp + 0x14]
call fcn.005cc2b9
test eax, eax
je 0x573175
mov eax, dword [eax + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
lea ecx, [esp + 0x30]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CBrush.0
call fcn.004ab483
push 0xffffff
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.005cc269
push 0x808080
push 1
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0
call fcn.005cc269
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov byte [esp + 0x4c], 1
call fcn.005cb6cb
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebp, eax
lea eax, [esp + 0x20]
lea ebx, [edx + 1]
lea edi, [ecx + 1]
mov dword [esp + 0x20], ebx
add ebx, 2
push edi
push ebx
push eax
mov ecx, esi
call fcn.005cbc4a
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov ecx, esi
sub eax, 2
add edi, eax
push edi
push ebx
call fcn.005cbc96
sub ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005cbc96
push ebp
mov ecx, esi
call fcn.005cb6cb
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005cb6cb
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, esi
add eax, 2
add edi, eax
push edi
push ebx
call fcn.005cbc96
add ebx, 2
push edi
push ebx
mov ecx, esi
call fcn.005cbc96
push ebp
mov ecx, esi
call fcn.005cb6cb
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
call fcn.005cc253
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 3
call fcn.005cc253
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x57a600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f9720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ebp, [edi + 0x14]
mov eax, ebp
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x38], edx
call fcn.004bfec0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
push eax
mov edx, dword [esi]
lea eax, [esp + 0x1c]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov edx, dword [edi + 0x88]
xor ebx, ebx
cmp edx, ebx
je 0x57a6ab
mov eax, dword [ebp + 8]
mov ecx, dword [ebp]
sub eax, ecx
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 4]
add edx, 0x14
push esi
mov dword [esp + 0x40], ebx
mov dword [edx], ebx
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x5c]
push eax
mov dword [edx + 0xc], ecx
mov ecx, dword [edi + 0x88]
mov edx, dword [ecx]
call dword [edx + 0xe4]
jmp 0x57a7d5
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
sub ecx, edx
sub eax, ebp
xor edx, edx
mov dword [esp + 0x40], ecx
push 1
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
call fcn.005cb7a7
mov ecx, dword [edi + 0x8c]
mov dword [esp + 0x58], eax
push ecx
lea ecx, [esp + 0x14]
call fcn.005cc2b9
mov eax, dword [edi + 0x84]
mov dword [esp + 0x50], ebx
cmp eax, ebx
jne 0x57a71a
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x38]
push eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [edi + 0x90], 0x63
je 0x57a7a8
mov edx, dword [esi]
push 8
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [edi + 0x90]
mov ebp, eax
mov eax, dword [edi + 0x94]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.005cc303
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov byte [esp + 0x54], 1
call fcn.005cb6cb
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x34]
sub eax, ecx
mov ecx, dword [esp + 0x30]
sub ecx, edx
push eax
mov eax, dword [esi + 4]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
mov ecx, esi
call fcn.005cb6cb
push ebp
mov ecx, esi
call fcn.005cb6cb
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call fcn.005cc253
mov byte [esp + 0x50], bl
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, esi
call fcn.005cb7a7
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 3
call fcn.005cc253
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
neg eax
push eax
lea eax, [esp + 0x24]
neg ecx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x57a810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f9750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, ecx
lea ecx, [esp + 0xc]
push esi
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x48]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
call fcn.004bfec0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
push eax
mov edx, dword [esi]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x57a9c8
mov edx, dword [esi]
push ebx
push edi
push 8
mov ecx, esi
call dword [edx + 0x24]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
sub edi, ebx
mov ebx, dword [esp + 0x30]
push 1
mov ecx, esi
mov dword [esp + 0x50], eax
sub ebx, edx
call fcn.005cb7a7
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x57a929
mov eax, dword [ebp + 0x8c]
lea ecx, [esp + 0x18]
push eax
call fcn.005cc2b9
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
push ecx
mov ecx, esi
call fcn.005cb6cb
mov edx, dword [esi + 4]
push edi
push ebx
push 0
push 0
push edx
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
call fcn.005cb6cb
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.005cc253
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [ebp + 0x90]
cmp eax, 0x63
je 0x57a994
mov ecx, dword [ebp + 0x94]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005cc303
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0x44], 2
call fcn.005cb6cb
push edi
mov ebp, eax
mov eax, dword [esi + 4]
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
push ebp
mov ecx, esi
call fcn.005cb6cb
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 3
call fcn.005cc253
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.005cb6cb
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.005cb7a7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
neg ecx
push ecx
lea ecx, [esp + 0x14]
neg edx
push edx
push ecx
mov ecx, esi
call dword [eax + 0x3c]
pop edi
pop ebx
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x57b75b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f9898
push eax
mov al, byte [0x1bb1688]
mov dword fs:[0], esp
sub esp, 0x14
test al, 1
push ebp
push esi
push edi
mov esi, ecx
jne 0x57b5ee
mov dl, al
push 0x57b820
or dl, 1
mov byte [0x1bb1688], dl
call fcn.004adc89
add esp, 4
mov al, byte [0x1bb1688]
test al, 2
jne 0x57b60f
mov dl, al
push 0x57b810
or dl, 2
mov byte [0x1bb1688], dl
call fcn.004adc89
add esp, 4
mov eax, dword [0x1b55e58]
mov dword [esp + 0xc], eax
mov ecx, dword [0x1bb1678]
mov eax, dword [0x1bb1680]
test ecx, ecx
mov dword [esp + 0x28], 0
jne 0x57b6a9
test eax, eax
jne 0x57b6a9
mov edx, dword [0x1bb167c]
test edx, edx
jne 0x57b6a9
mov edx, dword [0x1bb1684]
test edx, edx
jne 0x57b6a9
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.005c8d94
mov edx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
push 0x1bb1678
push edx
mov edi, eax
call ebp
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
call ebp
mov edx, dword [0x1bb167c]
mov ecx, dword [0x1bb1678]
mov eax, dword [0x1bb1680]
mov dword [0x1bb166c], edx
mov edx, dword [0x1bb1684]
mov dword [0x1bb1668], ecx
mov dword [0x1bb1674], edx
mov edx, dword [esp + 0x14]
mov dword [0x1bb1670], eax
mov dword [0x1bb1674], edx
mov edx, dword [esp + 0x34]
push 6
test edx, edx
je 0x57b73b
mov edx, dword [0x1bb1684]
mov ebp, dword [0x1bb167c]
sub edx, ebp
sub eax, ecx
push edx
push eax
push 0
push 0
push 0x1bb08e0
mov ecx, esi
call fcn.005c9075
push 0xa240
lea ecx, [esp + 0x10]
call fcn.005ca9d7
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x1b5aeb0
push ecx
call fcn.005c41e8
push 0x1b5aeac
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 1
call fcn.005c4174
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.005c4018
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.005c3edf
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
jmp 0x57b7c4
mov eax, dword [0x1bb1674]
mov edi, dword [0x1bb166c]
mov ecx, dword [0x1bb1668]
sub eax, edi
push eax
mov eax, dword [0x1bb1670]
sub eax, ecx
mov ecx, esi
push eax
push 0
push 0
push 0x1bb08e0
call fcn.005c9075
push 0xa240
lea ecx, [esp + 0x10]
call fcn.005ca9d7
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x1b5aeb0
push ecx
call fcn.005c41e8
push 0x1b5aea8
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.005c4174
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.005c4018
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.005c3edf
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
call fcn.005c3edf
mov ecx, esi
call fcn.0055cba0
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push 3
call fcn.005c8e53
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c3edf
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x5829d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5f9f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esi], 0x1b02074
mov dword [0x1bb1690], ebx
call fcn.005cbf54
mov eax, dword [edi + 0x1a4]
push ebx
mov dword [esi + 4], eax
mov edi, dword [edi + 0x1a0]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x30], 0
mov dword [esi + 8], edi
call fcn.00582b10
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005cbfc6
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x5fa038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push edi
mov eax, dword [esi]
lea edx, [esp + 0x14]
xor ebx, ebx
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], ebx
call dword [eax + 0x14c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x34], ebx
call fcn.005c3c54
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 1
cmp byte [eax], 0x40
jne 0x58335e
mov eax, dword [eax - 8]
lea ecx, [esp + 0x1c]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.005bfd03
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.005c4018
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.005c3edf
mov eax, dword [esp + 0x10]
mov al, byte [eax]
cmp al, 0x20
jle 0x583368
mov byte [esp + 0x3c], al
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x130]
mov ebp, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x134]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x24], eax
call dword [edx + 0x164]
test eax, eax
mov eax, dword [esi]
mov ecx, esi
setne byte [esp + 0x3c]
call dword [eax + 0x148]
mov edx, dword [esp + 0x38]
mov cl, byte [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov byte [edx + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov byte [edx + 0x15], bl
mov byte [edx + 0x16], bl
mov byte [edx + 0x17], 1
mov byte [edx + 0x18], bl
mov byte [edx + 0x19], bl
mov byte [edx + 0x1a], bl
mov byte [edx + 0x1b], bl
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x1c]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x3c], esi
mov esi, edi
mov edi, dword [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
mov byte [esp + 0x30], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [edx], ebp
mov dword [edx + 4], ecx
lea ecx, [esp + 0x10]
mov dword [edx + 0x10], eax
call fcn.005c3edf
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.005c3edf
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x583440
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x5834a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret

Function at 0x5834b0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
push edi
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x58358d
lea ecx, [esp + 8]
push ecx
push str..htm
push closesocket
call fcn.00583440
add esp, 0xc
test eax, eax
jne 0x58358d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push str._shellopencommand
push edx
call edi
lea eax, [esp + 8]
lea ecx, [esp + 8]
push eax
push ecx
push closesocket
call fcn.00583440
add esp, 0xc
test eax, eax
jne 0x58358d
lea edx, [esp + 8]
push 0x1b58450
push edx
call fcn.004adfc6
mov esi, eax
add esp, 8
test esi, esi
jne 0x583568
lea eax, [esp + 8]
push 0x1b5844c
push eax
call fcn.004adf40
mov esi, eax
add esp, 8
test esi, esi
jne 0x583568
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 7]
jmp 0x58356b
mov byte [esi], 0
push 0x1b57d2c
push esi
call edi
mov edx, dword [esp + 0x214]
push edx
push esi
call edi
lea eax, [esp + 8]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
lea ecx, [esp + 0x214]
call fcn.005c3edf
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret
Function at 0x589ae0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fa76a
push eax
mov dword fs:[0], esp
mov eax, 0x1bb2988
sub esp, 0x40
test eax, eax
je 0x589b0a
mov eax, dword [0x1bb298c]
test eax, eax
jne 0x589b75
lea ecx, [esp + 4]
push esi
push ecx
push 0x3c
push 0xc
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, 0x1bb2988
call fcn.005cc1fc
push 8
call fcn.005c3c20
mov esi, eax
add esp, 4
mov dword [esp + 4], esi
test esi, esi
mov dword [esp + 0x4c], 0
je 0x589b65
push 0x18
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, esi
call fcn.005cc2b9
jmp 0x589b67
xor eax, eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [0x1bb29a0], eax
pop esi
call fcn.00589a40
mov eax, dword [0x1bb29a4]
test eax, eax
jne 0x589b9e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x589bb0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1bb29a4], eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x592d60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x592dd3
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x592dc8
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004b0eb7
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x59d7b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fba6c
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov ebp, ecx
push edi
push 0
push 0
mov eax, dword [ebp + 0xb4]
push 0x184
push eax
call ebx
mov ecx, dword [ebp + 0x78]
push 0
push 0
push 0x188
push ecx
call ebx
test eax, eax
jl 0x59d94e
mov edx, dword [0x1b55e58]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0
push ecx
push eax
lea ecx, [ebp + 0x5c]
call fcn.005d4203
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x59d93a
push str.MenuData.ini
lea eax, [esp + 0x18]
push 0x1bb1310
push eax
call fcn.005c4174
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push 0x400
push ecx
push 0x1aed508
push edx
push str.MenuData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.005c3edf
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
call fcn.005c3f4d
mov ecx, dword [0x1b55e58]
mov dword [esp + 0x1c], ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x434], 2
call fcn.005c3c54
call fcn.00543f00
mov edi, eax
mov esi, 1
add esp, 4
cmp edi, esi
jle 0x59d918
push esi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.005c3c54
lea ecx, [esp + 0x1c]
push ecx
call fcn.005435d0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x430], 3
call fcn.005c4018
lea ecx, [esp + 0x14]
mov byte [esp + 0x42c], 2
call fcn.005c3edf
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x59d918
mov edx, dword [ebp + 0xb4]
push eax
push 0
push 0x180
push edx
call ebx
inc esi
cmp esi, edi
jl 0x59d8b5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x42c], 1
call fcn.005c3edf
lea ecx, [esp + 0x18]
mov byte [esp + 0x42c], 0
call fcn.005c3edf
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0xffffffff
call fcn.005c3edf
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x420
ret
Function at 0x5a4830
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5fbf88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea edi, [esi + 0xc]
mov dword [esp + 0x24], 0
mov ecx, edi
call fcn.004e2650
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], eax
lea edx, [esp + 0x34]
lea eax, [esp + 0xc]
mov dword [esi + 8], ecx
push edx
push eax
mov ecx, edi
mov dword [esi], 0x1b04cc0
call fcn.004e2670
mov ecx, dword [esp + 0x40]
mov eax, esi
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x5aa660
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5fc760
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.005c460c
mov eax, dword [esp + 0x30]
push ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.005c47be
test eax, eax
jne 0x5aa6ce
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005c4701
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c3edf
mov eax, 0x65
jmp 0x5aa77e
lea ecx, [esp + 0x10]
call fcn.005c4ab8
mov edi, eax
cmp edi, ebx
jne 0x5aa702
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005c4701
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c3edf
mov eax, 0x66
jmp 0x5aa77e
push edi
call fcn.005c3c20
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x5aa736
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005c4701
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c3edf
mov eax, 0x64
jmp 0x5aa77e
push edi
push esi
lea ecx, [esp + 0x18]
call fcn.005c48db
lea ecx, [esp + 0x10]
call fcn.005c49d9
push edi
push esi
mov ecx, ebp
call fcn.005aa450
push esi
mov edi, eax
call fcn.005c3c49
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.005c4701
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c3edf
mov eax, edi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4