joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435649
Capabilities:
Check if file exists
Create directory
Get file attributes
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0x62c], ebx
mov dword [ebp - 0x630], ecx
mov dword [ebp - 0x620], ecx
push esi
mov esi, 0x80004005
push edi
mov edi, edx
test ebx, ebx
jne 0x43568a
lea eax, [esi - 2]
jmp 0x435856
lea eax, [ebp - 0x620]
push eax
push 1
push ecx
push 0x4044b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x435854
mov eax, 0x208
mov dword [ebp - 0x624], edi
mov dword [ebp - 0x628], 1
cmp edi, eax
jbe 0x4356cb
mov dword [ebp - 0x624], eax
lea eax, [ebp - 0x624]
xor esi, esi
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x628]
push eax
push esi
push 0x409894
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4357ef
cmp dword [ebp - 0x628], 1
jne 0x4357ef
lea eax, [ebp - 0x20c]
mov edx, 0x104
push eax
lea ecx, [ebp - 0x414]
call fcn.0040c040
test eax, eax
js 0x435777
push 0x5c
pop ebx
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x435730
sub ecx, edx
sar ecx, 1
je 0x435757
cmp word [ebp + ecx*2 - 0x416], bx
jne 0x435757
xor eax, eax
mov word [ebp + ecx*2 - 0x416], ax
jmp 0x435727
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [ebp - 0x62c]
cmp eax, 0xffffffff
je 0x435777
test al, 0x10
jne 0x435805
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
mov edx, 0x104
push eax
lea ecx, [ebp - 0x61c]
call fcn.0040c040
test eax, eax
js 0x4357ef
push 0x5c
pop ebx
lea ecx, [ebp - 0x61c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4357ac
sub ecx, edx
sar ecx, 1
je 0x4357d3
cmp word [ebp + ecx*2 - 0x61e], bx
jne 0x4357d3
xor eax, eax
mov word [ebp + ecx*2 - 0x61e], ax
jmp 0x4357a3
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [ebp - 0x62c]
cmp eax, 0xffffffff
je 0x4357ef
test al, 0x10
jne 0x435805
mov edx, 0x208
lea ecx, [ebp - 0x20c]
call fcn.0043529c
mov esi, eax
test esi, esi
jne 0x435848
lea edx, [ebp - 0x20c]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0x630]
jne 0x43580e
sub edx, ecx
shr edi, 1
sar edx, 1
lea eax, [edx + 1]
cmp edi, eax
jbe 0x43583c
lea eax, [ebp - 0x20c]
mov edx, edi
push eax
mov ecx, ebx
call fcn.0040c040
jmp 0x435848
mov esi, 0x8007007a
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret
Function at 0x43606a
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov eax, ecx
mov ebx, edx
mov dword [ebp - 0x224], eax
push esi
push edi
test eax, eax
je 0x436271
test ebx, ebx
je 0x436271
xor ecx, ecx
push 0x5c
push ebx
mov word [eax], cx
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4360b6
mov edi, ebx
jmp 0x4360b9
add edi, 2
mov esi, 0x104
lea eax, [ebp - 0x214]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4360f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4360df
push 0x57
pop eax
test eax, eax
jle 0x436276
movzx eax, ax
or eax, 0x80070000
jmp 0x436276
push ecx
lea eax, [ebp - 0x220]
mov edx, esi
push eax
lea ecx, [ebp - 0x214]
call fcn.0040c15d
test eax, eax
js 0x43612a
mov eax, dword [ebp - 0x220]
mov edx, esi
push ecx
push 0x4099f0
push ecx
lea ecx, [ebp - 0x214]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.0040c1c3
push edi
mov edx, esi
lea ecx, [ebp - 0x214]
call fcn.0040c075
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor esi, esi
push 4
pop ecx
cmp eax, 0xffffffff
je 0x436241
test al, 0x10
jne 0x436241
push ebx
push 0x409a58
push ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x228], ecx
call fcn.0041e83a
add esp, 0xc
lea eax, [ebp - 0x21c]
push esi
push eax
push esi
push 3
push esi
push esi
push esi
push 0x409aa0
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43620d
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push edi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4361e8
cmp dword [ebp - 0x220], 4
jne 0x4361e8
cmp dword [ebp - 0x218], 1
setne al
mov dword [ebp - 0x218], eax
push 4
lea eax, [ebp - 0x218]
push eax
push 4
push esi
push edi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x218], esi
je 0x436241
test edi, edi
je 0x436258
mov ecx, dword [ebp - 0x224]
mov edx, 0x103
push 0x409b0c
call fcn.0040c040
mov ecx, dword [ebp - 0x224]
mov edx, 0x103
push edi
call fcn.0040c075
jmp 0x43625d
test edi, edi
je 0x436258
mov ecx, dword [ebp - 0x224]
mov edx, 0x103
push edi
call fcn.0040c040
jmp 0x43625d
mov esi, 0x80004005
push esi
push 0x409b14
push 4
call fcn.0041e83a
add esp, 0xc
mov eax, esi
jmp 0x436276
mov eax, 0x8007000e
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret 4
Function at 0x436d06
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
xor esi, esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
mov ebx, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.00436796
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 8], ebx
je 0x436dd8
cmp dword [ebp - 4], ebx
je 0x436dd8
lea eax, [ebp - 0x14]
push eax
push 3
xor eax, eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x436dd8
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x208
push eax
xor eax, eax
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x436da1
cmp dword [ebp - 0xc], 1
jne 0x436da1
inc ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x436dd8
test edi, edi
je 0x436dbb
mov ecx, edi
call fcn.0041f198
jmp 0x436dbd
xor eax, eax
test eax, eax
je 0x436dd8
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, word [ebp - 0x18]
jne 0x436dc6
sub edx, ecx
sar edx, 1
jne 0x436dec
test esi, esi
je 0x436dec
push esi
mov edx, 0x104
mov ecx, edi
call fcn.0040c040
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], 0
je 0x436dfb
push dword [ebp - 4]
call fcn.00440db7
pop ecx
cmp dword [ebp - 0x10], 0
je 0x436e0a
push dword [ebp - 0x10]
call fcn.00440db7
pop ecx
test esi, esi
je 0x436e15
push esi
call fcn.00440db7
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x438988
Capabilities:
Delete directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x210], ecx
inc esi
push edi
test eax, eax
jne 0x4389b5
mov eax, 0x40aae0
push 1
push 0x40a944
push eax
lea eax, [ebp - 0x22c]
xor ecx, ecx
push eax
lea edx, [ebp - 0x210]
call fcn.0043645b
test eax, eax
je 0x438b2f
mov eax, dword [0x443f94]
xor esi, esi
mov dword [ebp - 0x218], esi
test eax, eax
je 0x438a2f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x438a2f
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 0x26d7
push dword [0x442af0]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x438a2f
lea eax, [ebp - 0x20c]
push eax
push esi
push 0x5c5
push dword [0x443f94]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x22c]
call fcn.00436308
mov ebx, eax
mov dword [ebp - 0x21c], ebx
test ebx, ebx
je 0x438b2f
push 0x4059f8
push ebx
call dword [sym.imp.msvcrt.dll_wcstok]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x438b28
push edi
push 0x40a328
push 4
call fcn.0041e83a
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x22c]
add esp, 0xc
mov edx, edi
push eax
push esi
call fcn.00422caa
test eax, eax
je 0x438b0a
mov ecx, dword [ebp - 0x210]
xor ebx, ebx
mov edx, edi
inc ebx
call fcn.00422ba2
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x214], edi
call fcn.0041dc25
cmp edi, ebx
jb 0x438b0a
mov esi, edi
mov ecx, ebx
call fcn.0041dd92
lea ecx, [ebp - 0x22c]
inc ebx
call fcn.00436308
mov edi, eax
test edi, edi
je 0x438aee
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, edi
call fcn.0041f198
push edi
push 0x40a34c
push 4
call fcn.0041e83a
add esp, 0xc
push edi
call fcn.00440db7
pop ecx
lea eax, [ebp - 0x22c]
push eax
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x438b04
cmp ebx, esi
jbe 0x438ab0
mov esi, dword [ebp - 0x218]
push 0x4059f8
push esi
call dword [sym.imp.msvcrt.dll_wcstok]
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x438a62
mov ebx, dword [ebp - 0x21c]
push ebx
call fcn.00440db7
pop ecx
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret 4
Function at 0x43d3f5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 1
push ebx
push 0x401690
push SysReAllocStringLen
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43d460
push esi
push 4
pop esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push ebx
push 0x40b430
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43d456
cmp dword [ebp - 8], esi
jne 0x43d456
cmp dword [ebp - 0xc], 1
sete bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x43d869
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push esi
push eax
push 0x20019
xor esi, esi
push esi
push 0x40b5c0
push SysReAllocStringLen
mov dword [ebp - 4], esi
mov dword [ebx], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43d914
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push edi
push ecx
push esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push esi
push esi
push eax
mov edi, esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43d8e7
push dword [ebp - 8]
call fcn.00440dea
mov edi, eax
pop ecx
test edi, edi
je 0x43d8e7
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, edi
test edi, edi
je 0x43d913
cmp dword [ebp - 0xc], 1
jne 0x43d913
push edi
call dword [sym.imp.msvcrt.dll__strlwr]
push dword [ebp + 8]
mov esi, eax
push esi
call dword [sym.imp.msvcrt.dll_strstr]
add esp, 0xc
test eax, eax
je 0x43d913
mov dword [ebx], 1
pop edi
cmp dword [ebp - 4], 0
je 0x43d923
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x43d92e
push esi
call fcn.00440db7
pop ecx
pop esi
xor eax, eax
pop ebx
leave
ret 8
Function at 0x43d948
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], edx
mov esi, ecx
mov eax, ebx
push edi
mov edi, ebx
test esi, esi
je 0x43da92
test edx, edx
je 0x43da92
push 7
push 0x40b650
push esi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x43d986
add esi, 0xe
push ebx
push 0x8000080
push 3
push ebx
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 4], esi
cmp esi, 0xffffffff
jne 0x43d9cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x43d9b8
push 0x57
pop esi
test esi, esi
jle 0x43da74
movzx esi, si
or esi, 0x80070000
jmp 0x43da74
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x43d9fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x43d9ed
push 0x57
pop esi
test esi, esi
mov eax, dword [ebp - 4]
jle 0x43da5b
movzx esi, si
or esi, 0x80070000
jmp 0x43da5b
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43d9dc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43d9dc
push ebx
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43d9dc
push dword [ebp - 8]
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, eax
test esi, esi
js 0x43da58
mov eax, dword [ebp - 8]
push ebx
push dword [ebp - 0xc]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x445628]
call esi
mov esi, eax
mov eax, dword [ebp - 4]
mov ebx, edi
cmp eax, 0xffffffff
je 0x43da69
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x43da74
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
neg edi
sbb edi, edi
not edi
and edi, ebx
test esi, esi
jns 0x43da8b
test edi, edi
je 0x43da8b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
mov esi, 0x80004003
jmp 0x43da5b
Function at 0x43e1ca
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x442554]
cmp ecx, 0xffffffff
je 0x43e200
test ecx, ecx
je 0x43e37a
mov ax, word [0x443fe4]
mov word [0x443fdc], ax
jmp 0x43e37a
push ebx
xor ebx, ebx
push esi
mov dword [0x442554], ebx
call fcn.0043e388
mov word [0x443fe4], ax
test ax, ax
je 0x43e24f
push 0x10
lea ecx, [ebp - 0x30]
movzx eax, ax
push ecx
push 0x58
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43e30b
test dword [ebp - 0x22], 0x800
je 0x43e30b
xor ecx, ecx
inc ecx
mov dword [0x442554], ecx
jmp 0x43e311
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x43e30b
push edi
xor eax, eax
mov dword [ebp - 0x38], 0xc
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push eax
push 0x20019
push ebx
push 0x40b744
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
test eax, eax
jne 0x43e30b
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x34]
mov byte [ebp - 5], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [ebp - 0x10]
lea esi, [ebp - 0x10]
mov edx, ebx
jmp 0x43e2e5
lea eax, [ecx - 0x30]
shl edx, 4
cmp al, 9
ja 0x43e2c7
add edx, 0xffffffd0
jmp 0x43e2dd
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x43e2d3
add edx, 0xffffffc9
jmp 0x43e2dd
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x43e2e2
add edx, 0xffffffa9
movsx eax, cl
add edx, eax
inc esi
mov cl, byte [esi]
test cl, cl
jne 0x43e2b8
and edx, 0x3ff
cmp edx, 1
je 0x43e2f9
cmp edx, 0xd
jne 0x43e30b
xor ecx, ecx
mov word [0x443fe4], dx
inc ecx
mov dword [0x442554], ecx
jmp 0x43e371
mov ecx, dword [0x442554]
test ecx, ecx
jne 0x43e36a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x40b76c
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43e360
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x43e359
mov dword [0x442554], 1
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x442554]
test ecx, ecx
je 0x43e378
mov dx, word [0x443fe4]
mov word [0x443fdc], dx
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441130
leave
ret
Function at 0x43e3e1
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov ebx, 0x20006
push eax
push ebx
xor edi, edi
push edi
push 0x40b7a8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, 0x40378c
test eax, eax
jne 0x43e426
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x40b810
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e453
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x40b880
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e480
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43e485
Capabilities:
Enumerate devices by category

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x442490]
cmp eax, 0x442490
je 0x43e4bb
test byte [eax + 0x1c], 2
je 0x43e4bb
cmp byte [eax + 0x19], 7
jb 0x43e4bb
push dword [eax + 0x14]
mov edx, 0x40b8f8
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.0043b831
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push 0x401520
push 1
push ebx
push 0x40b948
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x43e556
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push ebx
push ecx
mov dword [ebp - 4], ebx
mov esi, dword [eax]
push 0x40b938
push eax
mov ecx, dword [esi + 0xc]
call dword [0x445628]
call dword [esi + 0xc]
mov edi, eax
test edi, edi
js 0x43e53f
cmp edi, 1
jne 0x43e50e
mov edi, 0x80004005
jmp 0x43e53f
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x445628]
call esi
mov edi, eax
test edi, edi
js 0x43e53f
mov ecx, dword [ebp - 4]
call fcn.0043e691
mov edi, eax
test edi, edi
js 0x43e53a
cmp edi, 1
jne 0x43e53f
mov edi, 0x80004002
mov eax, dword [ebp - 4]
test eax, eax
je 0x43e556
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x445628]
call esi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x43e56d
mov edx, dword [ecx]
push ecx
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x445628]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f3bf
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
xor ecx, ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov word [esi + 8], ax
cmp dword [0x443ff8], eax
jne 0x43f454
push 0x110
push ecx
lea eax, [ebp - 0x114]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [0x443ff8], 1
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43f454
cmp dword [ebp - 0x114], 5
jb 0x43f438
cmp dword [ebp - 0x110], 1
jae 0x43f441
cmp dword [ebp - 0x114], 6
jb 0x43f454
cmp dword [ebp - 0x108], 2
jne 0x43f454
mov dword [0x44255c], 0x7f
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00441130
leave
ret

