joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013d00
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x1008ab54]
xor eax, esp
mov dword [esp + 0x11c], eax
push edi
push 0x10077eb2
push 0x400
push 0x10090f80
call fcn.1004985b
add esp, 0xc
push 0x114
lea eax, [esp + 8]
push 0
push eax
call fcn.1004b150
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x14], 2
jne 0x10013e73
cmp dword [0x10090964], 1
jne 0x10013d90
push str._nTrying_to_read_the_drive_IDs_using_physical_access_with_admin_rights_n
push 0x800
push 0x100923a8
call fcn.1004992c
add esp, 0xc
push str.._error_dev.txt
mov edi, 0x100923a8
call fcn.10016250
add esp, 4
call fcn.10013270
cmp dword [0x10090964], 1
jne 0x10013dc7
push str._nTrying_to_read_the_drive_IDs_using_the_SCSI_back_door_n
push 0x800
push 0x100923a8
call fcn.1004992c
add esp, 0xc
push str.._error_dev.txt
mov edi, 0x100923a8
call fcn.10016250
add esp, 4
call fcn.10013b80
cmp dword [0x10090964], 1
jne 0x10013dfe
push str._nTrying_to_read_the_drive_IDs_using_physical_access_with_zero_rights_n
push 0x800
push 0x100923a8
call fcn.1004992c
add esp, 0xc
push str.._error_dev.txt
mov edi, 0x100923a8
call fcn.10016250
add esp, 4
call fcn.10013850
cmp dword [0x10090964], 1
jne 0x10013e35
push str._nTrying_to_read_the_drive_IDs_using_Smart_n
push 0x800
push 0x100923a8
call fcn.1004992c
add esp, 0xc
push str.._error_dev.txt
mov edi, 0x100923a8
call fcn.10016250
add esp, 4
call fcn.10013510
mov cl, byte [0x10090f80]
test cl, cl
jle 0x10013e5b
push 0x10090f80
push 0x10079a6c
push 0x10093400
call fcn.10012ec0
add esp, 0xc
xor eax, eax
pop edi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.10048e2f
add esp, 0x120
ret
mov cl, byte [0x10090f80]
xor eax, eax
jmp 0x10013e80
test cl, cl
jne 0x10013e42
add eax, 1
cmp eax, 0xa
jl 0x10013e80
mov ecx, dword [esp + 0x120]
pop edi
xor ecx, esp
xor eax, eax
call fcn.10048e2f
add esp, 0x120
ret
Function at 0x10014460
Capabilities:
Get local ipv4 addresses

Disassembly:
push 0xffffffffffffffff
push 0x10070218
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
xor edi, edi
push eax
mov dword [esp + 0x2c], edi
push edi
mov dword [esp + 0x1c], edi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
mov ebp, dword [esp + 0x30]
jne 0x10014585
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1003efb3
add esp, 4
mov ebx, eax
lea edx, [esp + 0x14]
push edx
push ebx
mov dword [esp + 0x20], ebx
mov esi, ebx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x1001457c
test ebx, ebx
je 0x10014536
lea eax, [esi + 0x1b0]
push eax
lea ecx, [esp + 0x20]
call fcn.10012ee0
mov eax, dword [eax]
push eax
push ebp
call fcn.10049690
add esp, 8
test eax, eax
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10014516
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x10014522
mov esi, dword [esi]
test esi, esi
jne 0x100144d5
jmp 0x10014532
push 1
lea ecx, [esi + 8]
call fcn.10013fd0
mov edi, eax
test edi, edi
jne 0x10014578
mov ebx, dword [esp + 0x18]
test ebx, ebx
mov esi, ebx
je 0x1001457c
lea esp, [esp]
mov eax, dword [esi + 0x1a0]
cmp eax, 6
je 0x10014555
cmp eax, 0xf
je 0x10014555
cmp eax, 0x47
jne 0x10014570
mov eax, esi
call fcn.100143d0
test eax, eax
je 0x10014570
push 0
lea ecx, [esi + 8]
call fcn.10013fd0
mov edi, eax
test edi, edi
jne 0x1001457c
mov esi, dword [esi]
test esi, esi
jne 0x10014540
jmp 0x1001457c
mov ebx, dword [esp + 0x18]
push ebx
call fcn.1003efae
add esp, 4
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100145a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x100145c0
Capabilities:
Resolve dns

