joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4df6f0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x78]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, 1
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x20]
call fcn.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x4df85b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4df7f6
lea eax, [ebp - 0x40]
call fcn.00403db0
lea eax, [ebp - 0x44]
call fcn.00403db0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
lea eax, [ebp - 0x44]
call fcn.00471d00
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00408f80
lea eax, [ebp - 0x44]
call fcn.00403db0
lea eax, [ebp - 0x54]
call fcn.00403db0
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x10]
call fcn.00471cb0
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x44]
call fcn.00408f80
call fcn.004722f0
mov ebx, eax
mov eax, str._DataSize
push eax
push dword [ebp - 0x40]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x44]
mov edx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov eax, ebx
call fcn.00473780
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4df85b
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
mov eax, 1
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x60]
call fcn.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x4df839
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
call fcn.0040e3b0
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalUnlock
pop eax
test eax, eax
je 0x4df850
call fcn.0040e4e0
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
call fcn.0040e3b0
lea eax, [ebp - 0x54]
call fcn.00403db0
lea eax, [ebp - 0x44]
call fcn.00403db0
lea eax, [ebp - 0x40]
call fcn.00403db0
pop eax
test eax, eax
je 0x4df882
call fcn.0040e4e0
pop ebx
leave
ret
Function at 0x54d440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov ebx, edx
mov esi, ecx
cmp ebx, esi
jl 0x54d4ab
sub esi, 1
lea esi, [esi]
add esi, 1
push dword [ebp - 8]
push esi
mov ecx, esi
mov eax, ecx
sar eax, 0x1f
mov edx, eax
mov eax, ecx
xor eax, edx
sub eax, edx
and eax, 0x1f
mov ecx, edx
xor ecx, eax
mov eax, ecx
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 4]
push dword [eax + edx*4]
push edi
mov ecx, esi
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0054c9e0
cmp ebx, esi
jg 0x54d470
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x56c0c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0
mov eax, 1
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x1c]
call fcn.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x56c151
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040af50
cmp dword [ebp - 0xc], 0
jle 0x56c130
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x56c124
mov eax, 0x7722e0
push eax
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040af50
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
call fcn.0040b7e0
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 8]
call fcn.0042dc60
call fcn.0040e3b0
lea eax, [ebp - 0x3c]
call fcn.0040b5c0
lea eax, [ebp - 0x10]
call fcn.0040a890
pop eax
test eax, eax
je 0x56c170
call fcn.0040e4e0
leave
ret
Function at 0x634190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x3c]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040d430
mov eax, 1
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x63433f
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call dword [edx + 0x30]
test al, al
je 0x6341f2
push esi
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x28]
jmp 0x63433f
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x34], eax
mov edi, edx
mov eax, esi
test esi, esi
je 0x63429c
sub eax, 1
je 0x634306
sub eax, 1
je 0x63422a
sub eax, 1
je 0x634264
sub eax, 1
je 0x6342d0
jmp 0x63433f
mov edx, dword [ebp - 0x38]
lea eax, [edx - 1]
mov ebx, eax
mov esi, 0
cmp ebx, esi
jl 0x63433f
sub esi, 1
mov esi, esi
add esi, 1
mov eax, edi
mov edx, dword [ebp - 0x34]
call edx
push eax
mov eax, dword [ebp - 0x3c]
call fcn.00635190
add dword [ebp - 0x3c], 4
cmp ebx, esi
jg 0x634244
jmp 0x63433f
mov edx, dword [ebp - 0x38]
lea eax, [edx - 1]
mov ebx, eax
mov esi, 0
cmp ebx, esi
jl 0x63433f
sub esi, 1
add esi, 1
mov eax, edi
mov edx, dword [ebp - 0x34]
call edx
push eax
mov eax, dword [ebp - 0x3c]
call fcn.00634bd0
add dword [ebp - 0x3c], 4
cmp ebx, esi
jg 0x63427c
jmp 0x63433f
mov eax, dword [ebp - 0x38]
lea edx, [eax - 1]
mov ebx, edx
mov esi, 0
cmp ebx, esi
jl 0x63433f
sub esi, 1
add esi, 1
mov eax, edi
mov edx, dword [ebp - 0x34]
call edx
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
add dword [ebp - 0x3c], 4
cmp ebx, esi
jg 0x6342b4
jmp 0x63433f
mov eax, dword [ebp - 0x38]
lea edx, [eax - 1]
mov ebx, edx
mov esi, 0
cmp ebx, esi
jl 0x63433f
sub esi, 1
add esi, 1
mov eax, edi
mov edx, dword [ebp - 0x34]
call edx
mov edx, eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
xor edx, ecx
mov eax, dword [ebp - 0x3c]
mov dword [eax], edx
add dword [ebp - 0x3c], 4
cmp ebx, esi
jg 0x6342e4
jmp 0x63433f
mov eax, dword [ebp - 0x38]
lea edx, [eax - 1]
mov ebx, edx
mov esi, 0
cmp ebx, esi
jl 0x63433f
sub esi, 1
mov esi, esi
add esi, 1
mov eax, edi
mov edx, dword [ebp - 0x34]
call edx
mov dword [ebp - 8], eax
cmp byte [ebp - 5], 0xff
jne 0x634337
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
mov dword [eax], edx
add dword [ebp - 0x3c], 4
cmp ebx, esi
jg 0x63431c
call fcn.0040e3b0
lea eax, [ebp - 4]
call fcn.0040d410
pop eax
test eax, eax
je 0x634356
call fcn.0040e4e0
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x6349c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov edi, edx
mov esi, ecx
mov edx, dword [ebp + 0xc]
mov al, byte [ebp + 8]
mov byte [ebp - 0xc], al
test edx, edx
je 0x634a03
sub edx, 1
je 0x634a32
sub edx, 1
je 0x634b15
sub edx, 1
je 0x634ab0
sub edx, 1
je 0x634b76
jmp 0x634bc0
cmp byte [ebp - 0xc], 0xff
je 0x634a1c
push esi
mov cl, byte [ebp - 0xc]
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00634c40
jmp 0x634bc0
mov eax, esi
shl eax, 2
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004036c0
jmp 0x634bc0
cmp byte [ebp - 0xc], 0xff
je 0x634a7f
lea eax, [esi - 1]
mov ebx, eax
test eax, eax
jl 0x634bc0
add ebx, 1
sub ebx, 1
cmp byte [edi + 3], 0xff
jne 0x634a6f
mov eax, dword [edi]
mov dword [ebp - 4], eax
mov al, byte [ebp - 1]
mov dl, byte [ebp - 0xc]
call fcn.00634c90
mov byte [ebp - 1], al
push dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00635190
add dword [ebp - 8], 4
add edi, 4
test ebx, ebx
jg 0x634a48
jmp 0x634bc0
lea eax, [esi - 1]
mov ebx, eax
test eax, eax
jl 0x634bc0
add ebx, 1
nop
sub ebx, 1
cmp byte [edi + 3], 0xff
jne 0x634aa0
mov eax, dword [edi]
mov edx, dword [ebp - 8]
mov dword [edx], eax
add dword [ebp - 8], 4
add edi, 4
test ebx, ebx
jg 0x634a90
jmp 0x634bc0
cmp byte [ebp - 0xc], 0xff
je 0x634ae8
lea eax, [esi - 1]
mov ebx, eax
test eax, eax
jl 0x634bc0
add ebx, 1
mov esi, esi
sub ebx, 1
push dword [edi]
mov dl, byte [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00634c00
add dword [ebp - 8], 4
add edi, 4
test ebx, ebx
jg 0x634ac8
jmp 0x634bc0
lea eax, [esi - 1]
mov ebx, eax
test eax, eax
jl 0x634bc0
add ebx, 1
sub ebx, 1
push dword [edi]
mov eax, dword [ebp - 8]
call fcn.00634bd0
add dword [ebp - 8], 4
add edi, 4
test ebx, ebx
jg 0x634af8
jmp 0x634bc0
cmp byte [ebp - 0xc], 0xff
je 0x634b4c
lea eax, [esi - 1]
mov ebx, eax
test eax, eax
jl 0x634bc0
add ebx, 1
nop
sub ebx, 1
push dword [edi]
mov dl, byte [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006353c0
add dword [ebp - 8], 4
add edi, 4
test ebx, ebx
jg 0x634b2c
jmp 0x634bc0
lea eax, [esi - 1]
mov ebx, eax
test eax, eax
jl 0x634bc0
add ebx, 1
sub ebx, 1
push dword [edi]
mov eax, dword [ebp - 8]
call fcn.00635190
add dword [ebp - 8], 4
add edi, 4
test ebx, ebx
jg 0x634b5c
jmp 0x634bc0
cmp byte [ebp - 0xc], 0xff
je 0x634bb4
lea eax, [esi - 1]
mov ebx, eax
test eax, eax
jl 0x634bc0
add ebx, 1
sub ebx, 1
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [edi]
xor ecx, edx
lea eax, [ebp - 4]
mov dword [eax], ecx
push dword [ebp - 4]
mov dl, byte [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006353c0
add dword [ebp - 8], 4
add edi, 4
test ebx, ebx
jg 0x634b88
jmp 0x634bc0
mov ecx, esi
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00634360
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x68a140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov dword [0xa445c624], eax
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.00689d58
push eax
push esi
push dword [ebp + 8]
call fcn.00689d0d
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00689d58
push eax
push esi
push dword [ebp + 8]
call fcn.00689d0d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00689d48
sub dword [ecx + ecx*2 + 0x7c9d886e], edi
invalid
Function at 0x68a5d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [esi + eax*8 - 0x7b]
mov ebp, 0x55fffffc
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00689d58
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00689d0d
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00689d58
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00689d0d
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], pe_nt_image_headers32
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00689d58
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00689d0d
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00689d48
out dx, eax
cmc
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
invalid
test edx, ebx
cli

Function at 0x68bcf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffffc5c
add byte [ebx + esi - 0x73], dh
test esp, ebp
clc
invalid
Function at 0x696520
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc8]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov eax, 1
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0xa0]
call fcn.0040e130
call fcn.0040fdf0
push eax
test eax, eax
jne 0x69668d
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
jne 0x69668d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x52c]
call fcn.00539c60
lea eax, [ebp - 0x8c]
push eax
push 0x81
call sub.kernel32.dll_GetLogicalDriveStringsA
mov dword [ebp - 8], eax
test eax, eax
je 0x69668d
cmp dword [ebp - 8], 0x81
ja 0x69668d
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], eax
jmp 0x69667e
push dword [ebp - 0x90]
lea ecx, [ebp - 0xc4]
mov eax, dword [ebp - 0x90]
mov dx, 0
call fcn.004098a0
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0xc0]
call fcn.00446330
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x52c]
mov edx, 0
call fcn.00539e40
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0x90]
mov dx, 0
call fcn.004098a0
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc4]
call fcn.00446330
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x94]
add eax, 0x74
call fcn.00408f80
mov eax, dword [ebp - 0x94]
mov dword [eax + 0x70], 0x16
mov edx, 0
mov eax, dword [ebp - 0x94]
call fcn.006952e0
mov eax, dword [ebp - 0x94]
mov dl, 1
call fcn.00537e30
add dword [ebp - 0x90], 4
mov eax, dword [ebp - 0x90]
cmp byte [eax], 0
jne 0x6965c8
call fcn.0040e3b0
lea eax, [ebp - 0xc8]
call fcn.00403db0
lea eax, [ebp - 0xc4]
call fcn.00403db0
lea eax, [ebp - 0xc0]
call fcn.00403db0
pop eax
test eax, eax
je 0x6966bd
call fcn.0040e4e0
leave
ret
Function at 0x10001960
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
je 0x10001ab8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
xorps xmm0, xmm0
push eax
push edi
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10001ab1
mov ebx, 1
nop
cmp dword [ebp - 0x20], 0x10
jb 0x10001a44
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10001a44
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10001a44
mov edx, dword [esi]
test edx, edx
jne 0x10001a09
push 0x200
push 8
push dword [0x10049268]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10001a69
lea edi, [esi + 8]
jmp 0x10001a37
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x10001a37
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 8
push dword [0x10049268]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10001acb
mov dword [esi], edx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [edi]
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100019c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10001ab1
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10001ab1
push eax
push ebx
push dword [0x10049268]
call dword [sym.imp.KERNEL32.dll_HeapSize]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x10001a9b
test ecx, ecx
je 0x10001a9b
mov eax, dword [esi]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10001a90
push dword [esi]
push 0
push dword [0x10049268]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10015c53
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
jmp 0x10001a69
Function at 0x10001ad0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10001960
test eax, eax
jne 0x10001b01
mov eax, 9
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
je 0x10001b52
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10001b4a
push ebx
nop
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10001b43
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.100017d0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10001b10
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10001b60
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x10001bd2
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10001b9b
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10001b94
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10001b71
pop ebx
push dword [edi]
push 0
push dword [0x10049268]
call dword [sym.imp.KERNEL32.dll_HeapSize]
pop esi
cmp eax, 0xffffffff
je 0x10001bc2
test eax, eax
je 0x10001bc2
mov ecx, dword [edi]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x10001bb7
push dword [edi]
push 0
push dword [0x10049268]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
ret
Function at 0x10001be0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
mov dword [ebp - 8], 0
push edi
add esi, dword [0x1004b484]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001c48
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015c53
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10001c69
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10001c8a
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10001c8a
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10001c84
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10001c8a
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.10015c53
mov esp, ebp
pop ebp
ret
Function at 0x10002ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
lea esi, [ebp - 8]
mov dword [ebp - 0xc], 1
push esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x190
push eax
push 2
push edx
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10015c53
mov esp, ebp
pop ebp
ret

Function at 0x10002bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10043040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
push 0x20206
push 0
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10002c54
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10002c95
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002c60
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 1
push 0
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10015c53
mov esp, ebp
pop ebp
ret

Function at 0x10002cb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0x208], 0
jne 0x10002cd5
push str.Ini_is_not_available__r_n_r_n
push 1
call fcn.10002780
add esp, 8
xor eax, eax
pop esi
pop ebp
ret 0xc
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.10022bda
push esi
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
mov dword [eax], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10002d18
call fcn.10022bda
cmp dword [eax], 0
jne 0x10002d18
mov eax, edi
pop edi
pop esi
pop ebp
ret 0xc
push str.GetPrivateProfileInt_Failed__r_n_r_n
push 1
call fcn.10002780
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
ret 0xc