joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418440
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x443640
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4531a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 2
cmp dword [esp + 0x88], 0
mov edi, 8
jne 0x4184aa
lea esi, [esp + 0xc]
call fcn.00418020
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x38], 3
call fcn.00405100
cmp dword [esp + 0x24], edi
jb 0x4184aa
mov eax, dword [esp + 0x10]
push eax
call fcn.00428b9c
add esp, 4
mov edx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x4184bb
lea edx, [esp + 0x78]
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0x4184c9
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x4184d7
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x74]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp dword [esp + 0x50], edi
jb 0x4184fa
mov eax, dword [esp + 0x3c]
push eax
call fcn.00428b9c
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
cmp dword [esp + 0x6c], edi
jb 0x418524
mov edx, dword [esp + 0x58]
push edx
call fcn.00428b9c
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
cmp dword [esp + 0x8c], edi
jb 0x418551
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00428b9c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x418830
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441a90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4531a0]
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.00427653
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edi, eax
mov dword [edi], ecx
test ebx, ebx
jne 0x41889c
lea edx, [ebp - 0x14]
push edx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
je 0x4188b8
mov eax, dword [edi + 4]
push eax
jmp 0x4188b2
lea ecx, [ebp - 0x14]
push ecx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x4188b8
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
cmp esi, 1
jne 0x4188f5
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x4188fc
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test esi, esi
je 0x4188fc
lea edx, [ebp - 0x14]
push edx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x4188fc
mov eax, dword [edi + 4]
push eax
jmp 0x4188d3
mov dword [ebp - 0x18], 1
push edi
call fcn.00428c33
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x41886d
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 0x418930
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 [0x457e0c], al
jne 0x418975
or dword [0x457e0c], eax
xor eax, eax
push 0x4447e0
mov dword [0x457e08], 7
mov dword [0x457e04], esi
mov word [0x457df4], ax
call fcn.0042a253
add esp, 4
cmp dword [0x457e04], esi
je 0x4189a2
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
push 0xffffffffffffffff
mov word [ebp + 4], cx
push esi
mov eax, 0x457df0
mov ecx, ebp
call fcn.00405100
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
push ebx
push edi
push esi
mov eax, 0x104
mov edi, 0x457df0
call fcn.00419040
cmp dword [0x457e08], 8
mov eax, dword [0x457df4]
jae 0x4189c7
mov eax, 0x457df4
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [0x457e04]
mov ebx, eax
cmp ebx, ecx
ja 0x4189f0
or eax, 0xffffffff
mov esi, 0x457df0
call fcn.00405450
xor esi, esi
jmp 0x4189ff
mov eax, ebx
push esi
sub eax, ecx
mov edi, 0x457df0
call fcn.00419040
push 0xffffffffffffffff
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
push esi
mov eax, 0x457df0
mov ecx, ebp
mov word [ebp + 4], dx
call fcn.00405100
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
Function at 0x418b30
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x442439
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4531a0]
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 0x418c0e
cmp dword [edi + 0x18], 0x20
je 0x418c0e
push 1
push 0x20
mov eax, edi
call fcn.004054e0
test al, al
je 0x418c0e
cmp dword [edi + 0x18], 8
mov dword [edi + 0x14], ebx
jb 0x418c08
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 0x418c2c
dec esi
or esi, 0xfffffff0
inc esi
movsx ax, byte [esp + eax + 0x1c]
movzx ecx, ax
push ecx
mov eax, 1
call fcn.00419040
movsx dx, byte [esp + esi + 0x1c]
movzx eax, dx
push eax
mov eax, 1
call fcn.00419040
inc ebx
cmp ebx, 0x10
jb 0x418c10
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.00428ba7
add esp, 0x28
ret
Function at 0x41afe0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x441b2b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4531a0]
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.00427881
push 4
mov dword [esp + 0x20], 0
call fcn.00429000
mov edi, eax
add esp, 4
test edi, edi
je 0x41b05e
call fcn.00427beb
mov dword [edi], eax
call fcn.00427a19
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00427842
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41b053
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0042786a
jmp 0x41b060
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 0x420770
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0x70], 0
jne 0x420785
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 0x421b40
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x24]
mov dword [esi + 0xc], 1
test eax, eax
je 0x421b55
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], 1
test eax, eax
je 0x421b93
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x421b82
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 0x4221d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x443318
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x4531a0]
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 0x4223a6
mov edi, edi
mov eax, dword [edi + 0x20]
call fcn.00422a00
mov esi, eax
cmp esi, ebx
je 0x422371
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x42223a
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.00405100
mov dword [esp + 0x3c], ebx
cmp dword [edi + 0xc], ebx
jne 0x4222d2
cmp ebp, dword [esi + 0x40]
jg 0x4222ab
push esi
mov ecx, edi
call fcn.00421ba0
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x4222ab
mov eax, dword [edi + 0xc]
inc ebp
cmp eax, ebx
jne 0x4222ab
cmp ebp, dword [esi + 0x40]
jg 0x4222a6
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xc], 0
jne 0x4222a4
inc ebx
cmp ebx, 0xa
jl 0x422290
xor ebx, ebx
cmp dword [edi + 0xc], ebx
je 0x42226a
cmp dword [edi + 0xc], ebx
jne 0x4222d2
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x4222cc
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 0x4222f1
cmp dword [esi + 0x30], ebx
je 0x4222f1
cmp dword [esi + 0x58], ebx
je 0x4222f1
cmp dword [esi + 0x34], 8
jb 0x4222e7
mov eax, dword [esi + 0x20]
jmp 0x4222ea
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x422304
push eax
call fcn.00428c33
add esp, 4
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x34], 8
jb 0x422316
mov eax, dword [esi + 0x20]
push eax
call fcn.00428b9c
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 0x422339
mov eax, dword [esi + 4]
push eax
call fcn.00428b9c
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.00428b9c
add esp, 4
cmp dword [edi + 0xc], ebx
jne 0x422392
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x422387
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00428b9c
add esp, 4
jmp 0x422387
mov edx, dword [edi + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x4223a6
cmp dword [edi + 0xc], ebx
je 0x422210
jmp 0x4223a6
cmp dword [esp + 0x2c], 8
jb 0x4223a6
mov eax, dword [esp + 0x18]
push eax
call fcn.00428b9c
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.00428ba7
add esp, 0x30
ret
Function at 0x4223d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x442368
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4531a0]
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 0x422430
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x422430
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x1c]
call fcn.004051f0
mov dword [esp + 0x40], edi
lea edi, [esp + 0x14]
mov ebx, esi
mov dword [esp + 0x14], 0x2f
call fcn.00422a80
mov esi, ebp
cmp eax, 0xffffffff
jne 0x422494
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
push edx
mov eax, 0x44815c
mov word [ebp + 4], dx
call fcn.004051f0
cmp dword [esp + 0x30], 8
jb 0x4224b8
mov eax, dword [esp + 0x1c]
push eax
jmp 0x4224b0
lea ecx, [esp + 0x18]
push ecx
lea edx, [eax + 1]
or ecx, 0xffffffff
call fcn.0040e1f0
cmp dword [esp + 0x30], 8
jb 0x4224b8
mov edx, dword [esp + 0x1c]
push edx
call fcn.00428b9c
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.00428ba7
add esp, 0x30
ret 8
Function at 0x422610
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44357b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4531a0]
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 0x42264a
lea eax, [ebx + 1]
jmp 0x422731
cmp dword [ebp + 0x54], ebx
mov dword [esp + 0x2c], ebx
jle 0x422726
push 0x28
call fcn.00429000
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
cmp esi, ebx
je 0x42268c
lea eax, [esi + 4]
push eax
mov dword [esi], ebx
call fcn.00422cb0
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 0x42268e
xor esi, esi
push ebx
lea edi, [esi + 4]
push ebx
push edi
push 0x422e40
mov dword [esp + 0x34], 0xffffffff
push ebx
push ebx
mov dword [esp + 0x30], esi
mov dword [edi + 0xc], 0x4221c0
mov dword [edi + 0x10], esi
mov dword [edi + 8], ebx
call fcn.0042c115
add esp, 0x18
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x4226ec
cmp esi, ebx
je 0x422714
call fcn.00421b40
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x4226da
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.00422d80
push esi
call fcn.00428b9c
add esp, 4
jmp 0x422714
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.00422c70
mov ecx, ebx
mov edi, eax
call fcn.00422bd0
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 0x422657
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 0x422750
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 0x422770
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x42277e
cmp edi, eax
je 0x422783
call fcn.00429227
cmp dword [esp + 0xc], esi
je 0x4228af
test edi, edi
jne 0x4228a4
call fcn.00429227
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x4227aa
call fcn.00429227
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x4227c6
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 0x422807
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4227f6
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 0x42281c
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x42285a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x422849
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 0x422868
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00422d80
push edi
call fcn.00428b9c
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x4228ab
call fcn.00429227
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x422895
call fcn.00429227
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x422770
mov eax, dword [edi]
jmp 0x42279c
mov eax, dword [eax]
jmp 0x422887
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 0x4228e5
mov esi, dword [eax]
push eax
call fcn.00428b9c
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x4228c6
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 0x422d80
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4432bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4531a0]
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 0x422df1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x422de0
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 0x422e02
push esi
call fcn.00422f00
call fcn.00423050
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 0x422e29
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 0x423270
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4531a0]
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 0x4232ae
cmp dword [esp + 0x14], 2
jne 0x4232ae
cmp dword [esp + 8], 6
mov al, 1
jae 0x4232b0
mov al, bl
mov ecx, dword [esp + 0x118]
pop ebx
xor ecx, esp
call fcn.00428ba7
add esp, 0x118
ret
Function at 0x4232d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x518
mov eax, dword [0x4531a0]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x423303
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.00428ba7
add esp, 0x518
ret
push esi
push 0x3ff
lea eax, [esp + 0x121]
push ebx
push eax
mov byte [esp + 0x128], bl
call fcn.0042ccb0
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.0042ccb0
lea eax, [esp + 0x34]
add esp, 0x18
lea ecx, [edi + 8]
test eax, eax
je 0x423373
cmp ecx, ebx
je 0x423373
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423355
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.004292d0
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 0x4233d1
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.00428ba7
add esp, 0x518
ret
push 0x400
lea ecx, [esp + 0x120]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
call fcn.0042ccb0
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 0x4234c6
lea ecx, [esp + 0x11c]
push ecx
push 0x449bf0
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.004292d0
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0042c38a
lea ecx, [esp + 0x30]
push 0x449bf8
push ecx
call fcn.0042c4b2
add esp, 0x24
test eax, eax
jne 0x4234c6
call fcn.00423270
test al, al
je 0x423475
cmp dword [edi + 0x1a0], 6
jmp 0x4234c2
push 0x400
lea edx, [esp + 0x120]
push ebx
push edx
call fcn.0042ccb0
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 0x4234c6
cmp dword [esp + 0x11c], 1
jne 0x4234c6
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.00428ba7
add esp, 0x518
ret