joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbc47fd9
Capabilities:
Create process on windows

Disassembly:
push 0xa8
mov eax, 0xbc681f1
call fcn.0bc64d5c
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebp - 0xb4]
xor edi, edi
mov dword [ebp - 4], ebx
call fcn.0bc475b2
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0bc48ee0
push dword [ebp + 0x14]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0bc485b8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0bc48d8a
lea ecx, [ebp - 0x20]
call fcn.0bc48d8a
push 0x2c
lea eax, [ebp - 0x88]
push ebx
push eax
xor esi, esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x8c]
push eax
push ebx
mov dword [ebp - 0x8c], 0x30
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0xbc48092
cmp dword [ebp - 0x84], ebx
je 0xbc48092
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x84]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [ebp + 0xc]
jne 0xbc48092
mov esi, dword [ebp - 0x84]
push 0x34
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 0x5c], 0x3c
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], 0x1800540
mov dword [ebp - 0x50], 0xbc414d4
mov ecx, dword [eax - 8]
add esp, 0xc
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [eax - 8]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax - 8]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp + 0x18]
movzx eax, word [eax + 0x30]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x44], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0xbc4811c
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp + 0x1c]
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
or dword [esi + 4], 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
jmp 0xbc48124
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0bc48255
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0bc48255
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], bl
call fcn.0bc47f7f
jmp 0xbc4815e
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp edi, ebx
sete al
call fcn.0bc64e10
ret 0x18
Function at 0xbc5258b
Capabilities:
Enumerate files on windows

Disassembly:
push 0x298
mov eax, 0xbc687cd
call fcn.0bc64dd2
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
and dword [ebp - 4], 0
mov dword [ebp - 0x290], ecx
push eax
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x278], 1
call fcn.0bc485b8
push 0xbc43cac
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call fcn.0bc48c48
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
cmp eax, 0xffffffff
je 0xbc5273f
mov eax, dword [0xbc6d070]
xor ecx, ecx
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], ecx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x284]
call fcn.0bc486ab
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x284]
call fcn.0bc493c7
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 0x294]
lea eax, [ebp - 0x29c]
push eax
call fcn.0bc48ff2
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 5
call fcn.0bc4864b
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 4
call fcn.0bc48255
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 0x290]
lea eax, [ebp - 0x2a4]
push eax
call fcn.0bc48ff2
push eax
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 6
call fcn.0bc4864b
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 4
call fcn.0bc48255
push dword [ebp + 0x1c]
push ebx
push edi
push dword [ebp - 0x28c]
push dword [ebp - 0x26c]
push esi
call fcn.0bc522b9
test eax, eax
jne 0xbc526eb
and dword [ebp - 0x278], eax
jmp 0xbc52706
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0xbc52634
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
call fcn.0bc48255
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 2
call fcn.0bc48255
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 1
call fcn.0bc48255
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.0bc48255
mov eax, dword [ebp - 0x278]
call fcn.0bc64e3d
ret 0x18
Function at 0xbc5488e
Capabilities:
Enumerate files on windows

Disassembly:
push 0x26c
mov eax, 0xbc689d0
call fcn.0bc64dd2
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x274], 1
mov dword [ebp - 0x268], ebx
call fcn.0bc54429
mov eax, dword [0xbc6d070]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call fcn.0bc4864b
push dword [edi]
lea ecx, [ebp - 0x270]
call fcn.0bc48c48
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x270]
call ebx
mov dword [ebp - 0x268], eax
cmp eax, 0xffffffff
je 0xbc54954
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x264]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.0bc547f6
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0xbc54914
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
and dword [ebp - 0x268], 0
add esi, 4
push esi
lea ecx, [ebp - 0x270]
call fcn.0bc4864b
push dword [edi]
lea ecx, [ebp - 0x270]
call fcn.0bc48c48
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x270]
call ebx
mov edi, eax
mov dword [ebp - 0x268], edi
cmp edi, 0xffffffff
je 0xbc549bf
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x264]
push eax
push esi
call fcn.0bc547f6
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0xbc5498c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
and dword [ebp - 0x268], 0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0
call fcn.0bc48255
cmp dword [ebp - 0x274], 0
jne 0xbc549fd
xor eax, eax
jmp 0xbc54a03
mov eax, dword [ebp - 0x274]
call fcn.0bc64e3d
ret 8

Function at 0xbc5bf6f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0xbc5bf8d
test al, 0x10
je 0xbc5bf8d
xor eax, eax
inc eax
jmp 0xbc5bf8f
xor eax, eax
pop ebp
ret 4
Function at 0xbc5c1c3
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0x48
mov eax, 0xbc68c66
call fcn.0bc64d5c
xor ebx, ebx
push 0xbc45154
lea ecx, [ebp - 0x20]
mov esi, 0xc000003a
mov dword [ebp - 4], ebx
call fcn.0bc485b8
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0bc48c48
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0xbc5c2f6
cmp dword [ebp + 0xc], ebx
je 0xbc5c2f2
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 0x2000000
push 3
push ebx
push 3
push 3
push dword [ebp + 0xc]
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0xbc5c2f2
lea eax, [ebp - 0x54]
push eax
push esi
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], 0x80
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0xbc5c25e
mov eax, dword [ebp - 0x54]
mov dword [ebp + 0xc], eax
shr eax, 0xe
and eax, 1
mov dword [ebp - 0x14], eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp + 8]
push eax
push ebx
push ebx
push 0x9003c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0xbc5c27e
mov dword [ebp + 8], ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
push 0x2000000
push 3
push ebx
push 3
push 3
push dword [ebp - 0x20]
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0xbc5c2bc
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 2
lea eax, [ebp + 8]
push eax
push 0x9c040
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
call esi
and dword [ebp + 0xc], 0x2027
jne 0xbc5c2cc
mov dword [ebp + 0xc], 0x80
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x14], ebx
je 0xbc5c2e8
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_EncryptFileW]
jmp 0xbc5c2f2
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_DecryptFileW]
xor esi, esi
jmp 0xbc5c308
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0xbc5c308
mov esi, 0xc0000035
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0bc48255
jmp 0xbc5c325
mov eax, esi
call fcn.0bc64e10
ret 8

Function at 0xbc5c410
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
call fcn.0bc5c334
mov ebx, eax
test ebx, ebx
jl 0xbc5c448
mov eax, dword [esi + 0xc]
mov edi, dword [edi]
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0xbc5c43e
mov ebx, 0xc0000034
xor eax, eax
test ebx, ebx
setge al
mov dword [esi + 0x1c], eax
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0xbc5c79a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x18
mov eax, 0xbc68cde
call fcn.0bc64d5c
mov esi, ecx
call fcn.0bc5c003
test eax, eax
jl 0xbc5c91b
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0bc485b8
lea eax, [esi + 4]
push eax
mov dword [ebp + 8], eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.0bc5c69d
mov edi, eax
test edi, edi
jl 0xbc5c8fb
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
jne 0xbc5c80a
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], al
call fcn.0bc48255
mov eax, 0xc8008000
jmp 0xbc5c91b
lea ebx, [esi + 0xc]
push ebx
push dword [ebp + 8]
mov ecx, esi
call fcn.0bc5c130
mov edi, eax
test edi, edi
jl 0xbc5c8fb
push dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call edi
mov dword [esi + 0x18], eax
cmp eax, 0xffffffff
jne 0xbc5c845
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0xbc5c845
and dword [ebp - 0x14], 0
jmp 0xbc5c84c
mov dword [ebp - 0x14], 1
mov eax, dword [ebp + 8]
push dword [eax]
call edi
or edi, 0xffffffff
mov dword [esi + 0x14], eax
cmp eax, edi
jne 0xbc5c86c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0xbc5c86c
xor ecx, ecx
jmp 0xbc5c86f
xor ecx, ecx
inc ecx
cmp dword [esi + 0x18], edi
je 0xbc5c887
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0bc48255
xor eax, eax
jmp 0xbc5c91b
mov eax, dword [ebp + 0xc]
dec eax
je 0xbc5c8d3
dec eax
je 0xbc5c8c4
dec eax
dec eax
je 0xbc5c8a4
test ecx, ecx
jne 0xbc5c89d
cmp dword [ebp - 0x14], ecx
jne 0xbc5c874
mov edi, 0xc8008000
jmp 0xbc5c8fb
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0xbc5c8b8
test al, 0x10
jne 0xbc5c8b8
mov ecx, esi
call fcn.0bc5c410
jmp 0xbc5c8f9
mov ecx, esi
push dword [ebp + 8]
call fcn.0bc5c334
jmp 0xbc5c8f9
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0xbc5c89d
mov ecx, esi
test al, 0x10
je 0xbc5c8b1
jmp 0xbc5c8ba
push dword [ebp + 8]
mov ecx, esi
call fcn.0bc5c334
mov edi, eax
mov eax, dword [esi + 0x14]
test al, 0x10
je 0xbc5c8fb
cmp eax, 0xffffffff
je 0xbc5c8fb
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.0bc5c1c3
mov edi, eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0bc48255
jmp 0xbc5c919
mov eax, edi
call fcn.0bc64e10
ret 8
Function at 0xbc5cfc6
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [eax], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
cmp dword [esi + 0x54], edi
jne 0xbc5d018
lea eax, [ebp - 4]
push eax
push 0xf003f
push edi
lea ecx, [esi + 0x58]
call fcn.0bc62075
test eax, eax
je 0xbc5d000
mov eax, 0xc8008000
jmp 0xbc5d04d
push ebx
push dword [ebp - 4]
lea ebx, [esi + 0x50]
mov ecx, ebx
call fcn.0bc616a3
push 1
mov ecx, ebx
call fcn.0bc616b7
pop ebx
mov esi, dword [esi + 0x54]
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0xbc5d03e
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
inc dword [0xbc6d550]
jmp 0xbc5d04a
cmp eax, 2
je 0xbc5d04a
mov dword [ebp - 8], 0xc0000001
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 8

Function at 0xbc5d058
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov eax, dword [esi + 0x38]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp eax, ebx
jne 0xbc5d07d
xor eax, eax
jmp 0xbc5d107
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push ebx
push dword [ebp + 8]
push eax
call edi
cmp eax, 2
jne 0xbc5d09d
xor eax, eax
jmp 0xbc5d106
cmp eax, ebx
jne 0xbc5d0ec
push dword [ebp - 4]
call fcn.0bc4a105
pop ecx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0xbc5d0b8
mov esi, 0xc0000017
jmp 0xbc5d0fb
mov eax, dword [esi + 0x38]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 8]
lea ecx, [ebp - 0xc]
push ecx
push ebx
push dword [ebp + 8]
push eax
call edi
test eax, eax
jne 0xbc5d0ec
push dword [ebp - 4]
mov esi, dword [esi + 0x54]
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0xbc5d0f3
mov esi, 0xc0000001
jmp 0xbc5d0fb
inc dword [0xbc6d554]
mov esi, ebx
push dword [ebp - 8]
call fcn.0bc4a123
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0xbc61648
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0xbc61662
push dword [ebp + 0x14]
call fcn.0bc60d66
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
test dword [ecx + edi*8 - 0x7a380001], ecx
jl 0xbc61667
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
invalid
test dword [esi], edi
invalid
Function at 0xbc632f4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push 0x10
push 0xbc6b6b0
call fcn.0bc64e9c
mov ebx, ecx
mov edi, edx
cmp dword [edi], ebx
je 0xbc63355
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 4
push edi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
test eax, eax
je 0xbc63355
and dword [ebp - 4], 0
mov dword [edi], ebx
cmp dword [ebp - 0x1c], 0x40
je 0xbc6334e
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push 4
push edi
call esi
jmp 0xbc6334e
mov dword [ebp - 4], 0xfffffffe
call fcn.0bc64ee1
ret

Function at 0xbc63360
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0xbc6d66c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0xc]
mov esi, dword [0xbc6d684]
push dword [ebp + 8]
and dword [ebp - 4], 0
push 0xbc458fc
push 9
mov edi, 0xbc414c8
push edi
call sym.IEShims.dll_IEShims_Uninitialize
add esp, 0x14
jmp 0xbc633ac
mov eax, dword [esi]
cmp eax, dword [ebp + 8]
jne 0xbc633a9
mov eax, dword [esi + 4]
cmp eax, dword [ebp + 0xc]
je 0xbc633b2
mov esi, dword [esi + 0xc]
test esi, esi
jne 0xbc6339a
jmp 0xbc633b8
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0xbc458e4
push 9
push edi
call sym.IEShims.dll_IEShims_Uninitialize
add esp, 0x10
cmp dword [ebp - 4], 0
jne 0xbc633f1
cmp dword [ebp + 0x10], 0
je 0xbc633f1
push 0xbc458b4
push 1
push edi
call sym.IEShims.dll_IEShims_Uninitialize
add esp, 0xc
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
int3
push 0xbc6d66c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 0x10

Function at 0xbc63a28
Capabilities:
Print debug messages

Disassembly:
push 0xc
mov eax, 0xbc69466
call fcn.0bc64d5c
mov esi, ecx
mov eax, dword [0xbc6d070]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
inc dword [esi + 0x30]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [esi + 0x30]
lea eax, [ebp - 0x18]
push 0xbc45d04
push eax
call fcn.0bc48b88
mov eax, dword [esi + 0x38]
add esp, 0x14
cmp eax, ebx
je 0xbc63a7e
push eax
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_fputws]
pop ecx
pop ecx
cmp dword [esi + 0x34], ebx
je 0xbc63a8c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0bc48255
call fcn.0bc64e10
ret 4
Function at 0xbc63d4e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x24c
mov eax, 0xbc69502
call fcn.0bc64dd2
mov ecx, 0xbc6d698
call fcn.0bc63d03
lea eax, [ebp - 0x23c]
push eax
xor ebx, ebx
lea eax, [ebp - 0x21c]
push eax
push ebx
push 2
pop esi
push esi
push 0xbc45f48
push 0xbc45ed0
push 0x80000001
mov dword [ebp - 4], ebx
xor edi, edi
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x23c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0xbc63fca
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.0bc485b8
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 1
call fcn.0bc488ba
push 0xbc45ec8
lea ecx, [ebp - 0x244]
call fcn.0bc4931d
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.0bc496cc
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 4
call fcn.0bc48255
mov eax, dword [0xbc6d070]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], ebx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x258]
call fcn.0bc494da
cmp eax, ebx
je 0xbc63f5d
push 0xbc45eb0
lea ecx, [ebp - 0x224]
call fcn.0bc48b2d
cmp eax, ebx
jl 0xbc63e61
mov edi, 0xbc63b2e
jmp 0xbc63e2c
push 0xbc45e94
lea ecx, [ebp - 0x224]
call fcn.0bc48b2d
cmp eax, ebx
jl 0xbc63e81
mov dword [ebp - 0x228], 0xbc63b7a
jmp 0xbc63e2c
push 0xbc45e78
lea ecx, [ebp - 0x224]
call fcn.0bc48b2d
cmp eax, ebx
jl 0xbc63ea1
mov dword [ebp - 0x22c], 0xbc63c18
jmp 0xbc63e2c
push 0xbc45e54
lea ecx, [ebp - 0x224]
call fcn.0bc48b2d
cmp eax, ebx
jl 0xbc63ec4
mov dword [ebp - 0x230], 0xbc63bc8
jmp 0xbc63e2c
push 0xbc45e38
lea ecx, [ebp - 0x224]
call fcn.0bc48b2d
cmp eax, ebx
jl 0xbc63ee7
mov ecx, 0xbc6d698
call fcn.0bc63c68
jmp 0xbc63e2c
push 0xbc45e10
lea ecx, [ebp - 0x224]
call fcn.0bc48b2d
cmp eax, ebx
jl 0xbc63f0a
mov dword [0xbc6d6cc], 1
jmp 0xbc63e2c
push 0xbc45df0
lea ecx, [ebp - 0x224]
call fcn.0bc48b2d
cmp eax, ebx
jl 0xbc63f30
xor eax, eax
inc eax
mov dword [0xbc6d698], eax
mov dword [0xbc6d6b0], eax
jmp 0xbc63e2c
push 0xbc45dd4
lea ecx, [ebp - 0x224]
call fcn.0bc48b2d
cmp eax, ebx
jl 0xbc63e2c
mov dword [0xbc6d698], 1
mov dword [0xbc6d6b0], esi
jmp 0xbc63e2c
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
push edi
call sym.IEShims.dll_AcRedirNotify
cmp edi, ebx
jne 0xbc63f95
cmp dword [ebp - 0x228], ebx
jne 0xbc63f95
cmp dword [ebp - 0x22c], ebx
jne 0xbc63f95
cmp dword [ebp - 0x230], ebx
jne 0xbc63f95
xor eax, eax
jmp 0xbc63f98
xor eax, eax
inc eax
push eax
call sym.IEShims.dll_AcRedirNotifySetEnabled
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call fcn.0bc48255
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
call fcn.0bc495a8
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], bl
call fcn.0bc48255
call fcn.0bc64e3d
ret

Function at 0xbc654f7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0xbc65518
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0xbc65518
test al, 0x10
jne 0xbc65518
mov al, 1
jmp 0xbc6551a
xor al, al
pop ebp
ret 4
Function at 0xbc65a7f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebx
push esi
push 0xbc428cc
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], ebx
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
cmp eax, ebx
je 0xbc65b03
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xbc468e8
push eax
call edi
push 0xbc468d0
push dword [esi + 0x14]
mov dword [esi], eax
call edi
push 0xbc468b8
push dword [esi + 0x14]
mov dword [esi + 0xc], eax
call edi
push 0xbc468a0
push dword [esi + 0x14]
mov dword [esi + 0x10], eax
call edi
push 0xbc46888
push dword [esi + 0x14]
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi]
pop edi
cmp eax, ebx
je 0xbc65b03
lea ecx, [esi + 0x18]
push ecx
call eax
mov dword [esi + 0x1c], 1
mov eax, esi
pop esi
pop ebx
ret

Function at 0xbc65bd8
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x60c], edi
jne 0xbc65c60
push 0xbc46934
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x60c], eax
test eax, eax
je 0xbc65c4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0xbc65c1d
push dword [esi + 0x60c]
call sub.iertutil.dll_Ordinal_50
mov edi, eax
test edi, edi
jl 0xbc65c35
push 4
push 0xbc468fc
lea ecx, [esi + 0x610]
call fcn.0bc67bdd
mov edi, eax
test edi, edi
jge 0xbc65c60
push dword [esi + 0x60c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x60c], 0
jmp 0xbc65c60
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0xbc65c5e
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, edi
pop edi
pop esi
ret

Function at 0xbc66186
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xbc6d328]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
lea edx, [ebp - 0x210]
push edx
lea edx, [ebp - 0x20c]
push edx
lea edx, [ebp - 0x214]
push edx
xor edi, edi
push edi
push ecx
push eax
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0xbc66248
cmp dword [ebp - 0x214], 1
je 0xbc661ed
cmp dword [ebp - 0x214], 2
je 0xbc661ed
push 5
jmp 0xbc66215
mov esi, dword [ebp - 0x210]
shr esi, 1
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0bc4a105
mov edi, eax
pop ecx
test edi, edi
jne 0xbc66218
push 8
pop esi
jmp 0xbc66248
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
call fcn.0bc47085
mov ecx, eax
and ecx, 0x1fff0000
movzx esi, ax
cmp ecx, 0x70000
je 0xbc6623b
mov esi, eax
test esi, esi
je 0xbc66248
push edi
call fcn.0bc4a123
pop ecx
xor edi, edi
mov ecx, dword [ebp - 4]
mov dword [ebx], edi
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0bc64d0f
leave
ret 0xc