joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422000
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov eax, dword [0x434468]
sub esp, 0x114
test eax, eax
jne 0x42214d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
push 0x434300
mov dword [0x434468], 1
mov dword [0x434300], 0x94
call esi
mov edx, dword [0x434310]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [0x432f10], eax
je 0x422128
push ebx
push 0x434398
mov dword [0x434398], 0x9c
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.kernel32.dll
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetNativeSystemInfo
push esi
call edi
push str.GetProductInfo
push esi
mov dword [0x43445c], eax
call edi
mov dword [0x434460], eax
mov eax, dword [0x43445c]
test eax, eax
push 0x434438
je 0x4220a4
call eax
jmp 0x4220aa
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x43439c]
cmp eax, 6
jae 0x4220c2
cmp eax, 5
jne 0x4220d6
cmp dword [0x4343a0], 2
jb 0x4220d6
cmp word [0x434438], 9
jne 0x4220d6
mov dword [0x4342f4], 1
push str.Ntdll.dll
call ebx
test eax, eax
pop ebx
je 0x4220f4
push str.RtlGetVersion
push eax
call edi
mov edx, eax
mov dword [0x434464], edx
jmp 0x4220fa
mov edx, dword [0x434464]
test edx, edx
je 0x422128
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x114
push eax
call edx
test eax, eax
jne 0x422128
mov ecx, dword [esp + 0x14]
mov dword [0x43430c], ecx
push 0x434308
push 0x434304
call fcn.004224f0
add esp, 8
call fcn.00422160
pop edi
mov eax, 1
pop esi
add esp, 0x114
ret
mov eax, 1
add esp, 0x114
ret
Function at 0x423380
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d840
push 0x413040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [0x43446c]
xor ebx, ebx
cmp eax, ebx
jne 0x4234e0
mov byte [ebp - 0x11c], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4234db
mov byte [ebp - 0x224], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x223]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.user32.dll
lea ecx, [ebp - 0x11c]
push ecx
push 0x430040
lea edx, [ebp - 0x224]
push edx
call fcn.004119a3
add esp, 0x10
mov dword [ebp - 0x22c], ebx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x120], eax
push eax
call fcn.00410dcf
add esp, 4
mov esi, eax
mov dword [ebp - 0x238], esi
cmp esi, ebx
je 0x4234db
push esi
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4234d2
mov dword [ebp - 0x230], ebx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x230]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4234d2
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov ecx, dword [eax]
mov dword [0x43446c], ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x4234d2
push esi
call fcn.00410ddd
add esp, 4
mov eax, dword [0x43446c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423be0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x423c2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x423c2b
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.00410dcf
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call fcn.00410dcf
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x423c70
test esi, esi
je 0x423c81
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x423c7d
push esi
call fcn.00410ddd
add esp, 4
test ebx, ebx
jne 0x423c90
mov edi, dword [edi]
test edi, edi
je 0x423c90
push edi
call fcn.00410ddd
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4271d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x427211
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x427213
mov esi, edi
test esi, esi
je 0x427288
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x42727d
mov ecx, dword [esp + 0x20]
mov eax, 4
cmp ecx, eax
jne 0x42727d
cmp dword [esp + 0x1c], eax
jbe 0x42724e
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x42727d
cmp esi, edi
je 0x42726f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, edi
je 0x427288
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x4275a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x42cbdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [str.CC]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x42760b
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x42760d
mov esi, edi
test esi, esi
je 0x4276d7
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4276cc
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x42764f
cmp eax, 2
je 0x42764f
cmp eax, 6
je 0x42764f
cmp eax, 7
jne 0x4276cc
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.00410dcf
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push ebp
jne 0x4276b2
lea ecx, [esp + 0x14]
call fcn.00401fc0
cmp esi, dword [esp + 0x14]
je 0x4276a7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.00410ddd
add esp, 4
jmp 0x4276e9
call fcn.00410ddd
add esp, 4
lea ecx, [esp + 0x10]
push 0x434470
call fcn.00401fc0
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x4276d7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4276e9
push eax
lea ecx, [esp + 0x14]
call fcn.00401fc0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00401330
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00401d60
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x427830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
test eax, eax
je 0x427867
mov edx, dword [ebp + 0x14]
lea ecx, [ebp + 0xc]
or edx, 0x20019
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x42786a
mov esi, dword [ebp + 8]
test esi, esi
je 0x427a23
call fcn.004226d0
test eax, eax
je 0x42795c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4278bf
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.00411c90
mov ebx, esp
test ebx, ebx
je 0x4278bf
mov ecx, dword [ebp + 0x10]
push edi
push ebx
push 0xffffffffffffffff
push ecx
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp + 0x10], ebx
jmp 0x4278c6
mov dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 0x14]
push 0
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427a17
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x427900
cmp eax, 2
je 0x427900
cmp eax, 6
je 0x427900
cmp eax, 7
jne 0x427a17
mov edx, dword [ebp + 0xc]
add edx, 2
push edx
call fcn.00410dcf
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov edi, ebx
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebx
jne 0x427a02
mov ecx, dword [ebp + 0x18]
call fcn.00407360
cmp esi, dword [ebp + 8]
je 0x4279ec
jmp 0x4279e5
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 0x14]
push 0
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x427a17
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x427996
cmp eax, 2
je 0x427996
cmp eax, 6
je 0x427996
cmp eax, 7
jne 0x427a17
mov edx, dword [ebp + 0xc]
add edx, 2
push edx
call fcn.00410dcf
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov edi, ebx
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push ebx
jne 0x427a02
mov ecx, dword [ebp + 0x18]
call fcn.00407440
cmp esi, dword [ebp + 8]
je 0x4279ec
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.00410ddd
add esp, 4
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.00410ddd
mov ecx, dword [ebp + 0x18]
add esp, 4
push 0x434470
call fcn.00407440
cmp esi, dword [ebp + 8]
je 0x427a23
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x428450
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42cca8
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
je 0x4284a6
lea ecx, [ebp + 0x14]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
or ecx, 0x20006
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x4284a9
mov esi, dword [ebp + 8]
test esi, esi
je 0x428593
call fcn.004226d0
test eax, eax
je 0x42852e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4284f7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
inc ebx
lea eax, [ebx + ebx]
add eax, 3
and al, 0xfc
call fcn.00411c90
mov edi, esp
test edi, edi
je 0x4284f7
mov eax, dword [ebp + 0x10]
push ebx
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x4284f9
xor edi, edi
mov ebx, dword [ebp + 0x18]
push ebx
call fcn.004119f5
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x428587
cmp esi, dword [ebp + 8]
je 0x428527
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x428595
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 0x18]
push edx
call fcn.00401600
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [ebp + 0x10]
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x428578
cmp esi, dword [ebp + 8]
je 0x428562
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00401d60
mov eax, 1
jmp 0x428595
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00401d60
cmp esi, dword [ebp + 8]
je 0x428593
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4292f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
push 0
push 0
mov ebx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x429468
mov eax, dword [esp + 0x10]
test eax, eax
je 0x429447
mov eax, dword [esp + 0x1c]
cmp eax, 0x104
jae 0x429346
mov eax, 0x104
mov dword [esp + 0x1c], eax
inc eax
push eax
call fcn.00410dcf
mov esi, eax
add esp, 4
test esi, esi
je 0x429468
mov edx, dword [esp + 0x1c]
xor eax, eax
mov edi, esi
lea ecx, [edx + 1]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x42945f
mov ebp, dword [esp + 0x20]
mov eax, ebp
or eax, 0x2001f
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
push ecx
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42945f
mov edi, dword [esp + 0x20]
test edi, edi
je 0x42945f
push ebp
push edi
call fcn.004292f0
add esp, 8
test eax, eax
je 0x429454
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4344d8]
test eax, eax
je 0x4293f1
test ebp, ebp
je 0x4293f1
push 0
push ebp
push esi
push ebx
call eax
test eax, eax
jne 0x42945f
jmp 0x4293fd
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x42945f
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
je 0x42943e
mov edx, dword [esp + 0x1c]
xor eax, eax
mov edi, esi
lea ecx, [edx + 1]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x42945f
mov eax, dword [esp + 0x14]
jmp 0x42939a
push esi
call fcn.00410ddd
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
test edi, edi
je 0x42945f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00410ddd
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x429af0
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov dword [esi], 0x42d860
test eax, eax
je 0x429b69
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
mov dword [esp + 8], ecx
push eax
lea ecx, [esp + 0xc]
push 0
push ecx
push 2
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x429b50
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x429b80
push eax
call edi
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x10]
push ecx
call edi
mov edx, dword [esi + 0x14]
push edx
call edi
pop edi
pop esi
add esp, 8
ret

Function at 0x429ba0
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x429c35
push ebx
push edi
mov edi, dword [esi + 0x20]
mov ebx, 4
test edi, edi
je 0x429bef
call fcn.00422760
test eax, eax
je 0x429bef
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x429bdc
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x429bdc
mov ebx, dword [ecx + 0x64]
lea eax, [edi - 0x2000]
cmp ebx, eax
jbe 0x429be8
add edi, ebx
mov ebx, 0x10004
jmp 0x429bf1
xor edi, edi
lea ecx, [esi + 4]
push ecx
push ebx
push esi
push 0x429df0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 8], eax
test eax, eax
pop ebx
je 0x429c35
mov ecx, dword [esi + 0x24]
mov dword [esi + 0xc], 1
test ecx, ecx
je 0x429c24
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x429c63
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x429c74
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 8]
push 0
push ecx
push 2
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x429cc0
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov dword [esi + 0xc], 0
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x40a950
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x408
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
push ebx
push esi
push edi
mov edi, 0x653764
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push edx
push OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x40aa6e
lea eax, [esp + 0x14]
push 0x653764
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x214]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push OleUIAddVerbMenuA
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
neg eax
sbb eax, eax
inc eax
and ebx, eax
jne 0x40a9f4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x408
ret 4
lea ecx, [esp + 0x214]
push 0x25
push ecx
call fcn.0055b630
add esp, 8
test eax, eax
je 0x40aa0e
mov byte [eax - 1], 0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x214]
push 0x5c
push eax
call fcn.0055b630
add esp, 8
test eax, eax
je 0x40aa45
inc eax
push 0x653758
push eax
call fcn.0055b250
mov ebx, eax
add esp, 8
neg ebx
sbb ebx, ebx
inc ebx
lea edi, [esp + 0x214]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x418]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x408
ret 4
Function at 0x40aa80
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
push ebx
mov ebx, dword [esp + 0x11c]
push 0
push ebx
call fcn.0055b320
add esp, 8
test eax, eax
jne 0x40abc4
push esi
lea eax, [esp + 0x10]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
push edi
call fcn.0059dece
mov ecx, dword [esp + 0x18]
add esp, 4
mov esi, eax
push esi
push edi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push 0x6537a8
push esi
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push 0x653780
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xc]
lea eax, [esp + 0x20]
push ecx
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp + 0xc]
push 0x652af0
push ecx
call fcn.0055b3ef
add esp, 8
test eax, eax
je 0x40abaa
push eax
call fcn.0055b657
mov edx, dword [esp + 0x12c]
push 0x652af0
push 0
mov dword [edx], eax
call fcn.0055b3ef
add esp, 0xc
test eax, eax
je 0x40ab60
push eax
call fcn.0055b657
mov ecx, dword [esp + 0x130]
add esp, 4
mov dword [ecx], eax
push 0x652af0
push 0
call fcn.0055b3ef
add esp, 8
test eax, eax
je 0x40ab85
push eax
call fcn.0055b657
mov edx, dword [esp + 0x134]
add esp, 4
mov dword [edx], eax
push 0x652af0
push 0
call fcn.0055b3ef
add esp, 8
test eax, eax
je 0x40abaa
push eax
call fcn.0055b657
mov ecx, dword [esp + 0x138]
add esp, 4
mov dword [ecx], eax
push esi
call fcn.0059def7
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x114
ret 0x14
xor eax, eax
pop ebx
add esp, 0x114
ret 0x14
Function at 0x40d1e9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cd45b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0059ea56
lea ebp, [esi + 0x40]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [ebp + 4], eax
mov dword [ebp], vtable.CFont.0
push 0x2a
mov byte [esp + 0x58], 1
mov dword [esi], method.CEdit.virtual_0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x40d2a7
push edi
mov ecx, 0xe
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [0x677e28]
mov dword [esp + 0x14], 0xfffffff4
mov dword [esp + 0x24], 0x1f4
mov byte [esp + 0x2f], 0x22
mov dword [esp + 0xc], eax
push 6
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 2
call fcn.005a2932
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, ebp
call fcn.005a6dfa
lea ecx, [esp + 0xc]
mov byte [esp + 0x29], 1
mov byte [esp + 0x58], 1
call fcn.0059d7fd
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
mov ecx, ebp
call fcn.005a6dfa
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret