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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44eef0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4621a0]
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.00433591
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edi, eax
mov dword [edi], ecx
test ebx, ebx
jne 0x418b1c
lea edx, [ebp - 0x14]
push edx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
je 0x418b38
mov eax, dword [edi + 4]
push eax
jmp 0x418b32
lea ecx, [ebp - 0x14]
push ecx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x418b38
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
cmp esi, 1
jne 0x418b75
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x418b7c
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test esi, esi
je 0x418b7c
lea edx, [ebp - 0x14]
push edx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x418b7c
mov eax, dword [edi + 4]
push eax
jmp 0x418b53
mov dword [ebp - 0x18], 1
push edi
call fcn.0043428a
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x418aed
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 0x418bb0
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 [0x4682cc], al
jne 0x418bf5
or dword [0x4682cc], eax
xor eax, eax
push 0x452b50
mov dword [0x4682c4], 7
mov dword [0x4682c0], esi
mov word [0x4682b0], ax
call fcn.00435927
add esp, 4
cmp dword [0x4682c0], esi
je 0x418c22
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
push 0xffffffffffffffff
mov word [ebp + 4], cx
push esi
mov eax, 0x4682ac
mov ecx, ebp
call fcn.00405280
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
push ebx
push edi
push esi
mov eax, 0x104
mov edi, 0x4682ac
call fcn.00419290
cmp dword [0x4682c4], 8
mov eax, dword [0x4682b0]
jae 0x418c47
mov eax, 0x4682b0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [0x4682c0]
mov ebx, eax
cmp ebx, ecx
ja 0x418c70
or eax, 0xffffffff
mov esi, 0x4682ac
call fcn.004056a0
xor esi, esi
jmp 0x418c7f
mov eax, ebx
push esi
sub eax, ecx
mov edi, 0x4682ac
call fcn.00419290
push 0xffffffffffffffff
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
push esi
mov eax, 0x4682ac
mov ecx, ebp
mov word [ebp + 4], dx
call fcn.00405280
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
Function at 0x418db0
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44ffa9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4621a0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4621a0]
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 0x418e8e
cmp dword [edi + 0x18], 0x20
je 0x418e8e
push 1
push 0x20
mov eax, edi
call fcn.00405730
test al, al
je 0x418e8e
cmp dword [edi + 0x18], 8
mov dword [edi + 0x14], ebx
jb 0x418e88
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, reloc.OLEAUT32.dll_SafeArrayDestroy
jns 0x418eac
dec esi
or esi, 0xfffffff0
inc esi
movsx ax, byte [esp + eax + 0x1c]
movzx ecx, ax
push ecx
mov eax, 1
call fcn.00419290
movsx dx, byte [esp + esi + 0x1c]
movzx eax, dx
push eax
mov eax, 1
call fcn.00419290
inc ebx
cmp ebx, 0x10
jb 0x418e90
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.0043427b
add esp, 0x28
ret
Function at 0x41b780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
movzx ebp, word [esp + 0xc]
push esi
push edi
push 0x455bc0
mov edi, eax
push ebp
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x41b7d3
push 2
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41b87f
push 0x2000
push ebx
push ebx
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esi + 4], eax
xor eax, eax
call fcn.00401890
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41b7ed
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push ebp
push eax
call fcn.0043a490
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x14]
push eax
push 1
xor ebx, ebx
push edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41b878
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41b878
push eax
push esi
call fcn.00401470
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
xor edi, edi
mov dword [eax + 8], edi
push esi
mov dword [eax + 0xc], ebx
call fcn.0041b680
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret

Function at 0x41db30
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0xac], 0
jne 0x41db48
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 + 0xac]
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 + 0xac]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0xac]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xac]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
pop esi
add esp, 0x20
ret 4

Function at 0x41dbd0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx]
mov edx, dword [eax + 0x8c]
push 0
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x41dc10
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push edi
call edx
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x41dc40
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 9
mov ecx, esi
call edx
push eax
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 5
mov ecx, esi
call edx
push eax
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0x43
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
ret
Function at 0x4224e0
Capabilities:
Terminate thread

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

Disassembly:
push 0xffffffffffffffff
push 0x4514e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4621a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x4621a0]
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 0x422d46
mov edi, edi
mov eax, dword [edi + 0x20]
call fcn.004233e0
mov esi, eax
cmp esi, ebx
je 0x422d11
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x422bda
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.00405280
mov dword [esp + 0x3c], ebx
cmp dword [edi + 0xc], ebx
jne 0x422c72
cmp ebp, dword [esi + 0x40]
jg 0x422c4b
push esi
mov ecx, edi
call fcn.00422540
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x422c4b
mov eax, dword [edi + 0xc]
inc ebp
cmp eax, ebx
jne 0x422c4b
cmp ebp, dword [esi + 0x40]
jg 0x422c46
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xc], 0
jne 0x422c44
inc ebx
cmp ebx, 0xa
jl 0x422c30
xor ebx, ebx
cmp dword [edi + 0xc], ebx
je 0x422c0a
cmp dword [edi + 0xc], ebx
jne 0x422c72
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x422c6c
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 0x422c91
cmp dword [esi + 0x30], ebx
je 0x422c91
cmp dword [esi + 0x58], ebx
je 0x422c91
cmp dword [esi + 0x34], 8
jb 0x422c87
mov eax, dword [esi + 0x20]
jmp 0x422c8a
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x422ca4
push eax
call fcn.0043428a
add esp, 4
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x34], 8
jb 0x422cb6
mov eax, dword [esi + 0x20]
push eax
call fcn.00434270
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 0x422cd9
mov eax, dword [esi + 4]
push eax
call fcn.00434270
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.00434270
add esp, 4
cmp dword [edi + 0xc], ebx
jne 0x422d32
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x422d27
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00434270
add esp, 4
jmp 0x422d27
mov edx, dword [edi + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x422d46
cmp dword [edi + 0xc], ebx
je 0x422bb0
jmp 0x422d46
cmp dword [esp + 0x2c], 8
jb 0x422d46
mov eax, dword [esp + 0x18]
push eax
call fcn.00434270
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.0043427b
add esp, 0x30
ret
Function at 0x422d70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44feb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4621a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4621a0]
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 0x422dd0
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x422dd0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x1c]
call fcn.004055b0
mov dword [esp + 0x40], edi
mov edx, esi
push edx
mov edi, 1
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0x2f
call fcn.00419550
mov esi, ebp
cmp eax, 0xffffffff
jne 0x422e2e
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov word [ebp + 4], ax
push eax
mov eax, 0x4561ec
call fcn.004055b0
jmp 0x422e3e
lea edx, [eax + 1]
lea eax, [esp + 0x18]
push eax
or ecx, 0xffffffff
call fcn.0040ec30
cmp dword [esp + 0x30], 8
jb 0x422e52
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00434270
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.0043427b
add esp, 0x30
ret 8
Function at 0x422fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45189b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4621a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x50], 0
je 0x422fff
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x54], 0
mov dword [esp + 0x14], 0
jle 0x4230f5
push 0x28
call fcn.004346d4
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], 0
test esi, esi
je 0x423052
lea eax, [esi + 4]
push eax
mov dword [esi], 0
call fcn.00423600
push 0
push 0
push 0
push 0
mov dword [esi + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x24], eax
jmp 0x423054
xor esi, esi
push 0
lea edi, [esi + 4]
push 0
push edi
push 0x423790
mov dword [esp + 0x38], 0xffffffff
push 0
push 0
mov dword [esp + 0x30], esi
mov dword [edi + 0xc], 0x422b60
mov dword [edi + 0x10], esi
mov dword [edi + 8], 0
call fcn.00437717
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
jne 0x4230ba
test esi, esi
je 0x4230e3
call fcn.004224e0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4230a8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.004236d0
push esi
call fcn.00434270
add esp, 4
jmp 0x4230e3
mov esi, dword [ebx + 0x6c]
mov edx, dword [esi + 4]
add ebx, 0x58
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.004235c0
mov ecx, ebx
mov edi, eax
call fcn.00423b00
mov ebx, dword [ebp + 8]
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [ebx + 0x54]
mov dword [esp + 0x14], eax
jl 0x423011
xor eax, eax
cmp dword [ebx + 0x70], eax
setne al
mov dword [ebx + 0x50], eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x423120
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 0x423140
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x42314e
cmp edi, eax
je 0x423153
call fcn.00434b62
cmp dword [esp + 0xc], esi
je 0x42327f
test edi, edi
jne 0x423274
call fcn.00434b62
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x42317a
call fcn.00434b62
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x423196
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 0x4231d7
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4231c6
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 0x4231ec
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x42322a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x423219
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 0x423238
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.004236d0
push edi
call fcn.00434270
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x42327b
call fcn.00434b62
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x423265
call fcn.00434b62
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x423140
mov eax, dword [edi]
jmp 0x42316c
mov eax, dword [eax]
jmp 0x423257
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 0x4232b5
mov esi, dword [eax]
push eax
call fcn.00434270
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x423296
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 0x4236d0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x450b0b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4621a0]
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 0x423741
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x423730
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 0x423752
push esi
call fcn.00423850
call fcn.004239a0
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 0x423779
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 0x423ba0
Capabilities:
Check os version

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

Disassembly:
sub esp, 0x518
mov eax, dword [0x4621a0]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x423c33
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.0043427b
add esp, 0x518
ret
push esi
push 0x3ff
lea eax, [esp + 0x121]
push ebx
push eax
mov byte [esp + 0x128], bl
call fcn.00439590
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.00439590
lea eax, [esp + 0x34]
add esp, 0x18
lea ecx, [edi + 8]
test eax, eax
je 0x423ca3
cmp ecx, ebx
je 0x423ca3
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x423c85
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.00434b90
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 0x423d01
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.0043427b
add esp, 0x518
ret
push 0x400
lea ecx, [esp + 0x120]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
call fcn.00439590
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 0x423df6
lea ecx, [esp + 0x11c]
push ecx
push 0x4582d0
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.00434b90
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0043798c
lea ecx, [esp + 0x30]
push 0x4582d8
push ecx
call fcn.00437ab4
add esp, 0x24
test eax, eax
jne 0x423df6
call fcn.00423ba0
test al, al
je 0x423da5
cmp dword [edi + 0x1a0], 6
jmp 0x423df2
push 0x400
lea edx, [esp + 0x120]
push ebx
push edx
call fcn.00439590
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 0x423df6
cmp dword [esp + 0x11c], 1
jne 0x423df6
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.0043427b
add esp, 0x518
ret