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

Disassembly:
push 0xffffffffffffffff
push 0x57c3ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x5e8e38]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], 1
mov dword [esp + 0x1c], eax
push 0x5d9564
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call fcn.005597b5
mov dword [esp + 0x20], 0xffffff
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
lea edx, [esp + 0x14]
lea esi, [edi + 0x90]
lea eax, [esp + 0x44]
mov dword [esp + 0x18], ecx
push edx
push eax
mov ecx, esi
mov byte [esp + 0x40], 3
call fcn.004a77a0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
je 0x4a3731
lea eax, [ecx + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.004a86f0
add esp, 8
test al, al
jne 0x4a3731
lea eax, [esp + 0x44]
jmp 0x4a373c
mov esi, dword [esi + 4]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], esi
mov eax, dword [eax]
mov ecx, dword [edi + 0x94]
cmp eax, ecx
je 0x4a3771
lea esi, [eax + 0x14]
lea ecx, [esp + 0x1c]
push esi
call fcn.00559765
mov edx, dword [esi + 4]
mov dword [esp + 0x20], edx
mov eax, dword [esi + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
call fcn.00559765
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x40]
mov dword [ecx], edx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc]
mov dword [eax], ecx
push edx
mov ecx, esi
call fcn.005593a1
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.0055962c
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.0055962c
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14
Function at 0x4a37f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x57c410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], 0xffffffff
call fcn.004a48e0
lea eax, [esp + 0x38]
xor ebp, ebp
push eax
mov ecx, esi
mov dword [esp + 0x14], ebp
call fcn.004a4bf0
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push edi
lea edx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4a3983
mov ebx, dword [esi + 0x48]
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x7c]
sub ebx, edx
add ebx, edi
xor edi, edi
test eax, eax
jle 0x4a38a9
lea eax, [esp + 0x20]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esi + 0xa0]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0
call fcn.004a7910
lea edx, [esp + 0x2c]
lea eax, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.004a7d50
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x10]
add eax, ebp
cmp eax, ebx
jg 0x4a38a9
mov ebp, eax
mov eax, dword [esi + 0x7c]
inc edi
cmp edi, eax
jl 0x4a385e
cmp edi, dword [esi + 0x7c]
jge 0x4a3983
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 0x78]
mov dword [esp + 0x14], edi
mov edi, dword [esi + 0x4c]
xor ebx, ebx
sub edi, edx
mov dword [esp + 0x10], ebx
add edi, ecx
cmp eax, ebx
jle 0x4a3983
lea ebp, [esi + 0x80]
mov edx, dword [0x5e8e38]
mov dword [esp + 0x1c], edx
push 0x5d9564
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0
mov dword [esp + 0x1c], 0x64
call fcn.005597b5
lea eax, [esp + 0x10]
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x58], 1
call fcn.004a64d0
mov ecx, dword [esi + 0x84]
mov eax, dword [esp + 0x58]
cmp eax, ecx
je 0x4a394b
mov edx, dword [eax + 0x10]
add eax, 0x14
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edx
call fcn.00559765
mov eax, dword [esp + 0x18]
add eax, ebx
cmp eax, edi
jg 0x4a3972
mov ebx, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], 0xffffffff
call fcn.0055962c
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4a38dc
jmp 0x4a3983
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], 0xffffffff
call fcn.0055962c
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
pop edi
mov dword [ecx], edx
mov ecx, dword [esp + 0x44]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 0xc
Function at 0x4b42b0
Capabilities:
Change the wallpaper

Disassembly:
push 0xffffffffffffffff
push 0x57d374
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x24], ebp
call fcn.00559c96
lea ebx, [ebp + 0x44]
xor esi, esi
mov dword [esp + 0x1c4], esi
mov dword [ebx + 4], esi
mov dword [ebx], vtable.CFont.0
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x10
mov byte [esp + 0x1c8], 1
mov dword [ebp], method.CHeaderCtrl.virtual_0
mov dword [ebp + 0x5c], 0xffe8e8
mov dword [ebp + 0x60], 0xffd3d3
mov dword [ebp + 0x64], 0xe99494
mov dword [ebp + 0x68], 0x933e1e
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x40], 0xffffffff
mov dword [ebp + 0x58], esi
call edi
push 0x14
mov dword [ebp + 0x4c], eax
call edi
push 0x12
mov dword [ebp + 0x50], eax
call edi
mov dword [ebp + 0x54], eax
lea eax, [esp + 0x68]
push esi
push eax
push 0x154
push 0x29
mov dword [esp + 0x78], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x2c]
push esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
call fcn.00560817
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push esi
and eax, ecx
push esi
push eax
mov byte [esp + 0x1d0], 2
call dword [sym.imp.GDI32.dll_GetTextCharsetInfo]
mov ecx, dword [esp + 0x108]
mov byte [esp + 0x43], al
mov al, byte [esp + 0x11c]
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x40], al
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x118]
not ecx
sub edi, ecx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x48]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, 2
cmp cl, byte [esp + 0x11f]
sbb edx, edx
neg edx
mov dword [esp + 0x28], edx
jne 0x4b4442
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push 0
and eax, edx
push 0x4b4490
push 0
push eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesA]
mov edi, dword [0x5ede60]
lea edx, [esp + 0x48]
test eax, eax
je 0x4b4425
mov edi, dword [0x5ede5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, ebx
call fcn.00560a0b
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c4], 1
call fcn.00560889
mov ecx, dword [esp + 0x1bc]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b8
ret
Function at 0x4b6870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57d720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.0055fdcc
mov eax, dword [esi + 0x1c]
mov byte [esp + 0x24], 1
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0055fe6e
test eax, eax
je 0x4b68b8
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x10]
call fcn.0055fe83
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005609f6
push eax
lea ecx, [esp + 0x10]
call fcn.00560017
mov esi, eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 4]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push esi
lea ecx, [esp + 0x10]
call fcn.00560017
lea ecx, [esp + 0xc]
call fcn.0055feeb
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov byte [esp + 0x24], 0
mov dword [esi], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 4], edx
call fcn.0055ff01
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0xffffffff
call fcn.0055962c
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4c5990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [ecx + 0x3c], 0
call fcn.00569c56
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4c5a56
call fcn.00569c56
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4c5a56
call fcn.00569c56
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
push ebp
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4c5a56
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4c5a4f
test edi, edi
je 0x4c5a4f
mov ecx, ebp
mov esi, eax
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
push ebp
push ebx
call fcn.004c4ab0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x4dc020
Capabilities:
Resolve dns
Terminate thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004dc0f0
test eax, eax
je 0x4dc0e2
push 0xdf
push 0
push 0
mov ecx, esi
call fcn.004dbf40
mov ecx, esi
call fcn.004dc120
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4dc067
mov ecx, dword [esi + 0x118]
mov edx, dword [esi + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x98]
test eax, eax
je 0x4dc096
push 0xdb
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x98]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x98], 0
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4dc0e2
mov eax, dword [esi + 0x60]
push eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x4dc0ba
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 4], eax
jmp 0x4dc0c2
mov dword [esp + 4], 0
mov esi, dword [esi + 0xfc]
test esi, esi
je 0x4dc0cf
mov esi, dword [esi + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push 0x4a1
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
pop esi
pop ecx
ret
Function at 0x4dec10
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
call fcn.0055cdc5
test ah, 8
je 0x4dec21
xor eax, eax
pop esi
ret
push 0
mov ecx, esi
call fcn.00557151
test eax, eax
jne 0x4dec6a
mov eax, dword [0x5edf40]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4dec6a
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4dec4e
pop esi
ret
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
jne 0x4dec64
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop esi
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
ret
Function at 0x4e0cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x580e10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x5e8e38]
push ebx
push esi
mov dword [esp + 0xc], eax
xor ebx, ebx
mov esi, 0x589978
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x14]
push 1
push edx
lea eax, [esp + 0x14]
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x40], 1
call fcn.004ddcd0
lea ecx, [esp + 0x10]
call fcn.0055962c
cmp dword [esp + 0x1c], 1
jne 0x4e0dd9
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], 0xf
jne 0x4e0dd9
lea ecx, [esp + 0x10]
push 4
push ecx
lea ecx, [esp + 0x14]
call fcn.005549b4
mov eax, dword [eax]
push 0x5d8b80
push eax
call fcn.00541319
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete byte [esp + 0xb]
call fcn.0055962c
cmp byte [esp + 0xb], bl
je 0x4e0dd9
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, 0x7fffffff
je 0x4e0dcf
cmp ecx, ebx
je 0x4e0dcf
cmp eax, ebx
mov dword [esp + 0x14], esi
je 0x4e0da8
push eax
call fcn.00558a4c
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055962c
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
cmp eax, ebx
mov dword [esp + 0x14], esi
je 0x4e0dee
jmp 0x4e0de5
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], esi
cmp eax, ebx
je 0x4e0dee
push eax
call fcn.00558a4c
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055962c
mov ecx, dword [esp + 0x28]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4e0e20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x580e30
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push ebx
push ebx
mov eax, dword [esi + 0x1c]
push 0x442
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 2
je 0x4e0fcf
mov ecx, dword [0x5e8e38]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], 0x589978
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x14]
push 1
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x40], 1
call fcn.004ddcd0
lea ecx, [esp + 0x10]
call fcn.0055962c
mov edx, dword [esp + 0xc]
push 0x5ed678
push edx
call fcn.00541319
add esp, 8
test eax, eax
je 0x4e0fa5
cmp dword [esp + 0x1c], 1
jne 0x4e0fa5
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], 0xf
jne 0x4e0fa5
lea ecx, [esp + 0x10]
push 4
push ecx
lea ecx, [esp + 0x14]
call fcn.005549b4
mov eax, dword [eax]
push 0x5d8b80
push eax
call fcn.00541319
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete byte [esp + 0xb]
call fcn.0055962c
cmp byte [esp + 0xb], bl
je 0x4e0fa5
push 3
lea edx, [esp + 0x14]
push 0xc
push edx
lea ecx, [esp + 0x18]
call fcn.005548a2
mov eax, dword [eax]
push 0x5d8b78
push eax
call fcn.00541319
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete byte [esp + 0xb]
call fcn.0055962c
cmp byte [esp + 0xb], bl
je 0x4e0fa5
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
mov edx, dword [ecx]
mov ecx, esi
push edx
call fcn.004de130
cmp eax, ebx
je 0x4e0fa5
cmp dword [esp + 0x10], ebx
jne 0x4e0fa5
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 0x589978
cmp eax, ebx
je 0x4e0f7e
push eax
call fcn.00558a4c
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055962c
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], 0x589978
cmp eax, ebx
je 0x4e0fbe
push eax
call fcn.00558a4c
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055962c
mov ecx, dword [esp + 0x28]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x4f6200
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x5edf48]
push esi
test eax, eax
mov esi, ecx
je 0x4f6234
mov eax, dword [eax + 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x5edf48]
push 0xffffffffffffffff
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [0x5edf48], 0
mov eax, dword [esi + 0x6c]
cmp eax, 0xffffffff
je 0x4f6242
push eax
call sub.WSOCK32.dll_closesocket
mov eax, dword [esi + 0x70]
cmp eax, 0xffffffff
je 0x4f6250
push eax
call sub.WSOCK32.dll_closesocket
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x4f625e
push eax
call sub.WSOCK32.dll_closesocket
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], 0xffffffff
mov dword [esi + 0x68], 0xffffffff
mov esi, dword [esi + 0x7c]
test esi, esi
je 0x4f628a
push 0
push 0
push 0x4c1
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
pop esi
ret
Function at 0x4fa130
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x583208
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 4], edi
je 0x4fa1e3
cmp dword [esi + 8], edi
je 0x4fa242
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.004fabc0
mov eax, dword [eax]
add esi, 0x14
push eax
mov ecx, esi
mov dword [esp + 0x90], edi
call fcn.00498b50
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x8c], 0xffffffff
call fcn.0055962c
test bl, bl
je 0x4fa242
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0049c9e0
mov eax, dword [esp + 0xc]
push eax
call fcn.00541418
mov ecx, dword [esp + 0x9c]
add esp, 4
mov dword [ecx], eax
lea ecx, [esp + 0xc]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
call fcn.0055962c
jmp 0x4fa255
mov ebx, dword [esp + 0x98]
mov ecx, dword [esi + 0x50]
mov eax, 4
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edx
mov edx, dword [esi + ecx*4 + 0x50]
lea eax, [esp + 0x1c]
push ebx
push eax
push edi
mov edi, dword [esp + 0xa4]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4fa255
mov edx, dword [esi + 0x50]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0x64
push eax
mov eax, dword [esi + edx*4 + 0x50]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x4fa246
xor eax, eax
jmp 0x4fa25a
lea ecx, [esp + 0x20]
push ecx
call fcn.00541418
add esp, 4
mov dword [ebx], eax
mov eax, 1
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 8

Function at 0x4fa280
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x583228
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4fa301
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004fabc0
mov eax, dword [eax]
add esi, 0x14
push 0
push 0
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.0049be50
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.0055962c
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
push edx
push eax
mov ecx, esi
call fcn.0049b240
and eax, 0xff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
mov eax, dword [esi + 0x50]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 4
push ecx
mov ecx, dword [esi + eax*4 + 0x50]
push 4
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
pop esi
neg eax
sbb eax, eax
mov dword fs:[0], ecx
inc eax
add esp, 0xc
ret 8
Function at 0x4fa340
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x583258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 4], ebp
je 0x4fa447
cmp dword [esi + 8], ebp
je 0x4fa443
cmp dword [esp + 0x30], ebp
je 0x4fa3b9
lea eax, [esp + 0x24]
lea ecx, [esi + 0x14]
push eax
call fcn.0049c9e0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov dword [esp + 0x28], ebp
call fcn.00438200
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0055962c
mov eax, 1
jmp 0x4fa497
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.004fabc0
mov eax, dword [eax]
add esi, 0x14
push eax
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.00498b50
or edi, 0xffffffff
lea ecx, [esp + 0x24]
mov bl, al
mov dword [esp + 0x1c], edi
call fcn.0055962c
test bl, bl
je 0x4fa443
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0049c9e0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov dword [esp + 0x28], 2
call fcn.00438200
add esp, 0xc
lea ecx, [esp + 0x30]
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x1c], ebp
mov dword [esp + 0x1c], edi
call fcn.0055962c
mov eax, 1
jmp 0x4fa497
xor eax, eax
jmp 0x4fa497
mov edi, dword [esp + 0x28]
mov eax, dword [esi + 0x50]
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x14]
push edi
mov dword [esp + 0x18], 1
mov ecx, dword [esi + eax*4 + 0x50]
push edx
push ebp
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4fa47d
mov eax, 1
jmp 0x4fa497
mov eax, dword [esi + 0x50]
lea edx, [esp + 0x2c]
push edx
push edi
mov ecx, dword [esi + eax*4 + 0x50]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x4fa4b0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x583278
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x4fa593
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4fa541
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.004fabc0
mov eax, dword [eax]
add esi, 0x14
push 0
push 0
push eax
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.0049be50
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.0055962c
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
push 0
push edx
push eax
mov ecx, esi
call fcn.0049b280
and eax, 0xff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
add esi, 0x14
push 0
push 0
push str.Item
mov ecx, esi
call fcn.0049be50
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0xc]
push ecx
push 0x5e2540
push edx
mov ecx, esi
call fcn.0049ace0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
push 0
push eax
push ecx
mov ecx, esi
call fcn.0049b280
and eax, 0xff
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x20]
push 1
push eax
mov eax, dword [esi + 0x50]
push edx
mov ecx, dword [esi + eax*4 + 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
pop edi
neg eax
sbb eax, eax
mov dword fs:[0], ecx
inc eax
pop esi
add esp, 0xc
ret 0xc