joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d3b0
Capabilities:
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
cmp dword [ebp + 8], 0
jne 0x1000d3d6
push 0x404
push 0x1010d484
push str.pRandomKey
call fcn.100cb557
add esp, 0xc
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], 0
push 0xf0000000
push 1
mov edx, dword [0x1010c818]
push edx
push 0
mov eax, dword [ebp - 0x30]
add eax, 4
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000d41c
lea ecx, [ebp - 0x14]
call fcn.1000e170
push 0x101508b8
lea ecx, [ebp - 0x14]
push ecx
call fcn.100cb4c0
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0x8004
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000d455
lea ecx, [ebp - 0x1c]
call fcn.1000e6c0
push 0x10150ac4
lea edx, [ebp - 0x1c]
push edx
call fcn.100cb4c0
mov eax, dword [ebp + 8]
push eax
call fcn.100cb090
add esp, 4
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000d497
lea ecx, [ebp - 0x24]
call fcn.1000e740
push 0x10150ab4
lea ecx, [ebp - 0x24]
push ecx
call fcn.100cb4c0
mov edx, dword [ebp - 0x30]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x30]
add eax, 8
push eax
push 0x280000
mov ecx, dword [ebp - 8]
push ecx
push 0x6801
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000d4e2
lea ecx, [ebp - 0x2c]
call fcn.1000e1f0
push 0x101508c8
lea ecx, [ebp - 0x2c]
push ecx
call fcn.100cb4c0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov esp, ebp
pop ebp
ret 4
Function at 0x100125d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov bh, 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.1001233b
dec eax
push 0xfffffffffffffff6
mov bh, 0x8d
inc ebp
test al, 0x50
call fcn.1001234b
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10012300
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10012629
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67

Function at 0x100126a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub dword [ecx - 0x7717ba73], esi
pop ebp
call 0xf95eaefc
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
invalid

Function at 0x10012760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
aad 0xc6
inc ebp
salc
aam 0x88
pop ebp
xlatb
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1001234b
push eax
push esi
push dword [ebp + 8]
call fcn.10012300
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1001233b
lodsd eax, dword [esi]
cwde
adc byte [ebp - 0x836278], ch
invalid
Function at 0x10012a70
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10012a12
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10012a30
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
xchg esp, eax
invalid
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10012a8e
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10012a75
invalid
add al, 0x80
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10012a7e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10012a88
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10012a6a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100129f4
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x10012b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fiadd dword [eax - 0x3505b]
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
test dword [ebx + 0x75fffffc], esi
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
inc dword [eax - 0x3a]
test dword [eax + 0x56fffffc], edi
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov esp, 0x44fffffc
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.1001234b
pop ecx

Function at 0x10012ba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fiadd dword [eax - 0x3505b]
inc dword [eax]
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
test dword [ebx + 0x75fffffc], esi
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
inc dword [eax - 0x3a]
test dword [eax + 0x56fffffc], edi
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov esp, 0x44fffffc
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.1001234b
pop ecx
Function at 0x10012be0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10012300
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
invalid

Function at 0x10013200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10012319
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
push dword [esi]
Function at 0x10014de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], 0
push 0x10110fbf
mov ecx, dword [ebp - 0x414]
add ecx, 0xc
call fcn.10012200
mov byte [ebp - 0x408], 0
push 0x3ff
push 0
lea eax, [ebp - 0x407]
push eax
call fcn.100cac20
add esp, 0xc
lea ecx, [ebp - 0x408]
push ecx
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10014ec5
lea edx, [ebp - 0x408]
push edx
mov ecx, dword [ebp - 0x414]
add ecx, 0xc
call fcn.10012200
mov ecx, dword [ebp - 0x414]
add ecx, 0xc
call fcn.10012840
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x40c]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x414]
add ecx, 0xc
call fcn.10012800
movsx ecx, al
cmp ecx, 0x5c
je 0x10014eb0
push 0x10111474
mov ecx, dword [ebp - 0x414]
add ecx, 0xc
call fcn.10012240
mov edx, dword [0x1011136c]
push edx
mov ecx, dword [ebp - 0x414]
add ecx, 0xc
call fcn.10012240
mov eax, dword [ebp - 0x414]
add eax, 0xc
push eax
mov ecx, dword [ebp + 8]
call fcn.10012140
mov ecx, dword [ebp - 0x410]
or ecx, 1
mov dword [ebp - 0x410], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 4
Function at 0x10014f00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x114], 1
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x228]
call fcn.100150a0
test eax, eax
je 0x10014f42
mov eax, 1
jmp 0x10015090
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x1001508b
push 0x104
push 0
lea edx, [ebp - 0x220]
push edx
call fcn.100cac20
add esp, 0xc
push 0x103
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.100cac20
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x110]
push edx
call fcn.10003fa0
add esp, 0x10
lea eax, [ebp - 0x224]
push eax
push 0x10111478
lea ecx, [ebp - 0x110]
push ecx
call fcn.10003fe0
add esp, 0xc
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x10014fd8
xor eax, eax
jmp 0x10015090
push 0xffffffffffffffff
mov edx, dword [ebp - 0x118]
push edx
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.10003fa0
add esp, 0x10
mov ecx, 1
test ecx, ecx
je 0x1001508b
lea edx, [ebp - 0x224]
push edx
push 0x1011147c
push 0
call fcn.10003fe0
add esp, 0xc
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x10015029
jmp 0x1001508b
push 0x10111480
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.100cb017
add esp, 0xc
mov ecx, dword [ebp - 0x118]
push ecx
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.100cb017
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x228]
call fcn.10015140
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x10015086
mov eax, dword [ebp - 0x114]
jmp 0x10015090
jmp 0x10014ff5
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 4
Function at 0x100156e0
Capabilities:
Get common file path
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbe26
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov byte [ebp - 0x224], 0
push 0x103
push 0
lea eax, [ebp - 0x223]
push eax
call fcn.100cac20
add esp, 0xc
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea ecx, [ebp - 0x11b]
push ecx
call fcn.100cac20
add esp, 0xc
mov dword [ebp - 0x22c], 0x103
cmp dword [ebp + 8], 0
je 0x10015761
cmp dword [ebp + 0xc], 1
jae 0x10015766
jmp 0x1001584e
push 0x104
push 0
lea edx, [ebp - 0x224]
push edx
call fcn.100cac20
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jl 0x1001584e
mov ecx, dword [str.IntelWireless_]
push ecx
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x230]
call fcn.10012160
mov dword [ebp - 4], 0
push 0x104
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.100cac20
add esp, 0xc
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ecx, dword [ebp - 0x234]
call fcn.10008bc0
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10012370
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x230]
call fcn.10008bc0
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10003fa0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10008b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 8
Function at 0x10016de0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc01b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x10172eb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 8
call fcn.100aaa85
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x10016e4f
mov edx, dword [ebp - 0x14]
mov dword [edx], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x10016ede
mov dword [ebp - 4], 0xffffffff
push 0xa4
push 0x1011171c
lea ecx, [ebp - 0x2c]
call fcn.1000dcf0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov edx, dword [ebp - 0x14]
push edx
push str.CImpersonateUser::InitTLS_Memory___p__Thread_ID___d_n
mov eax, dword [ebp - 0x44]
push eax
call fcn.10017b70
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1000dd20
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017420
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc0e2
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x10172eb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100174bc
push 0x144
push 0x101119ec
lea ecx, [ebp - 0x1c]
call fcn.1000dcf0
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
push str.CImpersonateUser::RevertToSelf___No_TLS_Data_n
mov eax, dword [ebp - 0x50]
push eax
call fcn.10017b70
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1000dd20
mov dword [ebp - 0x20], 0x1f
push 0x1014f068
lea ecx, [ebp - 0x20]
push ecx
call fcn.100cb4c0
mov edx, dword [ebp - 0x14]
cmp dword [edx], 0
jne 0x10017515
push 0x14c
push 0x10111a38
lea ecx, [ebp - 0x28]
call fcn.1000dcf0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
push str.CImpersonateUser::RevertToSelf___User_not_impersonated_n
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.10017b70
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000dd20
mov dword [ebp - 0x2c], 0x1f
push 0x1014f068
lea edx, [ebp - 0x2c]
push edx
call fcn.100cb4c0
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x10017534
mov dword [ebp - 0x30], 0x1f
push 0x1014f068
lea eax, [ebp - 0x30]
push eax
call fcn.100cb4c0
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
call fcn.10016a40
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x15f
push 0x10111a8c
lea ecx, [ebp - 0x38]
call fcn.1000dcf0
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 3
push str.CImpersonateUser::RevertToSelf___Successful_n
mov edx, dword [ebp - 0x64]
push edx
call fcn.10017b70
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.1000dd20
jmp 0x100175f9
mov dword [ebp - 4], 0xffffffff
jmp 0x10017607
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10018830
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 4], 0x43297
push 0x104
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.100cac20
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x10018891
mov eax, 0x80043298
jmp 0x10018956
push 0x101141ac
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100188b6
mov eax, 0x80043298
jmp 0x10018956
mov eax, dword [str.ItDb.enc]
push eax
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100188d9
mov eax, 0x80043298
jmp 0x10018956
lea edx, [ebp - 0x118]
push edx
call fcn.100cb090
add esp, 4
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x10018903
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, 0x43297
jmp 0x10018956
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100cac20
add esp, 0xc
cmp dword [ebp + 8], 1
jne 0x1001893e
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10003fa0
add esp, 0x10
jmp 0x10018951
cmp dword [ebp + 8], 0
jne 0x10018951
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0x43297
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018970
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 4], 0x43297
push 0x104
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.100cac20
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x100189d1
mov eax, 0x80043298
jmp 0x10018ad0
push str.IntelWireless
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100189f6
mov eax, 0x80043298
jmp 0x10018ad0
mov eax, dword [str.ItDbTemp.enc]
push eax
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10018a1c
mov eax, 0x80043298
jmp 0x10018ad0
lea edx, [ebp - 0x120]
push edx
call fcn.100cb090
add esp, 4
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
jne 0x10018a49
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, 0x43297
jmp 0x10018ad0
mov dword [ebp - 8], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100cac20
add esp, 0xc
cmp dword [ebp + 8], 1
jne 0x10018a8b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10003fa0
add esp, 0x10
jmp 0x10018acb
cmp dword [ebp + 8], 0
jne 0x10018acb
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], eax
mov eax, dword [0x10114184]
push eax
push 0x104
lea ecx, [ebp - 0x120]
push ecx
call fcn.100cb017
add esp, 0xc
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], eax
mov eax, 0x43297
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 0xc