joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1015ed40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101f69c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov edx, dword [esp + 0x18]
push ebx
push esi
mov esi, dword [esp + 0x1c]
lea eax, [edx + edx*2]
push edi
mov edi, esi
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 3
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x1015ee34
inc edx
push ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x1c], 0
je 0x1015ee15
mov ecx, dword [0x101fe014]
mov dword [esi], ecx
mov edx, dword [0x101fe014]
lea edi, [esi + 4]
mov dword [edi], edx
lea ebp, [esi + 8]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.100f34c0
lea ebx, [esi + 0x3c]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.100f34c0
mov eax, dword [0x101fe014]
mov dword [esi + 0x74], eax
push 0x10277134
mov ecx, esi
mov byte [esp + 0x20], 5
call fcn.1005b9d0
push 0x10277134
mov ecx, edi
call fcn.1005b9d0
mov ecx, ebp
call fcn.100f3760
mov ecx, ebx
call fcn.100f3760
push 0x10277134
lea ecx, [esi + 0x74]
mov dword [esi + 0x70], 0
call fcn.1005b9d0
mov eax, dword [esp + 0x28]
add esi, 0x78
dec eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jne 0x1015ed8d
pop ebp
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x1015ee50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101f6a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov edx, dword [esp + 0x18]
push ebx
mov ecx, edx
push esi
mov esi, dword [esp + 0x1c]
push edi
shl ecx, 4
add ecx, edx
xor eax, eax
shl ecx, 3
mov ebx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x1015ef56
inc edx
push ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], esi
test esi, esi
mov dword [esp + 0x1c], 0
je 0x1015ef34
mov ecx, dword [0x101fe014]
mov dword [esi], ecx
mov edx, dword [0x101fe014]
lea edi, [esi + 4]
mov dword [edi], edx
lea ebp, [esi + 8]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.100f34c0
lea ebx, [esi + 0x3c]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.100f34c0
mov eax, dword [0x101fe014]
mov dword [esi + 0x80], eax
push 0x10277134
mov ecx, esi
mov byte [esp + 0x20], 5
call fcn.1005b9d0
push 0x10277134
mov ecx, edi
call fcn.1005b9d0
mov ecx, ebp
call fcn.100f3760
mov ecx, ebx
call fcn.100f3760
xor eax, eax
push 0x10277134
mov dword [esi + 0x78], eax
lea ecx, [esi + 0x80]
mov dword [esi + 0x70], eax
mov dword [esi + 0x7c], eax
call fcn.1005b9d0
mov eax, dword [esp + 0x28]
add esi, 0x88
dec eax
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jne 0x1015ee9e
pop ebp
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x101647c0
Capabilities:
Modify service

Disassembly:
push 0xffffffffffffffff
push 0x101f72fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa24
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
xor ebp, ebp
xor esi, esi
call fcn.101d202d
mov eax, dword [esp + 0xa60]
mov dword [esp + 0xa38], ebp
cmp eax, ebp
je 0x10164807
push eax
lea ecx, [esp + 0x18]
call fcn.101d2209
mov eax, dword [esp + 0xa64]
cmp eax, ebp
je 0x1016481c
push eax
lea ecx, [esp + 0x18]
call fcn.101d2209
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x232]
mov word [esp + 0x230], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0x400
cmp eax, ebp
jle 0x10164887
lea eax, [esp + 0xc]
lea ecx, [esp + 0x230]
push eax
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
call fcn.10090560
add esp, 0x10
test eax, eax
jne 0x10164880
lea ecx, [esp + 0x14]
mov dword [esp + 0xa38], 0xffffffff
call fcn.101d2060
xor eax, eax
jmp 0x10164955
lea esi, [esp + 0x230]
mov eax, dword [esp + 0xa50]
mov ecx, dword [esp + 0xa6c]
mov edx, dword [esp + 0xa68]
push ebx
push eax
mov eax, dword [esp + 0xa64]
push ecx
mov ecx, dword [esp + 0xa64]
push edx
mov edx, dword [esp + 0xa5c]
push esi
mov esi, dword [esp + 0xa54]
push ebp
push eax
mov eax, dword [esp + 0xa64]
push ecx
mov ecx, dword [esp + 0xa64]
push edx
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov ebx, eax
cmp ebx, ebp
je 0x1016493e
mov ebp, dword [esp + 0xa58]
test ebp, ebp
je 0x1016493e
test esi, esi
je 0x1016493e
call fcn.100a2a90
mov eax, dword [0x1027c23c]
test eax, eax
je 0x1016493e
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], 0
rep stosd dword es:[edi], eax
push 0
lea edx, [esp + 0x30]
push 0x104
push edx
push 0xffffffffffffffff
push ebp
stosw word es:[edi], ax
call fcn.1008dba0
add esp, 0x14
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
push ecx
push 1
push esi
mov dword [esp + 0x20], eax
call dword [0x1027c23c]
lea ecx, [esp + 0x18]
mov dword [esp + 0xa3c], 0xffffffff
call fcn.101d2060
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0xa30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xa30
ret
Function at 0x10165190
Capabilities:
Set registry value

Disassembly:
push edi
mov edi, dword [esp + 0x10]
cmp edi, 0xffffffff
je 0x101651ad
cmp edi, 4
jbe 0x101651ad
mov dword [0x1027dd98], 0x57
xor eax, eax
pop edi
ret
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x10]
cmp eax, 0xffffffff
mov ebx, dword [esi]
je 0x101651cc
push eax
mov eax, dword [str.Type]
push eax
mov ecx, esi
call fcn.1006b3b0
cmp edi, 0xffffffff
je 0x101651e0
mov ecx, dword [str.Start]
push edi
push ecx
mov ecx, esi
call fcn.1006b3b0
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x101651f8
mov edx, dword [str.ErrorControl]
push eax
push edx
mov ecx, esi
call fcn.1006b3b0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1016520e
push eax
mov eax, dword [str.DisplayName]
push eax
mov ecx, esi
call fcn.1006b560
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10165225
mov ecx, dword [str.Description]
push eax
push ecx
mov ecx, esi
call fcn.1006b560
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1016524d
push edi
call fcn.10041fde
add esp, 4
lea edx, [eax + eax + 2]
mov eax, dword [str.ImagePath]
push edx
push edi
push 2
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10165264
mov ecx, dword [str.Group]
push eax
push ecx
mov ecx, esi
call fcn.1006b560
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1016527b
mov edx, dword [str.DependOnGroup]
push eax
push edx
mov ecx, esi
call fcn.1006b9b0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10165291
push eax
mov eax, dword [str.DependOnService]
push eax
mov ecx, esi
call fcn.1006b9b0
pop esi
pop ebx
mov eax, 1
pop edi
ret
Function at 0x10166230
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101f7540
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x10166263
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
cmp word [esi], 0
jne 0x1016627b
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 4]
call fcn.1006a150
mov eax, dword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call fcn.1006a270
test eax, eax
je 0x10166327
push 1
push esi
lea ecx, [esp + 0xc]
call fcn.1006c720
test eax, eax
jne 0x101662dc
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.1006a1f0
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1016630f
lea ecx, [esp + 0x28]
push esi
push ecx
lea ecx, [esp + 0x10]
call fcn.1006a8a0
push eax
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.101d3d52
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0
call fcn.101d3c0b
mov eax, dword [esp + 0x24]
pop edi
test eax, eax
je 0x101663ee
mov dword [eax], 0x10
jmp 0x101663ee
mov edx, dword [0x10253adc]
mov dword [esp + 0x1c], edx
mov eax, dword [str.SystemCurrentControlSetServicesVxD]
push esi
push eax
lea ecx, [esp + 0x24]
push 0x10239350
push ecx
mov byte [esp + 0x24], 2
call fcn.101d13e5
mov edx, dword [esp + 0x2c]
add esp, 0x10
lea ecx, [esp + 4]
push 0x20019
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1006a270
test eax, eax
jne 0x1016639b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], al
call fcn.101d3c0b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.1006a1f0
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov esi, dword [esp + 0x24]
test esi, esi
je 0x101663d2
mov eax, dword [str.StaticVxD]
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.1006a8a0
push eax
mov ecx, esi
mov byte [esp + 0x18], 3
call fcn.101d3d52
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 2
call fcn.101d3c0b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x101663e0
mov dword [eax], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call fcn.101d3c0b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.1006a1f0
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10166420
Capabilities:
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101f7568
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x24]
xor ebx, ebx
cmp edi, ebx
je 0x10166531
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x10166531
cmp word [edi], bx
je 0x10166531
cmp word [esi], bx
je 0x10166531
lea ecx, [esp + 0xc]
call fcn.1006a150
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
cmp eax, 2
je 0x101664cf
cmp eax, 1
je 0x101664cf
mov eax, dword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
push 0x2001f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
call fcn.1006a270
test eax, eax
jne 0x101664bd
mov ecx, dword [str.SoftwareMicrosoftWindowsCurrentVersionRunServices]
push 0x2001f
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
call fcn.1006a2e0
test eax, eax
je 0x10166520
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.1006b560
mov esi, eax
jmp 0x101665b6
mov edx, dword [0x10253adc]
mov dword [esp + 0x24], edx
mov eax, dword [str.SystemCurrentControlSetServicesVxD]
push edi
push eax
lea ecx, [esp + 0x2c]
push 0x10239350
push ecx
mov byte [esp + 0x2c], 1
call fcn.101d13e5
mov edx, dword [esp + 0x34]
add esp, 0x10
lea ecx, [esp + 0xc]
push 0x2001f
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1006a270
test eax, eax
jne 0x10166545
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.101d3c0b
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1006a1f0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [0x10253adc]
mov dword [esp + 0x2c], eax
push 0x5c
push esi
mov byte [esp + 0x24], 2
call fcn.10041f4f
add esp, 8
cmp eax, ebx
je 0x1016656f
add eax, 2
lea ecx, [esp + 0x2c]
push eax
call fcn.101d3da2
mov eax, dword [esp + 0x2c]
cmp dword [eax - 8], ebx
jne 0x10166588
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 1
call fcn.101d3c0b
jmp 0x10166513
mov ecx, dword [str.StaticVxD]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.1006b560
lea ecx, [esp + 0x2c]
mov esi, eax
mov byte [esp + 0x1c], 1
call fcn.101d3c0b
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.101d3c0b
lea ecx, [esp + 0xc]
call fcn.1006a2c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1006a1f0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10167dd0
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101f7700
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.100624d0
mov edi, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.100624d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov eax, dword [0x1027e9d4]
test eax, eax
je 0x10167e88
cmp ebp, eax
jne 0x10167e88
mov eax, dword [0x1027e9d8]
test eax, eax
je 0x10167e88
cmp ebx, eax
jb 0x10167e88
add eax, 0x493e0
cmp eax, ebx
jb 0x10167e88
mov ebp, dword [0x1027e9dc]
push 1
inc ebp
push 0x1027e8f0
lea ecx, [esp + 0x18]
mov dword [0x1027e9dc], ebp
call fcn.1008cd00
push 0x1027e920
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.10062720
push 0x1027e910
mov ecx, edi
call fcn.10062720
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x10167efe
push edi
push esi
mov dword [0x1027e9dc], 0
call fcn.10168200
add esp, 8
lea ecx, [esp + 0x1c]
push 1
push 0x1027e8f0
call fcn.1008cd00
push 0xffffffffffffffff
push 0
mov ecx, 0x1027e920
mov dword [esp + 0x38], 1
mov dword [0x1027e9d4], ebp
mov dword [0x1027e9d8], ebx
call fcn.100624d0
push esi
mov ecx, 0x1027e920
call fcn.10062720
push 0xffffffffffffffff
push 0
mov ecx, 0x1027e910
call fcn.100624d0
push edi
mov ecx, 0x1027e910
call fcn.10062720
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.1008cd60
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10168200
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x101f7766
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.100624d0
mov ebp, dword [esp + 0x248]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.100624d0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, edx
je 0x10168339
mov edx, dword [0x1023ce14]
mov cx, word [0x1023ce18]
mov dword [esp + 0x18], edx
add word [esp + 0x18], ax
lea edx, [esp + 0x18]
mov word [esp + 0x1c], cx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x22], bx
call fcn.1005ae80
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x244], ebx
call fcn.10062b60
mov edx, dword [0x101fe014]
mov dword [esp + 0x14], edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push 0x104
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x248], 1
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
mov word [esp + 0x236], bx
call fcn.1005b9d0
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.10062b60
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], bl
call fcn.1005b6f0
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call fcn.1005b6f0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc eax
shl edx, 1
cmp eax, 0x1a
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
jb 0x1016825b
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x1016fe90
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, ecx
push edi
push ebp
lea edi, [esi + 0xec]
mov ecx, edi
call fcn.10175fe0
test al, al
jne 0x1016feb1
pop edi
pop esi
pop ebp
ret 4
lea ecx, [esi + 0x78]
call fcn.10174450
cmp eax, 1
jne 0x1016fec6
pop edi
pop esi
xor al, al
pop ebp
ret 4
mov al, byte [esi + 0xe8]
test al, al
je 0x1016fed8
pop edi
pop esi
xor al, al
pop ebp
ret 4
lea ecx, [esi + 0x20]
call fcn.10175500
push ebp
mov ecx, edi
call fcn.10176000
mov ecx, dword [esi + 0x114]
call fcn.10173e90
test al, al
je 0x1016ff8f
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x1016ff0a
pop edi
pop esi
xor al, al
pop ebp
ret 4
mov dword [esi + 0x14], 0x12345678
mov dword [esi + 0x18], 0x23456789
mov dword [esi + 0x1c], 0x34567890
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
jbe 0x1016ff7b
mov eax, dword [esi + 0xc]
mov cl, byte [edi + eax]
mov eax, dword [esi + 0x14]
mov byte [esp + 0x10], cl
mov ecx, esi
mov edx, dword [esp + 0x10]
push edx
push eax
call fcn.10172c00
mov edx, dword [esi + 0x18]
mov dword [esi + 0x14], eax
and eax, 0xff
add eax, edx
mov edx, dword [esi + 0x1c]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x18], eax
shr eax, 0x18
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.10172c00
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
inc edi
cmp edi, eax
jb 0x1016ff28
mov ecx, esi
call fcn.10172950
test al, al
jne 0x1016ff8f
push 0xffffffffffffff94
mov ecx, esi
call fcn.1016fb30
mov eax, dword [esi + 0x114]
mov di, word [eax + 0xe]
test di, di
je 0x1016ffad
cmp di, 8
je 0x1016ffb3
push 0xffffffffffffff9b
mov ecx, esi
call fcn.1016fb30
cmp di, 8
jne 0x1016ffea
mov al, byte [esi + 4]
test al, al
je 0x1016ffc2
lea eax, [esi + 0xcc]
jmp 0x1016ffc4
xor eax, eax
push 0x38
push str.1.1.4
lea ecx, [esi + 0x28]
push 0xfffffffffffffff1
push ecx
mov dword [esi + 0x50], eax
call fcn.1016b0b0
test eax, eax
je 0x1016ffea
cmp eax, 2
je 0x1016ffea
push eax
mov ecx, esi
call fcn.1016fb30
mov ecx, dword [esi + 0x114]
mov edx, dword [ecx + 0x18]
mov dword [esi + 0x64], edx
call fcn.10173e90
test al, al
je 0x10170003
add dword [esi + 0x64], 0xfffffff4
mov eax, dword [esi + 0x114]
pop edi
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x68], 0
mov dword [esi + 0x60], ecx
mov dword [esi + 0x3c], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0xe8], 0xff
pop esi
mov al, 1
pop ebp
ret 4
Function at 0x10171100
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x101f7b2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov eax, dword [esp + 0x23c]
push ebx
push edi
push eax
lea ecx, [esp + 0xc]
call fcn.101d3c7f
push 0x1023944c
lea ecx, [esp + 0xc]
mov dword [esp + 0x240], 0
call fcn.101d1510
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.10170c80
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
push edx
mov byte [esp + 0x24c], 1
call fcn.10042984
add esp, 0x10
or edi, 0xffffffff
test eax, eax
je 0x10171239
push esi
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x14]
call fcn.10177930
push 0
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 2
call fcn.101779f5
test eax, eax
jne 0x101711f9
lea eax, [esp + 0x30]
push 0x104
push eax
call fcn.10179248
add esp, 8
test eax, eax
je 0x101711e4
push esi
call fcn.101791ba
add esp, 4
test eax, eax
jne 0x101711e4
lea ecx, [esp + 0x30]
push ecx
call fcn.101791ba
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 1
call fcn.1017796f
mov eax, edi
jmp 0x1017122b
lea ecx, [esp + 0x14]
mov byte [esp + 0x240], 1
call fcn.1017796f
xor eax, eax
jmp 0x1017122b
lea ecx, [esp + 0x14]
call fcn.10177c1b
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x18]
call dword [edx + 0x38]
neg eax
sbb eax, eax
lea ecx, [esp + 0x14]
and al, 0xfe
mov byte [esp + 0x240], 1
inc eax
mov esi, eax
call fcn.1017796f
mov eax, esi
cmp eax, edi
pop esi
sete al
test al, al
jne 0x10171239
xor bl, bl
jmp 0x1017123b
mov bl, 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x23c], 0
call fcn.101d3c0b
test bl, bl
jne 0x101712c6
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.10170c80
mov eax, dword [eax]
mov byte [esp + 0x244], 3
push eax
call fcn.10171100
add esp, 0xc
lea ecx, [esp + 0xc]
test al, al
sete bl
mov byte [esp + 0x23c], 0
call fcn.101d3c0b
test bl, bl
jne 0x1017129d
mov edx, dword [esp + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x101712c6
lea ecx, [esp + 8]
mov dword [esp + 0x23c], edi
call fcn.101d3c0b
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
add esp, 0x238
ret
lea ecx, [esp + 8]
mov dword [esp + 0x23c], edi
call fcn.101d3c0b
mov ecx, dword [esp + 0x234]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret
Function at 0x10171a90
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
cmp byte [ebx + 0xe8], 1
je 0x10171aa2
xor al, al
pop ebx
ret 8
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push esi
mov esi, dword [ebx + 0x114]
push ecx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
push eax
mov eax, dword [esi + 0x14]
push eax
call fcn.101cf1a0
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
jbe 0x10171bec
push ebp
push edi
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x10171b4a
mov ecx, dword [ebx + 0x114]
call fcn.10173e90
test al, al
je 0x10171b25
mov eax, dword [ebx + 0x64]
xor ebp, ebp
test eax, eax
jbe 0x10171b25
mov esi, dword [ebx + 0x70]
mov edi, dword [ebx + 0x1c]
add esi, ebp
and edi, 0xfffd
or edi, 2
mov cl, byte [esi]
push ecx
mov ecx, ebx
call fcn.101728e0
mov edx, edi
mov al, byte [esi]
xor edx, 1
imul edx, edi
sar edx, 8
xor al, dl
inc ebp
mov byte [esi], al
mov eax, dword [ebx + 0x64]
cmp ebp, eax
jb 0x10171af1
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x70]
push 0
push eax
push ecx
lea ecx, [ebx + 0x78]
call fcn.10175170
mov dword [ebx + 0x64], 0
mov edx, dword [ebx + 0x74]
mov dword [ebx + 0x38], edx
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x34], eax
mov ecx, dword [ebx + 0x114]
cmp word [ecx + 0xe], 8
jne 0x10171b85
mov esi, dword [ebx + 0x3c]
lea eax, [ebx + 0x28]
push 0
push eax
call fcn.10169db0
test eax, eax
je 0x10171b76
cmp eax, 2
je 0x10171b76
push eax
mov ecx, ebx
call fcn.1016fb30
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x64]
sub edx, esi
add eax, edx
mov dword [ebx + 0x64], eax
jmp 0x10171bdf
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x38]
cmp eax, ecx
jb 0x10171b91
mov eax, ecx
mov esi, dword [ebx + 0x28]
mov edi, dword [ebx + 0x34]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x38]
mov ebp, dword [ebx + 0x28]
mov edi, dword [ebx + 0x34]
mov esi, dword [ebx + 0x30]
sub edx, eax
sub ecx, eax
mov dword [ebx + 0x2c], edx
mov edx, dword [ebx + 0x3c]
mov dword [ebx + 0x38], ecx
mov ecx, dword [ebx + 0x64]
add ebp, eax
add edi, eax
add esi, eax
add edx, eax
add ecx, eax
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x64], ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
ja 0x10171ad2
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
ret 8