joyce8/EMBER2024-capa huggingface dataset:
Function at 0x119b2e6
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1289a12
call fcn.01160458
sub esp, 0x10
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x14]
call fcn.01045169
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [esi + 0x7c]
push 0x32
push 0x32
lea ecx, [ebp - 0x14]
call fcn.0103297b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x119b324
xor esi, esi
inc esi
jmp 0x119b391
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.010329e8
lea ecx, [ebp - 0x14]
call fcn.0107c805
push ebx
push ebx
push 3
push ebx
push 7
push SysReAllocString
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
cmp ecx, ebx
jne 0x119b365
mov esi, 0x80004005
jmp 0x119b386
mov cl, byte [ebp + 8]
push ebx
mov byte [ebp - 0xd], cl
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push ebx
push 1
lea ecx, [ebp - 0xd]
push ecx
push 0x2d4804
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.01082eef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.01045295
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x119e49b
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x1289f4e
call fcn.01160458
sub esp, 0x2c4
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x10], eax
call fcn.0116f912
mov dword [ebp - 4], esi
xor eax, eax
mov ecx, 0xad
lea edi, [ebp - 0x2c4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2d0]
push eax
push 0x20000000
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x2d0], esi
call fcn.012067bc
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
test eax, eax
lea eax, [ebp - 0x2c4]
jl 0x119e523
push 0x109
push 0x2b4
push eax
push esi
lea ecx, [ebp - 0x2cc]
call fcn.011db2a0
push eax
jmp 0x119e530
push 0x101
push 0x2b4
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp eax, esi
je 0x119e554
push dword [ebp - 0x2c4]
call dword [sym.imp.USER32.dll_CopyIcon]
push dword [ebp - 0x2c4]
mov esi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.0116f9a3
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0116015a
leave
ret 4

Function at 0x119e5bf
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x1289f68
call fcn.01160458
sub esp, 0x2c8
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push edi
xor esi, esi
push esi
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x2c8], eax
call fcn.0116f912
mov dword [ebp - 4], esi
xor eax, eax
mov ecx, 0xad
lea edi, [ebp - 0x2c4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2d4]
push eax
push 0x20000000
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x2d4], esi
call fcn.012067bc
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
test eax, eax
lea eax, [ebp - 0x2c4]
jl 0x119e650
push 0x208
push 0x2b4
push eax
push esi
lea ecx, [ebp - 0x2d0]
call fcn.011db2a0
push eax
jmp 0x119e65d
push 0x200
push 0x2b4
push eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop edi
cmp eax, esi
pop esi
pop ebx
je 0x119e67c
mov ecx, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2b8]
push eax
call fcn.01045196
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d0]
call fcn.0116f9a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
call fcn.0116015a
leave
ret 8
Function at 0x119ec74
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x128a00a
call fcn.01160458
sub esp, 0x24c
mov eax, dword [0x12cf8c8]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov esi, ecx
call fcn.0119e889
xor ebx, ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x228], ebx
mov byte [ebp - 4], 1
mov eax, dword [edi]
push ebx
push ebx
mov edi, 0x20006
push edi
push ebx
push ebx
push eax
push SysReAllocString
lea ecx, [ebp - 0x22c]
call fcn.01061aa6
cmp eax, ebx
je 0x119ecda
mov byte [ebp - 0x21d], bl
jmp 0x119ee60
push ebx
push ebx
push edi
push ebx
push ebx
push dword [0x12d01bc]
lea ecx, [ebp - 0x228]
push dword [ebp - 0x22c]
call fcn.01061aa6
cmp eax, ebx
jne 0x119eccf
push dword [0x12d01b4]
lea ecx, [ebp - 0x228]
push dword [esi + 0x40]
call fcn.01061afb
mov edi, dword [esi + 0x34]
push ebx
push ebx
push 0x146
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, edi
mov dword [ebp - 0x230], eax
xor eax, eax
push 9
pop ecx
lea edi, [ebp - 0x258]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], bx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x250], eax
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x258], 0x27
mov dword [ebp - 0x24c], 0x104
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 2
xor edi, edi
cmp dword [ebp - 0x230], ebx
jle 0x119edf3
lea eax, [edi + 1]
push eax
push dword [0x12d01b8]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x224]
push eax
call fcn.01032a1b
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x254], edi
call fcn.0111e711
test eax, eax
je 0x119edda
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x228]
call fcn.01044d1b
mov word [ebp - 0x21c], bx
lea ecx, [ebp - 0x224]
call fcn.01047cc7
mov edi, dword [ebp - 0x234]
cmp edi, dword [ebp - 0x230]
jl 0x119ed83
mov edi, dword [ebp - 0x230]
jmp 0x119ee2e
push edi
push dword [0x12d01b8]
lea eax, [ebp - 0x224]
push eax
call fcn.01032a1b
add esp, 0xc
push dword [ebp - 0x224]
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x224]
call fcn.01047cc7
inc edi
cmp edi, dword [esi + 0x40]
jle 0x119edfb
lea ecx, [ebp - 0x228]
call fcn.01044c64
lea ecx, [ebp - 0x22c]
call fcn.01044c64
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.010328fe
mov byte [ebp - 0x21d], 1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x228]
call fcn.01044c64
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.01044c64
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x21d]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0116015a
leave
ret 4
Function at 0x119f64b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x119f65e
cmp dword [ebp + 8], 0
jne 0x119f665
mov eax, 0x80004003
jmp 0x119f6ae
mov eax, dword [0x12d28f8]
push esi
mov esi, dword [eax + 0x24]
push 0x1014e00
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x119f6a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x119f6a8
mov ecx, dword [edi]
lea edx, [ebp + 0xa]
push edx
add eax, 2
push eax
push edi
call dword [ecx + 0x104]
test eax, eax
jne 0x119f6a8
cmp word [ebp + 0xa], ax
jne 0x119f6ad
mov eax, 0xc947006d
pop esi
pop edi
pop ebp
ret 8

