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

Disassembly:
push 0xffffffffffffffff
push 0x46a5e8
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.004634a3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043c3d0
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.004633d1
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.0045fc95
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.0045fc95
push 1
push 0
push 0
mov ecx, esi
call fcn.0045fc3d
push 1
push 0
push 1
mov ecx, esi
call fcn.0045fc3d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00463515
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43cbb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46a608
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.004634a3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043c3d0
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.004633d1
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 0x43cc74
cmp dword [esp + 0x40], 1
jne 0x43cc72
cmp ecx, eax
jge 0x43cc74
mov eax, ecx
cmp eax, 0xc8
jge 0x43cc80
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043ca30
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.00463515
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43d400
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46a673
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.0045e0b5
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.0046374b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00464c67
test eax, eax
je 0x43d51c
mov ecx, dword [esp + 0x3c]
call fcn.00463778
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 0x43d4e0
push edi
mov ecx, esi
call fcn.00460de0
mov ecx, esi
call fcn.0043d680
cmp dword [esp + 0x38], 1
jne 0x43d515
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.00460f1b
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 0x43ff40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ff73
push esi
call fcn.00443050
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ff6c
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 0x43fff9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ffe2
mov eax, dword [esi + 8]
test eax, eax
je 0x43ff97
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 0x43ffde
cmp eax, 2
je 0x43ffe2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ff8a
cmp eax, 3
je 0x43ffbd
cmp eax, 1
jne 0x43ff8a
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 0x43ff8a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ff8a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440020
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440008
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440020
add esp, 4
pop esi
ret

Function at 0x45eeab
Capabilities:
Get graphical window text

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

Function at 0x46059d
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 0x4605df
call fcn.0046604d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4605df
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4605d6
xor eax, eax
jmp 0x4605e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004605ed
pop edi
pop esi
pop ebx
ret 4

Function at 0x46657d
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 0x4665ab
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4665c9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004664e3
jmp 0x4665c9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4665c9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004664e3
test edi, edi
mov eax, edi
jne 0x4665b3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10006093
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.10006093]
mov ecx, dword [0x10117f1c]
mov edx, ecx
add edx, 0x6ec
mov dword [0x10117f20], edx
add ecx, 0x534
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x100060c9
mov eax, dword [ebp - 0xc]
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp - 8]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
jne 0x100060e5
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x100060c1
mov eax, dword [ebp - 4]
mov dword [0x10117f1c], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 8], ecx
jmp 0x100060c9
Function at 0x1000671e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10117f28], 0
mov dword [0x10117f1c], 0x1df4
mov byte [0x10117f2c], 0
mov dword [0x10117f24], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000676d
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x10117f20]
add ecx, 0x3db
mov dword [0x10117f20], ecx
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10117f1c], 0x2449
mov eax, dword [0x10117f24]
add eax, 1
mov dword [0x10117f24], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000676d
xor eax, eax
mov ecx, 0x5c63
mov dword [0x10117f1c], 0x37f9
mov dword [0x10117f24], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x3624
mov esi, 0x100
mov dword [0x10117f1c], eax
mov eax, dword [0x10117f28]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x28], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov eax, ebx
cdq
idiv esi
mov dword [0x10117f28], edx
mov dword [0x10117f1c], 0x1e73
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x10117f2c], bl
mov dword [0x10117f1c], 0xbb2
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov dword [0x10117f20], 0x1a51
mov bl, byte [0x10117f2c]
mov ecx, dword [0x10117f28]
mov byte [esi + ecx], bl
mov dword [0x10117f1c], 0x11ba
mov ecx, dword [0x10117f24]
add ecx, 1
mov dword [0x10117f24], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x100067d0
jmp 0x10006765
Function at 0x100068a9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10117f24], 0
mov dword [0x10117f28], 0
mov dword [0x10117f30], 0
mov dword [0x10117f20], 0x1b18
mov dword [0x10117f1c], 0x9a9
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x10006924
mov dword [0x10117f1c], 0x24d5
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov edi, eax
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10117f24], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10117f28], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10117f2c], cl
mov dword [0x10117f1c], 0x1d37
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10117f2c]
mov edx, dword [0x10117f28]
mov byte [ebx + edx], cl
mov edx, dword [0x10117f24]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10117f28]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10117f30], ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [0x10117f20]
add ecx, 0xffffe50c
mov dword [0x10117f20], ecx
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x10006912
mov eax, dword [0x10117f28]
mov ecx, dword [0x10117f24]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10006924
Function at 0x10006b65
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov ecx, dword [0x10117f20]
add ecx, 0x78b
mov dword [0x10117f1c], ecx
mov dword [ebp - 0x10], eax
call fcn.10006a0c
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x10117f1c], 0x1c7d
cmp dword [eax + esi], 0x4550
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
je 0x10006c47
jmp 0x10006c57
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10117f20], 0x8fd
mov edx, dword [ebp - 0x18]
add edx, ecx
mov dword [0x10117f1c], 0xfffff08d
mov dword [ebp - 0x28], edx
jmp 0x10006d1a
mov eax, dword [ebp - 0x2c]
mov ecx, eax
mov edx, dword [ebp - 0x30]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
je 0x10006ce5
jmp 0x10006cb9
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x44]
mov edi, dword [esi + eax*4]
mov dword [0x10117f1c], 0x561
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edx
jmp 0x10006bef
mov eax, dword [ebp - 0x14]
mov dword [0x10117f1c], 0x1fe4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov edx, dword [0x10117f20]
add edx, 0x1f4f
mov dword [0x10117f20], edx
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0x18]
add edx, dword [edx + eax + 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + eax + 0x24]
mov dword [0x10117f1c], 0x1b75
mov ebx, dword [esi + eax + 0x18]
cmp ebx, 0
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x28], ecx
je 0x10006d1a
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x50]
add ecx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x10006c21
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x2c], eax
jne 0x10006bef
mov al, byte [ebp - 0x36]
test al, 1
jne 0x10006bbb
jmp 0x10006cf2
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x4c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x28], eax
jb 0x10006c21
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007106
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10117f20], 0x1683
mov dword [0x10117f1c], 0x1fed
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x100071fc
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10117f1c], 0xae5
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.100063fe
mov eax, dword [ebp - 0x38]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [0x10117f1c], 0x230d
mov dword [eax + 0xd0], 0x4550
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x14d0
mov edx, dword [ebp - 0x38]
add edx, 0xffc00000
mov esi, dword [ebp - 0x2c]
mov dword [esi + 0x34], edx
mov edx, dword [0x10117f1c]
add edx, 0x232
mov dword [0x10117f20], edx
mov edx, dword [ebp - 0x38]
mov dword [esi + 0x20], edx
mov dword [0x10117f1c], 0x44c
cmp edx, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x100071f3
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x100081f8]
mov dl, byte [eax + 0x100081c9]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x100071fc
lea eax, [ebp - 0x24]
mov dword [0x10117f1c], 0xb67
mov dword [ebp - 0x44], eax
call fcn.10006e6e
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.10006f5f
mov dword [0x10117f1c], 0x2116
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x10007137
jmp 0x1000713f
Function at 0x1000729a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10117f20], 0x619
mov dword [0x10117f1c], 0xffffee8d
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, [0x10104d90]
imul esi, eax, 0x5c
mov edi, edx
add edi, esi
add edi, 0x58
mov esi, dword [edi]
imul edi, eax, 0x5c
add edx, edi
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x352
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x100072d3
xor eax, eax
mov dword [0x10117f1c], 0xfffff9ee
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x100081f8]
mov dl, byte [eax + 0x100081c9]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x1000733e
lea eax, [ebp - 0x2c]
mov dword [0x10117f1c], 0x777
mov dword [ebp - 0x144], eax
call fcn.10006e6e
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.10006f5f
mov dword [0x10117f34], eax
mov ecx, dword [0x10117f20]
add ecx, 0xffffe0bd
mov dword [0x10117f20], ecx
mov ecx, esp
mov edx, dword [ebp - 0x13c]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, [0x10104d90]
imul esi, eax, 0x5c
mov edi, edx
add edi, esi
add edi, 0x58
mov esi, dword [edi]
imul edi, eax, 0x5c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x5c
add edx, ebx
add edx, 0x54
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x148]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.1000664d
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x352
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
jne 0x100073e5
lea eax, [0x100081d7]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov dword [0x10117f1c], 0x130b
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.1000671e
mov dword [0x10117f1c], 0x125b
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.100068a9
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x682c5
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x11c800
mov ecx, dword [ebp - 0x148]
add ecx, 0x112c5
mov dword [edx + 8], ecx
mov dword [0x10117f20], 0x1540
mov dword [edx + 0xc], 0x2020
mov dword [0x10117f1c], 0xd8c
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409a30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4695db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045dff9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409ab2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045bf10
mov eax, dword [eax]
push 0x47f1f0
push eax
call fcn.0044eb04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045e284
test bl, bl
je 0x409ab2
push 0x47f1f0
lea ecx, [esp + 0xc]
call fcn.0045e614
push 0x482d64
lea ecx, [esp + 0xc]
call fcn.0045e614
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x409aee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045e284
jmp 0x409bb9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x409b72
lea edx, [esp + 0x7c]
push 0x482d60
push edx
call fcn.0044eb04
add esp, 8
test eax, eax
je 0x409b72
lea eax, [esp + 0x7c]
push 0x482d5c
push eax
call fcn.0044eb04
add esp, 8
test eax, eax
je 0x409b72
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409b02
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045e284
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40a3d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40a432
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc