joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f300
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4df858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004d7417
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0047ec40
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004d7345
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004d3c00
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004d3c00
push 1
push 0
push 0
mov ecx, esi
call fcn.004d3ba8
push 1
push 0
push 1
mov ecx, esi
call fcn.004d3ba8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d7489
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x47f480
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4df878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004d7417
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0047ec40
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004d7345
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x47f544
cmp dword [esp + 0x40], 1
jne 0x47f542
cmp ecx, eax
jge 0x47f544
mov eax, ecx
cmp eax, 0xc8
jge 0x47f550
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0047f300
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d7489
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x47fd50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4df923
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d2020
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004d76bf
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004d8bdb
test eax, eax
je 0x47fe6c
mov ecx, dword [esp + 0x3c]
call fcn.004d76ec
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x47fe30
push edi
mov ecx, esi
call fcn.004d4d4b
mov ecx, esi
call fcn.00480010
cmp dword [esp + 0x38], 1
jne 0x47fe65
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004d4e86
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x482070
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4820a3
push esi
call fcn.00490430
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x48209c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x482129
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x482112
mov eax, dword [esi + 8]
test eax, eax
je 0x4820c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x48210e
cmp eax, 2
je 0x482112
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4820ba
cmp eax, 3
je 0x4820ed
cmp eax, 1
jne 0x4820ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4820ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4820ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00482150
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x482138
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00482150
add esp, 4
pop esi
ret

Function at 0x4829d0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4829f1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4829f1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4829f1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x49dea0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x49df06
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x49df06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x49dee7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x49e290
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x49e2c8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x49eef0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x49ef39
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x49f3b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dfe70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0049ef60
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0049efe0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0049efe0
lea ecx, [esi + 0xc]
call fcn.004d09d3
lea ecx, [esi + 0x10]
call fcn.004d09d3
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004a0570
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004a0570
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004a0570
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004d0a48
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d0a48
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a38e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e01c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004a3ce0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x8bb5bc
call fcn.004aff18
mov ecx, dword [0x8620f8]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004a1050
mov esi, 0x862150
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4a3987
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a397e
cmp al, 0xff
je 0x4a397e
dec al
mov byte [ecx], al
jmp 0x4a3987
push ecx
call fcn.004d07b2
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004cc790
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4a39cd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a39c4
cmp al, 0xff
je 0x4a39c4
dec al
mov byte [ecx], al
jmp 0x4a39cd
push ecx
call fcn.004d07b2
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004aff9f
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4a9040
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4a90e3
test eax, eax
jbe 0x4a90e3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4a90e3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4a908e
xor esi, esi
jmp 0x4a9094
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4a90bf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004384f0
add esi, eax
push esi
mov ebx, esi
call fcn.004384f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4a90a0
pop ebp
test edi, edi
pop edi
jne 0x4a90e3
test ebx, ebx
je 0x4a90e3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004ae5e0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4a9435
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4a954d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a954d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004d2472
mov esi, eax
test esi, esi
je 0x4a954d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4a954d
mov ecx, esi
call fcn.004a9360
cmp edi, eax
jge 0x4a954d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4a94d3
mov dword [esp + 0x34], 1
jmp 0x4a952e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4a954d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004a7650
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4c6d70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e16f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004bba7f
mov eax, dword [0x866370]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004bb9b1
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004c78a0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4c6e17
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4c6e0e
cmp al, 0xff
je 0x4c6e0e
dec al
mov byte [ecx], al
jmp 0x4c6e17
push ecx
call fcn.004d07b2
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4c6e48
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4c6e3f
cmp al, 0xff
je 0x4c6e3f
dec al
mov byte [ecx], al
jmp 0x4c6e48
push ecx
call fcn.004d07b2
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4d2e16
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d2e4e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d0ea3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d0e7b
jmp 0x4d2e5a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d4508
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d454a
call fcn.004da281
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d454a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d4541
xor eax, eax
jmp 0x4d4552
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d4558
pop edi
pop esi
pop ebx
ret 4

Function at 0x4da7b1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4da7df
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4da7fd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004da717
jmp 0x4da7fd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4da7fd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004da717
test edi, edi
mov eax, edi
jne 0x4da7e7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1005874
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x1014d9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10141d4]
cmp eax, 0xffffffff
je 0x100589a
test eax, eax
setne al
jmp 0x1005904
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x10058fb
cmp dword [ebp - 0x114], 5
jb 0x10058fb
and dword [ebp - 0x11c], 0
push 0
push 4
lea eax, [ebp - 0x11c]
push eax
push 0x1a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x1014404]
test eax, eax
jl 0x10058fb
cmp dword [ebp - 0x11c], 0
je 0x10058fb
xor eax, eax
inc eax
mov dword [0x10141d4], eax
jmp 0x1005904
and dword [0x10141d4], 0
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010108f5
leave
ret

Function at 0x1006c9c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1014d9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov byte [ebp - 0x205], 1
xor ebx, ebx
jmp 0x1006d61
mov eax, dword [esi]
add esi, 4
push dword [esi]
mov dword [ebp - 0x20c], ebx
push eax
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.01006339
add esp, 0x10
add esi, 4
test eax, eax
jl 0x1006d7e
mov eax, dword [esi]
push ebx
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x204]
add esi, 4
mov edi, dword [esi]
push eax
push 0x80000000
add esi, 4
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1006d4f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push ebx
push dword [ebp - 0x210]
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1006d55
mov byte [ebp - 0x205], bl
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi], ebx
jne 0x1006cc5
mov al, byte [ebp - 0x205]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010108f5
leave
ret
xor al, al
jmp 0x1006d6f

Function at 0x1006d87
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x1014d9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov bl, 1
jmp 0x1006dec
mov eax, dword [esi]
add esi, 4
push dword [esi]
push eax
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.01006339
add esp, 0x10
test eax, eax
jl 0x1006e01
lea eax, [ebp - 0x204]
push eax
push 0x80000000
add esi, 0xc
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, 0x3fa
je 0x1006dec
cmp eax, 2
je 0x1006dec
test eax, eax
je 0x1006dec
xor bl, bl
cmp dword [esi], 0
jne 0x1006da5
mov al, bl
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.010108f5
leave
ret
xor al, al
jmp 0x1006df3
Function at 0x1007344
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x1014d9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], 0x1013144
mov ebx, 0x1001638
push dword [ebx]
mov esi, 0x1013020
push 0x1001948
push 0x28
push 0x10154a8
call fcn.01006339
add esp, 0x10
cmp eax, edi
jl 0x10074d0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
cmp eax, edi
je 0x10073b7
push eax
push 0x28
push 0x10150c0
call fcn.010061c4
cmp eax, edi
jl 0x10074d0
cmp dword [0x1013020], edi
je 0x100741e
lea ecx, [esi + 4]
cmp dword [ecx], edi
je 0x100741a
cmp dword [esi + 8], edi
je 0x100741a
mov eax, dword [esi]
mov esi, ecx
mov ecx, dword [esi]
push ecx
push eax
lea eax, [ebp - 0xa4]
push 0x50
push eax
add esi, 4
call fcn.01006339
add esp, 0x10
cmp eax, edi
jl 0x10074d0
lea eax, [ebp - 0xa4]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, 0x3fa
je 0x1007417
cmp eax, 2
je 0x1007417
cmp eax, edi
je 0x1007417
inc dword [ebp - 0xac]
add esi, 0xc
cmp dword [esi], edi
jne 0x10073bf
add dword [ebp - 0xa8], 4
add ebx, 0x10
cmp ebx, 0x1001648
jl 0x1007373
mov esi, 0x2001f
call fcn.01005874
movzx ebx, al
cmp ebx, edi
je 0x100744a
mov esi, 0x2011f
lea eax, [ebp - 0xa8]
push eax
push esi
push edi
mov edi, 0x10018e0
push edi
mov esi, 0x80000002
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1007491
test ebx, ebx
jne 0x1007474
push 0x10018b8
jmp 0x1007479
push 0x10018a0
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0xa8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x100749d
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
call fcn.01005915
test al, al
je 0x10074b1
push 0x1013074
call fcn.01006d87
pop ecx
call fcn.01005915
test al, al
jne 0x10074c3
call fcn.01005874
test al, al
je 0x10074ce
push 0x1013130
call fcn.01006d87
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010108f5
leave
ret
Function at 0x1007bb6
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x1014d9c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x103
push 0x1015160
push dword [0x10154f8]
xor edi, edi
mov word [0x1015366], di
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1007bfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1007d41
cmp dword [0x101309c], edi
push esi
mov word [0x1015366], di
mov dword [ebp - 0x80c], edi
mov esi, 0x1013098
je 0x1007d1f
push ebx
push 4
pop ebx
mov edi, 0x401
mov eax, dword [esi]
add esi, ebx
test eax, eax
jne 0x1007d0f
mov ecx, dword [esi]
add esi, ebx
mov edx, dword [esi]
add esi, ebx
mov eax, dword [esi]
add esi, ebx
test eax, eax
je 0x1007c53
push eax
push edx
push ecx
lea eax, [ebp - 0x808]
push edi
push eax
call fcn.01006339
add esp, 0x14
jmp 0x1007c65
push edx
push ecx
lea eax, [ebp - 0x808]
push edi
push eax
call fcn.01006339
add esp, 0x10
xor ecx, ecx
cmp eax, ecx
jge 0x1007c79
inc dword [ebp - 0x80c]
add esi, 8
jmp 0x1007d12
push ecx
lea eax, [ebp - 0x810]
push eax
push ecx
push 0x2001f
push ecx
push ecx
push ecx
lea eax, [ebp - 0x808]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1007ca6
inc dword [ebp - 0x80c]
mov eax, dword [esi]
test eax, eax
je 0x1007cfe
add esi, ebx
push dword [esi]
push eax
lea eax, [ebp - 0x808]
push edi
push eax
call fcn.01006339
add esp, 0x10
add esi, ebx
test eax, eax
jl 0x1007cf6
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x808]
push eax
push 1
push 0
push 0
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1007d01
inc dword [ebp - 0x80c]
jmp 0x1007d01
add esi, 8
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1007d12
add esi, 0x14
cmp dword [esi + 4], 0
jne 0x1007c22
xor edi, edi
pop ebx
push edi
push edi
push 0x1000
push 0x8000000
call dword [0x101432c]
mov eax, dword [ebp - 0x80c]
neg eax
sbb eax, eax
and eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.010108f5
leave
ret