joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035af8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebp - 4], eax
jne 0x10035b17
mov eax, 0x80004005
jmp 0x10035b92
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x10035b31
mov eax, 0x80004005
jmp 0x10035b91
push esi
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 4]
push ebx
push eax
call sub.MSVCR80.dll_memcpy
and dword [ebp - 8], 0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10035b79
push eax
push dword [ebp - 8]
call fcn.100354b9
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop esi
pop ebx
leave
ret 0x10

Function at 0x10059399
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x10076156
call fcn.1006a3c9
mov dword [ebp - 0x18], ecx
push dword [ebp + 0xc]
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
call fcn.100043da
push dword [ebp + 0x10]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], esi
call fcn.100043da
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
mov byte [ebp - 4], 1
jne 0x10059411
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], esi
jne 0x10059411
push esi
push 0x80
push 3
push esi
xor edi, edi
inc edi
push edi
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10059473
mov ecx, dword [ebp - 0x18]
push esi
call fcn.10058e20
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], edi
jmp 0x10059473
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, esi
je 0x10059473
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
je 0x1005946c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x1005946c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x1005946c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, esi
je 0x1005946c
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10058def
mov dword [ebp - 0x14], 1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.1000146b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000146b
mov eax, dword [ebp - 0x14]
call fcn.1006a468
ret 0xc
Function at 0x1005ae17
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x100ca9c0]
xor eax, ebp
mov dword [ebp + 0x194], eax
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x1a0]
mov dword [ebp - 0x78], ebx
test byte [0x100cb110], 1
push edi
mov dword [ebp - 0x80], esi
mov edi, 0x100cb10c
jne 0x1005ae6f
or dword [0x100cb110], 1
push 0x100cb24c
mov ecx, edi
call fcn.10001bc1
push 0x10077f3a
call fcn.1006a616
pop ecx
mov eax, dword [0x100cb10c]
cmp dword [eax - 0xc], ebx
jle 0x1005ae88
push edi
mov ecx, esi
call fcn.10001ebf
mov eax, esi
jmp 0x1005af56
push 0x10078b38
mov ecx, edi
call fcn.10002f9f
mov esi, 0x208
push esi
lea eax, [ebp - 0x74]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push str.svcVersion
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], 1
call ebx
test eax, eax
je 0x1005af12
push esi
lea eax, [ebp - 0x74]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push str.Version
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], 1
call ebx
test eax, eax
jne 0x1005af4a
lea eax, [ebp - 0x74]
push 0x10078ba8
push eax
call dword [sym.imp.MSVCR80.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
je 0x1005af3f
and word [eax], 0
lea eax, [ebp - 0x74]
push eax
push str._s.0
push edi
call fcn.10003469
add esp, 0xc
jmp 0x1005af4a
lea eax, [ebp - 0x74]
push eax
mov ecx, edi
call fcn.10002f9f
mov ecx, dword [ebp - 0x80]
push edi
call fcn.10001ebf
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006a3ba
add ebp, 0x198
leave
ret
Function at 0x100680f2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.100043da
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ecx - 0xc], eax
je 0x10068153
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.1000146b
xor eax, eax
leave
ret 8

Function at 0x10069692
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
xor ebx, ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call esi
push ebx
mov edi, eax
call esi
push edi
push eax
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x44], 0x24
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [ebp - 0x44]
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x1006971b
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1006971b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x10069736
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x10069736
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jg 0x1006974a
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x1006974a
xor eax, eax
jmp 0x10069770
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
jl 0x1006975e
cmp ecx, dword [ebp - 0x1c]
jle 0x10069763
push 3
jmp 0x1006976f
cmp ecx, dword [ebp - 0x1c]
jg 0x1006976d
cmp eax, dword [ebp - 0x14]
jge 0x1006976d
xor eax, eax
inc eax
jmp 0x10069770
push 2
pop eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
lea esi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp ecx, ebx
pop ebx
je 0x10069786
mov dword [ecx], eax
xor eax, eax
leave
ret 0xc
Function at 0x10069dd7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x100ca9c0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.10069d16
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x10069e26
cmp dword [ebp - 0x1c], 5
jb 0x10069e3e
jmp 0x10069e3a
cmp dword [ebp - 0x10], 1
jne 0x10069e3e
cmp dword [ebp - 0x1c], 4
ja 0x10069e3a
jne 0x10069e3e
cmp dword [ebp - 0x18], 0
jbe 0x10069e3e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1008a640
call fcn.1000c1c8
test eax, eax
jge 0x10069e5f
mov byte [0x100cb078], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1006a3ba
add ebp, 0x78
leave
ret

Function at 0x1006a2c6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x100cb268], 0
push esi
jne 0x1006a239
call fcn.1006a164
test eax, eax
je 0x1006a27c
mov eax, dword [0x100cb268]
cmp eax, 1
jne 0x1006a25a
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1006a27c
pop esi
ret
push eax
call dword [0x100cb270]
test eax, eax
jne 0x1006a2c4
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1006a280
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x100cb268]
call dword [0x100cb270]
mov edi, eax
test edi, edi
je 0x1006a2a7
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x1006a2c3
lea edi, [esi + 0xff0]
push esi
push dword [0x100cb268]
call dword [0x100cb26c]
add esi, 0x10
cmp esi, edi
jb 0x1006a2ad
mov eax, esi
pop edi
pop esi
ret
jmp 0x1006a226

Function at 0x1006a3ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100ca9c0]
jne 0x1006a3c4
repz ret
jmp fcn.1006ac9b
Function at 0x1006dd80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1006ddf1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x1006ddf1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1006ddda
jmp 0x1006ddf1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x1006e3f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x100cb5f8], 0
je 0x1006e409
mov eax, dword [0x100cb5f8]
jmp 0x1006e5ab
mov dword [0x100cb5f8], 0x100cb5d0
push 0x28
push 0
push 0x100cb5d0
call sub.MSVCR80.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x100cb5d0], eax
push str.imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x100cb5d4], eax
cmp dword [0x100cb5d4], 0
jne 0x1006e44f
xor eax, eax
jmp 0x1006e5ab
push str.ImagehlpApiVersionEx
mov eax, dword [0x100cb5d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100cb5d8], eax
push str.SymInitialize
mov ecx, dword [0x100cb5d4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100cb5dc], eax
push str.SymSetOptions
mov edx, dword [0x100cb5d4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100cb5e0], eax
push str.SymGetOptions
mov eax, dword [0x100cb5d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100cb5e4], eax
push str.SymLoadModule
mov ecx, dword [0x100cb5d4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100cb5e8], eax
push str.SymGetModuleInfo
mov edx, dword [0x100cb5d4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100cb5ec], eax
push str.SymGetSymFromName
mov eax, dword [0x100cb5d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100cb5f0], eax
push str.BindImage
mov ecx, dword [0x100cb5d4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100cb5f4], eax
push 8
push 0
lea edx, [ebp - 8]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov word [ebp - 8], 7
cmp dword [0x100cb5d8], 0
je 0x1006e52d
lea eax, [ebp - 8]
push eax
call dword [0x100cb5d8]
cmp dword [0x100cb5d8], 0
je 0x1006e544
mov ecx, dword [ebp - 8]
and ecx, 0xffff
cmp ecx, 7
jge 0x1006e55f
mov edx, dword [0x100cb5d4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x100cb5d4], 0
xor eax, eax
jmp 0x1006e5ab
cmp dword [0x100cb5dc], 0
je 0x1006e578
push 0
push 0
mov eax, dword [0x100cb5d0]
push eax
call dword [0x100cb5dc]
cmp dword [0x100cb5e4], 0
je 0x1006e5a6
cmp dword [0x100cb5e0], 0
je 0x1006e5a6
call dword [0x100cb5e4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 7
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x100cb5e0]
mov eax, dword [0x100cb5f8]
mov esp, ebp
pop ebp
ret
Function at 0x437737
Capabilities:
Check http status code

Disassembly:
mov esi, 0x4392f0
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x20f8]
push eax
mov edx, dword [0x56bbf0]
mov ebx, dword [edx + 0x118]
or ebx, ebx
je 0x437761
test byte [ebx + 0x17], 0x80
jne 0x437761
mov ebx, dword [ebx + 0xc]
jmp 0x43777b
sub ebx, ebx
push ebx
add edx, 0x118
push edx
push 0x13
add edx, 6
push edx
call fcn.00e0c600
add esp, 0x10
mov ebx, eax
mov al, 1
call ebx
test edx, 0x107e
mov dword [ebp + 0x2208], eax
cmp dword [ebp + 0x2208], 0
jne 0x4377b5
mov esi, 0x439300
mov edi, dword [ebp - 0x44]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, 0x20202020
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xffffffffffffff99
call fcn.004377bf
cmp dword [esp + 4], 0xffffff98
jne fcn.004377bf
ret 4

Function at 0x4377bf
Capabilities:
Check http status code