Disassembly:
push eax
mov word [esi], 2
call dword [sym.imp.WS2_32.dll_htons]
push str.127.0.0.1
mov word [esi + 2], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 4]
push ecx
mov dword [esi + 4], eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x100145ee
ret
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi + 4], eax
mov eax, ecx
ret
Function at 0x10015860
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1006f53d
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x1008ab54]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x22c], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
call fcn.10040589
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x100158c4
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x22c], ebx
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.10002060
push 0x206
lea ecx, [esp + 0x1e]
push ebx
push ecx
mov word [esp + 0x24], bx
call fcn.1004b150
add esp, 0xc
push ebx
push 0x1a
lea edx, [esp + 0x20]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.10040589
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10015929
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
push str.sign
push str.QuanDuoDuo
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
push 0x10079edc
push edx
mov dword [esp + 0x240], 1
call fcn.10012ec0
mov edi, dword [esp + 0x20]
push esi
mov ecx, edi
call fcn.10015fd0
mov eax, dword [esi]
add esp, 0x18
cmp dword [eax - 0xc], ebx
jne 0x1001598e
mov ecx, dword [0x100933f4]
push str.sign
push 1
push esi
call fcn.10015c80
add esp, 0xc
lea eax, [edi - 0x10]
mov byte [esp + 0x22c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100159b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10048e2f
add esp, 0x224
ret
Function at 0x10015c80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1006e66b
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x1008ab54]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x438]
mov ebp, dword [esp + 0x440]
xor edi, edi
push 0x3fe
lea eax, [esp + 0x2a]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x28], 0x200
mov word [esp + 0x30], di
call fcn.1004b150
add esp, 0xc
mov ecx, ebx
call fcn.10002060
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push edi
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10015d0f
mov eax, dword [esp + 0x43c]
cmp eax, 1
jne 0x10015d76
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x444]
push ecx
push 0
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10015e31
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10015d50
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.10001ec0
mov edi, 1
jmp 0x10015e33
cmp eax, 4
jne 0x10015e33
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x444]
push eax
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10015e31
call fcn.10040589
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10015dc1
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x430], 0
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push 0x10079f9c
push edx
call fcn.10012ec0
mov esi, dword [esp + 0x24]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
push esi
mov ecx, ebx
call fcn.10001ec0
lea eax, [esi - 0x10]
mov edi, 1
mov dword [esp + 0x430], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10015e33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10015e33
xor edi, edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.10048e2f
add esp, 0x420
ret
Function at 0x10015e70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x1008ab54]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebx
mov ebx, dword [esp + 0x418]
push esi
xor esi, esi
push 0x3fe
lea eax, [esp + 0x1a]
push esi
push eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x200
mov word [esp + 0x20], si
call fcn.1004b150
add esp, 0xc
mov ecx, ebx
call fcn.10002060
lea ecx, [esp + 8]
push ecx
push 0x20019
push esi
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [esp + 0xc], 1
jne 0x10015f28
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push str.PnpInstanceID
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10015f28
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10015f07
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call fcn.10001ec0
mov esi, 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x414]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10048e2f
add esp, 0x410
ret

