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

Disassembly:
push 0xffffffffffffffff
push 0x5d5578
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x38], 1
lea eax, [esp + 0x10]
push eax
call fcn.0040b7e0
mov byte [esp + 0x38], 2
test edi, edi
je 0x47a24f
mov eax, edi
lea edi, [esp + 0x10]
call fcn.0040daa0
jmp 0x47a27d
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x2c]
movzx eax, word [esp + 0x2a]
movzx ecx, word [esp + 0x28]
push edx
push eax
push ecx
push str._0.2i:_0.2i:_0.2i
lea edi, [esp + 0x20]
call fcn.00421d60
add esp, 0x10
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x698710
call fcn.0040b8a0
mov byte [esp + 0x38], 3
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, eax
call fcn.0041c9d0
mov byte [esp + 0x40], 4
push eax
lea eax, [esp + 0x20]
push eax
mov ebx, 0x698708
call fcn.004176f0
mov byte [esp + 0x48], 5
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, eax
call fcn.0041c9d0
add esp, 0x18
mov byte [esp + 0x38], 7
lea ecx, [esp + 0x14]
call fcn.0040b950
mov byte [esp + 0x38], 8
lea ecx, [esp + 0x18]
call fcn.0040b950
mov byte [esp + 0x38], 9
lea ecx, [esp + 0x1c]
call fcn.0040b950
cmp byte [esp + 0x4c], 0
jne 0x47a30d
cmp byte [esi + 0x58], 0
jne 0x47a339
mov byte [esi + 0x58], 1
jmp 0x47a339
lea eax, [esp + 0x44]
push eax
call fcn.0042ff00
add esp, 4
test al, al
je 0x47a32a
push str.Deleted__
lea ecx, [esp + 0x10]
push ecx
jmp 0x47a334
push str.Cleaned__
lea edx, [esp + 0x10]
push edx
call fcn.004379c0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, 0x694264
call fcn.004176f0
mov byte [esp + 0x40], 0xa
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push ecx
mov ebx, eax
call fcn.0041c9d0
add esp, 0x10
mov byte [esp + 0x38], 0xb
lea edi, [esi + 0x34]
mov ebx, eax
call fcn.0041ce00
mov byte [esp + 0x38], 0xa
lea ecx, [esp + 0x1c]
call fcn.0040b950
mov byte [esp + 0x38], 9
lea ecx, [esp + 0x18]
call fcn.0040b950
mov edx, dword [esp + 0x4c]
mov edi, dword [0x6eaa30]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x54]
push edx
mov edx, dword [ecx]
lea eax, [esp + 0x54]
push eax
push edx
add edi, 0xc0
call fcn.004974a0
mov byte [esp + 0x38], 2
lea ecx, [esp + 0xc]
call fcn.0040b950
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x10]
call fcn.0040b950
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x44]
call fcn.0040b950
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.0040b950
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x30
ret
Function at 0x47a9d0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x5ce904
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
xor esi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x58]
push ebx
call fcn.0048de40
mov dword [esp + 0x50], esi
lea eax, [esp + 0x2c]
push eax
push ebp
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, esi
je 0x47ab5a
lea ebx, [esp + 0x24]
call fcn.00438410
mov dword [esp + 0x50], 1
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
push eax
push edi
xor ebx, ebx
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47ab22
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004322b0
add esp, 8
mov byte [esp + 0x50], 2
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x58]
sub edx, eax
sar edx, 2
test edx, edx
jbe 0x47ab11
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea edi, [ebp + 4]
push str._04x_04x
call fcn.00421d60
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call fcn.0040b7e0
mov byte [esp + 0x50], 3
mov ecx, dword [edi]
push ecx
push str.StringFileInfo_sFileVersion
lea edi, [esp + 0x20]
call fcn.00421d60
add esp, 8
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esi]
push edx
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47ab03
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x47ab03
mov eax, dword [esp + 0x20]
cmp eax, ebx
jbe 0x47ab03
push eax
push ecx
push ebp
call fcn.00412100
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x18]
call fcn.0040b950
mov byte [esp + 0x50], 1
lea eax, [esp + 0x30]
push eax
call fcn.00438b40
jmp 0x47ab26
mov ebp, dword [esp + 0x58]
mov byte [esp + 0x50], bl
add dword [esi + 8], 0xffffffff
jne 0x47ab44
xor edi, edi
call fcn.0043b870
push esi
call fcn.0059392f
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, ebp
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x47e210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ce8b2
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.0041d3b0
xor edi, edi
mov dword [esp + 0x14], edi
lea eax, [esi + 0x18]
push eax
call fcn.0041d3b0
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 0x47ea30
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 0x47eaad
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 0x47ea69
call fcn.0059471a
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 0x47ea9b
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 0x47ea50
mov edx, dword [esp + 0x24]
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x482770
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.005939b5
add esp, 4
test eax, eax
je 0x48278a
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov esi, eax
jmp 0x48278c
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 0x4827c7
push 0
push 0
push esi
push 0x48b6a0
push 0
push 0
call fcn.005957cb
add esp, 0x18
mov dword [edi + 0x144], eax
pop esi
ret 4
Function at 0x4870d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da20a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6d26f8]
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 0x487135
mov ecx, str.Disabled
push ecx
mov edx, esp
mov dword [ebp - 0x38], esp
push edx
call fcn.0040b8a0
mov dword [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
push eax
mov ecx, 0x6a0248
call fcn.0040b8a0
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov dword [ebp - 4], esi
call fcn.004561c0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x34]
push ecx
call fcn.00416f80
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x34]
call fcn.00418010
test al, al
je 0x4871ca
test bl, bl
mov ecx, str.Enabled
jne 0x487198
mov ecx, str.Disabled
push ecx
mov edx, esp
mov dword [ebp - 0x3c], esp
push edx
call fcn.0040b8a0
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.00417060
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 3
call fcn.00419050
mov byte [ebp - 4], 2
lea edx, [ebp - 0x34]
push edx
call fcn.00416fe0
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.0059393a
mov esp, ebp
pop ebp
ret
Function at 0x487210
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da1ba
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6d26f8]
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.005939b5
add esp, 4
test eax, eax
je 0x487280
mov dword [eax], 0
jmp 0x487282
xor eax, eax
movzx edx, bl
mov dword [eax], edx
push eax
push 7
call fcn.00424e60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.00416f80
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x34]
call fcn.00418010
test al, al
je 0x4872f1
test bl, bl
mov ecx, 0x69b88c
jne 0x4872bf
mov ecx, str.Protection_Disabled
push ecx
mov edx, esp
mov dword [ebp - 0x3c], esp
push edx
call fcn.0040b8a0
mov byte [ebp - 4], 2
push ecx
mov eax, esp
mov dword [ebp - 0x40], esp
push eax
mov ecx, str.Device
call fcn.0040b8a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 1
call fcn.00419050
mov byte [ebp - 4], 0
lea edx, [ebp - 0x34]
push edx
call fcn.00416fe0
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.0059393a
mov esp, ebp
pop ebp
ret

Function at 0x487d90
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5dc4cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x6eac38]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x487e28
push 0xc
call fcn.005939b5
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x487dec
push eax
call fcn.00473fd0
mov esi, eax
jmp 0x487dee
xor esi, esi
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x24]
mov edi, esi
call fcn.0040daa0
mov eax, dword [esp + 0x20]
lea edi, [esi + 8]
call fcn.0040daa0
push 0
push 0
push esi
push 0x475610
push 0
push 0
call fcn.005957cb
add esp, 0x18
mov dword [0x6eac38], eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x487e40
Capabilities:
Access peb ldr_data
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5dd7a3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
push 0x19c
call fcn.005939b5
add esp, 4
mov dword [esp + 8], eax
mov byte [esp + 0x14], 1
test eax, eax
je 0x487e8b
call fcn.004290a0
jmp 0x487e8d
xor eax, eax
mov byte [esp + 0x14], 0
cmp dword [esp + 0x34], 8
mov esi, dword [esp + 0x20]
jae 0x487ea1
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 0x487ea4
mov ecx, dword [esp + 0x38]
push 0
push 0
push eax
push 0x4878e0
push 0
push 0
mov dword [eax], ecx
call fcn.005957cb
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x487eed
mov edx, dword [esp + 0x20]
push edx
call fcn.0059392f
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 0x487f20
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5dc49b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 1
push 0xc
call fcn.005939b5
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 2
test eax, eax
je 0x487f6c
push eax
call fcn.00474090
mov esi, eax
jmp 0x487f6e
xor esi, esi
mov byte [esp + 0x18], 1
lea eax, [esp + 0x20]
mov edi, esi
call fcn.0040daa0
lea edi, [esi + 4]
lea eax, [esp + 0x24]
call fcn.0040daa0
mov eax, dword [esp + 0x28]
push 0
push 0
push esi
push 0x487960
push 0
push 0
mov dword [esi + 8], eax
call fcn.005957cb
add esp, 0x18
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x20]
call fcn.0040b950
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0040b950
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x487fe0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5c9bcb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x6eac5c]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
push esi
push eax
call edi
cmp eax, 0x102
je 0x488060
push 0x19c
call fcn.005939b5
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
cmp eax, esi
je 0x48803d
call fcn.004290a0
jmp 0x48803f
xor eax, eax
mov dword [esp + 0x20], 0xffffffff
push esi
push esi
push eax
push 0x487cf0
push esi
push esi
mov dword [eax], ebx
call fcn.005957cb
add esp, 0x18
mov dword [0x6eac5c], eax
mov ecx, dword [0x6eac5c]
push 0x493e0
push ecx
call edi
mov eax, dword [0x6eac5c]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
call fcn.004798f0
cmp eax, esi
je 0x4880b2
cmp dword [esp + 0x10], 1
sete cl
movzx edx, cl
push edx
push ebx
mov ecx, eax
call fcn.004880d0
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 0x489940
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5cb618
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
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.004178d0
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 0x4899bd
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 0x489a18
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x489a18
mov esi, eax
cmp eax, dword [esp + 0x30]
jbe 0x4899ec
call fcn.0059471a
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x4899fa
lea eax, [esp + 0x20]
mov byte [eax + esi], bl
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], edi
jae 0x489a0b
lea eax, [esp + 0x20]
push eax
call fcn.0059607d
add esp, 4
mov esi, eax
jmp 0x489a1c
mov esi, dword [esp + 0x18]
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x34], edi
jb 0x489a37
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0059392f
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.0059393a
add esp, 0x34
ret
Function at 0x48cc80
Capabilities:
Create thread

