joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417ee0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440a50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x1000
mov dword [ebp - 0x18], ebx
lea esi, [ebx + 1]
mov eax, dword [ebp - 0x14]
push eax
call fcn.00426605
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edi, eax
mov dword [edi], ecx
test ebx, ebx
jne 0x417f4c
lea edx, [ebp - 0x14]
push edx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
je 0x417f68
mov eax, dword [edi + 4]
push eax
jmp 0x417f62
lea ecx, [ebp - 0x14]
push ecx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x417f68
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
cmp esi, 1
jne 0x417fa5
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x417fac
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test esi, esi
je 0x417fac
lea edx, [ebp - 0x14]
push edx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x417fac
mov eax, dword [edi + 4]
push eax
jmp 0x417f83
mov dword [ebp - 0x18], 1
push edi
call fcn.00427bf3
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x417f1d
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x417fe0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
mov eax, 1
mov dword [esp + 8], esi
test byte [0x456d9c], al
jne 0x418025
or dword [0x456d9c], eax
xor eax, eax
push 0x443620
mov dword [0x456d98], 7
mov dword [0x456d94], esi
mov word [0x456d84], ax
call fcn.00429213
add esp, 4
cmp dword [0x456d94], esi
je 0x418052
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
push 0xffffffffffffffff
mov word [ebp + 4], cx
push esi
mov eax, 0x456d80
mov ecx, ebp
call fcn.00404c70
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
push ebx
push edi
push esi
mov eax, 0x104
mov edi, 0x456d80
call fcn.00418880
cmp dword [0x456d98], 8
mov eax, dword [0x456d84]
jae 0x418077
mov eax, 0x456d84
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [0x456d94]
mov ebx, eax
cmp ebx, ecx
ja 0x4180a0
or eax, 0xffffffff
mov esi, 0x456d80
call fcn.00404e50
xor esi, esi
jmp 0x4180af
mov eax, ebx
push esi
sub eax, ecx
mov edi, 0x456d80
call fcn.00418880
push 0xffffffffffffffff
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
push esi
mov eax, 0x456d80
mov ecx, ebp
mov word [ebp + 4], dx
call fcn.00404c70
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
Function at 0x4181e0
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x441419
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
mov edi, ecx
xor eax, eax
mov dword [esp + 0x14], eax
lea esi, [edi + 4]
xor ecx, ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], eax
mov dword [esp + 0x18], edi
mov byte [esp + 0x1c], 0x30
mov byte [esp + 0x1d], 0x31
mov byte [esp + 0x1e], 0x32
mov byte [esp + 0x1f], 0x33
mov byte [esp + 0x20], 0x34
mov byte [esp + 0x21], 0x35
mov byte [esp + 0x22], 0x36
mov byte [esp + 0x23], 0x37
mov byte [esp + 0x24], 0x38
mov byte [esp + 0x25], 0x39
mov byte [esp + 0x26], 0x61
mov byte [esp + 0x27], 0x62
mov byte [esp + 0x28], 0x63
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], 0x65
mov byte [esp + 0x2b], 0x66
mov word [esi], cx
mov dword [esp + 0x38], eax
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x14], 1
cmp ebx, 0x20
ja 0x4182be
cmp dword [edi + 0x18], 0x20
je 0x4182be
push 1
push 0x20
mov eax, edi
call fcn.00404ee0
test al, al
je 0x4182be
cmp dword [edi + 0x18], 8
mov dword [edi + 0x14], ebx
jb 0x4182b8
mov esi, dword [esi]
xor edx, edx
mov word [esi + ebx*2], dx
xor ebx, ebx
movzx esi, byte [ebx + ebp]
mov eax, esi
cdq
and edx, 0xf
add eax, edx
sar eax, 4
and esi, 0x8000000f
jns 0x4182dc
dec esi
or esi, 0xfffffff0
inc esi
movsx ax, byte [esp + eax + 0x1c]
movzx ecx, ax
push ecx
mov eax, 1
call fcn.00418880
movsx dx, byte [esp + esi + 0x1c]
movzx eax, dx
push eax
mov eax, 1
call fcn.00418880
inc ebx
cmp ebx, 0x10
jb 0x4182c0
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00427b67
add esp, 0x28
ret
Function at 0x41a900
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x440aeb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00426833
push 4
mov dword [esp + 0x20], 0
call fcn.00427fc0
mov edi, eax
add esp, 4
test edi, edi
je 0x41a97e
call fcn.00426b9d
mov dword [edi], eax
call fcn.004269cb
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004267f4
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41a973
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0042681c
jmp 0x41a980
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x420110
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0x70], 0
jne 0x420125
xor al, al
pop esi
add esp, 0x20
ret 4
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi + 0x70]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
push 0x41
add eax, dword [esp + 0x24]
push 0
cdq
sub eax, edx
sar eax, 1
push 0
push eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0x70]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x70]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
pop esi
add esp, 0x20
ret 4
Function at 0x421470
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x24]
mov dword [esi + 0xc], 1
test eax, eax
je 0x421485
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], 1
test eax, eax
je 0x4214c3
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4214b2
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
ret
Function at 0x421b00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x442558
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [edi + 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x421cd6
mov edi, edi
mov eax, dword [edi + 0x20]
call fcn.00422330
mov esi, eax
cmp esi, ebx
je 0x421ca1
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x421b6a
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
push ebx
push ebx
push 1
push ecx
push edx
call eax
add esp, 0x14
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x1c], ax
push ebx
mov eax, esi
lea ecx, [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00404c70
mov dword [esp + 0x3c], ebx
cmp dword [edi + 0xc], ebx
jne 0x421c02
cmp ebp, dword [esi + 0x40]
jg 0x421bdb
push esi
mov ecx, edi
call fcn.004214d0
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x421bdb
mov eax, dword [edi + 0xc]
inc ebp
cmp eax, ebx
jne 0x421bdb
cmp ebp, dword [esi + 0x40]
jg 0x421bd6
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xc], 0
jne 0x421bd4
inc ebx
cmp ebx, 0xa
jl 0x421bc0
xor ebx, ebx
cmp dword [edi + 0xc], ebx
je 0x421b9a
cmp dword [edi + 0xc], ebx
jne 0x421c02
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x421bfc
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x4c]
push esi
push ecx
mov ecx, dword [esi + 0x48]
push 3
push edx
push ecx
call eax
add esp, 0x14
cmp dword [esp + 0x10], ebx
je 0x421c21
cmp dword [esi + 0x30], ebx
je 0x421c21
cmp dword [esi + 0x58], ebx
je 0x421c21
cmp dword [esi + 0x34], 8
jb 0x421c17
mov eax, dword [esi + 0x20]
jmp 0x421c1a
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x421c34
push eax
call fcn.00427bf3
add esp, 4
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x34], 8
jb 0x421c46
mov eax, dword [esi + 0x20]
push eax
call fcn.00427b5c
add esp, 4
mov ebp, 7
xor edx, edx
mov dword [esi + 0x34], ebp
mov dword [esi + 0x30], ebx
mov word [esi + 0x20], dx
cmp dword [esi + 0x18], 8
jb 0x421c69
mov eax, dword [esi + 4]
push eax
call fcn.00427b5c
add esp, 4
xor eax, eax
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push esi
mov word [esi + 4], ax
call fcn.00427b5c
add esp, 4
cmp dword [edi + 0xc], ebx
jne 0x421cc2
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x421cb7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00427b5c
add esp, 4
jmp 0x421cb7
mov edx, dword [edi + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x421cd6
cmp dword [edi + 0xc], ebx
je 0x421b40
jmp 0x421cd6
cmp dword [esp + 0x2c], 8
jb 0x421cd6
mov eax, dword [esp + 0x18]
push eax
call fcn.00427b5c
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00427b67
add esp, 0x30
ret
Function at 0x421d00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4412f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x14], edi
xor ecx, ecx
mov word [esp + 0x1c], cx
mov ecx, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
lea esi, [ecx + 2]
jmp 0x421d60
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x421d60
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x1c]
call fcn.00404d60
mov dword [esp + 0x40], edi
mov edx, esi
push edx
mov edi, 1
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0x2f
call fcn.00419320
mov esi, ebp
cmp eax, 0xffffffff
jne 0x421dbe
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov word [ebp + 4], ax
push eax
mov eax, 0x447054
call fcn.00404d60
jmp 0x421dce
lea edx, [eax + 1]
lea eax, [esp + 0x18]
push eax
or ecx, 0xffffffff
call fcn.0040d820
cmp dword [esp + 0x30], 8
jb 0x421de2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00427b5c
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00427b67
add esp, 0x30
ret 8
Function at 0x421f40
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44298b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
cmp dword [ebp + 0x50], ebx
je 0x421f7a
lea eax, [ebx + 1]
jmp 0x422061
cmp dword [ebp + 0x54], ebx
mov dword [esp + 0x2c], ebx
jle 0x422056
push 0x28
call fcn.00427fc0
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
cmp esi, ebx
je 0x421fbc
lea eax, [esi + 4]
push eax
mov dword [esi], ebx
call fcn.004225a0
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x24], eax
jmp 0x421fbe
xor esi, esi
push ebx
lea edi, [esi + 4]
push ebx
push edi
push 0x422730
mov dword [esp + 0x34], 0xffffffff
push ebx
push ebx
mov dword [esp + 0x30], esi
mov dword [edi + 0xc], 0x421af0
mov dword [edi + 0x10], esi
mov dword [edi + 8], ebx
call fcn.0042b0d5
add esp, 0x18
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x42201c
cmp esi, ebx
je 0x422044
call fcn.00421470
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x42200a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.00422670
push esi
call fcn.00427b5c
add esp, 4
jmp 0x422044
mov esi, dword [ebp + 0x6c]
mov edx, dword [esi + 4]
lea ebx, [ebp + 0x58]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.004224c0
mov ecx, ebx
mov edi, eax
call fcn.00422500
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
xor ebx, ebx
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [ebp + 0x54]
mov dword [esp + 0x2c], eax
jl 0x421f87
xor eax, eax
cmp dword [ebp + 0x70], ebx
setne al
mov dword [ebp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x422080
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [ebx + 0x58]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
jmp 0x4220a0
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x4220ae
cmp edi, eax
je 0x4220b3
call fcn.004281e7
cmp dword [esp + 0xc], esi
je 0x4221df
test edi, edi
jne 0x4221d4
call fcn.004281e7
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x4220da
call fcn.004281e7
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x4220f6
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 8]
lea esi, [edi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x422137
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x422126
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x42214c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x42218a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x422179
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x422198
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00422670
push edi
call fcn.00427b5c
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x4221db
call fcn.004281e7
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x4221c5
call fcn.004281e7
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x4220a0
mov eax, dword [edi]
jmp 0x4220cc
mov eax, dword [eax]
jmp 0x4221b7
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebx + 0x6c]
mov dword [ecx + 4], ecx
xor ecx, ecx
mov dword [ebx + 0x70], ecx
cmp eax, dword [ebx + 0x6c]
je 0x422215
mov esi, dword [eax]
push eax
call fcn.00427b5c
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x4221f6
mov dword [ebx + 0x50], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0x50], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x422670
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4424fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CThreadHolder.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x4226e1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4226d0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
cmp dword [esi + 0x14], 0
jne 0x4226f2
push esi
call fcn.004227f0
call fcn.00422940
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 0x18]
sub esi, 0x10
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x422719
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x422af0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
lea eax, [esp + 4]
push eax
xor bl, bl
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x422b2e
cmp dword [esp + 0x14], 2
jne 0x422b2e
cmp dword [esp + 8], 6
mov al, 1
jae 0x422b30
mov al, bl
mov ecx, dword [esp + 0x118]
pop ebx
xor ecx, esp
call fcn.00427b67
add esp, 0x118
ret
Function at 0x422b50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x518
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x422b83
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.00427b67
add esp, 0x518
ret
push esi
push 0x3ff
lea eax, [esp + 0x121]
push ebx
push eax
mov byte [esp + 0x128], bl
call fcn.0042bc70
push 0xfe
lea edx, [esp + 0x2e]
xor ecx, ecx
push ebx
mov esi, 0x400
push edx
mov dword [esp + 0x20], esi
mov word [esp + 0x34], cx
call fcn.0042bc70
lea eax, [esp + 0x34]
add esp, 0x18
lea ecx, [edi + 8]
test eax, eax
je 0x422bf3
cmp ecx, ebx
je 0x422bf3
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x422bd5
sub eax, esi
inc eax
push eax
lea edx, [esp + 0x20]
push edx
push eax
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [esp + 8]
lea eax, [esp + 0x1c]
push eax
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
push 0xffffffffffffffff
shr esi, 1
lea ecx, [esp + 0x128]
push esi
push ecx
call fcn.00428290
add esp, 0x14
lea edx, [esp + 0xc]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x128]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x422c51
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.00427b67
add esp, 0x518
ret
push 0x400
lea ecx, [esp + 0x120]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
call fcn.0042bc70
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push str.PnpInstanceID
push edx
call esi
test eax, eax
jne 0x422d46
lea ecx, [esp + 0x11c]
push ecx
push 0x448b30
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push 4
push edx
mov word [esp + 0x28], ax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
call fcn.00428290
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0042b34a
lea ecx, [esp + 0x30]
push 0x448b38
push ecx
call fcn.0042b472
add esp, 0x24
test eax, eax
jne 0x422d46
call fcn.00422af0
test al, al
je 0x422cf5
cmp dword [edi + 0x1a0], 6
jmp 0x422d42
push 0x400
lea edx, [esp + 0x120]
push ebx
push edx
call fcn.0042bc70
add esp, 0xc
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push str.MediaSubType
push eax
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x422d46
cmp dword [esp + 0x11c], 1
jne 0x422d46
mov bl, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x51c]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00427b67
add esp, 0x518
ret