joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413a00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552a5e
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], edx
mov esi, ecx
mov edx, 0x58d39c
lea ecx, [ebp - 0x58]
xor bl, bl
call fcn.0040e950
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x413a4e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x413a73
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
test edi, edi
jne 0x413b27
mov edx, 0x58d3b0
lea ecx, [ebp - 0x58]
call fcn.0040e950
mov esi, eax
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x413aad
mov esi, dword [esi]
mov eax, dword [0x618d28]
test eax, eax
jne 0x413ad7
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00409ee0
mov byte [ebp - 4], 1
mov dword [0x618d28], eax
push esi
push str.error_LoadLibrary__S_
push 0x5e9
push 0x58d3dc
push 1
push eax
call fcn.0040a3e0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x413b0e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jmp 0x413bf6
push dword [ebp - 0x5c]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x413b81
mov eax, dword [0x618d28]
test eax, eax
jne 0x413b65
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 3
mov ecx, eax
call fcn.00409ee0
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], eax
push str.error_GetProcAddress
push 0x5f0
push 0x58d404
push 1
push eax
call fcn.0040a3e0
add esp, 0x14
jmp 0x413bef
lea ecx, [ebp - 0x40]
push ecx
call eax
mov dword [ebp - 0x30], 0x310030
xor edx, edx
mov dword [ebp - 0x2c], 0x330032
mov dword [ebp - 0x28], 0x350034
mov dword [ebp - 0x24], 0x370036
mov dword [ebp - 0x20], 0x390038
mov dword [ebp - 0x1c], 0x420041
mov dword [ebp - 0x18], 0x440043
mov dword [ebp - 0x14], 0x460045
movzx ecx, byte [ebp + edx - 0x40]
mov eax, ecx
shr ecx, 4
and eax, 0xf
movzx eax, word [ebp + eax*2 - 0x30]
mov word [esi + edx*4], ax
movzx eax, word [ebp + ecx*2 - 0x30]
mov word [esi + edx*4 + 2], ax
inc edx
cmp edx, 0x10
jl 0x413bc1
xor eax, eax
mov bl, 1
mov word [esi + 0x40], ax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4141f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552b18
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffW]
xor esi, esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4142c4
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4142bd
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
push 0x104
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4142af
inc esi
lea eax, [ebp - 0x444]
push eax
push edi
call ebx
test eax, eax
jne 0x414284
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
test esi, esi
setg bl
cmp eax, 8
jb 0x4142e7
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00404be0
xor eax, eax
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, ebx
mov dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x4164a0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
mov dword [ebp - 8], esi
cmp ebx, esi
je 0x4164da
push 1
push esi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [ebp - 4], edi
je 0x41650d
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [ebp - 8]
cmp ebx, esi
je 0x41651b
push 0
push esi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416530
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
je 0x4165d0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416542
sub ecx, edx
je 0x4165d0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4165d0
push ebx
push edi
mov edi, esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x416564
sub edi, ecx
inc edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov ebx, eax
push 0
push ebx
call fcn.0052d340
add esp, 0xc
sub ebx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ebx + esi - 1], al
test al, al
jne 0x416597
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4172c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov dword [ebp - 0x1c], edi
nop
movzx eax, byte [edi + ecx]
mov byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [edi + ecx + 4]
mov byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [edi + ecx + 8]
mov byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [edi + ecx + 0xc]
mov byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jl 0x4172e0
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov esi, 4
lea edx, [edi + 0x208]
nop word [eax + eax]
movzx eax, byte [edx - 4]
lea edx, [edx + 1]
xor byte [ecx - 4], al
lea ecx, [ecx + 1]
movzx eax, byte [edx - 1]
xor byte [ecx - 1], al
movzx eax, byte [edx + 3]
xor byte [ecx + 3], al
movzx eax, byte [edx + 7]
xor byte [ecx + 7], al
sub esi, 1
jne 0x417320
lea ebx, [esi + 1]
lea esi, [edi + 0x218]
xor ecx, ecx
movzx eax, byte [ebp + ecx*4 - 0x14]
movzx eax, byte [eax + edi + 4]
mov byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [ebp + ecx*4 - 0x13]
movzx eax, byte [eax + edi + 4]
mov byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [ebp + ecx*4 - 0x12]
movzx eax, byte [eax + edi + 4]
mov byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [ebp + ecx*4 - 0x11]
movzx eax, byte [eax + edi + 4]
mov byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jl 0x417352
lea eax, [ebp - 0x14]
push eax
call fcn.00417700
cmp ebx, 0xa
je 0x4173a7
lea eax, [ebp - 0x14]
push eax
call fcn.00417790
xor eax, eax
nop dword [eax]
movzx ecx, byte [esi + eax - 4]
xor byte [ebp + eax - 0x14], cl
movzx ecx, byte [esi + eax]
xor byte [ebp + eax - 0x10], cl
movzx ecx, byte [esi + eax + 4]
xor byte [ebp + eax - 0xc], cl
movzx ecx, byte [esi + eax + 8]
xor byte [ebp + eax - 8], cl
inc eax
cmp eax, 4
jl 0x4173b0
inc ebx
add esi, 0x10
cmp ebx, 0xa
jle 0x417350
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x14]
xor edx, edx
lea ebx, [ebp - 0x12]
movzx eax, byte [edi + edx*4]
movzx ecx, byte [ebx + edx*4]
mov byte [esi + edx], al
movzx eax, byte [ebp + edx*4 - 0x13]
mov byte [esi + edx + 4], al
lea eax, [ebp - 0x11]
mov byte [esi + edx + 8], cl
movzx ecx, byte [eax + edx*4]
mov byte [esi + edx + 0xc], cl
inc edx
cmp edx, 4
jl 0x4173f1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4
Function at 0x417430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ebx
nop
movzx eax, byte [ebx + ecx]
mov byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [ebx + ecx + 4]
mov byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [ebx + ecx + 8]
mov byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [ebx + ecx + 0xc]
mov byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jl 0x417450
push esi
push edi
lea ecx, [ebp - 0x10]
add edx, 0x2a8
mov esi, 4
nop dword [eax]
movzx eax, byte [edx - 4]
lea edx, [edx + 1]
xor byte [ecx - 4], al
lea ecx, [ecx + 1]
movzx eax, byte [edx - 1]
xor byte [ecx - 1], al
movzx eax, byte [edx + 3]
xor byte [ecx + 3], al
movzx eax, byte [edx + 7]
xor byte [ecx + 7], al
sub esi, 1
jne 0x417490
mov ebx, dword [ebp - 0x18]
lea edi, [esi + 9]
lea esi, [ebx + 0x298]
lea eax, [ebp - 0x14]
push eax
call fcn.004178d0
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00417870
xor eax, eax
nop dword [eax]
movzx ecx, byte [esi + eax - 4]
xor byte [ebp + eax - 0x14], cl
movzx ecx, byte [esi + eax]
xor byte [ebp + eax - 0x10], cl
movzx ecx, byte [esi + eax + 4]
xor byte [ebp + eax - 0xc], cl
movzx ecx, byte [esi + eax + 8]
xor byte [ebp + eax - 8], cl
inc eax
cmp eax, 4
jl 0x4174e0
test edi, edi
je 0x417516
lea eax, [ebp - 0x14]
push eax
call fcn.00417970
sub esi, 0x10
sub edi, 1
jns 0x4174c3
mov ebx, dword [ebp - 0x1c]
xor edx, edx
pop edi
pop esi
nop word [eax + eax]
movzx eax, byte [ebp + edx*4 - 0x14]
movzx ecx, byte [ebp + edx*4 - 0x12]
mov byte [ebx + edx], al
movzx eax, byte [ebp + edx*4 - 0x13]
mov byte [ebx + edx + 8], cl
movzx ecx, byte [ebp + edx*4 - 0x11]
mov byte [ebx + edx + 4], al
mov byte [ebx + edx + 0xc], cl
inc edx
cmp edx, 4
jl 0x417530
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4
Function at 0x417f60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5531a2
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0
mov ebx, dword [ebp + 0xc]
movups xmmword [ebp - 0x8c], xmm0
mov dword [ecx + 0x14], 0xf
movups xmmword [ebp - 0x7c], xmm0
mov dword [ecx + 0x10], 0
movaps xmm0, xmmword [0x5dd530]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x9c], ecx
movaps xmm0, xmmword [0x5dd480]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x1c], 0x2c2b2a29
movaps xmm0, xmmword [0x5dd4f0]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x18], 0x302f2e2d
movaps xmm0, xmmword [0x5dd490]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x14], 0x3231
movaps xmm0, xmmword [0x5dd520]
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x12], 0x33
mov byte [ecx], 0
mov dword [ebp - 4], 0
xor edx, edx
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x94], edx
cmp dword [ebp + 8], edx
jle 0x418103
mov al, byte [esi]
cmp al, 0xd
je 0x4180ec
cmp al, 0xa
je 0x4180ec
movsx eax, al
movsx edi, byte [ebp + eax - 0x8c]
movsx eax, byte [esi + 1]
add esi, 2
shl edi, 0x12
movsx eax, byte [ebp + eax - 0x8c]
shl eax, 0xc
add edi, eax
mov eax, edi
sar eax, 0x10
push eax
push 1
call fcn.00409360
inc dword [ebx]
mov al, byte [esi]
cmp al, 0x3d
je 0x4180d9
mov ecx, dword [ebp - 0x90]
inc esi
movsx eax, al
movsx eax, byte [ebp + eax - 0x8c]
shl eax, 6
add edi, eax
mov eax, edi
sar eax, 8
push eax
push 1
call fcn.00409360
inc dword [ebx]
mov al, byte [esi]
cmp al, 0x3d
je 0x4180d9
mov ecx, dword [ebp - 0x90]
inc esi
movsx eax, al
movsx eax, byte [ebp + eax - 0x8c]
add edi, eax
push edi
push 1
call fcn.00409360
inc dword [ebx]
mov ecx, dword [ebp - 0x90]
mov eax, 4
mov edx, dword [ebp - 0x94]
jmp 0x4180f2
inc esi
mov eax, 1
add edx, eax
mov dword [ebp - 0x94], edx
cmp edx, dword [ebp + 8]
jl 0x418046
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret
Function at 0x41dee0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554516
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
lea ecx, [edx + 4]
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
mov dword [ebp - 4], eax
xor esi, esi
mov dword [edx + 0x30], 7
mov dword [edx + 0x2c], eax
mov word [edx + 0x1c], si
mov byte [ebp - 4], 1
mov dword [edx + 0x48], 7
mov dword [edx + 0x44], esi
mov word [edx + 0x34], si
mov byte [ebp - 4], 2
mov dword [edx + 0x60], 7
mov dword [edx + 0x5c], esi
mov word [edx + 0x4c], si
mov byte [ebp - 4], 3
mov dword [edx + 0x78], 7
mov dword [edx + 0x74], esi
mov word [edx + 0x64], si
mov byte [ebp - 4], 4
mov dword [edx + 0x90], 7
mov dword [edx + 0x8c], esi
mov word [edx + 0x7c], si
mov byte [ebp - 4], 5
mov dword [edx + 0xa8], 7
mov dword [edx + 0xa4], esi
mov word [edx + 0x94], si
mov byte [ebp - 4], 6
mov dword [edx + 0xc0], 7
mov dword [edx + 0xbc], esi
mov word [edx + 0xac], si
mov byte [ebp - 4], 7
mov dword [edx + 0xd8], 7
mov dword [edx + 0xd4], esi
mov word [edx + 0xc4], si
mov byte [ebp - 4], 8
lea ebx, [edx + 0xdc]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], esi
mov word [ebx], ax
mov byte [ebp - 4], 9
lea edi, [edx + 0xf8]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
mov word [edi], ax
mov byte [ebp - 4], 0xa
lea esi, [edx + 0x110]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
mov byte [ebp - 4], 0xb
push eax
push 0x5d6a28
mov dword [edx], 0xffffffff
call fcn.00404d30
mov ecx, dword [ebp - 0x10]
push 0
push 0x5d6a28
lea ecx, [ecx + 0x1c]
call fcn.00404d30
mov ecx, dword [ebp - 0x10]
push 0
push 0x5d6a28
lea ecx, [ecx + 0x34]
call fcn.00404d30
push 0
mov ecx, dword [ebp - 0x10]
push 0x5d6a28
lea ecx, [ecx + 0x4c]
call fcn.00404d30
mov ecx, dword [ebp - 0x10]
push 0
push 0x5d6a28
lea ecx, [ecx + 0x64]
call fcn.00404d30
mov ecx, dword [ebp - 0x10]
push 0
push 0x5d6a28
lea ecx, [ecx + 0x7c]
call fcn.00404d30
mov ecx, dword [ebp - 0x10]
push 0
push 0x5d6a28
lea ecx, [ecx + 0x94]
call fcn.00404d30
mov ecx, dword [ebp - 0x10]
push 0
push 0x5d6a28
lea ecx, [ecx + 0xac]
call fcn.00404d30
mov ecx, dword [ebp - 0x10]
push 0
push 0x5d6a28
lea ecx, [ecx + 0xc4]
call fcn.00404d30
push 0
push 0x5d6a28
mov ecx, ebx
call fcn.00404d30
push 0
push 0x5d6a28
mov ecx, edi
call fcn.00404d30
push 0
push 0x5d6a28
mov ecx, esi
call fcn.00404d30
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xf4], 0
mov dword [ebp - 4], 0xffffffff
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 0x424500
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5555dc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x61308c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CDownloadThread.0
mov dword [ebp - 4], 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x424551
push eax
push 0
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x18], 0
lea ebx, [edi + 0x2c]
mov ecx, ebx
call fcn.00425d30
mov byte [ebp - 4], 3
lea eax, [edi + 0x3c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [ebp - 4], 2
lea esi, [edi + 0x34]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.00425b70
mov byte [ebp - 4], 2
push dword [esi]
call fcn.0051209c
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 8
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov dword [ebx + 4], 0
cmp ecx, dword [ebx]
je 0x4245d1
nop dword [eax]
mov esi, dword [ecx]
push ecx
call fcn.0051209c
add esp, 4
mov ecx, esi
cmp esi, dword [ebx]
jne 0x4245c0
mov byte [ebp - 4], 1
push dword [ebx]
call fcn.0051209c
add esp, 4
mov byte [ebp - 4], 0
lea esi, [edi + 0x24]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xb
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00425b70
mov byte [ebp - 4], 0
push dword [esi]
call fcn.0051209c
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], vtable.base_thread.0
test eax, eax
je 0x42462f
push eax
call esi
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x424640
push eax
call esi
mov dword [edi + 0x10], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x42465e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, 1
jne 0x42465e
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
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 0x4266a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push str.Global029E1EB6_7A55_4fd7_8815_105B2087C1FAdtl2013
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x61e008], eax
test eax, eax
jne 0x4266e8
push str.Global029E1EB6_7A55_4fd7_8815_105B2087C1FAdtl2013
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x61e008], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x426730
cmp eax, 5
je 0x426730
mov al, 1
pop ebp
ret 0x10
cmp byte [ebp + 0x14], 0
jne 0x426730
push esi
push 0
push 0x58fac0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x42672f
push esi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
jne 0x42672f
push eax
push 0xf120
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop esi
xor al, al
pop ebp
ret 0x10
Function at 0x42a320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556036
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x61308c]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x42a3cc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x42a3cc
call fcn.00428570
mov edi, eax
jmp 0x42a501
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42a3ef
call fcn.00428570
jmp 0x42a4f4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x42a40d
call fcn.00428570
jmp 0x42a4f4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x42a42e
mov edi, 0x8007000e
jmp 0x42a4f6
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], edx
test edx, edx
jne 0x42a47f
cmp eax, 0xffffffff
ja 0x42a47f
cmp eax, 0x400
jbe 0x42a46a
push eax
lea ecx, [ebp - 0x418]
call fcn.00428540
mov dword [ebp - 4], 1
jmp 0x42a4a8
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x42a4a8
push 0x80070216
call fcn.00429280
mov eax, 0x42a48f
ret
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x42a4b9
mov edi, 0x8007000e
jmp 0x42a4f6
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x42a4d4
call fcn.00428570
jmp 0x42a4f4
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.0042a1c0
mov edi, eax
test esi, esi
je 0x42a501
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x42a51e
lea ecx, [ebp - 0x418]
call fcn.00428520
mov dword [ebp - 4], 0xffffffff
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.005120a1
mov esp, ebp
pop ebp
ret 0x10