joyce8/EMBER2024-capa huggingface dataset:
Function at 0x505d20
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
push ebp
call fcn.0055f560
mov edi, dword [esp + 0x20]
mov eax, edi
xor ebx, ebx
and eax, 3
add esp, 8
sub eax, ebx
je 0x505d5a
sub eax, 1
je 0x505d53
sub eax, 1
jne 0x505d5f
mov ebx, 0xc0000000
jmp 0x505d5f
mov ebx, 0x40000000
jmp 0x505d5f
mov ebx, bind
push 4
push 0x59abbc
push ebp
mov esi, 3
call fcn.004cf4db
add esp, 0xc
test eax, eax
je 0x505dc4
push 4
push str.__._
push ebp
call fcn.004cf4db
add esp, 0xc
test eax, eax
je 0x505dc4
mov eax, edi
and eax, 0x200
je 0x505da4
test edi, 0x400
je 0x505da4
mov esi, 2
jmp 0x505dc4
test eax, eax
je 0x505daf
mov esi, 4
jmp 0x505dc4
test edi, 0x400
je 0x505dc4
test ebx, 0x40000000
je 0x505dc4
mov esi, 5
push 0
xor eax, eax
push 0x80
test edi, edi
sete al
push esi
push 0
push eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x505f06
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x24]
mov edi, eax
test ebx, ebx
je 0x505e35
call fcn.004fdec0
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x505e01
sub ecx, esi
mov esi, dword [esp + 0x28]
cmp ecx, esi
jge 0x505e22
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004f9e00
add esp, 8
jmp 0x505e35
lea edx, [esi - 1]
push edx
push eax
push ebx
call fcn.004cf320
add esp, 0xc
mov byte [ebx + esi - 1], 0
cmp edi, 0x10b
ja 0x505ee1
je case.0x505e5c.15
lea eax, [edi - 2]
cmp eax, 0xcc
ja case.0x505e5c.6
movzx eax, byte [eax + 0x505f54]
jmp dword [eax*4 + 0x505f30]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], 3
or eax, 0xffffffff
pop ebx
ret
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], 8
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], 0xa
or eax, 0xffffffff
pop ebx
ret
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], 9
or eax, 0xffffffff
pop ebx
ret
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], 7
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], 0xc
or eax, 0xffffffff
pop ebx
ret
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], 0xb
or eax, 0xffffffff
pop ebx
ret
cmp edi, 0x468
ja 0x505f0b
cmp edi, 0x466
jae case.0x505e5c.5
cmp edi, 0x3ee
je case.0x505e5c.5
mov eax, dword [esp + 0x20]
mov dword [eax], 6
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
ret
cmp edi, 0x570
jb case.0x505e5c.6
cmp edi, 0x571
ja case.0x505e5c.6
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], 1
or eax, 0xffffffff
pop ebx
ret
Function at 0x506030
Capabilities:
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 0xc], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 0x1c], eax
push 0x22
lea eax, [esi + 0x18]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, dword [0x5dea10]
mov dword [esi + 0x14], ecx
mov edx, dword [0x5d4820]
push esi
push edx
mov dword [0x5dea10], esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
mov eax, esi
pop esi
ret

Function at 0x506130
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, dword [0x5dea10]
push edi
mov edi, ecx
test esi, esi
je 0x506157
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, edi
je 0x50614f
mov eax, dword [esi + 0x18]
push eax
call ebx
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x506145
pop ebx
pop edi
mov dword [0x5dea14], 0
pop esi
ret