Function at 0x43fbc9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
call fcn.0043f743
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x43fbf1
mov eax, dword [0x442a98]
mov esi, dword [eax + 8]
test esi, esi
jne 0x43fbf1
mov eax, 0x80070057
jmp 0x43fc67
push edi
mov edi, dword [ebp + 8]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43fc18
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43fc30
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43fc2c
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x43fc66
jmp 0x43fc3d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
jne 0x43fc44
mov eax, 0x8000ffff
jmp 0x43fc66
and edi, 0xf
je 0x43fc57
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
lea ecx, [ecx + 2]
sub edi, 1
jne 0x43fc49
movzx eax, word [ecx]
push eax
lea eax, [ecx + 2]
mov ecx, ebx
push eax
call fcn.0043f4a6
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x43fffc
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
cmp byte [0x444004], 0
jne 0x44009f
push esi
mov esi, 0x444648
xor eax, eax
push esi
push 0x200
push eax
push 0x40b9e0
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x440097
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4043f0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x440097
mov ecx, dword [ebp - 4]
push 0xc
mov ax, word [ecx + 0xa]
mov word [0x442568], ax
mov si, word [ecx + 8]
mov word [0x44256a], si
mov dx, word [ecx + 0xe]
mov word [0x44256c], dx
mov ax, word [ecx + 0xc]
pop ecx
mov word [0x44256e], ax
mov word [0x442560], cx
mov word [0x442562], si
mov word [0x442564], dx
mov word [0x442566], ax
mov byte [0x444004], 1
pop esi
mov eax, 0x442560
leave
ret

Function at 0x44056b
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
lea eax, [ebx + edx]
cmp eax, ebx
sbb esi, esi
not esi
and esi, edx
jbe 0x4405ba
movzx eax, byte [ebx]
push 0x100
cdq
xor edx, dword [edi + 4]
xor eax, dword [edi]
push 0x1b3
push edx
push eax
call fcn.004418a0
mov ecx, dword [ebp - 4]
inc ebx
inc ecx
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [ebp - 4], ecx
cmp ecx, esi
jb 0x44058d
jmp 0x4405bf
mov eax, dword [edi]
mov edx, dword [edi + 4]
pop edi
pop esi
pop ebx
leave
ret 8