joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e850
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi], 0x4139e0
mov dword [esi + 4], edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 0x234]
mov dword [esi + 0x20], eax
call fcn.00438e40
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov dword [ebp + 8], esi
mov edx, dword [eax + 0x5c]
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
cmp eax, edx
je 0x43e8c7
cmp dword [eax], esi
je 0x43e8c3
add eax, 4
cmp eax, edx
jne 0x43e8b8
cmp eax, edx
jne 0x43e8d0
lea eax, [ebp + 8]
push eax
call fcn.00439010
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, byte [0x4b827c]
lea ecx, [edi + 0x1e8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00443ba0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x43e940
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [edi], 0x4139e0
call fcn.00438e40
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
lea ecx, [eax + 0x54]
call fcn.00438ef0
mov esi, dword [edi + 0x10]
test esi, esi
je 0x43e9dc
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
jne 0x43e995
cmp edx, 0x7fffffff
jne 0x43e995
movsd xmm0, qword [0x4b27e8]
jmp 0x43e9a2
call fcn.0049125f
divsd xmm0, qword [0x414090]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm1
movsd qword [esp + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x10]
push eax
sub esp, 0xc
push 0
call fcn.0043ea80
add esp, 4
mov edx, esi
mov ecx, eax
call fcn.004439a0
add esp, 0xc
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 8], 0
je 0x43ea17
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x234]
cmp dword [edi + 0x20], eax
jne 0x43ea17
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x38]
mov eax, dword [edi + 8]
push ecx
mov edx, esp
mov dword [edi + 8], 0
mov dword [edx], eax
mov eax, dword [ecx]
push dword [edi + 0xc]
call dword [eax + 8]
call fcn.00438e40
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [edi + 4]
mov dword [esp + 0xc], eax
add ecx, 0x1e8
lea eax, [esp + 0xc]
push eax
call fcn.004425f0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 4]
push 0
push dword [eax + 0x1dc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x43ea5c
call fcn.0043c500
mov esi, dword [edi + 8]
test esi, esi
je 0x43ea73
mov ecx, esi
call fcn.004433a0
push esi
call fcn.0048d7cb
add esp, 4
mov dword [edi], 0x412f5c
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441570
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
jne 0x441595
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x1dc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x4415ea
push dword [edi + 0x1dc]
call esi
mov ebx, eax
mov esi, dword [ebx + 8]
test esi, esi
je 0x4415ea
mov edx, dword [ebp + 0xc]
cmp edx, dword [esi + 0x1808]
jne 0x4415ed
mov ecx, dword [ebp + 0x10]
movzx eax, cx
cmp eax, dword [ebx + 0xc]
jne 0x4415ed
mov eax, dword [ebp + 0x12]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, esi
je 0x4415ed
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
je 0x441609
cmp byte [esi + 4], 0
jne 0x441609
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0xc]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x208]
test ecx, ecx
je 0x441647
mov eax, dword [ebp + 0x10]
movzx eax, ax
cmp eax, dword [edi + 0x20c]
jne 0x441647
cmp edx, dword [ecx + 0x1808]
jne 0x44158a
mov eax, dword [ebp + 0x12]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x38]
push dword [ebp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4462e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x4462fe
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x446389
mov edi, dword [esp + 0x10]
test edi, edi
je 0x446389
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x446340
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x446348
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446350
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4463a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
jb 0x4463be
mov ecx, dword [ecx]
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x446449
mov edi, dword [esp + 0x10]
test edi, edi
je 0x446449
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x446400
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x446408
mov esi, dword [esi]
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446410
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4470ba
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
call fcn.0044708d
mov eax, dword [ebp + 8]
lea ebx, [esi + 0xc]
push ebx
push eax
mov dword [esi + 8], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esi], eax
test eax, eax
je 0x4471af
push edi
xor edi, edi
inc edi
cmp dword [ebx], edi
jle 0x44719e
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov eax, dword [esi]
push 0x401228
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x44710f
mov dword [esi + 4], 0x401138
jmp 0x447194
mov eax, dword [esi]
push 0x401244
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x447125
mov byte [esi + 0x14], 1
jmp 0x447194
mov eax, dword [esi]
push 0x401258
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x44713b
mov byte [esi + 0x15], 1
jmp 0x447194
mov eax, dword [esi]
push 0x401278
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x447151
mov byte [esi + 0x16], 1
jmp 0x447194
mov eax, dword [esi]
push 0x401298
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x447167
mov byte [esi + 0x17], 1
jmp 0x447194
mov eax, dword [esi]
push 0x4012b8
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x447180
mov dword [esi + 0x10], 1
jmp 0x447194
mov eax, dword [esi]
push 0x4012cc
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x447194
mov byte [esi + 0x18], 1
inc edi
cmp edi, dword [esi + 0xc]
jl 0x4470f3
cmp byte [esi + 0x16], 0
pop edi
jne 0x4471af
cmp byte [esi + 0x15], 0
sete al
mov byte [esi + 0x14], al
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ebx
pop ebp
ret 4

Function at 0x447356
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b2e84]
sub esp, 0x208
push ebx
xor ebx, ebx
push esi
test eax, eax
jne 0x4473db
push 0x206
lea eax, [ebp - 0x206]
push ebx
push eax
call fcn.00448cc7
add esp, 0xc
mov esi, ebx
xor eax, eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x208]
push 0x104
push eax
push dword [esi + 0x4012fc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x103
ja 0x4473c3
push 8
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x4b2e84], eax
jmp 0x4473c8
mov eax, dword [0x4b2e84]
test eax, eax
jne 0x4473db
add esi, 4
cmp esi, 0xc
jb 0x447383
mov eax, dword [0x4b2e90]
jmp 0x447412
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4013d0
push eax
call esi
push 0x4013dc
push dword [0x4b2e84]
mov dword [0x4b2e88], eax
call esi
push 0x4013e8
push dword [0x4b2e84]
mov dword [0x4b2e8c], eax
call esi
mov dword [0x4b2e90], eax
cmp dword [0x4b2e88], ebx
je 0x447429
cmp dword [0x4b2e8c], ebx
je 0x447429
test eax, eax
je 0x447429
xor ebx, ebx
inc ebx
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447751
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
mov edi, 0x104
push edi
push esi
call fcn.00448ddd
add esp, 0xc
test al, al
je 0x447800
push 0x4016bc
push edi
push esi
call fcn.00448db5
add esp, 0xc
test al, al
je 0x447800
push edi
push esi
call fcn.00448e18
mov ebx, eax
sub edi, ebx
pop ecx
pop ecx
cmp edi, 0xb
jb 0x447800
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
shr ecx, 0xc
xor eax, ecx
lea ecx, [esi + ebx*2]
push 0xa
mov dword [ebp + 0xc], eax
pop eax
push edi
dec eax
push ecx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push 4
push eax
call fcn.00448d5a
add esp, 0x10
test al, al
je 0x447800
lea eax, [ebx + 5]
mov ecx, esi
push eax
call fcn.00448caa
push 0x4014d0
push 0x104
push esi
call fcn.00448db5
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x447809
inc dword [ebp + 0xc]
lea ecx, [esi + ebx*2]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4477b0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x412f48
push 0x104
push esi
call fcn.00448db5
add esp, 0xc
jmp 0x447802

Function at 0x44781e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push ebx
push dword [ebp + 8]
xor eax, eax
mov ebx, 0x104
mov word [ebp - 0x254], ax
mov word [ebp - 0x45c], ax
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00448ddd
add esp, 0xc
test al, al
je 0x44795c
push dword [ebp + 0xc]
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00448db5
add esp, 0xc
test al, al
je 0x44795c
push 0x4014e8
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.00448db5
add esp, 0xc
test al, al
je 0x44795c
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x24c]
push 0x24c
push esi
push eax
mov dword [ebp - 0x250], esi
call fcn.00448cc7
add esp, 0xc
lea eax, [ebp - 0x250]
push esi
push esi
push 1
push eax
push esi
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44795a
xor eax, eax
mov word [ebp - 0x460], ax
mov word [ebp - 0x668], ax
test byte [ebp - 0x250], 0x10
je 0x447941
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea esi, [ebp - 0x1c]
cmove esi, eax
push esi
call fcn.00447bba
pop ecx
test al, al
jne 0x447941
push dword [ebp + 8]
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.00448ddd
add esp, 0xc
test al, al
je 0x447941
push esi
lea eax, [ebp - 0x668]
push ebx
push eax
call fcn.00448db5
add esp, 0xc
test al, al
je 0x447941
lea eax, [ebp - 0x668]
push eax
call fcn.00447e4c
pop ecx
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4478e3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447961
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.00418f70
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d0a0
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00419f60
push 0x401614
lea ecx, [ebp - 0x30]
call fcn.00418f70
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d4c0
mov ecx, eax
call fcn.0041d6a0
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d0f0
lea ecx, [ebp - 0x48]
call fcn.00419080
lea ecx, [ebp - 0x60]
call fcn.00419080
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00419f60
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [ebp - 0x18]
push eax
call esi
push dword [ebp + 0xc]
call esi
push dword [ebp + 0x10]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x18]
call fcn.00419080
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x447a0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor eax, eax
push esi
mov word [ebp - 4], ax
mov esi, 0x104
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x447a5c
cmp eax, esi
jae 0x447a5c
xor esi, esi
push dword [esi + 0x4014f0]
lea eax, [ebp - 0x20c]
push eax
call fcn.0044781e
add esi, 4
pop ecx
pop ecx
cmp esi, 8
jb 0x447a40
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x447e4c
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x104
push ebx
push esi
call fcn.00448e18
push 0x4014dc
push ebx
push esi
mov dword [ebp + 8], eax
call fcn.00448db5
add esp, 0x14
test al, al
je 0x447f31
and dword [ebp - 0x250], 0
lea eax, [ebp - 0x24c]
push edi
push 0x24c
push 0
push eax
call fcn.00448cc7
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x447f1f
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea ebx, [ebp - 0x1c]
cmove ebx, eax
push ebx
call fcn.00447bba
pop ecx
test al, al
jne 0x447f06
mov eax, dword [ebp + 8]
mov ecx, esi
inc eax
push eax
call fcn.00448caa
push ebx
push 0x104
push esi
call fcn.00448db5
add esp, 0xc
test al, al
je 0x447f06
test byte [ebp - 0x250], 0x10
push esi
je 0x447f00
call fcn.00447e4c
pop ecx
jmp 0x447f06
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x447eb3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
mov ecx, esi
call fcn.00448caa
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447f7a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push 0x40
xor ebx, ebx
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.00448cc7
add esp, 0xc
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x447fc7
xor al, al
jmp 0x448008
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x447fe5
xor bl, bl
jmp 0x447ffd
cmp dword [ebp + 0x10], 0
je 0x447ffd
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
neg eax
sbb al, al
and bl, al
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448fa4
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x448fbe
xor al, al
jmp 0x44902e
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x448fd0
xor al, al
jmp 0x44902d
push ebx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44901d
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x449021
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x44902c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44bc15
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 0x401938
lea ecx, [ebp - 0x18]
call fcn.00418f70
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.004236a0
push dword [esi]
call fcn.00422500
pop ecx
test al, al
je 0x44bc68
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44bc68
mov bl, 1
jmp 0x44bc6a
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.00419f60
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c572
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor ebx, ebx
push edi
push 0x60
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x40c], ebx
call esi
mov edi, eax
test edi, edi
jne 0x44c5ba
push 2
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jne 0x44c5ba
call fcn.0044aca5
mov esi, eax
jmp 0x44c652
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x44c5d4
call fcn.0044aca5
jmp 0x44c645
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44c5cd
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x44c5fa
mov esi, 0x8007000e
jmp 0x44c647
push eax
lea ecx, [ebp - 0x40c]
call fcn.0044a7b3
cmp dword [ebp - 0x40c], 0
je 0x44c5f3
push esi
push dword [ebp - 0x40c]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x44c5cd
mov eax, dword [ebp - 0x40c]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 8]
push dword [ebp - 0x40c]
call fcn.0044c464
mov esi, eax
test edi, edi
je 0x44c652
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x44c66b
lea ecx, [ebp - 0x40c]
call fcn.0044b333
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44dcde
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x44dcf1
push 0xd
pop eax
jmp 0x44dd35
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x44dd04
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x44dcfc
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44dd3c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x44dd4e
push 0xd
pop eax
jmp 0x44dd80
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x44dd57
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x44f2d8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], edi
push eax
push ebx
movdqu xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ecx
push eax
push edi
mov dword [ebp - 4], esi
call ebx
push eax
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xe
push esi
push 0x318
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
movdqu xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x1c]
mov edi, eax
sub ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push ecx
push eax
push esi
mov dword [ebp - 8], edi
call ebx
push eax
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [ebp - 0x28]
mov ebx, eax
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x48]
push 2
push eax
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
push 0xcc0020
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push esi
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push edi
push edi
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 8]
test eax, eax
je 0x44f3f9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x44f406
push edi
call ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44f414
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x44f41b
push esi
call ebx
lea ecx, [ebp - 0x18]
call fcn.0044ee84
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret