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

Disassembly:
push 0xffffffffffffffff
push 0x606d62
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.00443eb0
xor edi, edi
mov dword [esp + 0x14], edi
lea eax, [esi + 0x18]
push eax
call fcn.00443eb0
mov byte [esp + 0x14], 1
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x14], 2
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x49e8a0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x20
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push ebx
push ebp
push esi
xor ebx, ebx
xor edx, edx
sar eax, 2
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x24], edx
cmp eax, ebx
jbe 0x49e91d
nop
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp esi, eax
jb 0x49e8d9
call fcn.005c475a
mov eax, dword [edi + 0xc]
mov eax, dword [eax + esi*4]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x49e90b
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x1c]
add ebp, eax
adc dword [esp + 0x24], ecx
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc esi
sar eax, 2
cmp esi, eax
jb 0x49e8c0
mov edx, dword [esp + 0x24]
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x4a3b50
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.005c39f5
add esp, 4
test eax, eax
je 0x4a3b6a
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov esi, eax
jmp 0x4a3b6c
xor esi, esi
mov al, byte [esp + 8]
mov dword [esi], edi
mov byte [esi + 4], al
mov ecx, dword [edi + 0x144]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4a3ba7
push 0
push 0
push esi
push 0x4ad820
push 0
push 0
call fcn.005c4af6
add esp, 0x18
mov dword [edi + 0x144], eax
pop esi
ret 4
Function at 0x4a8c30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e94a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x711ab8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov bl, cl
xor eax, eax
test bl, bl
setne al
mov dword [ebp - 0x40], eax
push 4
lea ecx, [ebp - 0x40]
push ecx
push 4
push str.WriteProtect
push str.SYSTEMCurrentControlSetControlStorageDevicePolicies
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test bl, bl
mov ecx, str.Enabled
jne 0x4a8c95
mov ecx, str.Disabled
push ecx
mov edx, esp
mov dword [ebp - 0x38], esp
push edx
call fcn.0040b990
mov dword [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
push eax
mov ecx, 0x6d86b0
call fcn.0040b990
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov dword [ebp - 4], esi
call fcn.00475660
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x34]
push ecx
call fcn.00416fa0
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x34]
call fcn.0041ec60
test al, al
je 0x4a8d2a
test bl, bl
mov ecx, str.Enabled
jne 0x4a8cf8
mov ecx, str.Disabled
push ecx
mov edx, esp
mov dword [ebp - 0x3c], esp
push edx
call fcn.0040b990
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push eax
mov ecx, str.USB_Write_Protection
call fcn.00418b00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 3
call fcn.0041fca0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x34]
push edx
call fcn.00417000
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c397a
mov esp, ebp
pop ebp
ret
Function at 0x4a8d70
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e8fa
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x711ab8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov bl, cl
xor eax, eax
test bl, bl
setne al
add eax, 3
mov dword [ebp - 0x38], eax
push 4
lea ecx, [ebp - 0x38]
push ecx
push 4
push str.Start
push str.SYSTEMCurrentControlSet_servicesUSBSTOR
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
call fcn.005c39f5
add esp, 4
test eax, eax
je 0x4a8de0
mov dword [eax], 0
jmp 0x4a8de2
xor eax, eax
movzx edx, bl
mov dword [eax], edx
push eax
push 7
call fcn.0042dab0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.00416fa0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x34]
call fcn.0041ec60
test al, al
je 0x4a8e51
test bl, bl
mov ecx, 0x6d3a78
jne 0x4a8e1f
mov ecx, str.Protection_Disabled
push ecx
mov edx, esp
mov dword [ebp - 0x3c], esp
push edx
call fcn.0040b990
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x40], esp
push eax
mov ecx, str.Device
call fcn.0040b990
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 1
call fcn.0041fca0
mov byte [ebp - 4], 0
lea edx, [ebp - 0x34]
push edx
call fcn.00417000
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c397a
mov esp, ebp
pop ebp
ret

