joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436f70
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00431720
test eax, eax
je 0x43705f
mov ecx, edi
call fcn.00431720
mov ecx, eax
call fcn.0042ed70
test eax, eax
jne 0x43705f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43705f
mov eax, dword [0x5a2da8]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x436fd2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00431720
mov ecx, eax
call fcn.0042efa0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x43705f
cmp ebx, eax
jne 0x43705f
cmp dword [esp + 0x10], eax
jne 0x437045
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x439ca0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473318
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 0x439cd9
inc eax
mov dword [esi + 0x10], eax
jmp 0x439dec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x439ced
mov eax, 0xffffffc7
jmp 0x439dee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x439cfe
cmp dword [esi + 8], eax
jne 0x439ced
cmp dword [esi + 8], eax
jne 0x439d17
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x439d17
mov eax, 0xffffffc7
jmp 0x439dee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x439d2b
push eax
mov ecx, ebx
call fcn.004394d0
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.00407ce0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x439d5c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00407d00
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00438c40
test eax, eax
mov dword [esp + 0x38], eax
je 0x439d8f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x577180
call fcn.00407ee0
mov eax, dword [esp + 0x38]
jmp 0x439dee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00439b00
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x439dd3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00439b20
mov esi, eax
test esi, esi
jne 0x439e03
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00439b00
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x439da5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x577180
call fcn.00407ee0
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], 0x577180
call fcn.00407ee0
mov eax, esi
jmp 0x439dee

Function at 0x43cf20
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43cf80
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43cf80
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43cf80
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43cf80
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 0x43cfc0
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 0x442f10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473948
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.0046c308
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004428b0
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.0046c236
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.00468afa
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.00468afa
push 1
push 0
push 0
mov ecx, esi
call fcn.00468aa2
push 1
push 0
push 1
mov ecx, esi
call fcn.00468aa2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046c37a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x443090
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x473968
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.0046c308
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004428b0
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.0046c236
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 0x443154
cmp dword [esp + 0x40], 1
jne 0x443152
cmp ecx, eax
jge 0x443154
mov eax, ecx
cmp eax, 0xc8
jge 0x443160
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00442f10
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.0046c37a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4438d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4739d3
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.00466f1a
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.0046c5b0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046dacc
test eax, eax
je 0x4439ec
mov ecx, dword [esp + 0x3c]
call fcn.0046c5dd
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 0x4439b0
push edi
mov ecx, esi
call fcn.00469c45
mov ecx, esi
call fcn.00443b50
cmp dword [esp + 0x38], 1
jne 0x4439e5
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.00469d80
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 0x446410
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x446443
push esi
call fcn.00449520
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44643c
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 0x4464c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4464b2
mov eax, dword [esi + 8]
test eax, eax
je 0x446467
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 0x4464ae
cmp eax, 2
je 0x4464b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44645a
cmp eax, 3
je 0x44648d
cmp eax, 1
jne 0x44645a
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 0x44645a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44645a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004464f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4464d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004464f0
add esp, 4
pop esi
ret

Function at 0x452050
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 0x4520f3
test eax, eax
jbe 0x4520f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4520f3
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 0x45209e
xor esi, esi
jmp 0x4520a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4520cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00408680
add esi, eax
push esi
mov ebx, esi
call fcn.00408680
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4520b0
pop ebp
test edi, edi
pop edi
jne 0x4520f3
test ebx, ebx
je 0x4520f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00456820
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x452235
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 0x45234d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45234d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046736c
mov esi, eax
test esi, esi
je 0x45234d
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 0x45234d
mov ecx, esi
call fcn.004521a0
cmp edi, eax
jge 0x45234d
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 0x4522d3
mov dword [esp + 0x34], 1
jmp 0x45232e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45234d
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.00451760
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 0x467d10
Capabilities:
Get graphical window text

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

Function at 0x469402
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 0x469444
call fcn.0046eeb2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x469444
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46943b
xor eax, eax
jmp 0x46944c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00469452
pop edi
pop esi
pop ebx
ret 4
Function at 0x46f3e2
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 0x46f410
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46f42e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046f348
jmp 0x46f42e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46f42e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046f348
test edi, edi
mov eax, edi
jne 0x46f418
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x100042d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, eax
dec eax
test edx, edx
jbe 0x1000433e
push edi
mov edi, dword [esp + 0x14]
sub edi, ecx
push esi
mov esi, dword [esp + 0xc]
inc eax
push ebp
push ebx
mov dword [esp + 0x1c], eax
mov eax, ecx
xor edx, edx
mov ebx, 0x7f
mov ebp, 0x7b
div ebx
xor eax, eax
mov al, byte [edx + esi]
xor edx, edx
mov ebx, eax
mov eax, ecx
div ebp
xor eax, eax
mov al, byte [edx + esi]
mov edx, ecx
xor ebx, eax
and edx, 0x7f
mov al, byte [ebx + 0x10056ae8]
mov bl, byte [edx + esi]
xor al, bl
mov bl, byte [ecx + edi]
xor bl, al
mov eax, dword [esp + 0x1c]
mov byte [ecx + edi], bl
inc ecx
dec eax
mov dword [esp + 0x1c], eax
jne 0x100042f2
pop ebx
pop ebp
pop esi
pop edi
mov eax, 0x3e9
ret
Function at 0x10017020
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x10017189
mov dword [ebp - 8], 0x200
jae 0x10017054
je 0x10017052
xchg edi, edi
ja 0x10017052
xchg edx, edx
nop
jmp 0x10017057
jae 0x10017049
ror dword [ebp + 0x6a51f04d], cl
add byte [edx], ch
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc eax
add al, 0x10
mov dword [ebp - 0x14], eax
jne 0x10017088
mov ebx, ebx
nop
nop
je 0x10017086
nop
jmp 0x10017091
xchg esi, esi
ja 0x1001708c
jne 0x1001707f
xchg edi, edi
fld qword [ebx + 0xf00ec7d]
test edx, ecx
add byte [eax], al
add bh, al
test eax, ebp
std
invalid
cmp dword [ebp - 0x14], 0
jne 0x10017165
mov dword [ebp - 0x218], 0x104
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x31c]
push ecx
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10017270
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x100170d2
mov ebx, ebx
jg 0x100170d5
nop
jle 0x100170d5
jmp 0x100170cb
js 0x100170e0
nop
xchg eax, eax
jg 0x100170e5
xchg ecx, ecx
jle 0x100170e5
je 0x100170e2
js 0x100170d7
lea eax, [ebx + 0x7500ec7d]
js 0x10017077
cmp dword [ebp - 0x14], 0
jne 0x10017163
mov ecx, dword [ebp - 0x218]
mov byte [ebp + ecx - 0x31c], 0
jg 0x10017104
invalid
nop
xchg eax, eax
js 0x10017109
xchg esi, esi
jns 0x10017109
ja 0x10017106
jg 0x100170fb
and ecx, dword [ebp - 0x31b6b]
call dword [edx - 0x18]
mov eax, dword [eax]
add byte [eax], al
lea edx, [ebp - 0x31c]
push edx
call 0x100171a0
add esp, 4
and eax, 0xffff
test eax, eax
je 0x10017163
jl 0x1001712a
nop
nop
ja 0x10017128
nop
jmp 0x10017135
xchg ebp, ebp
je 0x10017130
xchg edx, edx
jl 0x10017123
ja 0x10017147
sbb dword [ebx - 0x3899f3bb], ecx
add byte [ecx], al
add byte [eax + 9], bh
mov eax, dword [ebp + 0xc]
mov word [eax], 1
js 0x10017148
nop
xchg esi, esi
jg 0x1001714d
xchg eax, eax
jle 0x1001714d
add eax, 0xf3780074
je 0x1001714a
js 0x1001713f
invalid
jbe 0x10017155
nop
nop
je 0x10017153
jmp 0x10017161
xchg ecx, ecx
ja 0x1001715c
xchg eax, eax
nop
jbe 0x1001714f
je 0x10017173
shr bl, 0x26
jmp 0x10017189
jmp 0x10017167
jmp 0x10017189
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jbe 0x10017179
nop
nop
je 0x10017177
nop
jmp 0x10017184
xchg ebp, ebp
ja 0x1001717f
xchg edx, edx
jbe 0x10017172
je 0x10017196
add cl, ch
stosb byte es:[edi], al
invalid
jmp 0x10017033
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
int3
Function at 0x1001fc70
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp dword [esi + 8], 0x65
jne 0x1001fcbf
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1001fcbf
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test ax, ax
je 0x1001fcbf
cmp dword [esp + 0xc], edi
jne 0x1001fcbf
mov ax, 1
pop edi
pop esi
ret
pop edi
xor ax, ax
pop esi
ret

Function at 0x1001fcd0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp dword [esi + 8], 0x65
jne 0x1001fd1f
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1001fd1f
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test ax, ax
je 0x1001fd1f
cmp dword [esp + 0xc], edi
jne 0x1001fd1f
mov ax, 1
pop edi
pop esi
ret
pop edi
xor ax, ax
pop esi
ret

Function at 0x100200b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 8]
push edi
mov al, byte [ecx]
xor edi, edi
mov byte [ebp], al
mov al, byte [ecx]
test al, al
je 0x100200e2
push esi
mov esi, ebp
sub esi, ecx
mov dl, byte [ecx + 1]
mov al, byte [esi + ecx]
inc edi
inc ecx
dec dl
xor al, dl
mov byte [esi + ecx], al
mov al, byte [ecx]
test al, al
jne 0x100200cc
pop esi
mov byte [edi + ebp], 0
mov eax, ebp
pop edi
pop ebp
ret
Function at 0x1002f060
Capabilities:
Encode data using xor

Disassembly:
fistp word [edi - 0x71b27841]
sbb esi, ebp
add edx, dword [eax]
rol byte [ebp + 0x5050d0f2], 1
add byte [edi + edi*8 - 0x196519ff], al
lcall 0xd46c, 0xd6fcc5b7
or byte [ebx - 0x4f], dl
and cl, byte [ecx - 0x6752cc27]
outsd dx, dword [esi]
in al, 0x84
jno 0x1002f0a0
fadd qword [esi + esi - 0x3f]
push edx
insd dword es:[edi], dx
shr ch, 1
mov edi, 0x4d8e1f44
pop ebx
invalid
arpl word [edx], cx
retf 0x291b

Function at 0x10032c60
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x10032d24
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x10063508], eax
call fcn.10034330
test eax, eax
jne 0x10032c84
ret 0xc
mov ecx, dword [0x10063508]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
mov dword [0x10063514], edx
mov dword [0x10063510], eax
shl eax, 8
add eax, edx
shr ecx, 0x10
mov dword [0x1006350c], eax
mov dword [0x10063508], ecx
call fcn.10035410
test eax, eax
jne 0x10032cc6
call fcn.10034370
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10064dd4], eax
call fcn.10035c00
mov ecx, dword [0x10064dd4]
mov dword [0x10063254], eax
test ecx, ecx
je 0x10032d15
test eax, eax
je 0x10032d15
call fcn.100355f0
call fcn.10034270
call fcn.10035950
call fcn.10035860
call fcn.100352b0
mov eax, dword [0x10063250]
inc eax
mov dword [0x10063250], eax
mov eax, 1
ret 0xc
call fcn.10035470
call fcn.10034370
xor eax, eax
ret 0xc
test eax, eax
jne 0x10032d64
mov eax, dword [0x10063250]
test eax, eax
jle 0x10032d5f
mov ecx, eax
mov eax, dword [0x10063540]
dec ecx
test eax, eax
mov dword [0x10063250], ecx
jne 0x10032d48
call fcn.10035300
call fcn.10035800
call fcn.10035470
call fcn.10034370
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x10032d73
push 0
call fcn.10035540
add esp, 4
mov eax, 1
ret 0xc

Function at 0x10035310
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.100353d0
mov eax, dword [0x10063544]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x10035334
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x10063540], 1
mov byte [0x1006353c], bl
jne 0x1003538e
mov ecx, dword [0x10064dc8]
test ecx, ecx
je 0x1003537c
mov esi, dword [0x10064dc4]
sub esi, 4
cmp esi, ecx
jb 0x1003537c
mov eax, dword [esi]
test eax, eax
je 0x10035375
call eax
mov ecx, dword [0x10064dc8]
sub esi, 4
cmp esi, ecx
jae 0x10035367
push 0x10047040
push 0x10047038
call fcn.100353f0
add esp, 8
push 0x1004704c
push 0x10047044
call fcn.100353f0
add esp, 8
test ebx, ebx
je 0x100353ad
call fcn.100353e0
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x10063544], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]