Disassembly:
push esi
push eax
call fcn.0048cb90
push 0
push 0
mov esi, eax
push esi
push 0x47f200
push 0
push 0
call fcn.005957cb
add esp, 0x18
mov dword [esi + 0xc], eax
pop esi
ret
Function at 0x495770
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
push 0x6a0e14
push 1
push 0
push 0x6a0e04
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 0x4957b1
push esi
push str.CoCreateInstance_failed:_0x_08lx_n
jmp 0x4957e9
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 0x4957d0
push esi
push str.get_LocalPolicy_failed:_0x_08lx_n
jmp 0x4957e9
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 0x4957f1
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.005963d1
add esp, 8
mov eax, dword [esp + 4]
test eax, eax
je 0x495801
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
test eax, eax
je 0x495811
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x4969e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c7f55
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
push 0x428ff0
push 0x495f10
push 1
push 0x10
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x23], 0
call fcn.00596496
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 0x496a7f
push eax
call fcn.004d1170
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 0x496ba2
jmp 0x496ab4
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x44]
sub ecx, dword [ebx + 0x40]
sar ecx, 2
cmp esi, ecx
jb 0x496ac6
call fcn.0059471a
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 0x496b73
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 0x6a11ec
push esi
call dword [sym.imp.ole32.dll_CoUnmarshalInterface]
test eax, eax
jl 0x496b73
cmp dword [esp + 0x10], 0
je 0x496b73
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 0x6862bc
push 0xb
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x496b63
cmp word [esp + 0x1c], 0xb
jne 0x496b5e
cmp word [esp + 0x24], 0xffff
jne 0x496b5e
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 0x496b88
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 0x496ab0
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 0x428ff0
push 1
push 0x10
lea ecx, [esp + 0x58]
push ecx
call fcn.00594b71
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 0x4972e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5c7e25
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
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 0x428ff0
push 0x495f10
push 2
push 0x10
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x88], 0
call fcn.00596496
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 0x497442
jmp 0x497392
xor edi, edi
mov ecx, dword [ebp + 0x44]
sub ecx, dword [ebp + 0x40]
sar ecx, 2
cmp ebx, ecx
jb 0x4973a4
call fcn.0059471a
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.00495ec0
test eax, eax
jl 0x49741b
cmp dword [esp + 0x78], 0
je 0x49741b
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 0x6862bc
push 2
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x49740b
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 0x497430
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 0x497390
mov byte [esp + 0x6c], 0
push 0x428ff0
push 2
push 0x10
lea edx, [esp + 0x48]
push edx
call fcn.00594b71
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 0x497482
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