joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408210
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476290
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push str.Results.stg
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4082ef
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 4], eax
push esi
push str.Results.stg
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], esi
call fcn.0046cf07
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.0046ce41
test eax, eax
je 0x4082b2
jmp 0x408280
mov ecx, dword [esp + 4]
push 0x47e490
push ecx
call fcn.004578d3
add esp, 8
test eax, eax
je 0x4082a0
mov edx, dword [esp + 4]
cmp byte [edx], 0x2d
jne 0x4082a0
inc esi
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
call fcn.0046ce41
test eax, eax
jne 0x408280
lea ecx, [esp + 8]
call fcn.0046cda6
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.0046cde2
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x408720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4762a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00402890
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00402360
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4087b2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409750
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x4763a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x6c]
push esi
mov esi, ecx
push str.RegSweep
lea ecx, [esp + 8]
mov dword [esp + 0x64], eax
call fcn.00405920
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x6c], 0
mov dword [esp + 8], 0x58
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x84
mov dword [esp + 0x18], 0x402
mov dword [esp + 0x14], 7
call fcn.00472326
mov eax, dword [eax + 8]
push 0x84
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esp + 4]
push 0x40
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [esp + 0x74]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov esi, eax
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x6c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409817
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x60]
xor ecx, dword [esp + 0x70]
mov eax, esi
pop esi
call fcn.00456aa7
add esp, 0x6c
ret 4
Function at 0x413620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x4773c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x480cf8
lea ecx, [esi + 0x1888]
mov dword [esp + 0x10], 0x25
call fcn.0040edf0
lea ecx, [esi + 0x1814]
mov byte [esp + 0x10], 0x24
call fcn.0040edf0
lea ecx, [esi + 0x17a0]
mov byte [esp + 0x10], 0x23
call fcn.0040edf0
lea ecx, [esi + 0x172c]
mov byte [esp + 0x10], 0x22
call fcn.0040edf0
lea ecx, [esi + 0x16b8]
mov byte [esp + 0x10], 0x21
call fcn.0040edf0
lea ecx, [esi + 0x1644]
mov byte [esp + 0x10], 0x20
call fcn.0040edf0
lea ecx, [esi + 0x15d0]
mov byte [esp + 0x10], 0x1f
call fcn.0040edf0
lea ecx, [esi + 0x155c]
mov byte [esp + 0x10], 0x1e
call fcn.0040edf0
lea ecx, [esi + 0x14e8]
mov byte [esp + 0x10], 0x1d
call fcn.0040edf0
lea ecx, [esi + 0x1474]
mov byte [esp + 0x10], 0x1c
call fcn.0040edf0
lea ecx, [esi + 0x1400]
mov byte [esp + 0x10], 0x1b
call fcn.0040edf0
lea ecx, [esi + 0x138c]
mov byte [esp + 0x10], 0x1a
call fcn.0040edf0
lea ecx, [esi + 0x1318]
mov byte [esp + 0x10], 0x19
call fcn.0040edf0
lea ecx, [esi + 0x12a4]
mov byte [esp + 0x10], 0x18
call fcn.0040edf0
lea ecx, [esi + 0x1230]
mov byte [esp + 0x10], 0x17
call fcn.0040edf0
lea ecx, [esi + 0x1170]
mov byte [esp + 0x10], 0x16
mov dword [ecx], vtable.CGdiObject.0
call fcn.0046e8e4
lea ecx, [esi + 0x1168]
mov byte [esp + 0x10], 0x15
mov dword [ecx], vtable.CGdiObject.0
call fcn.0046e8e4
push fcn.00401b10
push 8
push 8
lea eax, [esi + 0x1120]
push eax
mov byte [esp + 0x20], 0x14
call fcn.00457f5f
lea ecx, [esi + 0x1020]
mov byte [esp + 0x10], 0x13
call fcn.00431160
lea ecx, [esi + 0xf20]
mov byte [esp + 0x10], 0x12
call fcn.00431160
lea ecx, [esi + 0xed0]
mov byte [esp + 0x10], 0x11
call fcn.00465471
lea ecx, [esi + 0xe80]
mov byte [esp + 0x10], 0x10
call fcn.0046ff40
lea ecx, [esi + 0xe30]
mov byte [esp + 0x10], 0xf
call fcn.004653cd
lea ecx, [esi + 0xd30]
mov byte [esp + 0x10], 0xe
call fcn.00431160
lea ecx, [esi + 0xc30]
mov byte [esp + 0x10], 0xd
call fcn.00431160
lea ecx, [esi + 0xb30]
mov byte [esp + 0x10], 0xc
call fcn.00431160
lea ecx, [esi + 0xa30]
mov byte [esp + 0x10], 0xb
call fcn.00431160
lea ecx, [esi + 0x930]
mov byte [esp + 0x10], 0xa
call fcn.00431160
lea ecx, [esi + 0x830]
mov byte [esp + 0x10], 9
call fcn.00431160
lea ecx, [esi + 0x730]
mov byte [esp + 0x10], 8
call fcn.00431160
lea ecx, [esi + 0x630]
mov byte [esp + 0x10], 7
call fcn.00431160
lea ecx, [esi + 0x530]
mov byte [esp + 0x10], 6
call fcn.00431160
lea ecx, [esi + 0x4e0]
mov byte [esp + 0x10], 5
call fcn.00465471
lea ecx, [esi + 0x3dc]
mov byte [esp + 0x10], 4
call fcn.00431160
lea ecx, [esi + 0x2dc]
mov byte [esp + 0x10], 3
call fcn.00431160
lea ecx, [esi + 0x274]
mov byte [esp + 0x10], 2
call fcn.0044ac50
lea ecx, [esi + 0xe4]
mov byte [esp + 0x10], 1
call fcn.0043cee0
lea ecx, [esi + 0xd0]
mov byte [esp + 0x10], 0
call fcn.00466107
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.00401c90
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41c070
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
push esi
lea eax, [esp + 8]
push eax
push 1
push 0
push ecx
push SysReAllocString
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41bfd6
mov edx, dword [esp + 4]
push edx
call fcn.0046b3ee
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
add esp, 4
mov esi, eax
lea eax, [esp + 4]
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
jne 0x41bfcb
test esi, esi
je 0x41bfcb
mov edx, dword [esp + 4]
mov byte [esi + edx], al
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 8
ret
jmp 0x41bf50

Function at 0x41c280
Capabilities:
Create process on windows

Disassembly:
push 5
push 0x47e490
push 0x47e490
push str.http:__www.RegSweep.com_help_
push 0x47e930
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x425110
Capabilities:
Persist via run registry key

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x9c]
test al, al
jne 0x42512d
mov eax, dword [esi + 0x94]
test eax, eax
jne 0x42512d
pop esi
jmp fcn.00424940
mov eax, dword [esi + 0x98]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov ecx, esi
mov byte [esi + 0xa4], 1
call fcn.00466957
pop esi
ret

Function at 0x427620
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x90
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x90]
push esi
mov dword [esp + 0x90], eax
lea eax, [esp + 4]
push eax
push 1
push 0
push str.Control_PanelDesktop
push SysReAllocString
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4276a6
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42769b
push 0xa
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00458d53
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x90]
xor ecx, dword [esp + 0x94]
mov eax, esi
pop esi
add esp, 0x90
jmp fcn.00456aa7

Function at 0x428100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x478ed3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0046e0f4
xor ecx, ecx
lea ebp, [esi + 0x10]
mov dword [esi], method.CDC.virtual_0
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x2c]
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
mov byte [esp + 0x24], 1
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x4281c7
mov eax, dword [ebx]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call dword [eax + 0x50]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0046e590
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xc]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
sub ecx, edx
push eax
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.0046e88d
test ebp, ebp
je 0x4281a5
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call fcn.0046e916
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0046e244
jmp 0x4281d9
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x432340
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4795c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.00467db6
xor ebx, ebx
lea ecx, [esi + 0x58]
mov dword [esp + 0x20], ebx
mov dword [esi], method.CButton.virtual_0
call fcn.00464cc9
mov eax, vtable.CBitmap.0
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xc4], eax
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xd4], eax
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xe4], eax
push 0x12
mov byte [esp + 0x24], 6
mov word [esi + 0xfc], 1
mov word [esi + 0xec], bx
mov dword [esi + 0xf4], ebx
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esi + 0xf0], eax
mov byte [esi + 0x54], bl
mov byte [esi + 0x55], bl
call fcn.0046b487
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov eax, dword [edi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x20], 7
jge 0x43242b
push 0x104
lea ecx, [esp + 0x14]
call fcn.00402310
mov edi, dword [esp + 0x10]
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp edi, ebx
jne 0x43243f
xor eax, eax
jmp 0x43244d
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432444
sub eax, edx
mov dword [edi - 0xc], eax
mov byte [eax + edi], bl
mov eax, str.winhlp32.exe
lea edx, [eax + 1]
jmp 0x432460
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432460
sub eax, edx
push eax
push str.winhlp32.exe
lea ecx, [esp + 0x18]
call fcn.00402910
mov ebp, dword [esp + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4324a0
push 0x6a
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, ebx
je 0x4324a0
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [esi + 0x50], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x10]
mov byte [esp + 0x20], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4324c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x432810
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x479668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, dword [esp + 0x30]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push esi
mov dword [esp + 0x30], 0
call fcn.00402360
add eax, 0x10
add esp, 4
mov dword [edi], eax
push str.RegSweep
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00405920
push eax
lea eax, [esp + 0x14]
push str.SOFTWARE_
push eax
mov byte [esp + 0x38], 2
call fcn.00402a60
add esp, 8
mov ecx, esp
mov dword [esp + 0x20], esp
push str.AddRemoveProgram
push eax
push ecx
mov byte [esp + 0x3c], 3
call fcn.00405860
add esp, 8
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov byte [esp + 0x38], 4
call fcn.00405920
mov byte [esp + 0x34], 6
call fcn.004324e0
mov bl, al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x28], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4328db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4328fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x28], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43291d
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret
Function at 0x432da0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x479728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, dword [esp + 0x30]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push esi
mov dword [esp + 0x30], 0
call fcn.00402360
add eax, 0x10
add esp, 4
mov dword [edi], eax
push str.RegSweep
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00405920
push eax
lea eax, [esp + 0x14]
push str.SOFTWARE_
push eax
mov byte [esp + 0x38], 2
call fcn.00402a60
add esp, 8
mov ecx, esp
mov dword [esp + 0x20], esp
push str.BhoManager
push eax
push ecx
mov byte [esp + 0x3c], 3
call fcn.00405860
add esp, 8
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
mov byte [esp + 0x38], 4
call fcn.00405920
mov byte [esp + 0x34], 6
call fcn.004324e0
mov bl, al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x28], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432e6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432e8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x28], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432ead
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret
Function at 0x434270
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x114]
push ebp
mov dword [esp + 0x114], eax
mov eax, 0x47e490
push esi
mov ebp, ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x434095
sub eax, edx
push eax
push 0x47e490
lea ecx, [ebp + 0x58]
call fcn.004044d0
mov eax, 0x47e490
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4340b4
sub eax, edx
push eax
push 0x47e490
lea ecx, [ebp + 0x20]
call fcn.004044d0
mov eax, 0x47e490
lea esi, [ebp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4340d6
sub eax, edx
push eax
mov eax, dword [esi + 0x14]
push 0x47e490
push eax
push 0
mov ecx, esi
call fcn.00433250
test eax, eax
jne 0x4340fd
xor al, al
jmp 0x434253
mov eax, dword [esi + 0x18]
push ebx
push edi
mov edi, 0x10
cmp eax, edi
jb 0x434110
mov eax, dword [esi + 4]
jmp 0x434113
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x434141
cmp dword [esi + 0x18], edi
jb 0x43412a
mov esi, dword [esi + 4]
jmp 0x43412d
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x43418f
mov byte [ebp + 0x201], 1
push 0x104
lea ecx, [esp + 0x20]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
ja 0x434168
mov al, byte [ebp + 0x201]
test al, al
je 0x434168
push ebx
mov ecx, ebp
call fcn.00433230
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
ja 0x434196
mov al, byte [ebp + 0x201]
test al, al
je 0x43418f
push ebx
mov ecx, ebp
call fcn.00433230
xor al, al
jmp 0x434251
mov eax, dword [ebp + 0x1c8]
test eax, eax
je 0x4341a9
push eax
call fcn.0046b3f3
add esp, 4
push esi
call fcn.0046b3ee
mov edi, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov dword [ebp + 0x1c8], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x1c8]
push eax
push esi
push 0
lea ecx, [esp + 0x28]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x43417d
mov ecx, dword [ebp + 0x1c8]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0x482af8
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43417d
mov esi, dword [esp + 0x10]
lea edi, [ebp + 0x1cc]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.00433cd0
test al, al
je 0x43417d
mov ecx, ebp
call fcn.00433990
test al, al
mov al, byte [ebp + 0x201]
je 0x434183
test al, al
je 0x434248
push ebx
mov ecx, ebp
call fcn.00433230
mov byte [ebp + 0x200], 1
mov al, 1
pop edi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, dword [esp + 0x11c]
pop esi
pop ebp
add esp, 0x114
jmp fcn.00456aa7
mov al, byte [ecx + 0x200]
test al, al
jne 0x43427f
jmp 0x434070
mov al, 1
ret
Function at 0x43c700
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x47a198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov ebp, ecx
push eax
mov ecx, edi
call fcn.00416bf0
mov esi, eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x28], 0
call fcn.00416bc0
push eax
lea edx, [esp + 0x14]
push str.Error_Key_Value_Name:
push edx
mov byte [esp + 0x30], 1
call fcn.00402a60
push str.__Error_Value:
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x3c], 2
call fcn.00405860
push esi
push eax
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x48], 3
call fcn.00408720
mov eax, dword [eax]
push eax
push 0x49a44c
mov byte [esp + 0x50], 4
call fcn.0043bd20
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0x2c
mov byte [esp + 0x24], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c7b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x24], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c7d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c7fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c81f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c845
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0xc], edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x43c970
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x110]
push ebp
mov ebp, dword [esp + 0x11c]
test ebp, ebp
mov dword [esp + 0x110], eax
mov dword [esp + 0xc], ecx
je 0x43ca54
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x43ca54
mov ecx, dword [esp + 0x118]
lea eax, [esp + 4]
push eax
push 0x10008
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43ca59
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push ecx
mov dword [esp + 0x30], 0x100
call edi
mov esi, eax
cmp esi, 0x103
je 0x43ca32
test esi, esi
jne 0x43ca43
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0043c970
mov esi, eax
test esi, esi
je 0x43c9d7
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
jmp 0x43ca59
mov ecx, dword [esp + 0x120]
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
jmp 0x43ca59
mov eax, 0x3f2
mov ecx, dword [esp + 0x110]
xor ecx, dword [esp + 0x114]
pop ebp
call fcn.00456aa7
add esp, 0x110
ret 8