joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411ac0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43a238
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x448050]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x448050]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.00411cf0
lea ebx, [edi + 4]
add esp, 4
lea esi, [esp + 0x24]
mov dword [esp + 0x14], ebx
call fcn.00411db0
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x411bb5
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x411b91
cmp dword [ecx - 8], 0
jge 0x411b7f
push 0x80070057
call fcn.00405490
mov dword [ecx - 0xc], 0
mov ecx, dword [edi]
xor edx, edx
mov word [ecx], dx
xor esi, esi
jmp 0x411bc4
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411ba7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [edi], eax
xor esi, esi
jmp 0x411bc4
mov ebx, dword [esp + 0x14]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x90], 0
movzx ecx, byte [ebx + esi]
push ecx
push 0x43fdf8
lea edi, [esp + 0x20]
call fcn.0040b730
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 0xc]
mov ebx, dword [esp + 0x24]
add esp, 8
push eax
push edi
call fcn.00405390
lea eax, [edi - 0x10]
mov dword [esp + 0x90], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411c35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, 0x10
jl 0x411bc0
mov ecx, ebx
mov esi, dword [ecx]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x411c65
cmp eax, dword [esi - 0x10]
jne 0x411c65
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x411c9a
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x411c7e
call fcn.004054b0
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea eax, [eax + eax + 2]
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00425cbe
add esp, 0x10
mov eax, dword [esp + 0x20]
add edi, 0x10
mov dword [eax], edi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00424761
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, eax
call fcn.004198e0
mov ebx, dword [sym.imp.KERNEL32.DLL_FindResourceW]
push 5
push edi
push esi
mov dword [ebp - 8], 0
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x413311
push 0xf0
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x41329d
push eax
push esi
call edi
push eax
call ebx
mov eax, dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x4132fa
push eax
call ebx
mov edi, eax
test edi, edi
je 0x4132fa
push edi
call fcn.00412f20
mov ecx, dword [ebp + 8]
add esp, 4
push 0
push 0x412bf0
push ecx
mov ebx, eax
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4132e6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
cmp ebx, edi
je 0x413303
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x413303
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x413311
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a5b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
test esi, esi
jns 0x41a5cb
push 0x80070057
call fcn.00405490
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, esi
or ecx, edx
jge 0x41a5e7
mov eax, esi
mov ecx, edi
call fcn.00405330
mov eax, dword [edi]
push esi
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a60e
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41a612
push ecx
push eax
call fcn.00425d33
add esp, 8
test eax, eax
js 0x41a5c1
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x41a5c1
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, esi
pop esi
ret
Function at 0x41bcf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x44a7f4]
push edi
movzx eax, ax
cmp ecx, 2
jne 0x41bd61
push eax
push esi
call dword [sym.imp.USER32.dll_LoadBitmapW]
push 0x10
mov edi, eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x41bd50
lea ecx, [ebp - 8]
push ecx
push 0
push edi
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 8], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov edx, dword [ebp - 8]
push edi
mov dword [esi + 8], eax
mov dword [esi + 4], edx
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push edi
xor esi, esi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push ebx
mov esi, eax
push 0
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push ebx
push esi
push eax
call fcn.0042c740
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push 0
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x41bde2
lea eax, [esi + 4]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x41bde4
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41d9c0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x44c2b4]
push eax
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov ecx, dword [0x44c2b0]
push 0x44c2ac
push ecx
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
cmp dword [0x44c2ac], 0x103
jne 0x41da0e
mov edx, dword [0x44c2b0]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x41da0e
mov eax, dword [0x44c2b0]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov ecx, dword [0x44c2b0]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
ret
Function at 0x41ebe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov esi, ecx
call fcn.004198e0
mov ebx, dword [sym.imp.KERNEL32.DLL_FindResourceW]
push 5
push edi
push esi
mov dword [ebp - 8], 0xffffffff
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x41ecb2
push 0xf0
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x41ec30
push eax
push esi
call edi
push eax
call ebx
mov eax, dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x41ec8f
push eax
call ebx
mov edi, eax
test edi, edi
je 0x41ec8f
push edi
call fcn.00412f20
add esp, 4
push 0
push 0x412bf0
push 0
mov ebx, eax
push ebx
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov esi, eax
test esi, esi
je 0x41ec72
cmp esi, 0xffffffff
jne 0x41ec7b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
cmp ebx, edi
je 0x41ec9b
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x41ec9b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x41eca9
push eax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4207c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x448050]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, ecx
mov esi, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x220]
push edx
xor edi, edi
or esi, 0x2001f
push esi
push edi
mov dword [ebp - 0x224], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x220], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x218]
mov ebx, eax
cmp ebx, edi
jne 0x420854
xor eax, eax
cmp ecx, edi
je 0x420836
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x220]
and esi, 0x300
mov ebx, eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], esi
cmp eax, edi
je 0x420874
cmp ecx, edi
je 0x42085f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00424761
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x230]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x20c]
push eax
push edi
push ecx
mov dword [ebp - 0x21c], 0x100
call esi
test eax, eax
jne 0x4208fc
jmp 0x4208b0
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.004207c0
mov ebx, eax
cmp ebx, edi
jne 0x420952
lea edx, [ebp - 0x230]
push edx
mov edx, dword [ebp - 0x218]
push edi
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push edi
push edx
mov dword [ebp - 0x21c], 0x100
call esi
test eax, eax
je 0x4208b0
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x420913
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x218], edi
mov ebx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x214], edi
call fcn.004209d0
mov esi, eax
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x42093d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00424761
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x420963
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00424761
mov esp, ebp
pop ebp
ret 4
Function at 0x421670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a176
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x448050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x418], edi
push 2
push edi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x424], esi
cmp esi, edi
jne 0x4216f0
call fcn.00411660
mov edi, eax
jmp 0x421809
mov eax, dword [ebp - 0x41c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
cmp ebx, edi
jne 0x42170f
call fcn.00411660
jmp 0x421800
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, edi
jne 0x42172b
call fcn.00411660
jmp 0x421800
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jae 0x42174c
mov edi, 0x8007000e
jmp 0x421802
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, edi
ja 0x421761
cmp eax, 0xffffffff
jbe 0x42176b
push 0x80070216
call fcn.00405490
cmp eax, 0x400
jbe 0x42179d
lea ecx, [ebp - 0x418]
push ecx
call fcn.0041fc40
jmp 0x4217a9
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
cmp eax, edi
jne 0x4217c1
mov edi, 0x8007000e
jmp 0x421802
push ebx
push eax
mov eax, dword [ebp - 0x420]
push ebx
push eax
push edi
push 3
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
cmp eax, edi
jne 0x4217df
call fcn.00411660
jmp 0x421800
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x418]
push eax
lea ecx, [ebp - 0x42c]
call fcn.004214d0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x421822
lea eax, [ebp - 0x418]
call fcn.0041fc30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00424761
mov esp, ebp
pop ebp
ret 0xc
Function at 0x422100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4395f4
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x448050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, 0xf
xor esi, esi
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], esi
mov byte [edi + 4], 0
mov dword [ebp - 4], esi
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], esi
mov byte [edi + 0x20], 0
mov dword [edi + 0x50], eax
mov dword [edi + 0x4c], esi
mov byte [edi + 0x3c], 0
mov dword [edi + 0x6c], eax
mov dword [edi + 0x68], esi
mov byte [edi + 0x58], 0
mov dword [edi + 0x88], eax
mov dword [edi + 0x84], esi
mov byte [edi + 0x74], 0
mov byte [ebp - 4], 4
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [edi + 0x9c], eax
mov byte [ebp - 4], 5
mov eax, 0x43ef1c
lea ecx, [edi + 4]
mov dword [edi], esi
call fcn.0040b1c0
mov eax, 0x43ef1c
lea ecx, [edi + 0x20]
call fcn.0040b1c0
mov eax, 0x43ef1c
lea ecx, [edi + 0x3c]
call fcn.0040b1c0
mov eax, 0x43ef1c
lea ecx, [edi + 0x58]
call fcn.0040b1c0
mov eax, 0x43ef1c
lea ecx, [edi + 0x74]
call fcn.0040b1c0
xor eax, eax
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4228b0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a2e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x448050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x42291e
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422908
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xfffffff0
call fcn.004054c0
add eax, 0x10
mov dword [ebp - 0x10], eax
push 2
push 0x441044
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00405390
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4229b0
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422974
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42299a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4229d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4229f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423200
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [0x44c2dc]
mov ecx, dword [eax]
push esi
mov esi, dword [ecx + 4]
push edi
mov edi, dword [0x44c09c]
test esi, esi
je 0x423247
push ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov ebx, dword [eax]
push 0xcc0020
push 0
push 0
push ebx
mov ebx, dword [eax + 8]
mov eax, dword [eax + 4]
push ebx
push eax
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [esi + 4]
test esi, esi
jne 0x423217
pop ebx
pop edi
pop esi
ret

Function at 0x4242d8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x44a7e0], 0
push esi
push edi
jne 0x42424e
call fcn.004241ba
test eax, eax
je 0x424293
mov eax, dword [0x44a7e0]
cmp eax, 1
jne 0x42426f
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x424293
jmp 0x4242d5
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4242d5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x424297
xor eax, eax
jmp 0x4242d5
mov eax, dword [esi]
push dword [0x44a7e0]
call edi
mov edi, eax
test edi, edi
je 0x4242b9
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, edi
jmp 0x4242d5
lea edi, [esi + 0xff0]
push esi
push dword [0x44a7e0]
call dword [sym.imp.KERNEL32.DLL_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4242bf
mov eax, esi
pop edi
pop esi
ret
jmp 0x42423a

Function at 0x424761
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x448050]
jne 0x42476b
repz ret
jmp fcn.0042709a
Function at 0x4331a4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x448050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0042a83e
and dword [ebp - 0x14], 0
cmp dword [0x44b604], 0
mov dword [ebp - 0x18], eax
jne 0x433257
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4332ff
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x43e0b0
push ebx
call edi
test eax, eax
je 0x4332ff
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44b604], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44b608], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44b60c], eax
call edi
push eax
call esi
mov dword [0x44b614], eax
test eax, eax
je 0x433257
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44b610], eax
mov eax, dword [0x44b610]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x4332b0
cmp dword [0x44b614], ecx
je 0x4332b0
push eax
call esi
push dword [0x44b614]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4332b0
test ebx, ebx
je 0x4332b0
call edi
test eax, eax
je 0x4332a7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4332a7
test byte [ebp - 8], 1
jne 0x4332b0
or dword [ebp + 0x10], 0x200000
jmp 0x4332e3
mov eax, dword [0x44b608]
cmp eax, dword [ebp - 0x18]
je 0x4332e3
push eax
call esi
test eax, eax
je 0x4332e3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4332e3
mov eax, dword [0x44b60c]
cmp eax, dword [ebp - 0x18]
je 0x4332e3
push eax
call esi
test eax, eax
je 0x4332e3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44b604]
call esi
test eax, eax
je 0x4332ff
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x433301
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424761
leave
ret

Function at 0x435210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x435280
mov eax, dword [ebp - 4]
test eax, eax
je 0x435280
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea ecx, [ebp - 8]
push ecx
push 0
push str.MachineGuid
push eax
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x435276
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x435340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4353a3
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x43537f
cmp eax, 2
jne 0x435391
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x43539f
test eax, eax
je 0x43539c
cmp byte [eax + esi - 1], 0
je 0x43539f
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc