joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4156bf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040c8ec
and dword [ebp - 4], 0
cmp dword [0x4304c0], 0
mov ebx, eax
jne 0x415770
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x415821
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x415821
push eax
call fcn.0040c87a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4304c0], eax
call esi
push eax
call fcn.0040c87a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4304c4], eax
call esi
push eax
call fcn.0040c87a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4304c8], eax
call esi
push eax
call fcn.0040c87a
pop ecx
mov dword [0x4304d0], eax
test eax, eax
je 0x415770
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040c87a
pop ecx
mov dword [0x4304cc], eax
mov eax, dword [0x4304cc]
cmp eax, ebx
je 0x4157c8
cmp dword [0x4304d0], ebx
je 0x4157c8
push eax
call fcn.0040c8f5
push dword [0x4304d0]
mov esi, eax
call fcn.0040c8f5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4157c8
test edi, edi
je 0x4157c8
call esi
test eax, eax
je 0x4157bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4157bf
test byte [ebp - 0xc], 1
jne 0x4157c8
or dword [ebp + 0x10], 0x200000
jmp 0x415801
mov eax, dword [0x4304c4]
cmp eax, ebx
je 0x415801
push eax
call fcn.0040c8f5
pop ecx
test eax, eax
je 0x415801
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x415801
mov eax, dword [0x4304c8]
cmp eax, ebx
je 0x415801
push eax
call fcn.0040c8f5
pop ecx
test eax, eax
je 0x415801
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4304c0]
call fcn.0040c8f5
pop ecx
test eax, eax
je 0x415821
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415823
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41c140
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
lea ecx, [esp + 8]
xor bl, bl
call fcn.0041b420
test al, al
je 0x41c17e
mov eax, ecx
call fcn.0041b440
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c17c
cmp byte [esp + 0x14], bl
je 0x41c16d
test al, 0x10
je 0x41c17c
lea ecx, [esp + 8]
mov bl, 1
call fcn.0041b590
mov al, bl
pop ebx
ret
xor bl, bl
lea ecx, [esp + 8]
call fcn.0041b590
mov al, bl
pop ebx
ret

Function at 0x41c190
Capabilities:
Copy file
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4232ab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 1
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
push 0
sub esp, 0xc
lea ecx, [esp + 0x34]
mov esi, esp
mov dword [esp + 0x20], esp
call fcn.0041b4e0
call fcn.0041c140
add esp, 0x10
test al, al
jne 0x41c1ee
push 0x64
call ebx
inc edi
cmp edi, 0xa
jl 0x41c1c4
push 0
lea eax, [esp + 0x34]
call fcn.0041b440
push eax
lea eax, [esp + 0x2c]
call fcn.0041b440
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea ecx, [esp + 0x24]
setne bl
call fcn.0041b590
lea ecx, [esp + 0x30]
call fcn.0041b590
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x41c560
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x423c0c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
sub esp, 0xc
xor ebx, ebx
lea ecx, [esp + 0x38]
mov esi, esp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], esp
call fcn.0041b4e0
lea eax, [esp + 0x1c]
push eax
call fcn.00420650
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, esp
mov byte [esp + 0x30], 1
mov dword [esp + 0x18], esp
call fcn.0041b4e0
call fcn.0041c240
add esp, 0xc
cmp al, bl
je 0x41c5fe
lea eax, [esp + 0x10]
call fcn.0041b440
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41c5fc
sub esp, 0xc
lea ecx, [esp + 0x1c]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.0041b4e0
call fcn.0041c240
add esp, 0xc
cmp al, bl
jne 0x41c5fe
mov bl, 1
lea ecx, [esp + 0x10]
call fcn.0041b590
lea ecx, [esp + 0x2c]
call fcn.0041b590
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x41c630
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x41c6a3
push edi
push esi
call fcn.00409ee8
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x428984
push edi
call sub.VERSION.dll_VerQueryValueW
pop edi
test eax, eax
je 0x41c6a3
mov eax, dword [esp + 4]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, edx
shr eax, 0x10
shr ecx, 0x10
cmp eax, 3
movzx edx, dx
jg 0x41c69c
jne 0x41c6a3
cmp edx, 6
jg 0x41c69c
jne 0x41c6a3
cmp ecx, 5
jg 0x41c69c
jne 0x41c6a3
xor al, al
pop esi
add esp, 8
ret
mov al, 1
pop esi
add esp, 8
ret
Function at 0x41c6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42351d
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x42e110]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
push 0x11c
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.0040c800
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x4c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 0xc]
call fcn.0041b5a0
lea eax, [esp + 0x18]
mov dword [esp + 0x170], 0
call fcn.0041b5a0
mov bl, 1
lea eax, [esp + 0x24]
mov byte [esp + 0x170], bl
call fcn.004205f0
push 2
lea edx, [esp + 0x34]
push edx
xor edx, edx
mov ecx, eax
mov byte [esp + 0x178], 2
call fcn.0041ba20
push 0x428988
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
mov byte [esp + 0x178], 3
call fcn.0041b7f0
lea esi, [esp + 0xc]
mov byte [esp + 0x170], 4
call fcn.0041b900
lea ecx, [esp + 0x3c]
call fcn.0041b590
lea ecx, [esp + 0x30]
call fcn.0041b590
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], bl
call fcn.0041b590
lea eax, [esp + 0x30]
call fcn.004205f0
push str.Common_FileseSellerateeWebClient.dll
lea edx, [esp + 0x28]
push edx
mov ecx, eax
mov byte [esp + 0x178], 5
call fcn.0041b7f0
lea esi, [esp + 0x18]
mov byte [esp + 0x170], 6
call fcn.0041b900
lea ecx, [esp + 0x24]
call fcn.0041b590
lea ecx, [esp + 0x30]
mov byte [esp + 0x170], bl
call fcn.0041b590
lea eax, [esp + 0xc]
call fcn.0041b440
mov ebx, eax
call fcn.0041c630
test al, al
je 0x41c819
mov eax, esi
call fcn.0041b440
mov ebx, eax
call fcn.0041c630
test al, al
je 0x41c819
mov bl, 1
jmp 0x41c828
push 0
call fcn.00409cc0
cmp eax, 0x20010000
setne bl
lea ecx, [esp + 0x18]
call fcn.0041b590
lea ecx, [esp + 0xc]
call fcn.0041b590
mov al, bl
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00409ef3
add esp, 0x168
ret
Function at 0x41c870
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x423952
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
call fcn.0041c6b0
test al, al
je 0x41c9a0
xor eax, eax
push 0x40
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x40], 0
call fcn.0040c800
mov edx, dword [esp + 0xb0]
mov edi, dword [edx + 8]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x54], 0x44
call fcn.00420bf0
add esp, 0x10
push str..._
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0xa4], 0
call fcn.0041b7f0
lea esi, [esp + 0x10]
mov byte [esp + 0x9c], 1
call fcn.0041b900
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 0
call fcn.0041b590
push str.updater_windows.exe
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0041b7f0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x48]
push eax
mov eax, esi
call fcn.0041b440
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3c]
call fcn.0041b440
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41c98e
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x38]
push eax
call esi
lea ecx, [esp + 0x1c]
call fcn.0041b590
lea ecx, [esp + 0x10]
call fcn.0041b590
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x94
ret 4
Function at 0x4204b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42333f
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x42e110]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
call fcn.0041b5a0
lea eax, [esp + 0xc]
mov dword [esp + 0x23c], ebx
push eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x4205c7
cmp dword [esp + 0xc], ebx
je 0x4205c7
mov edx, dword [esp + 0x244]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x4205bb
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x4205bb
push 0x206
lea ecx, [esp + 0x2e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x34], ax
call fcn.0040c800
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4205aa
or eax, 0xffffffff
lea edx, [esp + 0x28]
lea esi, [esp + 0x1c]
call fcn.0041b550
mov esi, edi
mov dword [esp + 0x23c], 1
call fcn.0041b900
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], bl
call fcn.0041b590
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00409ef3
add esp, 0x234
ret