Function at 0x5061e0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x56d57e
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5d4820]
cmp eax, 0xffffffff
jne 0x50625d
mov eax, 1
test byte [0x5dea40], al
jne 0x506246
or dword [0x5dea40], eax
mov dword [esp + 0x14], 0
mov ecx, 0x5dea20
call fcn.00506030
push 0x577dc0
call fcn.004cd894
add esp, 4
mov dword [esp + 0x14], 0xffffffff
mov eax, 0x5dea20
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
mov esi, eax
test esi, esi
jne 0x506296
call fcn.00506170
mov eax, dword [0x5d4820]
push eax
call edi
mov esi, eax
test esi, esi
jne 0x506296
push 0x9c
push str.C:clt.7.1.0.bld.vc9.nt.sym_srcosclitellpl.nt_thread.cc
push 0x59ac8c
call fcn.004fb4d0
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x506320
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, dword [0x5dea10]
push edi
mov edi, ecx
mov dword [0x5dea14], edi
test esi, esi
je 0x506122
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x506110
cmp esi, edi
je 0x50611a
mov eax, dword [esi + 0x18]
push eax
call ebx
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x506110
pop ebx
pop edi
pop esi
ret
push 0x5de9f8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.005061e0
mov ecx, eax
jmp 0x5060f0
Function at 0x510ef0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x513a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x570a48
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5d26e8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
xor eax, eax
push 0x24
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x64], ebx
mov word [esi + 0x68], ax
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0x16c], ebx
call fcn.004947e1
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x513b61
push ebx
mov ecx, eax
call fcn.005137d0
jmp 0x513b63
xor eax, eax
mov dword [esp + 0x18], 0xffffffff
push 0x80
mov dword [esi + 0xc], eax
call fcn.00494811
push 0x400
mov dword [esi + 0xa8], eax
call fcn.00494811
push 0x400
mov dword [esi + 0xac], eax
call fcn.00494811
push 0x80
mov dword [esi + 0xb0], eax
call fcn.00494811
push 0x400
mov dword [esi + 0xb4], eax
call fcn.00494811
mov ecx, dword [esi + 0xa8]
mov dword [esi + 0xb8], eax
mov byte [ecx], bl
mov edx, dword [esi + 0xac]
mov byte [edx], bl
mov eax, dword [esi + 0xb0]
mov byte [eax], bl
mov ecx, dword [esi + 0xb4]
mov byte [ecx], bl
push 0x400
mov dword [esi + 0x170], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
call fcn.00494811
push 0x4002
mov dword [esi + 0xbc], eax
call fcn.00494811
add esp, 0x1c
mov dword [esi + 0x160], eax
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], 1
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x532d80
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x571810
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x5d26e8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
and eax, 0xc00
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
or eax, 9
push eax
push ecx
push 4
push 0xc
push edx
mov ecx, esi
call fcn.005240d0
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.db_tas::_Chash_rhpt_char__.0
mov dword [esp + 0x10], ebx
mov byte [esp + 0x20], 1
push 0xe
push str._db_char_array
push str.char
call fcn.004cf4db
add esp, 0xc
test eax, eax
jne 0x532e0d
or dword [esi + 0x10], 0x10000
jmp 0x532e41
mov ecx, str.char
mov eax, ecx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x532e34
cmp dl, bl
je 0x532e30
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x532e34
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x532e14
xor eax, eax
jmp 0x532e39
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x532e41
or dword [esi + 0x10], 0x20
mov byte [esp + 0x20], bl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 0xc

