joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434970
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48cbd8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4349a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x434abc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4349bd
mov eax, 0xffffffc7
jmp 0x434abe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4349ce
cmp dword [esi + 8], eax
jne 0x4349bd
cmp dword [esi + 8], eax
jne 0x4349e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4349e7
mov eax, 0xffffffc7
jmp 0x434abe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4349fb
push eax
mov ecx, ebx
call fcn.004341a0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004037f0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x434a2c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403810
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00433910
test eax, eax
mov dword [esp + 0x38], eax
je 0x434a5f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5815b0
call fcn.004039f0
mov eax, dword [esp + 0x38]
jmp 0x434abe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004347d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x434aa3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004347f0
mov esi, eax
test esi, esi
jne 0x434ad3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004347d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x434a75
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5815b0
call fcn.004039f0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5815b0
call fcn.004039f0
mov eax, esi
jmp 0x434abe

Function at 0x437bf0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x437c50
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x437c50
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x437c50
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x437c50
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x437c90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43db50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48d208
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.00484021
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043d4f0
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.00483f4f
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.0048073e
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.0048073e
push 1
push 0
push 0
mov ecx, esi
call fcn.004806e6
push 1
push 0
push 1
mov ecx, esi
call fcn.004806e6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00484093
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43dcd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48d228
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.00484021
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043d4f0
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.00483f4f
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 0x43dd94
cmp dword [esp + 0x40], 1
jne 0x43dd92
cmp ecx, eax
jge 0x43dd94
mov eax, ecx
cmp eax, 0xc8
jge 0x43dda0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043db50
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.00484093
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43e520
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48d293
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.0047eb5a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.004842c9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00485821
test eax, eax
je 0x43e63c
mov ecx, dword [esp + 0x3c]
call fcn.004842f6
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 0x43e600
push edi
mov ecx, esi
call fcn.004818bc
mov ecx, esi
call fcn.0043e7a0
cmp dword [esp + 0x38], 1
jne 0x43e635
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.00481a26
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 0x441070
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4410a3
push esi
call fcn.00444160
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44109c
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 0x441129
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441112
mov eax, dword [esi + 8]
test eax, eax
je 0x4410c7
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 0x44110e
cmp eax, 2
je 0x441112
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4410ba
cmp eax, 3
je 0x4410ed
cmp eax, 1
jne 0x4410ba
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 0x4410ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4410ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441150
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441138
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441150
add esp, 4
pop esi
ret

Function at 0x450c70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5b7acc]
xor edx, edx
cmp eax, edx
jne 0x450c96
xor eax, eax
mov byte [eax + 0x5b79cc], al
inc eax
cmp eax, 0x100
jl 0x450c7e
mov dword [0x5b7acc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5b79cc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x450d27
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x450cfa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x450cc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x450da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x450df3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x450dda
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d9ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00458090
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x58569c
call fcn.0047d29d
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x457803
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047d29d
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4577fc
push 0
mov ecx, eax
call fcn.0044e8a0
mov dword [esi + 0xc], eax
jmp 0x457805
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x457805
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x47f94f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47f987
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.0047da03
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047d9db
jmp 0x47f993
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x481042
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 0x481084
call fcn.00486d28
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x481084
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48107b
xor eax, eax
jmp 0x48108c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00481092
pop edi
pop esi
pop ebx
ret 4
Function at 0x487258
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 0x487286
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4872a4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004871be
jmp 0x4872a4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4872a4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004871be
test edi, edi
mov eax, edi
jne 0x48728e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1003285
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10091b8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x10
pop ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x101
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x21c]
push eax
push 0xffffffffffffffff
xor esi, esi
push edi
push esi
push esi
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], esi
call dword [0x1001104]
lea eax, [ebp - 0x21c]
push eax
push 0x1001768
call fcn.01004c8a
pop ecx
mov dword [ebp - 0x22c], esi
mov esi, dword [0x1009424]
pop ecx
jmp 0x1003327
lea eax, [esi + 0x208]
push eax
push 0x1001754
call fcn.01004c8a
pop ecx
pop ecx
lea eax, [ebp - 0x21c]
push eax
lea eax, [esi + 0x208]
push eax
call dword [0x1001100]
test eax, eax
je 0x1003330
mov dword [ebp - 0x22c], esi
mov esi, dword [esi + 0x41c]
test esi, esi
jne 0x10032f0
jmp 0x100348d
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x16]
push eax
mov byte [ebp - 0x17], 0x5c
mov byte [ebp - 0x18], 0x5c
mov dword [ebp - 0x228], ebx
call dword [0x10010fc]
mov bl, byte [edi]
lea eax, [ebp - 0x18]
push eax
push edi
push 0x1001738
mov byte [edi], 0x24
call fcn.01004c8a
add esp, 0xc
push 0
push edi
lea eax, [ebp - 0x18]
push eax
call sub.NDdeApi.dll_Ordinal_501
test eax, eax
mov dword [ebp - 0x234], eax
mov byte [edi], bl
jne 0x100346d
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push 2
lea eax, [ebp - 0x230]
push eax
call fcn.01002dc8
test eax, eax
jne 0x10033b5
push edi
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10033c8
call dword [0x10010f8]
push eax
push 0x100171c
call fcn.01004c8a
pop ecx
pop ecx
push dword [ebp - 0x220]
call fcn.01006fe6
push 0
push 0
push 0x306
push dword [0x1009448]
call dword [0x10011dc]
push esi
call dword [0x10010f4]
mov eax, dword [ebp - 0x22c]
test eax, eax
jne 0x1003406
mov eax, dword [esi + 0x41c]
mov dword [0x1009424], eax
jmp 0x1003412
mov ecx, dword [esi + 0x41c]
mov dword [eax + 0x41c], ecx
push dword [esi + 0x40c]
push dword [0x10091f0]
call fcn.01006fc2
mov eax, dword [esi + 0x414]
test eax, eax
je 0x1003433
push eax
call fcn.01006f7a
mov eax, dword [esi + 0x418]
test eax, eax
je 0x1003443
push eax
call fcn.01006f7a
push esi
call dword [0x1001164]
push dword [0x1009a80]
push dword [0x1009450]
push dword [0x10091f0]
call fcn.01006fda
mov dword [ebp - 0x224], 1
jmp 0x100349a
push eax
push 0x10016f8
call fcn.01004c8a
pop ecx
pop ecx
push dword [ebp - 0x234]
push 0x20
push dword [ebp - 0x220]
call fcn.01002f42
push edi
push 0x10016cc
call fcn.01004c8a
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x224]
pop edi
pop esi
pop ebx
call fcn.01007021
leave
ret 8
Function at 0x1003d5a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10091b8]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10c]
xor edi, edi
push eax
inc edi
push esi
mov dword [0x1009a8c], edi
call fcn.010035d5
mov ebx, eax
test ebx, ebx
lea eax, [ebp - 0x10c]
je 0x1003dc0
push edi
push eax
push esi
push dword [0x1009448]
call fcn.010063c9
push ebx
mov dword [ebp - 0x110], eax
call fcn.01003596
push esi
push 0x1009320
call dword [0x1001120]
jmp 0x1003e5b
push eax
call fcn.01003b69
test eax, eax
jne 0x1003e78
push edi
lea eax, [ebp - 0x10c]
push eax
push esi
push dword [0x1009448]
call fcn.010063c9
test eax, eax
mov dword [ebp - 0x110], eax
jne 0x1003e78
movzx eax, word [ebp + 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.010034b4
test eax, eax
jne 0x1003e0b
push 8
pop eax
jmp 0x1003e78
push 2
lea eax, [ebp - 0x114]
push eax
call fcn.01002dc8
test eax, eax
jne 0x1003e5b
lea eax, [ebp - 0x10c]
push eax
call dword [0x100111c]
push eax
lea eax, [ebp - 0x10c]
push eax
push edi
push 0
push esi
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 0x1001a6c
call fcn.01004c8a
pop ecx
pop ecx
push dword [0x1009a80]
push dword [0x1009450]
push dword [0x10091f0]
call fcn.01006fda
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01007021
leave
ret 8

Function at 0x1004df6
Capabilities:
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x10091b8]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x1001f74
mov dword [ebp - 4], eax
call fcn.01004c8a
pop ecx
push edi
call fcn.01004c90
mov ebx, eax
test ebx, ebx
jne 0x1004e32
mov ax, 1
jmp 0x1004ef7
push esi
call fcn.01002a5f
test eax, eax
jne 0x1004e50
push 0x1001f58
call fcn.01004c8a
pop ecx
mov ax, 2
jmp 0x1004ef7
call dword [0x1001270]
and dword [ebp - 0xb4], 0
test ebx, ebx
jbe 0x1004eef
mov esi, dword [0x10011f0]
push dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
push eax
push edi
call fcn.01004d1d
cmp dword [ebp - 0xb0], 0xc000
jb 0x1004e9d
lea eax, [ebp - 0xa4]
push eax
call dword [0x100120c]
mov dword [ebp - 0xb0], eax
push dword [ebp - 0xb0]
push 0x1001f30
call fcn.01004c8a
pop ecx
pop ecx
push 0
push dword [ebp - 0xb0]
call esi
cmp dword [ebp - 0xb0], 8
jne 0x1004ec8
push 0
push 2
call esi
inc dword [ebp - 0xb4]
cmp dword [ebp - 0xb4], ebx
jb 0x1004e6b
test ebx, ebx
jbe 0x1004eef
push 0x1001f14
call fcn.01004c8a
pop ecx
mov dword [0x1009bac], 1
call fcn.01002aa5
xor ax, ax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01007021
leave
ret 8
Function at 0x1005fe2
Capabilities:
Read clipboard data
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push edi
push dword [ebp + 8]
xor edi, edi
call dword [0x1001278]
test eax, eax
je 0x10060a4
push dword [0x1009448]
call fcn.01002a5f
test eax, eax
je 0x10060a4
push esi
push dword [ebp + 8]
call dword [0x100127c]
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
je 0x100609a
push ebx
mov ebx, dword [0x1001144]
push esi
call ebx
push eax
push 0x42
call dword [0x1001138]
test eax, eax
mov dword [ebp - 4], eax
je 0x1006099
push esi
mov esi, dword [0x1001140]
call esi
test eax, eax
mov dword [ebp + 8], eax
je 0x1006099
push dword [ebp - 4]
call esi
mov esi, eax
test esi, esi
je 0x1006090
push dword [ebp - 8]
call ebx
test eax, eax
je 0x1006073
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
mov byte [esi], cl
inc esi
inc dword [ebp + 8]
dec eax
jne 0x1006065
push dword [ebp - 4]
call dword [0x100113c]
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [0x10011f0]
mov edi, eax
neg edi
sbb edi, edi
neg edi
push dword [ebp - 8]
call dword [0x100113c]
pop ebx
call fcn.01002aa5
test edi, edi
pop esi
jne 0x10060be
push 0x1002314
call fcn.01004c8a
cmp dword [ebp - 4], 0
pop ecx
je 0x10060be
push dword [ebp - 4]
call dword [0x1001130]
mov eax, edi
pop edi
leave
ret 8
Function at 0x401132
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromIID]
push dword [ebp - 4]
mov esi, 0x489d18
push 0x46bd1c
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 8]
push eax
push esi
push esi
push SysReAllocString
mov dword [ebp - 8], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
mov eax, esi
je 0x40118c
mov eax, 0x489d2c
pop esi
leave
ret

Function at 0x40190d
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0x18]
and dword [esi], 0
mov byte [eax], 0
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x401982
cmp word [ebx + 8], 2
jne 0x401962
cmp word [ebx + 0xa], 4
jne 0x401962
mov edi, dword [ebx + 0xc]
jmp 0x40195c
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004018a6
mov dword [esi], eax
test eax, eax
je 0x40197d
lea esi, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x401940
push 0x400
push dword [ebx]
push 0x401
push dword [ebp + 0x18]
call fcn.004356bd
add esp, 0x10
xor eax, eax
jmp 0x4019a8
push 8
pop eax
jmp 0x4019a8
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov ecx, eax
mov eax, 0x2af9
sub ecx, eax
je 0x4019a8
dec ecx
je 0x4019a3
dec ecx
je 0x40199c
dec ecx
jmp 0x4019a8
mov eax, 0x2afb
jmp 0x4019a8
mov eax, 0x2afa
pop edi
pop esi
pop ebx
pop ebp
ret 0x14