Function at 0x420650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x423657
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], 0
lea ecx, [esp + 0x34]
mov esi, edi
mov dword [esp + 0x28], 1
call fcn.0041b4e0
lea ecx, [esp + 0x34]
mov dword [esp + 0xc], 1
call fcn.0041b420
test al, al
je 0x420719
sub esp, 0xc
mov edx, str.:..
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.0041b510
lea eax, [esp + 0x40]
push eax
call fcn.0041bb80
mov ecx, eax
lea eax, [esp + 0x34]
call fcn.0041b450
dec eax
cmp ecx, eax
jne 0x420719
sub esp, 0xc
mov edx, 0x42839c
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.0041b510
lea ecx, [esp + 0x40]
push ecx
call fcn.0041bb80
push eax
lea edx, [esp + 0x18]
push edx
xor edx, edx
lea ecx, [esp + 0x3c]
call fcn.0041ba20
mov esi, edi
mov byte [esp + 0x28], 2
call fcn.0041b900
lea ecx, [esp + 0x14]
call fcn.0041b590
lea ecx, [esp + 0x34]
call fcn.0041b590
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x420b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4237b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], 0
lea ecx, [esp + 0x34]
mov esi, edi
mov dword [esp + 0x28], 1
call fcn.0041b4e0
sub esp, 0xc
mov edx, 0x428368
mov esi, esp
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], esp
call fcn.0041b510
lea eax, [esp + 0x40]
push eax
call fcn.0041bb80
mov ecx, eax
lea eax, [esp + 0x34]
call fcn.0041b410
test al, al
je 0x420bce
lea eax, [esp + 0x34]
call fcn.0041b450
dec eax
cmp ecx, eax
jae 0x420bce
lea edx, [ecx + 1]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041ba20
mov esi, edi
mov byte [esp + 0x28], 2
call fcn.0041b900
lea ecx, [esp + 0x14]
call fcn.0041b590
lea ecx, [esp + 0x34]
call fcn.0041b590
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret

Function at 0x420fd0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4234b5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CInstallPathDialogHelper.0
mov dword [esp + 0x20], 4
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42102a
push eax
call edi
test eax, eax
je 0x42102a
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
test eax, eax
je 0x421060
push eax
call edi
test eax, eax
je 0x421060
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov ecx, dword [esi + 4]
push 0
push 0xffffffffffffffeb
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
lea ebx, [esi + 0x20]
mov dword [esi + 0x40], vtable.Window.0
mov dword [esi + 0x38], vtable.MessageLoop.0
mov dword [esp + 0x14], ebx
mov byte [esp + 0x20], 5
call fcn.004017e0
mov ebx, dword [ebx]
push ebx
call fcn.00409f0d
lea ebx, [esi + 8]
add esp, 4
mov dword [esp + 0x14], ebx
mov byte [esp + 0x20], 6
call fcn.004017e0
mov eax, dword [ebx]
push eax
call fcn.00409f0d
add esp, 4
mov dword [esi], vtable.Window.0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x422550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x424607
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x7c]
push edi
call fcn.00401430
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], 1
call fcn.004223a0
mov dword [esp + 0x78], eax
cmp eax, esi
je 0x422724
push esi
mov ecx, 0x428af0
lea ebx, [esp + 0x20]
lea eax, [esp + 0x7c]
xor ebp, ebp
call fcn.00407700
mov esi, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x422724
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
je 0x422724
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov edi, eax
test edi, edi
je 0x42271e
mov esi, str.disableUninstall
mov eax, edi
call fcn.004066e0
lea esi, [esp + 0x3c]
call fcn.0041c000
mov ecx, esi
mov dword [esp + 0x70], 1
call fcn.0041bf30
test al, al
je 0x42263d
mov eax, 0x428b0c
lea esi, [esp + 0x48]
call fcn.0041c000
or dword [esp + 0x18], 2
mov edx, esi
lea esi, [esp + 0x3c]
call fcn.0041c0a0
test al, al
je 0x42263d
mov bl, 1
jmp 0x42263f
xor bl, bl
test byte [esp + 0x18], 2
je 0x422654
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x48]
call fcn.0041c080
test bl, bl
jne 0x4226d2
mov esi, 0x428b10
mov eax, edi
call fcn.004066e0
lea esi, [esp + 0x30]
call fcn.0041c000
lea eax, [esp + 0x24]
call fcn.0041b5a0
mov eax, esi
mov byte [esp + 0x70], 3
call fcn.0041bf60
push eax
mov eax, esi
call fcn.0041bf50
lea ecx, [esp + 0x28]
push ecx
mov ebx, eax
call fcn.0041b5b0
lea ecx, [esp + 0x24]
lea esi, [esp + 0x54]
call fcn.0041b4e0
mov edx, esi
mov byte [esp + 0x70], 4
mov edi, dword [esp + 0x7c]
push edx
call fcn.00401710
mov ecx, esi
call fcn.0041b590
lea ecx, [esp + 0x24]
call fcn.0041b590
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 1
call fcn.0041c080
inc ebp
push ebp
mov ecx, 0x428b18
lea ebx, [esp + 0x24]
lea eax, [esp + 0x7c]
call fcn.00407700
mov esi, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x422706
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
je 0x422706
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov edi, eax
jmp 0x422708
xor edi, edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0
call fcn.0041c080
test edi, edi
jne 0x4225ef
mov eax, dword [esp + 0x7c]
jmp 0x422726
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8
Function at 0x422740
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4232f7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, ebp
mov dword [esp + 0x38], 2
call fcn.0041b5a0
mov eax, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0x20019
push esi
lea eax, [esp + 0x54]
mov dword [esp + 0x24], esi
call fcn.0041b440
mov ecx, dword [esp + 0x50]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42285f
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push esi
lea eax, [esp + 0x64]
mov dword [esp + 0x24], esi
call fcn.0041b440
mov ecx, dword [esp + 0x28]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push ecx
call ebx
cmp eax, esi
jne 0x422854
mov eax, dword [esp + 0x14]
cmp eax, esi
jbe 0x422854
add eax, 2
push eax
call fcn.00409ee8
mov edi, eax
add esp, 4
cmp edi, esi
je 0x422854
lea edx, [esp + 0x14]
push edx
push edi
lea eax, [esp + 0x24]
push eax
push esi
lea eax, [esp + 0x64]
call fcn.0041b440
mov ecx, dword [esp + 0x28]
push eax
push ecx
call ebx
cmp eax, esi
jne 0x42284b
mov eax, dword [esp + 0x14]
cmp eax, 1
jbe 0x42284b
shr eax, 1
dec eax
mov edx, edi
lea esi, [esp + 0x24]
call fcn.0041b550
mov esi, ebp
mov byte [esp + 0x38], 3
call fcn.0041b900
lea ecx, [esp + 0x24]
call fcn.0041b590
push edi
call fcn.00409f0d
add esp, 4
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x48]
call fcn.0041b590
lea ecx, [esp + 0x54]
call fcn.0041b590
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x4229e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x423cbc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x30], 1
cmp dword [esp + 0x38], 0
je 0x422a69
mov eax, dword [esp + 0x54]
push eax
sub esp, 0xc
lea eax, [esp + 0x58]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.0041bfd0
push ecx
mov ebx, esp
mov dword [esp + 0x20], esp
push 0
lea eax, [esp + 0x54]
call fcn.0041bf50
mov ecx, eax
lea eax, [esp + 0x50]
call fcn.00407700
lea ecx, [esp + 0x30]
push ecx
call fcn.00422890
add esp, 0x18
mov byte [esp + 0x30], 2
mov ebx, 1
jmp 0x422a7f
lea eax, [esp + 0x10]
call fcn.0041b5a0
mov dword [esp + 0x30], 3
mov ebx, 2
mov ecx, eax
mov esi, edi
mov dword [esp + 0xc], ebx
call fcn.0041b4e0
or ebx, 4
test bl, 2
je 0x422aa0
lea ecx, [esp + 0x10]
and ebx, 0xfffffffd
call fcn.0041b590
test bl, 1
je 0x422aae
lea ecx, [esp + 0x1c]
call fcn.0041b590
lea ecx, [esp + 0x3c]
call fcn.0041c080
lea ecx, [esp + 0x48]
call fcn.0041c080
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x414de4
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], eax
and esi, ebx
add ecx, 4
add esi, esi
add esi, 0x1c50a409
cmp ecx, edx
jne fcn.00414de4
inc edi
or edi, esi
dec esi
ret

Function at 0x667720
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e1000]
push edi
or ebp, 0xffffffff
jmp 0x667742
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x667749
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x667738
mov eax, 1
add ebx, ebx
jne 0x66775b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x66776c
jne 0x66777c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x66777c
dec eax
add ebx, ebx
jne 0x667778
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x667750
xor ecx, ecx
sub eax, 3
jb 0x667794
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x667806
sar eax, 1
mov ebp, eax
jmp 0x66779f
add ebx, ebx
jne 0x66779f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x6677ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x6677d0
inc ecx
add ebx, ebx
jne 0x6677bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6677b1
jne 0x6677cd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6677b1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6677f0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6677e1
jmp 0x66773e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6677f0
add edi, ecx
jmp 0x66773e
pop esi
mov edi, esi
mov ecx, 0xaf6b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x66780e
cmp byte [edi], 0x11
jne 0x66780e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x667813
lea edi, [esi + 0x262000]
mov eax, dword [edi]
or eax, eax
je 0x667882
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26de2c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26def4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x667840
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26def8]
or eax, eax
je 0x66787c
mov dword [ebx], eax
add ebx, 4
jmp 0x66785d
call dword [esi + 0x26defc]
popal
jmp 0x5785ec