joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f5b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e971e
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x53450c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x128], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], ebx
mov byte [ebp - 4], 2
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x40f60e
lea eax, [ebp + 8]
lea ecx, [ebp - 0x124]
push ecx
push ebx
push eax
call dword [sym.imp.msi.dll_MsiOpenProductA]
mov edi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov esi, eax
cmp esi, ebx
jne 0x40f6f4
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x12c], 0x104
cmp eax, ebx
je 0x40f644
push eax
call edi
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x11c]
push edx
push str.SELECT__Value__FROM__Property__WHERE__Property_ProductCode
push eax
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.msi.dll_MsiEnumClientsA]
mov ecx, dword [ebp - 0x11c]
push ebx
push ecx
call dword [sym.imp.msi.dll_MsiViewModify]
mov eax, dword [ebp - 0x120]
cmp eax, ebx
je 0x40f67e
push eax
call edi
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x120]
push edx
push eax
mov dword [ebp - 0x120], ebx
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x114]
push edx
push 1
push eax
call dword [sym.imp.msi.dll_MsiRecordSetInteger]
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.msi.dll_MsiViewGetErrorW]
mov edx, dword [ebp - 0x124]
push edx
call edi
mov esi, eax
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40f6d6
mov ecx, dword [ebp - 0x128]
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004013e0
cmp esi, ebx
mov eax, dword [ebp - 0x120]
sete byte [ebp - 0x115]
cmp eax, ebx
je 0x40f708
push eax
call edi
mov eax, dword [ebp - 0x11c]
cmp eax, ebx
je 0x40f715
push eax
call edi
cmp dword [ebp + 0x1c], 0x10
jb 0x40f727
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045e266
add esp, 4
mov al, byte [ebp - 0x115]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f14f
mov esp, ebp
pop ebp
ret
Function at 0x41e7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e842
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x41e811
cmp eax, 2
jne 0x41e82c
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x41e83c
test eax, eax
je 0x41e837
test al, 1
jne 0x41e82c
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x41e83c
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41ed60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov bl, 1
cmp cl, 0xc
jne 0x41edbc
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
shr eax, 2
test al, 1
je 0x41edf6
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x41ee29
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fef0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
push edi
mov bl, 1
cmp cl, 0xc
jne 0x41ff45
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41ffab
shr eax, 2
test al, 1
je 0x41ff78
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41ffab
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x41ffab
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420b50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x53450c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0045f2d0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x420bbd
mov eax, dword [ebp - 0x114]
cmp eax, 5
jae 0x420bad
cmp eax, 4
jne 0x420bbd
cmp dword [ebp - 0x110], 0x5a
jb 0x420bbd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f14f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0045f14f
mov esp, ebp
pop ebp
ret
Function at 0x422b60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de708
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x53450c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x422c81
cmp byte [edi + 0x49], bl
je 0x422c81
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x422c75
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x422bd5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x422bed
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x422c16
dec eax
je 0x422c1a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x422c70
jmp 0x422c7c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x422c2a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x422c53
cmp ebx, 0x10
jae 0x422c39
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.004601ef
add esp, 0x10
cmp esi, eax
jne 0x422c6d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x422c79
test esi, esi
jne 0x422be1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00406730
jmp 0x422bdb
lea ecx, [ebp - 0x2c]
call fcn.00480f40
xor al, al
jmp 0x422c83
lea ecx, [ebp - 0x2c]
call fcn.00480f40
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f14f
mov esp, ebp
pop ebp
ret
Function at 0x425b50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd8c6
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x53450c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x29c], eax
jb 0x425b98
mov eax, dword [eax]
lea ecx, [ebp - 0x294]
push ecx
push 8
xor ebx, ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425d57
mov ecx, dword [ebp - 0x294]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x298]
push edx
lea eax, [ebp - 0x21c]
push eax
push ebx
push ecx
xor edi, edi
mov dword [ebp - 0x298], 0x105
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x425d4a
mov esi, 0xf
jmp 0x425c00
inc edi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x270], bl
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov byte [ebp - 0x254], bl
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
mov eax, dword [ebp - 0x29c]
lea edx, [ebp - 0x21c]
push edx
push eax
lea ecx, [ebp - 0x28c]
push ecx
mov dword [ebp - 4], ebx
call fcn.004259b0
add esp, 0xc
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call fcn.004257b0
cmp dword [ebp - 0x278], 8
mov byte [ebp - 0x28d], al
mov byte [ebp - 4], bl
jb 0x425c88
mov edx, dword [ebp - 0x28c]
push edx
call fcn.0045e266
add esp, 4
cmp byte [ebp - 0x28d], bl
je 0x425ca2
mov ecx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x270]
push eax
call fcn.00425aa0
cmp dword [ebp - 0x224], 0x10
mov dword [ebp - 0x298], 0x105
mov dword [ebp - 4], 0xffffffff
jb 0x425ccb
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.0045e266
add esp, 4
cmp dword [ebp - 0x240], 0x10
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x238], bl
jb 0x425cf5
mov edx, dword [ebp - 0x254]
push edx
call fcn.0045e266
add esp, 4
cmp dword [ebp - 0x25c], 0x10
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov byte [ebp - 0x254], bl
jb 0x425d1f
mov eax, dword [ebp - 0x270]
push eax
call fcn.0045e266
add esp, 4
mov eax, dword [ebp - 0x294]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x298]
push ecx
lea edx, [ebp - 0x21c]
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x425c00
mov ecx, dword [ebp - 0x294]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f14f
mov esp, ebp
pop ebp
ret
Function at 0x430db0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x53450c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call fcn.004091f0
push 4
xor ebx, ebx
mov esi, 0xf
push 0x4eded4
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
call fcn.004013e0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.00409e30
add esp, 8
push eax
mov ecx, 0x537c5c
call fcn.00452230
lea ecx, [ebp - 0x54]
call fcn.00451d40
cmp dword [ebp - 0xc], 0x10
jb 0x430e1b
mov edx, dword [ebp - 0x20]
push edx
call fcn.0045e266
add esp, 4
push 9
push str._tWinMain
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
call fcn.004013e0
push 0xb4
push str.Stub.cpp
lea eax, [ebp - 0x20]
push eax
push 0x537c5c
lea ecx, [ebp - 0x4c]
call fcn.00414d40
cmp dword [ebp - 0xc], 0x10
jb 0x430e60
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0045e266
add esp, 4
push str.Stub_c493cce9_7a27_4a82_82c2_823542093fd7
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x430eaf
cmp esi, ebx
je 0x430eaf
push 0x10
push str.US_Tech_Support
push str.US_Tech_Support_Stub_Installer_is_already_running.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x4c]
call fcn.00414e20
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f14f
mov esp, ebp
pop ebp
ret 0x10
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x50], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [ebp + 8]
push ebx
push eax
push ebx
mov ecx, 0x537ca0
call fcn.00429430
call fcn.00430c20
mov ecx, dword [0x5389ec]
mov edx, dword [0x5389e4]
push ecx
push edx
call fcn.004304c0
add esp, 8
lea ecx, [ebp - 0x4c]
mov esi, eax
call fcn.00414e20
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f14f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x430f20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10bc
call fcn.00460e60
mov eax, dword [0x53450c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
cmp ecx, 0xfffffffc
je 0x430f47
cmp ecx, 0xfffffffe
jne 0x430f79
add eax, 0xc
push 0x10b8
push eax
lea eax, [ebp - 0x10bc]
push eax
call fcn.0045e280
add esp, 0xc
push 5
push 0
push 0
lea ecx, [ebp - 0x104c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0045f14f
mov esp, ebp
pop ebp
ret 8
Function at 0x431610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43162b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x431662
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x43165e
jmp 0x431650
cmp esi, eax
jae 0x431662
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x431650
cmp esi, eax
jb 0x431669
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x432a30
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x53450c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.0041e720
mov ebx, eax
cmp ebx, esi
je 0x432aaa
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x432a95
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f14f
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x432b2c
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00432a30
mov ebx, eax
cmp ebx, esi
jne 0x432a84
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x432ae0
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x432b45
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.004322d0
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x432b68
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f14f
mov esp, ebp
pop ebp
ret 4
Function at 0x436160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de786
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x53450c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x4361dd
call fcn.00429c90
mov edi, eax
jmp 0x4362c2
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4361f6
call fcn.00429c90
jmp 0x4362b9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x436214
call fcn.00429c90
jmp 0x4362b9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x436235
mov edi, 0x8007000e
jmp 0x4362bb
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00433240
mov dword [ebp - 4], 1
jmp 0x43626d
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x43627e
mov edi, 0x8007000e
jmp 0x4362bb
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x436297
call fcn.00429c90
jmp 0x4362b9
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.004356b0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x4362e0
lea ecx, [ebp - 0x418]
call fcn.004329f0
jmp 0x4362e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045f14f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x437f60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4deba8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x53450c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x13
mov esi, ecx
xor ebx, ebx
push str.CStubModule::showUI
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004013e0
push 0x2ef
push str.StubModule.cpp
lea eax, [ebp - 0x2c]
push eax
push 0x537c5c
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], ebx
call fcn.00414d40
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x437fe1
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0045e266
add esp, 4
mov edx, dword [esi + 0x4a8]
push 5
push edx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x58]
call fcn.00414e20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f14f
mov esp, ebp
pop ebp
ret
Function at 0x440810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dl, byte [edi]
xor eax, eax
mov esi, edi
test dl, dl
je 0x44083c
movsx edx, dl
add eax, edx
imul eax, eax, 0x401
mov edx, eax
shr edx, 6
inc esi
xor eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x440823
lea eax, [eax + eax*8]
mov edx, eax
shr edx, 0xb
xor edx, eax
and edx, 0x3f
mov eax, dword [ecx + edx*4]
test eax, eax
je 0x4408a7
mov ecx, dword [eax]
dec ecx
cmp ecx, 3
ja case.default.0x440858
jmp dword [ecx*4 + 0x4408b0]
lea ecx, [eax + 0x1c]
jmp 0x440875
lea ecx, [eax + 0x10]
jmp 0x440875
lea ecx, [eax + 0xc]
jmp 0x440875
lea ecx, [eax + 9]
jmp 0x440875
xor ecx, ecx
mov edx, edi
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x440897
test bl, bl
je 0x440893
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x440897
add ecx, 2
add edx, 2
test bl, bl
jne 0x440877
xor ecx, ecx
jmp 0x44089c
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4408a9
mov eax, dword [eax + 4]
test eax, eax
jne 0x440850
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x447da0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
cmp edi, esi
jne 0x447dc1
mov eax, dword [ebp + 8]
pop edi
mov dword [eax + 8], esi
mov dword [eax + 4], esi
mov dword [eax], 1
pop esi
pop ebp
ret
push ebx
lea eax, [ebp + 0x10]
push eax
push edi
mov dword [ebp + 0x10], esi
call fcn.0043ea70
mov ebx, eax
add esp, 8
cmp ebx, esi
je 0x447df1
push edi
call fcn.004604fc
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], ebx
pop ebx
pop edi
mov dword [eax + 8], esi
mov dword [eax + 4], esi
pop esi
pop ebp
ret
mov ebx, dword [ebp + 0x10]
mov eax, ebx
cmp ebx, esi
ja 0x447dff
mov eax, 1
push eax
call dword [0x533a48]
add esp, 4
mov esi, eax
push edi
test esi, esi
jne 0x447e2e
call fcn.004604fc
mov eax, dword [ebp + 8]
add esp, 4
pop ebx
xor ecx, ecx
pop edi
mov dword [eax + 8], ecx
mov dword [eax], 3
mov dword [eax + 4], ecx
pop esi
pop ebp
ret
push ebx
push 1
push esi
call fcn.00462f55
push edi
mov dword [ebp + 0x10], eax
call fcn.004604fc
add esp, 0x14
cmp dword [ebp + 0x10], ebx
je 0x447e68
push esi
call dword [0x533a4c]
mov eax, dword [ebp + 8]
add esp, 4
pop ebx
xor ecx, ecx
pop edi
mov dword [eax + 8], ecx
mov dword [eax], 2
mov dword [eax + 4], ecx
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push 1
push 1
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00447a90
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret