joyce8/EMBER2024-capa huggingface dataset:
Function at 0x104e16e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10d0640]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, 0x10042f8
push esi
call fcn.0109c1c3
pop ecx
push ebx
push dword [ebp + 8]
push 0x821
call fcn.0108bbbd
push eax
call fcn.0109c1c3
push esi
call fcn.0109c1c3
push ebx
push 0x100bdb4
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.01032d94
add esp, 0x20
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x104e1fb
call fcn.01091f1e
mov edi, eax
push edi
push 0x820
call fcn.0108bd53
push edi
push edi
push 0x2d40135
call fcn.0108c520
jmp 0x104e24a
push ebx
call fcn.0104e006
mov edi, eax
test edi, edi
je 0x104e21e
push edi
push 0x81e
call fcn.0108bd53
push edi
push edi
push 0x2de0135
call fcn.0108c520
push dword [ebp + 0x10]
push ebx
call fcn.0104d95e
mov esi, eax
test esi, esi
je 0x104e24a
push esi
push 0x81f
call fcn.0108bd53
push esi
push esi
push 0x2e70135
call fcn.0108c520
test edi, edi
jne 0x104e24a
mov edi, esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01077d0b
leave
ret 0xc
Function at 0x1051bfe
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.01077ee0
mov eax, dword [0x10d0640]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x2014], eax
mov dword [ebp - 0x2018], ecx
mov dword [ebp - 0x2008], eax
test esi, esi
je 0x1051c62
lea ecx, [ebp - 0x2008]
push ecx
push 0x20019
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x1051c62
push edi
push edi
push 0x12ce0136
push esi
jmp 0x1051c9e
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2004]
push eax
lea eax, [ebp - 0x200c]
push eax
push 0
push ebx
push dword [ebp - 0x2008]
mov dword [ebp - 0x2010], 0x1ffe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x1051ca5
push edi
push edi
push 0x12d80136
push ebx
call fcn.0108c457
jmp 0x1051d1d
cmp dword [ebp - 0x200c], 1
push 0xd
pop edi
je 0x1051cd3
cmp dword [ebp - 0x200c], 2
je 0x1051cd3
push dword [ebp - 0x200c]
push 0x12dd0136
push ebx
call fcn.0108c53e
push edi
push 0x12de0136
jmp 0x1051ce6
mov eax, dword [ebp - 0x2010]
cmp eax, 0x2000
jb 0x1051cee
push edi
push 0x12e20136
push ebx
call fcn.0108c53e
jmp 0x1051d1d
push dword [ebp - 0x2018]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x2004], cx
lea eax, [ebp - 0x2004]
push eax
call fcn.01091ad0
mov edi, eax
test edi, edi
je 0x1051d1d
push edi
push 0x12e70136
call fcn.0108c503
mov eax, dword [ebp - 0x2008]
test eax, eax
je 0x1051d36
cmp dword [ebp - 0x2014], eax
je 0x1051d36
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.01091ee9
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01077d0b
leave
ret 0x10
Function at 0x1051d52
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x10d0640]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x420], ecx
lea ecx, [ebp - 0x41c]
push ecx
push 0x20019
xor edi, edi
push edi
push esi
push eax
mov byte [ebp - 0x415], 0
mov dword [ebp - 0x41c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x1051da9
push eax
push eax
push 0x13020136
jmp 0x1051df4
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x42c]
push eax
push edi
push 0x1002060
push dword [ebp - 0x41c]
mov dword [ebp - 0x424], 0x40e
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x1051ded
mov eax, dword [ebp - 0x42c]
cmp eax, edi
jne 0x1051dfe
mov eax, 0x80070002
push eax
push eax
push 0x13100136
call fcn.0108c520
jmp 0x1051eee
push ebx
xor ebx, ebx
inc ebx
cmp eax, ebx
je 0x1051e2c
cmp eax, 2
je 0x1051e2c
push eax
push 0x13150136
push esi
call fcn.0108c53e
push 0x8007000d
push 0x13160136
push esi
call fcn.0108c53e
jmp 0x1051eed
mov eax, dword [ebp - 0x424]
cmp eax, 0x410
jae 0x1051eed
push dword [ebp + 0x10]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x414], cx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
jne 0x1051e69
lea esi, [ebp - 0x414]
jmp 0x1051ec0
cmp word [ebp + 0x10], 0x2e
jne 0x1051eb9
lea eax, [ebp - 0x414]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
mov dword [ebp - 0x428], eax
cmp eax, edi
je 0x1051eb9
cmp esi, eax
je 0x1051eb9
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.msvcrt.dll_iswdigit]
jmp 0x1051ea0
inc ebx
movzx eax, word [esi + ebx*2]
push eax
call edi
pop ecx
test eax, eax
jne 0x1051e9b
xor eax, eax
cmp ax, word [esi + ebx*2]
jne 0x1051eb9
mov word [esi], ax
mov esi, dword [ebp - 0x428]
xor eax, eax
mov word [esi], ax
inc esi
inc esi
push esi
push dword [ebp - 0x420]
call fcn.0108f8de
test eax, eax
je 0x1051ee6
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x420]
call fcn.0108f8de
test eax, eax
jne 0x1051eed
mov byte [ebp - 0x415], 1
pop ebx
cmp dword [ebp - 0x41c], 0
pop edi
pop esi
je 0x1051f05
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x415]
xor ecx, ebp
call fcn.01077d0b
leave
ret 0x10
Function at 0x1054da9
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.01054d83
push edi
mov esi, eax
call fcn.0102a92c
push esi
test eax, eax
je 0x1054ef0
push 0xa60
call fcn.0108bbbd
push eax
push 0x1008a1c
call fcn.0109c1c3
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push edi
call fcn.010b00dc
mov esi, eax
cmp esi, ebx
je 0x1054e0f
push esi
push 0x6540143
jmp 0x1054e84
push dword [ebp - 4]
push 0xa59
call fcn.0108bbbd
push eax
push 0x7d0
call fcn.0108bbbd
push eax
push dword [ebp + 8]
push dword [ebp + 8]
push 0x100de50
call fcn.0109c1c3
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xa58
push ebx
call fcn.0103d737
mov esi, eax
cmp esi, ebx
je 0x1054e59
push esi
push 0x65f0143
jmp 0x1054e84
cmp dword [ebp - 4], ebx
je 0x1054eb6
cmp dword [0x10d2278], ebx
lea eax, [ebp - 8]
push eax
sete al
movzx eax, al
push ebx
push eax
push dword [ebp - 4]
call fcn.010aff68
mov esi, eax
cmp esi, ebx
je 0x1054e8e
push esi
push 0x6680143
call fcn.0108c503
jmp 0x1054f15
push dword [ebp - 8]
push edi
call fcn.0108f8de
test eax, eax
je 0x1054eb6
push dword [ebp - 8]
push 0xa63
call fcn.0108bbbd
push eax
push 0x100de2c
call fcn.0109c1c3
add esp, 0xc
cmp byte [ebp + 0xc], bl
je 0x1054f08
push 0xa61
call fcn.0108bbbd
push eax
push 0x100c7f0
call fcn.0109c1c3
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1054f08
call fcn.01091f1e
push eax
push 0x67b0143
push edi
call fcn.0108c53e
jmp 0x1054f08
push 0xa62
call fcn.0108bbbd
push eax
push 0x1008a1c
call fcn.0109c1c3
add esp, 0xc
push 0x10042f8
call fcn.0109c1c3
pop ecx
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 4], ebx
je 0x1054f25
push dword [ebp - 4]
call edi
cmp dword [ebp - 8], ebx
je 0x1054f2f
push dword [ebp - 8]
call edi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x10577eb
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x10577ff
mov dword [eax], edi
cmp dword [ebp + 0xc], edi
je 0x10578fc
mov ebx, dword [ebp + 0x10]
cmp ebx, edi
je 0x10578fc
cmp dword [ebp + 0x14], edi
je 0x10578fc
cmp eax, edi
je 0x10578fc
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
push edi
push dword [ebp + 0xc]
mov dword [ebp + 0x10], edi
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp eax, edi
je 0x1057858
push 2
push eax
push 0x6770138
push dword [ebp + 0xc]
call fcn.0108c457
jmp 0x105790f
mov eax, dword [ebp + 0x10]
add eax, 6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp eax, edi
jne 0x1057887
mov eax, 0x8007000e
push eax
push 0x6800138
mov dword [ebp - 4], eax
call fcn.0108c503
jmp 0x1057914
lea ecx, [ebp + 0x10]
push ecx
push eax
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp eax, edi
je 0x10578ad
push eax
push 0x68a0138
push dword [ebp + 0xc]
call fcn.0108c53e
jmp 0x105790f
mov eax, dword [ebx]
cmp eax, 1
je 0x10578b9
cmp eax, 7
jne 0x10578f2
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
xor eax, eax
shr edx, 1
lea edi, [ecx + edx*2]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, ecx
xor edx, edx
cmp dx, word [eax]
jne 0x10578da
cmp dx, word [eax + 2]
je 0x10578de
inc eax
inc eax
jmp 0x10578cd
sub eax, ecx
shr eax, 1
xor ecx, ecx
cmp dword [ebx], 1
setne cl
inc ecx
add eax, ecx
add eax, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x105792a
mov eax, 0x80004003
push eax
push 0x66d0138
mov dword [ebp - 4], eax
call fcn.0108c503
cmp dword [ebp - 4], edi
je 0x105792a
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x105792a
mov eax, dword [esi]
cmp eax, edi
je 0x105792a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], edi
push dword [ebp - 4]
call fcn.01091ee9
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1065bf0
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
push esi
push 0x8000000
push 3
xor eax, eax
push esi
inc eax
push eax
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp + 0x10], ebx
cmp ebx, 0xffffffff
jne 0x1065c45
call fcn.01091f1e
mov ebx, eax
push ebx
push 0x23d20139
jmp 0x1065cde
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x1065c64
call fcn.01091f1e
mov ebx, eax
push ebx
push 0x23d90139
jmp 0x1065cde
lea ecx, [ebp - 0x10]
push ecx
push eax
push ebx
call fcn.010602ab
mov ebx, eax
cmp ebx, esi
je 0x1065c7d
push ebx
push 0x23df0139
jmp 0x1065cde
push esi
push esi
push esi
push dword [ebp + 0x10]
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1065c9f
call fcn.01091f1e
mov ebx, eax
push ebx
push 0x23e50139
jmp 0x1065cde
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call fcn.0105ecc1
mov ebx, eax
cmp ebx, esi
je 0x1065cc1
push ebx
push 0x23eb0139
jmp 0x1065cde
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp + 0x10]
call fcn.0106543c
mov ebx, eax
cmp ebx, esi
je 0x1065ce3
push ebx
push 0x23f00139
call fcn.0108c503
mov edi, dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [ebp - 0xc], esi
je 0x1065cf3
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 0x10], esi
je 0x1065cfd
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 4], esi
je 0x1065d0b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 8], esi
je 0x1065d1a
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [ebp + 0x10], 0xffffffff
je 0x1065d29
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x1066f5f
Capabilities:
Get hostname
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x10d0640]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push 4
mov dword [ebp - 0x208], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov esi, 0x10042f8
test eax, eax
jne 0x1066fbe
call fcn.01091f1e
mov edi, eax
push edi
push 0x6a2013a
call fcn.0108c503
push edi
push 0x10130dc
call fcn.0108bd70
jmp 0x1066fe0
lea eax, [ebp - 0x204]
push eax
push 0x893
call fcn.0108bbbd
push eax
call fcn.0109c1c3
push esi
call fcn.0109c1c3
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push 2
mov dword [ebp - 0x208], 0x100
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x1067028
call fcn.01091f1e
push edi
push 0x6b1013a
mov esi, eax
call fcn.0108c503
push esi
push 0x10130c0
call fcn.0108bd70
test edi, edi
jne 0x106704e
mov edi, esi
jmp 0x106704e
lea eax, [ebp - 0x204]
push eax
push 0x894
call fcn.0108bbbd
push eax
call fcn.0109c1c3
push esi
call fcn.0109c1c3
push esi
call fcn.0109c1c3
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.01077d0b
leave
ret
Function at 0x106beed
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x10c0f44
call fcn.01077d75
mov ebx, 0x10d3534
push ebx
push 0xc
call fcn.01077f1b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x106bf22
push 0x8007000e
push 0xfc5013f
call fcn.0108c503
jmp 0x106bfae
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
push ebx
push 8
mov dword [esi + 4], eax
call fcn.01077f1b
pop ecx
pop ecx
mov dword [ebp + 8], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x106bf56
push dword [ebp + 0x10]
mov ecx, eax
call fcn.01069a04
jmp 0x106bf58
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
cmp eax, edi
jne 0x106bf74
push 0x8007000e
push 0xfce013f
call fcn.0108c503
jmp 0x106bfa1
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push fcn.0106b802
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x106bf98
call fcn.01091f1e
push eax
push 0xfdb013f
jmp 0x106bf6d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp esi, edi
je 0x106bfae
push 1
mov ecx, esi
call fcn.01069823
call fcn.01077e61
ret 0xc

Function at 0x106bfbb
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x10c0f44
call fcn.01077d75
mov ebx, 0x10d3534
push ebx
push 0xc
call fcn.01077f1b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x106bff0
push 0x8007000e
push 0xff3013f
call fcn.0108c503
jmp 0x106c076
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push ebx
push 8
mov dword [esi], eax
call fcn.01077f1b
pop ecx
pop ecx
mov dword [ebp + 8], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x106c01e
push dword [ebp + 0xc]
mov ecx, eax
call fcn.01069a04
jmp 0x106c020
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
cmp eax, edi
jne 0x106c03c
push 0x8007000e
push 0xffb013f
call fcn.0108c503
jmp 0x106c069
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push fcn.0106bae3
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x106c060
call fcn.01091f1e
push eax
push 0x1008013f
jmp 0x106c035
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp esi, edi
je 0x106c076
push 1
mov ecx, esi
call fcn.01069823
call fcn.01077e61
ret 8
Function at 0x106c083
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x10c0f44
call fcn.01077d75
mov ebx, 0x10d3534
push ebx
push 0xc
call fcn.01077f1b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x106c0b8
push 0x8007000e
push 0x1020013f
call fcn.0108c503
jmp 0x106c13e
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push ebx
push 8
mov dword [esi], eax
call fcn.01077f1b
pop ecx
pop ecx
mov dword [ebp + 8], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x106c0e6
push dword [ebp + 0xc]
mov ecx, eax
call fcn.01069a04
jmp 0x106c0e8
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
cmp eax, edi
jne 0x106c104
push 0x8007000e
push 0x1028013f
call fcn.0108c503
jmp 0x106c131
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push fcn.0106bd3f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x106c128
call fcn.01091f1e
push eax
push 0x1035013f
jmp 0x106c0fd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp esi, edi
je 0x106c13e
push 1
mov ecx, esi
call fcn.01069823
call fcn.01077e61
ret 8
Function at 0x106cf5a
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x28]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x106cf7c
mov dword [eax], ebx
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 8]
mov dword [esi], ebx
mov eax, dword [edi + 0xc]
lea ecx, [eax + 0x30]
push ecx
add eax, 0x18
push eax
push 1
call dword [sym.imp.CRYPT32.dll_CertCompareCertificateName]
mov edx, 0x40000000
test eax, eax
je 0x106cfa2
or dword [esi], edx
mov ecx, 0x20000000
cmp dword [ebp + 0x20], ebx
jne 0x106cfb4
cmp dword [0x10d2274], ebx
je 0x106cfb9
mov ecx, 0x20000010
mov eax, dword [0x10d22a0]
cmp eax, ebx
je 0x106cfcd
or ecx, 0xb
cmp eax, 1
jle 0x106cfcd
or ecx, 4
cmp dword [0x10d22b4], ebx
jne 0x106cfd7
or ecx, edx
cmp dword [0x10d22c0], ebx
je 0x106cfe5
or ecx, 0x80000000
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x10d22d0]
neg eax
sbb eax, eax
and eax, 0x106ce83
push eax
push dword [ebp + 0xc]
xor eax, eax
cmp dword [0x10d2278], ebx
push ebx
sete al
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [0x10d22e0]
push ecx
push edi
call fcn.010963b1
mov edi, eax
cmp edi, ebx
jne 0x106d061
cmp dword [ebp - 8], ebx
jne 0x106d047
cmp dword [ebp - 0xc], ebx
jne 0x106d047
call fcn.0108f246
test eax, eax
je 0x106d061
push dword [ebp - 8]
push 0x7fd
call fcn.0106cde8
push dword [ebp - 0xc]
push 0x7fe
call fcn.0106cde8
cmp dword [ebp - 0x10], ebx
je 0x106d075
push dword [ebp - 0x10]
push 0x1001d34
call fcn.0109c1c3
pop ecx
pop ecx
cmp edi, 0x80092010
je 0x106d0df
cmp edi, 0x800b010c
je 0x106d0df
cmp edi, 0x800b0109
jne 0x106d097
or dword [esi], 8
mov eax, 0x275
jmp 0x106d0e7
cmp edi, 0x800b010a
jne 0x106d0a9
or dword [esi], 0x10
mov eax, 0x276
jmp 0x106d0e7
cmp edi, 0x800b0101
jne 0x106d0bb
or dword [esi], 2
mov eax, 0x355
jmp 0x106d0e7
cmp edi, 0x80092013
jne 0x106d0cd
or dword [esi], 0x40
mov eax, 0x290
jmp 0x106d0e7
cmp edi, 0x80092012
jne 0x106d132
or dword [esi], 0x20
mov eax, 0x291
jmp 0x106d0e7
or dword [esi], 4
mov eax, 0x2fe
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
jne 0x106d12e
push eax
call fcn.0108bbbd
push eax
call fcn.0109c1c3
mov dword [esp], 0x10042f8
call fcn.0109c1c3
pop ecx
cmp dword [ebp - 4], ebx
je 0x106d130
push 0x31b
call fcn.0108bbbd
push eax
call fcn.0109c1c3
push dword [ebp - 4]
push 0x10135e4
call fcn.0109c1c3
add esp, 0xc
jmp 0x106d130
mov dword [ecx], eax
xor edi, edi
cmp edi, ebx
je 0x106d144
or dword [esi], 1
push edi
push 0x51b013b
call fcn.0108c503
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 4], ebx
je 0x106d154
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x106d15e
push dword [ebp - 8]
call esi
cmp dword [ebp - 0xc], ebx
je 0x106d168
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x10], ebx
je 0x106d172
push dword [ebp - 0x10]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x24
Function at 0x106e3ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
and dword [eax], 0
mov eax, dword [ebp + 0x14]
and dword [eax], 0
push esi
push 0x1013900
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x106e426
call fcn.01091f1e
mov esi, eax
push esi
push 0xe1c013b
call fcn.0108c503
jmp 0x106e4d6
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x106e451
call fcn.01091f1e
mov esi, eax
push esi
push 0xe25013b
call fcn.0108c503
jmp 0x106e4d5
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x106e46f
call fcn.01091f1e
mov esi, eax
push esi
push 0xe2e013b
jmp 0x106e4c0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x106e49e
call fcn.01091f1e
mov esi, eax
test esi, esi
jne 0x106e496
mov esi, 0x8007000d
push esi
push 0xe3d013b
jmp 0x106e4c0
mov eax, dword [ebp + 0x14]
push esi
push 0
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x106e4c7
mov esi, 0x8007000e
push esi
push 0xe45013b
call fcn.0108c503
jmp 0x106e4d4
push esi
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
xor esi, esi
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10