Function at 0x10015f50
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [0x100933e8]
cmp dword [eax - 4], 1
jle 0x10015f6f
mov eax, dword [eax - 0xc]
push eax
mov ecx, 0x100933e8
call fcn.10001bc0
mov eax, dword [0x100933e8]
mov edx, dword [esp + 8]
push esi
push edi
mov edi, dword [eax - 0xc]
lea ecx, [esp + 8]
push ecx
push 2
push 0
push edx
push SysReAllocString
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
lea eax, [edi + edi + 2]
push eax
push esi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 8]
neg esi
sbb esi, esi
push eax
add esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ecx
ret
Function at 0x10015fd0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1006f4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.10040589
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10016015
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
push esi
mov dword [esp + 0x3c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x10016060
lea ecx, [esp + 0x1c]
call fcn.10068e33
push ebx
push ebx
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call fcn.10068e49
test eax, eax
lea ecx, [esp + 0x1c]
jne 0x1001609b
mov byte [esp + 0x38], bl
call fcn.1006922c
lea eax, [ebp - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10016084
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.1006910e
mov edi, eax
cmp edi, ebx
jne 0x100160b5
lea ecx, [esp + 0x1c]
call fcn.100691f0
lea ecx, [esp + 0x1c]
jmp 0x10016057
lea ecx, [edi + 1]
push ecx
call fcn.1003efb3
add esp, 4
mov esi, eax
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.10068f5d
push edi
push esi
lea ecx, [esp + 0x1c]
mov byte [esi + edi], bl
call fcn.10016780
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x3c], 2
call fcn.1000d4b0
lea ecx, [esp + 0x1c]
call fcn.100691f0
push esi
call fcn.1003efae
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10016126
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call fcn.1006922c
lea eax, [ebp - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10016157
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x100179b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006e609
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [ebx], eax
test esi, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 1
jne 0x10017aa9
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x2c], 1
mov eax, dword [ebp]
mov edx, dword [eax + 0x94]
push esi
push ebp
call edx
test eax, eax
jne 0x10017a8d
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
call fcn.100178f0
add esp, 4
push eax
mov ecx, ebx
mov byte [esp + 0x2c], 2
call fcn.1000d4b0
mov byte [esp + 0x28], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10017a81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
jne 0x10017a20
push 0x8007000e
call fcn.10001100
int3

Function at 0x10017ad0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1006d600
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0x34]
push 8
push 0
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x38], 1
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jge 0x10017b43
push eax
call fcn.10001100
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x10017b4f
xor eax, eax
jmp 0x10017b63
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10017b54
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.10001fc0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x10017ca0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1006e546
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [esi], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esp + 0x18], 5
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [esi + 0x48], eax
mov byte [esp + 0x18], 6
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [esi + 0x4c], eax
mov byte [esp + 0x18], 7
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [esi + 0x50], eax
mov byte [esp + 0x18], 8
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
lea edi, [esi + 0x58]
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 9
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [esi + 0x5c], eax
mov byte [esp + 0x18], 0xa
push 0x1007a100
mov dword [esi + 0x54], ebx
call fcn.10003bc0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x10018680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006e4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
xor edi, edi
push str.defaultpage_item
mov dword [esp + 0x3c], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x28], ebx
jne 0x100186e9
push 0x8007000e
call fcn.10001100
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x3c], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x90]
push ebx
push esi
call edx
cmp eax, edi
jne 0x100187a1
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp dword [esp + 0x14], 0
jle 0x10018795
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push edi
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jne 0x1001878c
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.100178f0
add esp, 4
mov esi, dword [ebp + 8]
push eax
add esi, 0x28
mov byte [esp + 0x3c], 2
call fcn.1001aa00
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10018780
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add edi, 1
cmp edi, dword [esp + 0x14]
jl 0x10018723
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100187d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10018880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006e468
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1008ab54]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov eax, dword [0x1009087c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1009087c
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x38], ebx
jne 0x100189d4
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x3c], 1
mov eax, dword [edi]
mov edx, dword [eax + 0x90]
push ebx
push edi
call edx
xor edi, edi
cmp eax, edi
jne 0x1001898e
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp dword [esp + 0x14], edi
jle 0x10018982
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push edi
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jne 0x10018979
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.100178f0
add esp, 4
mov esi, dword [ebp + 8]
push eax
mov byte [esp + 0x3c], 2
call fcn.1001aa00
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001896d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add edi, 1
cmp edi, dword [esp + 0x14]
jl 0x10018913
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100189bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x20], ebx
jne 0x100188d8
push 0x8007000e
call fcn.10001100
int3