Function at 0x5389a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x571e04
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x30]
push eax
call fcn.00536630
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esi + 4]
call fcn.00536630
mov byte [esp + 0x1c], 1
lea edi, [esi + 8]
mov ecx, edi
call fcn.004359b0
mov byte [esp + 0x1c], 2
lea ecx, [esi + 0xc]
call fcn.004359b0
mov byte [esp + 0x1c], 3
lea ebx, [esi + 0x10]
mov ecx, ebx
call fcn.004359b0
mov byte [esp + 0x1c], 4
mov edx, dword [esp + 0x28]
push 0
mov ecx, ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x14], 0
call fcn.00518ba0
push 0
mov ecx, edi
call fcn.00518ba0
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x54bbe0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5731ab
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edx, dword [ebp - 0x13c]
cmp dword [edx + 0x114], 0
je 0x54bc6c
mov eax, dword [0x5df6e8]
push eax
push 0x57b604
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004d6200
add esp, 4
lea edx, [ebp + eax - 0x11c]
push edx
call fcn.004ce616
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.005538d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004d6200
add esp, 4
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00553ad0
mov edx, dword [ebp - 0x13c]
cmp dword [edx + 0xa8], 0
je 0x54bd4b
push 0x8003
lea eax, [ebp - 0x128]
push eax
call fcn.00556b10
add esp, 8
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x12c]
call fcn.00553d30
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x130], edx
cmp dword [ebp - 0x130], 0
je 0x54bd3f
mov ecx, dword [ebp - 0x130]
call fcn.005539a0
mov eax, 1
and eax, 1
je 0x54bd31
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0049480c
add esp, 4
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x140], edx
jmp 0x54bd49
mov dword [ebp - 0x140], 0
jmp 0x54bd67
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x124]
mov dword [eax], ecx
lea ecx, [ebp - 0x128]
call fcn.00553d30
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.005539a0
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cdc91
mov esp, ebp
pop ebp
ret 4
Function at 0x54f390
Capabilities:
Delete file
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573638
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc0]
cmp dword [eax + 0x7c], 1
jne 0x54f41f
mov ecx, dword [ebp - 0xc0]
call fcn.0054f950
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00420a10
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call fcn.00402290
jmp 0x54f5f5
mov ecx, dword [ebp - 0xc0]
cmp dword [ecx + 0x7c], 2
jne 0x54f5c1
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1c]
call fcn.00404e40
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc0]
call fcn.0054fa30
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
push edx
lea ecx, [ebp - 0x24]
call fcn.00420a10
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 2
mov eax, 1
test eax, eax
je 0x54f5a7
mov byte [ebp - 4], 3
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x24]
sub edx, 0x10
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0041b190
add esp, 4
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
add edx, 0x10
mov eax, dword [ebp - 0x74]
mov dword [eax], edx
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xd4], ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.0054ffd0
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
je 0x54f519
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
mov ecx, dword [ebp - 0xc0]
call fcn.0054cf30
jmp 0x54f570
mov dword [ebp - 4], 2
cmp dword [ebp - 0x14], 0
jne 0x54f5a0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0xc0]
call fcn.0054efc0
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x54f5a0
jmp 0x54f46c
jmp 0x54f5a7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00402290
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402290
jmp 0x54f5f5
push str.StorageMode_property_set_to_None
lea ecx, [ebp - 0x30]
call fcn.004087e0
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x30]
push edx
push 1
mov ecx, dword [ebp - 0xc0]
call fcn.0054d010
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00402290
jmp 0x54f64b
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5526d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573b78
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00420a10
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push ecx
push str.CLSID_
lea edx, [ebp - 0x20]
push edx
call fcn.004240b0
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
push bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
call fcn.00402290
jmp 0x552774
mov dword [ebp - 4], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
push str.SoftwareClassesCLSID_
lea ecx, [ebp - 0x24]
push ecx
call fcn.004240b0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x24]
call fcn.00402290
jmp 0x5527cf
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x5527eb
cmp dword [ebp - 0x1c], 0
jne 0x5527eb
mov dword [ebp - 0x60], 0
jmp 0x5527f2
mov dword [ebp - 0x60], 1
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402290
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x552940
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573be0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
push 0x588be0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1c], eax
push 0x5a5c08
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5529b2
call dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x5529b2
mov eax, 1
jmp 0x552ad1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x552a3c
mov byte [ebp - 4], 1
push str.CheckRemoteDebuggerPresent
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x552a1c
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x552a1c
cmp dword [ebp - 0x2c], 0
je 0x552a1c
mov eax, 1
jmp 0x552ad1
jmp 0x552a2b
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
push 0x12345678
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x552a68
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x552a7c
mov eax, 1
jmp 0x552ad1
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0x552820
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x30], 0
je 0x552aa3
mov eax, 1
jmp 0x552ad1
jmp 0x552ab2
mov dword [ebp - 4], 0
jmp 0x552ac8
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x554130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x55422e
push 8
call fcn.004947e1
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x5541a7
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00553900
mov dword [ebp - 0x2c], eax
jmp 0x5541ae
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 3
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5541ef
mov eax, dword [ebp - 0x18]
jmp 0x554230
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x554227
mov ecx, dword [ebp - 0x24]
call fcn.005539a0
mov edx, 1
and edx, 1
je 0x55421f
mov eax, dword [ebp - 0x24]
push eax
call fcn.0049480c
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
jmp 0x55422e
mov dword [ebp - 0x30], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x554560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x554597
mov eax, dword [ebp - 0xc]
jmp 0x5545c8
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004d6200
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret