joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d834
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x44d887
mov eax, dword [ebp - 0x14]
call fcn.00430d40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44d887
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x44d887
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x44da16
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x44d8d0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x44d8d0
mov eax, dword [ebp - 0x14]
call fcn.00430d40
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44da0b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xec]
test al, al
jne 0x44da16
jmp 0x44da0b
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x44d9e6
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x44d9e6
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x44d913
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x44d90d
sub eax, 3
je 0x44d90d
sub eax, 3
jne 0x44d913
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x44d92a
dec eax
je 0x44d941
dec eax
je 0x44d968
dec eax
je 0x44d941
jmp 0x44d975
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x45ded4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0043c560
jmp 0x44da0b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x44d95b
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403de4
jmp 0x44da16
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x44da0b
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x44da0b
mov eax, dword [0x45fb8c]
cmp byte [eax + 0x20], 0
je 0x44da0b
mov eax, dword [0x45fb8c]
cmp dword [eax + 0x1c], 0
je 0x44da0b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x45fb8c]
cmp eax, dword [edx + 0x1c]
jne 0x44da0b
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.00430c5c
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403de4
jmp 0x44da16
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x44da0b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.0044b918
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451ba4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x451bc5
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x451bfa
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x451bea
mov eax, dword [ebp - 4]
call fcn.0045032c
test eax, eax
jne 0x451bea
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x451d24
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00451578
jmp 0x451d24
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x451d1d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00454368
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0044d6e8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00451ba4
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00454368
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451d24
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x459dac
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x45e014]
cmp byte [eax + 0xc], 0
je 0x459f1e
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x459f17
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45fbe0], 0
jne 0x459e05
push 0x459f24
call sub.KERNEL32.DLL_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x459f2c
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fbe0], eax
cmp dword [0x45db58], 0
jne 0x459f00
push 0x459f3c
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x45db58], eax
cmp dword [0x45db58], 0
je 0x459f00
push 0x459f48
mov eax, dword [0x45db58]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fbe4], eax
push 0x459f58
mov eax, dword [0x45db58]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fbe8], eax
push 0x459f6c
mov eax, dword [0x45db58]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fbec], eax
push 0x459f84
mov eax, dword [0x45db58]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fbf0], eax
push 0x459f9c
mov eax, dword [0x45db58]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fbf4], eax
push 0x459fb0
mov eax, dword [0x45db58]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fbf8], eax
push 0x459fc8
mov eax, dword [0x45db58]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fbfc], eax
push 0x459fe0
mov eax, dword [0x45db58]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fc00], eax
push 0x459ffc
mov eax, dword [0x45db58]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fc04], eax
push 0x45a008
mov eax, dword [0x45db58]
push eax
call sub.KERNEL32.DLL_GetProcAddress_1
mov dword [0x45fc08], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459f1e
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x45b1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00403100
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404dec
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.0045addc
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x45b348
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
call fcn.0045ad8c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404dec
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45b3b0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x45de78]
mov dl, 1
mov eax, dword [0x45ac68]
call fcn.0040a9d4
call fcn.0040439c
mov esp, ebp
pop ebp
ret 8

Function at 0x45b3b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404dec
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45b41a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x45e020]
mov dl, 1
mov eax, dword [0x45ac68]
call fcn.0040a9d4
call fcn.0040439c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.0045addc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x45be98
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45bf07
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.004092f4
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x45bf1c
call fcn.00404c40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bf0e
lea eax, [ebp - 0x104]
call fcn.0040493c
ret
Function at 0x10001ba0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x8c
xor ecx, ecx
lea eax, [esp + 0x48]
mov dword [esp], ecx
fild dword [esp]
inc ecx
add eax, 4
cmp ecx, 0x10
mov dword [esp], ecx
fmul dword [0x100215b8]
fld st(0)
fmul st(1)
fmul dword [0x100215b4]
fld st(1)
fmul dword [0x100215b0]
fsubp st(1)
fmul st(1)
fadd dword [0x10021560]
fstp dword [eax - 0x44]
fadd dword [0x10021560]
fld st(0)
fmul dword [0x100215ac]
fsubr dword [0x100215b0]
fmul st(1)
fsub dword [0x100215a8]
fmul st(1)
fadd dword [0x100215a4]
fstp dword [eax - 4]
fstp st(0)
jl 0x10001bb0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x98], 0
mov dword [esp + 0x10], 0
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 4
lea ebx, [eax + 0x10]
mov eax, ebx
lea ecx, [ebp + 0x10]
cdq
xor eax, edx
mov esi, 4
sub eax, edx
fld dword [esp + eax*4 + 0x18]
mov eax, ecx
add edi, 4
cdq
xor eax, edx
sub ecx, 0x10
sub eax, edx
dec esi
fld dword [esp + eax*4 + 0x18]
fmul st(1)
fstp dword [edi - 4]
jne 0x10001c51
mov eax, dword [esp + 0x14]
sub ebx, 0x10
dec eax
fstp st(0)
mov dword [esp + 0x14], eax
jne 0x10001c3e
inc ebp
cmp ebp, 0x10
jl 0x10001c2f
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x10001c2d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
Function at 0x10004080
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xfc
push ebx
push ebp
push esi
mov ebx, 9
mov esi, 0x31
mov edx, 0x1a
mov dword [esp + 0x24], ecx
push edi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x58], esi
mov dword [esp + 0xc8], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0xcc], esi
mov dword [esp + 0x64], ebx
mov eax, 0x17
mov ebp, 0x29
mov edi, 0x2b
mov ecx, 0x10
mov esi, 0xe
mov edx, 0xa
xor ebx, ebx
mov dword [esp + 0x2c], 0x2f
mov dword [esp + 0x9c], 6
mov dword [esp + 0x30], 0x1c
mov dword [esp + 0xa0], 7
mov dword [esp + 0x34], 0x1d
mov dword [esp + 0xa4], 0xd
mov dword [esp + 0x38], 0x23
mov dword [esp + 0xa8], 0x13
mov dword [esp + 0x3c], 0x26
mov dword [esp + 0xac], eax
mov dword [esp + 0x40], 0x1f
mov dword [esp + 0xb0], 0x14
mov dword [esp + 0x44], 0x15
mov dword [esp + 0xb4], 0x11
mov dword [esp + 0x48], 0x27
mov dword [esp + 0xb8], 0x21
mov dword [esp + 0x4c], 0x22
mov dword [esp + 0xbc], 0xc
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], ebp
mov dword [esp + 0x68], 0xc
mov dword [esp + 0xd8], 0x22
mov dword [esp + 0x6c], 0x21
mov dword [esp + 0xdc], 0x27
mov dword [esp + 0x70], 0x11
mov dword [esp + 0xe0], 0x15
mov dword [esp + 0x74], 0x14
mov dword [esp + 0xe4], 0x1f
mov dword [esp + 0x78], eax
mov dword [esp + 0xe8], 0x26000026
xchg edi, eax
inc esi
invalid
Function at 0x100084f0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push 0x20019
push 0
push 0x100235d4
mov dword [esp + 0x30], ecx
push 0x80000000
mov dword [esp + 0x28], 1
call ebx
test eax, eax
je 0x10008530
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push 0x10033b8c
push edx
push 0
push 0
push eax
mov dword [esp + 0x30], 0x100
call ebp
mov ecx, dword [esp + 0x10]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10008574
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
mov edi, 0x100235c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x10033b8c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
mov ecx, edx
push eax
push 0x20019
and ecx, 3
push 0
push 0x10033b8c
push 0x80000000
rep movsb byte es:[edi], byte [esi]
call ebx
test eax, eax
je 0x100085c8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push 0x10033c8c
push edx
push 0
push 0
push eax
mov dword [esp + 0x34], 0x100
call ebp
mov ecx, dword [esp + 0x10]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10008606
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
push 0x25
push 0x10033c8c
call sub.MSVCRT.dll_strchr
add esp, 8
test eax, eax
je 0x1000861c
mov byte [eax], 0
mov edi, 0x100235bc
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10033c8c
mov esi, edi
mov edx, ecx
mov edi, 0x10033c8c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, dword [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x10033c8c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10008d75
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor eax, eax
lea ebp, [esi + 0x318]
push 0x18
push 2
mov ecx, ebp
lea ebx, [esi + 0x76]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esp + 0x1c], eax
call fcn.10003650
mov edi, dword [esi + 0x31c]
xor eax, eax
test edi, edi
mov cl, 1
jle 0x10008dc3
test cl, cl
je 0x10008dd7
movsx edx, ax
cmp byte [edx + esi + 0x76], 0
jbe 0x10008db7
xor cl, cl
inc eax
movsx edx, ax
cmp edx, edi
jl 0x10008da7
test cl, cl
je 0x10008dd7
mov dword [esi + 0x2a4], 0x2710
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
lea eax, [esp + 0x12]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebx
mov ecx, ebp
call fcn.10003790
test eax, eax
je 0x10008e02
movsx edx, word [esp + 0x12]
mov dword [esi + 0x2a8], edx
mov dword [esp + 0x1c], 0
jmp 0x10008e41
mov eax, ebx
mov ecx, 0x18
mov dl, byte [eax]
xor dl, 1
mov byte [eax], dl
inc eax
dec ecx
jne 0x10008e09
lea eax, [esp + 0x12]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebx
mov ecx, ebp
call fcn.10003790
test eax, eax
je 0x10008f1e
movsx edx, word [esp + 0x12]
mov dword [esi + 0x2a8], edx
mov dword [esp + 0x1c], 1
mov ebp, dword [esp + 0x18]
xor ecx, ecx
xor eax, eax
mov dl, byte [eax + ebp]
inc ecx
mov byte [eax + esi + 0x76], dl
movsx eax, cx
cmp eax, edi
jl 0x10008e49
mov ecx, dword [esi + 0x90]
xor ebp, ebp
test ecx, ecx
lea edi, [ecx + ebx - 1]
jle 0x10008e8f
mov eax, dword [esi + 8]
xor edx, edx
shl eax, 1
mov dword [esi + 8], eax
mov dl, byte [edi]
and edx, 0x80000001
jns 0x10008e81
dec edx
or edx, 0xfffffffe
inc edx
add edx, eax
dec edi
inc ebp
mov dword [esi + 8], edx
movsx eax, bp
cmp eax, ecx
jl 0x10008e68
mov eax, dword [esi + 0x94]
xor ebp, ebp
add ecx, eax
xor edi, edi
cmp eax, ebp
lea ecx, [ecx + ebx - 1]
jle 0x10008ec8
xor edx, edx
mov dl, byte [ecx]
and edx, 0x80000001
jns 0x10008eb4
dec edx
or edx, 0xfffffffe
inc edx
mov ebx, dword [esp + 0x14]
dec ecx
inc edi
lea edx, [edx + ebx*2]
mov dword [esp + 0x14], edx
movsx edx, di
cmp edx, eax
jl 0x10008ea3
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
cmp eax, 1
jle 0x10008eda
mov dword [esi + 4], ebp
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x10008ee6
cmp eax, 5
jle 0x10008eff
mov cx, word [esi + 4]
mov dx, word [esi + 8]
mov word [esi + 0x3a6], cx
mov dword [esi + 4], ebp
mov word [esi + 0x3a8], dx
mov eax, dword [esi + 4]
mov ecx, esi
push eax
call fcn.10008850
mov edx, dword [esp + 0x1c]
xor eax, eax
test edx, edx
pop edi
pop esi
setne al
pop ebp
inc eax
pop ebx
add esp, 0x10
ret
mov dword [esi + 0x2a8], 0x2710
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x10009a40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x8c
xor edx, edx
lea eax, [esp + 0x48]
mov dword [esp], edx
fild dword [esp]
inc edx
add eax, 4
cmp edx, 0x10
mov dword [esp], edx
fmul dword [0x100215b8]
fld st(0)
fmul st(1)
fmul dword [0x100215b4]
fld st(1)
fmul dword [0x100215b0]
fsubp st(1)
fmul st(1)
fadd dword [0x10021560]
fstp dword [eax - 0x44]
fadd dword [0x10021560]
fld st(0)
fmul dword [0x100215ac]
fsubr dword [0x100215b0]
fmul st(1)
fsub dword [0x100215a8]
fmul st(1)
fadd dword [0x100215a4]
fstp dword [eax - 4]
fstp st(0)
jl 0x10009a50
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx + 0xba0]
mov dword [esp + 0x98], 0
mov dword [esp + 0x10], 0
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 4
lea ebx, [eax + 0x10]
mov eax, ebx
lea ecx, [ebp + 0x10]
cdq
xor eax, edx
mov esi, 4
sub eax, edx
fld dword [esp + eax*4 + 0x18]
mov eax, ecx
add edi, 4
cdq
xor eax, edx
sub ecx, 0x10
sub eax, edx
dec esi
fld dword [esp + eax*4 + 0x18]
fmul st(1)
fstp dword [edi - 4]
jne 0x10009af0
mov eax, dword [esp + 0x14]
sub ebx, 0x10
dec eax
fstp st(0)
mov dword [esp + 0x14], eax
jne 0x10009add
inc ebp
cmp ebp, 0x10
jl 0x10009ace
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x10
mov dword [esp + 0x10], eax
jl 0x10009acc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
Function at 0x40adf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x467efb
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.0045c947
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ae72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045a830
mov eax, dword [eax]
push 0x4801f0
push eax
call fcn.0044d464
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045cbd2
test bl, bl
je 0x40ae72
push 0x4801f0
lea ecx, [esp + 0xc]
call fcn.0045cf62
push 0x483d6c
lea ecx, [esp + 0xc]
call fcn.0045cf62
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 0x40aeae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045cbd2
jmp 0x40af79
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 0x40af32
lea edx, [esp + 0x7c]
push 0x483d68
push edx
call fcn.0044d464
add esp, 8
test eax, eax
je 0x40af32
lea eax, [esp + 0x7c]
push 0x483d64
push eax
call fcn.0044d464
add esp, 8
test eax, eax
je 0x40af32
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 0x40aec2
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.0045cbd2
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 0x40b770
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 0x40b7d2
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