Function at 0x4a98f0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x60642b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x72a510]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4a9988
push 0xc
call fcn.005c39f5
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x4a994c
push eax
call fcn.004862c0
mov esi, eax
jmp 0x4a994e
xor esi, esi
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x24]
mov edi, esi
call fcn.0040ddb0
mov eax, dword [esp + 0x20]
lea edi, [esi + 8]
call fcn.0040ddb0
push 0
push 0
push esi
push 0x493470
push 0
push 0
call fcn.005c4af6
add esp, 0x18
mov dword [0x72a510], eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4a99a0
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x611ef3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
push 0x19c
call fcn.005c39f5
add esp, 4
mov dword [esp + 8], eax
mov byte [esp + 0x14], 1
test eax, eax
je 0x4a99eb
call fcn.00433920
jmp 0x4a99ed
xor eax, eax
mov byte [esp + 0x14], 0
cmp dword [esp + 0x34], 8
mov esi, dword [esp + 0x20]
jae 0x4a9a01
lea esi, [esp + 0x20]
lea edx, [eax + 4]
movzx ecx, word [esi]
mov word [edx], cx
add esi, 2
add edx, 2
test cx, cx
jne 0x4a9a04
mov ecx, dword [esp + 0x38]
push 0
push 0
push eax
push 0x4a9440
push 0
push 0
mov dword [eax], ecx
call fcn.005c4af6
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x4a9a4d
mov edx, dword [esp + 0x20]
push edx
call fcn.005c396f
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4a9a80
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x610d8b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 1
push 0xc
call fcn.005c39f5
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 2
test eax, eax
je 0x4a9acc
push eax
call fcn.004170f0
mov esi, eax
jmp 0x4a9ace
xor esi, esi
mov byte [esp + 0x18], 1
lea eax, [esp + 0x20]
mov edi, esi
call fcn.0040ddb0
lea edi, [esi + 4]
lea eax, [esp + 0x24]
call fcn.0040ddb0
mov eax, dword [esp + 0x28]
push 0
push 0
push esi
push 0x4a94c0
push 0
push 0
mov dword [esi + 8], eax
call fcn.005c4af6
add esp, 0x18
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x20]
call fcn.0040ba40
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0040ba40
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4a9b40
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5f972b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x72a534]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
push esi
push eax
call edi
cmp eax, 0x102
je 0x4a9bc0
push 0x19c
call fcn.005c39f5
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
cmp eax, esi
je 0x4a9b9d
call fcn.00433920
jmp 0x4a9b9f
xor eax, eax
mov dword [esp + 0x20], 0xffffffff
push esi
push esi
push eax
push 0x4a9850
push esi
push esi
mov dword [eax], ebx
call fcn.005c4af6
add esp, 0x18
mov dword [0x72a534], eax
mov ecx, dword [0x72a534]
push 0x493e0
push ecx
call edi
mov eax, dword [0x72a534]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call fcn.00497e50
cmp eax, esi
je 0x4a9c12
cmp dword [esp + 0x10], 1
sete cl
movzx edx, cl
push edx
push ebx
mov ecx, eax
call fcn.004a9c30
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4ab4a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5fef18
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
push ebx
lea edi, [ebx + 0x64]
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.0041e490
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x30]
dec eax
mov edi, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x4ab51d
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x50]
push ebx
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [ebp]
push edx
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x4ab578
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4ab578
mov esi, eax
cmp eax, dword [esp + 0x30]
jbe 0x4ab54c
call fcn.005c475a
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x4ab55a
lea eax, [esp + 0x20]
mov byte [eax + esi], bl
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x4ab56b
lea eax, [esp + 0x20]
push eax
call fcn.005c6254
add esp, 4
mov esi, eax
jmp 0x4ab57c
mov esi, dword [esp + 0x18]
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x34], edi
jb 0x4ab597
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005c396f
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005c397a
add esp, 0x34
ret
Function at 0x4ae570
Capabilities:
Create thread

Disassembly:
push esi
push eax
call fcn.004ae480
push 0
push 0
mov esi, eax
push esi
push 0x4a07b0
push 0
push 0
call fcn.005c4af6
add esp, 0x18
mov dword [esi + 0xc], eax
pop esi
ret
Function at 0x4b7b90
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
push 0x6d910c
push 1
push 0
push 0x6d90fc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x4b7bd1
push esi
push str.CoCreateInstance_failed:_0x_08lx_n
jmp 0x4b7c09
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jge 0x4b7bf0
push esi
push str.get_LocalPolicy_failed:_0x_08lx_n
jmp 0x4b7c09
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x4b7c11
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.005c667f
add esp, 8
mov eax, dword [esp + 4]
test eax, eax
je 0x4b7c21
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
test eax, eax
je 0x4b7c31
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x4bba40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f9705
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
push 0x432b70
push 0x4baf60
push 1
push 0x10
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x23], 0
call fcn.005c6744
xor esi, esi
mov dword [esp + 0x78], esi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x1c]
push ecx
call edi
mov byte [esp + 0x78], 1
lea edx, [esp + 0x1c]
push edx
call edi
lea eax, [esp + 0x3c]
push eax
call edi
mov byte [esp + 0x78], 2
mov ecx, 0x400c
lea eax, [esp + 0x3c]
mov word [esp + 0x3c], cx
push eax
lea ecx, [esp + 0x50]
lea edx, [esp + 0x20]
push ecx
mov dword [esp + 0x4c], edx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, esi
jge 0x4bbadf
push eax
call fcn.004f8050
mov eax, dword [ebx + 0x44]
sub eax, dword [ebx + 0x40]
lea edx, [esp + 0x4c]
sar eax, 2
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
test eax, eax
jbe 0x4bbc02
jmp 0x4bbb14
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x44]
sub ecx, dword [ebx + 0x40]
sar ecx, 2
cmp esi, ecx
jb 0x4bbb26
call fcn.005c475a
mov edx, dword [ebx + 0x40]
mov esi, dword [edx + esi*4]
xor eax, eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 4
mov dword [esp + 0x10], eax
cmp esi, eax
je 0x4bbbd3
mov edx, dword [esi]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
mov eax, dword [edx + 0x14]
push esi
call eax
lea ecx, [esp + 0x10]
push ecx
push 0x6d9630
push esi
call dword [sym.imp.ole32.dll_CoUnmarshalInterface]
test eax, eax
jl 0x4bbbd3
cmp dword [esp + 0x10], 0
je 0x4bbbd3
lea edx, [esp + 0x5c]
push edx
call edi
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x38]
push edx
push 1
push 0x400
push 0x6bd41c
push 0xb
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x4bbbc3
cmp word [esp + 0x1c], 0xb
jne 0x4bbbbe
cmp word [esp + 0x24], 0xffff
jne 0x4bbbbe
mov ecx, dword [ebp + 8]
mov byte [ecx], 1
mov byte [esp + 0xf], 1
mov byte [esp + 0x78], 4
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bbbe8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebx + 0x44]
sub ecx, dword [ebx + 0x40]
mov eax, dword [esp + 0x14]
inc eax
sar ecx, 2
mov dword [esp + 0x14], eax
cmp eax, ecx
jb 0x4bbb10
mov byte [esp + 0x78], 1
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x3c]
push edx
call esi
mov byte [esp + 0x78], 0
lea eax, [esp + 0x1c]
push eax
call esi
mov dword [esp + 0x78], 0xffffffff
push 0x432b70
push 1
push 0x10
lea ecx, [esp + 0x58]
push ecx
call fcn.005c5430
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4bc340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5f95d5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
xor edi, edi
mov dword [esp + 0x6c], edi
push 0x432b70
push 0x4baf60
push 2
push 0x10
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x88], 0
call fcn.005c6744
mov byte [esp + 0x6c], 1
mov edx, dword [esp + 0x7c]
mov ecx, 8
push edx
mov word [esp + 0x40], cx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, 3
mov word [esp + 0x4c], ax
mov eax, dword [ebp + 0x44]
sub eax, dword [ebp + 0x40]
lea edx, [esp + 0x3c]
sar eax, 2
xor ebx, ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x24], 2
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
test eax, eax
jbe 0x4bc4a2
jmp 0x4bc3f2
xor edi, edi
mov ecx, dword [ebp + 0x44]
sub ecx, dword [ebp + 0x40]
sar ecx, 2
cmp ebx, ecx
jb 0x4bc404
call fcn.005c475a
mov edx, dword [ebp + 0x40]
mov esi, dword [edx + ebx*4]
mov dword [esp + 0x78], edi
mov byte [esp + 0x6c], 3
lea edi, [esp + 0x78]
call fcn.004baf10
test eax, eax
jl 0x4bc47b
cmp dword [esp + 0x78], 0
je 0x4bc47b
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x6c], 4
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x28]
push edx
push 1
push 0x400
push 0x6bd41c
push 2
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x4bc46b
mov byte [esp + 0x74], 1
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x6c], 1
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4bc490
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 0x44]
sub ecx, dword [ebp + 0x40]
inc ebx
sar ecx, 2
cmp ebx, ecx
jb 0x4bc3f0
mov byte [esp + 0x6c], 0
push 0x432b70
push 2
push 0x10
lea edx, [esp + 0x48]
push edx
call fcn.005c5430
mov dword [esp + 0x6c], 0xffffffff
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bc4e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x74]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
Function at 0x4bc740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f7ac2
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ecx, ecx
cmp byte [ebp + 0x10], cl
mov eax, 3
setne cl
mov word [esp + 0x3c], ax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, 8
push eax
mov byte [esp + 0x17], 0
mov dword [esp + 0x48], ecx
mov word [esp + 0x50], dx
call esi
mov edx, dword [ebp + 8]
mov ecx, 8
push edx
mov dword [esp + 0x58], eax
mov word [esp + 0x60], cx
call esi
mov ecx, dword [edi + 0x44]
sub ecx, dword [edi + 0x40]
xor ebx, ebx
mov dword [esp + 0x64], eax
sar ecx, 2
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], 3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
test ecx, ecx
jbe 0x4bc8d3
mov edx, dword [edi + 0x44]
sub edx, dword [edi + 0x40]
sar edx, 2
cmp ebx, edx
jb 0x4bc7f3
call fcn.005c475a
mov eax, dword [edi + 0x40]
mov esi, dword [eax + ebx*4]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x78], 1
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x4bc891
mov edx, dword [esi]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
mov eax, dword [edx + 0x14]
push esi
call eax
lea ecx, [esp + 0x14]
push ecx
push 0x6d9630
push esi
call dword [sym.imp.ole32.dll_CoUnmarshalInterface]
test eax, eax
jl 0x4bc891
cmp dword [esp + 0x14], 0
je 0x4bc891
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x28]
push edx
push 1
push 0x400
push 0x6bd41c
push 0xd
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x4bc881
mov byte [esp + 0x13], 1
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4bc8a9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [edi + 0x44]
sub ecx, dword [edi + 0x40]
inc ebx
sar ecx, 2
cmp ebx, ecx
jb 0x4bc7e1
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bd7c0
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x601ad0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x711ab8]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x7c]
xor ebx, ebx
mov dword [ebp], ebx
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, ebx
jl 0x4bd826
mov edx, dword [ebp]
push edx
push 0x27
lea eax, [ebp + 0x20]
push eax
call fcn.005c4986
add esp, 0xc
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x14], 0x80004005
mov dword [ebp - 4], ebx
mov eax, str.CLSID_
lea ecx, [ebp - 0x30]
call fcn.0040b3c0
mov byte [ebp - 4], 1
push eax
lea edx, [ebp + 4]
push edx
lea edi, [ebp + 0x20]
call fcn.004861e0
add esp, 8
mov byte [ebp - 4], 3
lea esi, [ebp - 0x30]
call fcn.0044df60
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x4bd869
lea eax, [ebp + 8]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp eax, ebx
jne 0x4bd8e1
mov eax, str.AppID_
lea ecx, [ebp - 0x4c]
call fcn.0040b3c0
mov bl, 4
mov byte [ebp - 4], bl
push eax
lea eax, [ebp - 0x30]
push eax
lea edi, [ebp + 0x20]
call fcn.004861e0
add esp, 8
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 4]
call fcn.0040d740
mov byte [ebp - 4], bl
lea esi, [ebp - 0x30]
call fcn.0044df60
mov byte [ebp - 4], 3
lea esi, [ebp - 0x4c]
call fcn.0044df60
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x4bd8ce
lea eax, [ebp + 8]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x4bd8e1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
lea esi, [ebp + 4]
call fcn.0044df60
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 ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.005c397a
add ebp, 0x74
mov esp, ebp
pop ebp
ret