Disassembly:
mov esi, 0x4392f0
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0x1dd8]
push eax
mov edx, dword [0x56bbf0]
mov ebx, dword [edx + 0x118]
or ebx, ebx
je 0x4377e9
test byte [ebx + 0x17], 0x80
jne 0x4377e9
mov ebx, dword [ebx + 0xc]
jmp 0x437803
sub ebx, ebx
push ebx
add edx, 0x118
push edx
push 0x13
add edx, 6
push edx
call fcn.00e0c600
add esp, 0x10
mov ebx, eax
mov al, 1
call ebx
test edx, 0xff6
mov dword [ebp + 0x2208], eax
cmp dword [ebp + 0x2208], 0
jne 0x437837
mov esi, 0x439320
mov edi, dword [ebp - 0x44]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov eax, 0x20202020
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esp + 4], 0xffffff99
jne fcn.00437841
ret 4
Function at 0x40f3ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40f3d9
pop dword [ebp - 0x28]
mov eax, 0x40f3d9
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3b921
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x3fcecbdd
add ecx, 0xc0317304
mov esi, eax
mov edi, 0x435400
add edi, dword [ebp - 0x28]
mov edx, 0x23ed2cc3
add edx, 0x18720fcb
xor dword [ebp - 0x1c], edx
mov ebx, dword [edi]
mov dword [ebp - 0x18], 0xb16a39b
xor ebx, edx
add dword [ebp - 0x1c], ecx
mov dword [esi], ebx
add dword [ebp - 0x18], 0x450cca9a
add esi, 4
add edi, 0xee3e23c2
sub edi, 0xee3e23be
loop 0x40f428
add eax, 0xd56ade27
add eax, 0x2a961030
xor ebx, ebx
add ebx, eax
add eax, 0xfa032a3f
sub eax, 0xfa032a3a
mov ecx, 0x33194339
add ecx, 0xcd26bcc7
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x10005800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000580f
pop dword [ebp - 0x1c]
mov eax, 0xd4075f60
sub eax, 0xc4070751
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x5cabc087
sub dword [ebp - 0x2c], 0xe597b3c
mov dword [ebp - 0x28], 0xdc549060
add dword [ebp - 0x28], 0x55debbe5
mov dword [ebp - 0x24], 0x36a9ca1e
add dword [ebp - 0x24], 0x15a27a10
mov dword [ebp - 0x20], 0x85313643
sub dword [ebp - 0x20], 0x85313643
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x45274d52
sub dword [ebp - 0x2c], 0xd0b4e3fc
mov dword [ebp - 0x28], 0x250b57d7
add dword [ebp - 0x28], 0x1c61099e
mov dword [ebp - 0x24], 0x2383acf2
add dword [ebp - 0x24], 0x3febbf7a
mov dword [ebp - 0x20], 0xe518859e
add dword [ebp - 0x20], 0x1ae77a62
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x1cb477a4
add eax, 0xf34d3870
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3c539
push 0
call eax
mov ecx, 0x662deb85
sub ecx, 0x662dab31
mov edx, eax
mov ebx, 0x1bca61d2
sub ebx, 0xbc7b1d2
add ebx, dword [ebp - 0x1c]
mov esi, 0xcc0bef60
sub esi, 0x52ae601e
sub dword [ebp - 0x14], 0x10144294
mov edi, dword [ebx]
mov dword [ebp - 0x18], 0xad71b4a9
xor edi, esi
add dword [ebp - 8], 0x49f02b8d
mov dword [edx], edi
xor dword [ebp - 0xc], 0x628825e9
add edx, 4
add ebx, 0x6687a68e
add ebx, 0x99785976
loop 0x1000592c
add eax, 0x8a116ace
add eax, 0x75ef8955
xor ebx, ebx
add ebx, eax
add eax, 0x1825b904
add eax, 0xe7da4701
mov ecx, 0x48181717
add ecx, 0xc7e7e8e9
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10799058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.107991a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1079907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1079906a
add dl, dl
jne 0x10799089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107990dc
xor eax, eax
add dl, dl
jne 0x10799096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1079917d
add dl, dl
jne 0x107990a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107990b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107990bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107990c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107990d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10799075
mov eax, 1
add dl, dl
jne 0x107990ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107990f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107990e1
sub eax, ebx
mov ebx, 1
jne 0x10799128
mov ecx, 1
add dl, dl
jne 0x1079910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10799119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10799105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10799075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1079913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1079914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10799136
cmp eax, 0x7d00
jae 0x1079916d
cmp eax, 0x500
jb 0x10799168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10799075
cmp eax, 0x7f
ja 0x10799170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10799075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1079919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10799075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x41c880
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49320b
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.004875a4
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41c902
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004851f3
mov eax, dword [eax]
push 0x97f220
push eax
call fcn.004774e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048782f
test bl, bl
je 0x41c902
push 0x97f220
lea ecx, [esp + 0xc]
call fcn.00487bbf
push 0x982da4
lea ecx, [esp + 0xc]
call fcn.00487bbf
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 0x41c93e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048782f
jmp 0x41ca09
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 0x41c9c2
lea edx, [esp + 0x7c]
push 0x982da0
push edx
call fcn.004774e4
add esp, 8
test eax, eax
je 0x41c9c2
lea eax, [esp + 0x7c]
push 0x982d9c
push eax
call fcn.004774e4
add esp, 8
test eax, eax
je 0x41c9c2
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 0x41c952
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.0048782f
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 0x41d200
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 0x41d262
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