Function at 0x11a59fa
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x128af7a
call fcn.01160458
push ecx
push esi
mov esi, ecx
and dword [esi + 0x14], 0
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [ebp - 0x10], esi
call fcn.01084be9
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [esi + 0x18]
mov dword [esi], 0x1015150
mov dword [edi], 0x101512c
call fcn.01032b44
mov byte [ebp - 4], 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1c]
call fcn.01032b44
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea ecx, [esi + 0x20]
call fcn.01032b44
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x28], eax
and dword [esi + 0x2c], 0
mov byte [ebp - 4], 4
fld qword [ebp + 0x1c]
fstp qword [esi + 0x30]
lea ecx, [esi + 0x40]
fldz
fstp qword [esi + 0x38]
call fcn.011a1df2
mov byte [ebp - 4], 5
lea ecx, [esi + 0x4c]
call fcn.011a1df2
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x11ae34e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x128b9cc
call fcn.01160458
sub esp, 0x444
mov eax, dword [0x12cf8c8]
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x10], eax
jne 0x11ae37b
mov eax, 0x80004003
jmp 0x11ae484
mov eax, dword [0x12ce0a0]
push esi
mov dword [ebp - 0x450], eax
mov dword [ebp - 4], ebx
push 0xf0ca
lea ecx, [ebp - 0x450]
call fcn.01032a72
push 0x51
push dword [ebp - 0x450]
lea ecx, [ebp - 0x444]
push ebx
call fcn.010753cd
cmp byte [ebp + 0xc], bl
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x448], ebx
je 0x11ae3e9
lea eax, [ebp - 0x448]
push eax
push ebx
push ebx
push 0x12
call esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jl 0x11ae3e9
mov eax, dword [ebp - 0x448]
mov dword [ebp - 0x440], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x444]
call fcn.01074767
cmp eax, 1
jne 0x11ae409
lea eax, [ebp - 0x21c]
push eax
jmp 0x11ae40e
push 0x100355c
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp dword [ebp - 0x448], ebx
mov dword [edi], eax
je 0x11ae45e
mov dword [ebp - 0x44c], ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x11ae44b
mov eax, dword [ebp - 0x44c]
push dword [ebp - 0x448]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x44c]
cmp eax, ebx
je 0x11ae45e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [edi], ebx
jne 0x11ae469
mov ebx, 0x8007000e
jmp 0x11ae472
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.010328fe
mov eax, ebx
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0116015a
leave
ret 8
Function at 0x11ae65a
Capabilities:
Create thread

Disassembly:
mov eax, 0x128baa3
call fcn.01160458
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
mov esi, ecx
cmp dword [esi + 0x24], ebx
mov dword [ebp - 0x1c], ebx
jne 0x11ae67a
cmp dword [esi + 0x1c], ebx
jg 0x11ae684
mov eax, 0x80004005
jmp 0x11ae7de
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov ecx, dword [0x12d28f8]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
call dword [eax + 0x24]
mov edi, eax
cmp edi, ebx
jge 0x11ae6cf
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x11ae6b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11ae6c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x11ae7dd
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x11ae701
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x11ae6e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11ae6f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004003
jmp 0x11ae7dd
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x54]
mov edi, eax
cmp edi, ebx
jl 0x11ae6a7
cmp dword [ebp - 0x10], ebx
je 0x11ae6d6
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x11ae726
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x70]
mov edi, eax
cmp edi, ebx
jl 0x11ae75a
push dword [ebp - 0x18]
lea edi, [esi + 0x68]
mov ecx, edi
call fcn.01045196
mov ecx, edi
call fcn.0107c805
mov edi, eax
cmp edi, ebx
jge 0x11ae76b
mov byte [ebp - 4], bl
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x11ae6b7
cmp byte [ebp + 8], bl
jne 0x11ae7b1
lea eax, [esi + 0x28]
push eax
push ebx
push esi
push fcn.011ae0cf
push ebx
push ebx
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x24], eax
jne 0x11ae7bb
mov byte [ebp - 4], bl
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11ae7aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x11ae7dd
push esi
call fcn.011ae0cf
mov esi, eax
jmp 0x11ae7be
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x11ae7db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x11b039a
Capabilities:
Create thread

Disassembly:
mov eax, 0x128bd6d
call fcn.01160458
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], edi
call fcn.011afea3
mov dword [ebp - 4], edi
lea eax, [esi + 0x34]
push eax
mov dword [esi], 0x1015600
mov dword [ebx], 0x10155f4
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x58], edi
mov byte [ebp - 4], 3
push edi
push edi
push 1
push edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 0x2c], eax
je 0x11b045f
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi + 0x28], eax
je 0x11b045f
push edi
push edi
push esi
push 0x11b02b3
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x30], eax
je 0x11b045f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x20]
push eax
push edi
mov ecx, ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.011b02df
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x11b2352
Capabilities:
Create thread
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor ecx, ecx
cmp dword [esi + 0x38], ecx
je 0x11b236c
mov eax, 0x80004005
jmp 0x11b251d
cmp dword [esi + 0x2c], ecx
push ebx
push edi
mov dword [ebp - 4], ecx
jle 0x11b2496
xor ebx, ebx
mov eax, dword [esi + 0x28]
push ecx
push 0x42000000
push 3
push ecx
push 7
lea edi, [ebx + eax]
mov eax, dword [edi + 0x102c]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [edi + 0x1018]
call fcn.01082f20
mov eax, dword [esi + 0x28]
lea ecx, [ebx + eax + 0x1018]
cmp dword [ecx], 0xffffffff
jne 0x11b23be
push 0
call fcn.01082f20
mov eax, dword [esi + 0x28]
lea ecx, [ebx + eax]
cmp dword [ecx + 0x1018], 0
je 0x11b2478
xor eax, eax
lea edi, [ecx + 0x1004]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esi + 0x28]
xor eax, eax
mov ecx, 0x400
add edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x28]
push 0
add eax, ebx
mov ecx, dword [eax + 0x1018]
lea edx, [eax + 0x1004]
push edx
lea edx, [eax + 0x1000]
push edx
push 0x1b
push 1
push 0x1000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadDirectoryChangesW]
test eax, eax
mov eax, dword [esi + 0x28]
je 0x11b246e
push 0
add eax, ebx
mov ecx, dword [eax + 0x1018]
push eax
push dword [esi + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
mov dword [esi + 0x38], eax
je 0x11b24f4
mov eax, dword [esi + 0x28]
push dword [ebx + eax + 0x102c]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x11b246b
cmp eax, 3
jbe 0x11b245e
cmp eax, 5
jbe 0x11b246b
mov eax, dword [esi + 0x28]
mov byte [ebx + eax + 0x101c], 0
jmp 0x11b247f
mov eax, dword [esi + 0x28]
mov byte [ebx + eax + 0x101c], 1
jmp 0x11b247f
mov byte [ecx + 0x101c], 1
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add ebx, 0x1034
xor ecx, ecx
cmp eax, dword [esi + 0x2c]
jl 0x11b237c
cmp dword [esi + 0x38], ecx
jne 0x11b24a3
or dword [esi + 0x38], 0xffffffff
xor eax, eax
jmp 0x11b251b
cmp dword [esi + 0x34], ecx
jne 0x11b2504
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ecx
push ecx
push 1
push ecx
call edi
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x3c], eax
je 0x11b24f4
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x11b24f4
push ebx
push ebx
push 1
push ebx
call edi
cmp eax, ebx
mov dword [esi + 0x44], eax
je 0x11b24f4
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x11b2322
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x34], eax
jne 0x11b24fb
mov eax, 0x80004003
jmp 0x11b251b
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop edi
pop ebx
pop esi
leave
ret 0x10
Function at 0x11b7f77
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
shr esi, 2
and edx, 3
test esi, esi
push edi
lea edi, [ecx + esi*4]
jle 0x11b7faf
cmp ecx, edi
jae 0x11b7faf
xor ebx, ebx
mov esi, dword [ecx]
add eax, esi
xor eax, ebx
add ecx, 4
xor eax, esi
add ebx, 4
cmp ecx, edi
jb 0x11b7f9d
test edx, edx
jle 0x11b7fd8
dec edx
mov edi, ecx
js 0x11b7fd8
sub ecx, dword [ebp + 0xc]
lea esi, [edx + 1]
mov ebx, ecx
mov ecx, edx
shl ecx, 3
movzx edx, byte [edi]
shl edx, cl
sub ecx, 8
add eax, edx
xor eax, edx
xor eax, ebx
inc edi
inc ebx
dec esi
jne 0x11b7fc5
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x11b9a11
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp esi, edi
jne 0x11b9a2c
mov eax, 0x80004003
jmp 0x11b9aa3
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
cmp ebx, edi
je 0x11b9aa1
add eax, 3
and eax, 0xfffffffc
call fcn.01160620
cmp esp, edi
mov dword [ebp + 0xc], esp
je 0x11b9aa1
push esp
push ebx
push edi
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x11b9aa1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x1007ab8
push dword [ebp + 0xc]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x11b9aa1
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 8]
mov edx, edi
mov cl, 0x20
mov dword [esi], eax
mov dword [esi + 4], edi
call fcn.01160880
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [ebx + 0xc]
or dword [esi], eax
or dword [esi + 4], edi
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x11b9cd3
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x128cc7a
call fcn.01160458
sub esp, 0x28
push ebx
xor ebx, ebx
cmp dword [0x12d3588], ebx
mov dword [ebp - 0x24], ecx
je 0x11b9cf8
mov eax, dword [0x12d3584]
jmp 0x11b9e6e
push edi
xor edi, edi
inc edi
mov dword [0x12d3588], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [0x12d28f8]
lea eax, [ebp - 0x18]
push eax
push 0x102d468
push 0x17
push ebx
push 0x10077bc
call fcn.0116ba80
cmp eax, ebx
jge 0x11b9d46
mov dword [0x12d3584], ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x11b9d3f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x11b9e6d
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov ecx, dword [0x12d28f8]
mov eax, dword [ecx]
call dword [eax + 0x38]
push eax
lea ecx, [ebp - 0x10]
call fcn.01039a07
mov byte [ebp - 4], 2
push dword [0x12d07b4]
lea ecx, [ebp - 0x10]
call fcn.01052ada
push 0x20019
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.01044c82
test eax, eax
je 0x11b9da5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.010328fe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.01044c64
jmp 0x11b9d2e
push esi
push 8
pop esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [0x12d07ac]
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x11b9e42
cmp dword [ebp - 0x20], 3
jne 0x11b9e42
cmp dword [ebp - 0x1c], esi
jne 0x11b9e42
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x2c]
push eax
push 0x10176ac
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.011b9c70
cmp eax, ebx
jl 0x11b9e42
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jb 0x11b9e10
ja 0x11b9e0a
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x34]
jbe 0x11b9e10
mov dword [0x12d3584], edi
mov esi, dword [0x12d3584]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.010328fe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.01044c64
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x11b9e3e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x11b9e6c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.010328fe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.01044c64
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x11b9e6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop esi
pop edi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x11b9e80
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x128cca1
call fcn.01160458
sub esp, 0x1c
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x11b9e9f
mov eax, 0x80004003
jmp 0x11b9fb4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov ecx, dword [0x12d28f8]
mov eax, dword [ecx]
call dword [eax + 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.01039a07
mov byte [ebp - 4], 1
push dword [0x12d07b4]
lea ecx, [ebp - 0x14]
call fcn.01052ada
push dword [0x12d07b8]
lea ecx, [ebp - 0x14]
call fcn.01052ada
push 0x20019
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.01044c82
test eax, eax
jne 0x11b9f9a
mov eax, dword [0x12ce0a0]
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
push 4
mov esi, 0x100
pop edi
jmp 0x11b9f64
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push eax
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
lea ecx, [ebp - 0x10]
push 0xffffffffffffffff
jne 0x11b9f7e
call fcn.010329e8
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.01091f5f
test eax, eax
je 0x11b9f87
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.010328fe
mov eax, dword [0x12ce0a0]
inc ebx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
call fcn.0103297b
test eax, eax
jne 0x11b9f10
mov esi, 0x8007000e
jmp 0x11b9f8c
call fcn.010329e8
xor esi, esi
jmp 0x11b9f8c
mov esi, 0x80004005
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.010328fe
pop edi
pop ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.010328fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01044c64
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x11ba042
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.011b9e80