joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009a7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x100150e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0xdc], eax
or edi, 0xffffffff
mov eax, dword [ecx + 0x20]
xor ebx, ebx
mov dword [ebp - 0xd4], 0x64
test eax, eax
je 0x10009ab8
mov edx, dword [eax]
jmp 0x10009aba
mov edx, ebx
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.10006d4f
mov esi, eax
test esi, esi
js 0x10009b9a
lea eax, [ebp - 0xd8]
push eax
push 0x20019
push ebx
push str.MSProject.ApplicationCurVer
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10009b93
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xd0]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10009b93
push 0x16
lea eax, [ebp - 0xd0]
push str.MSProject.Application.
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x10009b93
mov eax, dword [ebp - 0xa4]
push 0x30
pop ecx
cmp ax, cx
jbe 0x10009b93
cmp ax, 0x39
ja 0x10009b93
movzx edi, ax
mov eax, dword [ebp - 0xa2]
sub edi, ecx
push 0x17
pop ebx
test ax, ax
je 0x10009b7f
movzx edx, ax
lea eax, [edx - 0x30]
cmp ax, 9
ja 0x10009b7f
imul ecx, edi, 0xa
movzx edi, dx
movzx edx, word [ebp + ebx*2 - 0xce]
add edi, 0xffffffd0
add edi, ecx
inc ebx
test dx, dx
jne 0x10009b5d
xor ecx, ecx
mov eax, 0x80004005
cmp word [ebp + ebx*2 - 0xd0], cx
cmovne esi, eax
jmp 0x10009b98
mov esi, 0x80004005
test esi, esi
mov eax, dword [ebp - 0xdc]
cmovns esi, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
call fcn.10001171
leave
ret 8

Function at 0x1000bc9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1054
call fcn.1000ee3e
mov eax, dword [0x100150e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, 0x1048
mov esi, dword [eax]
lea eax, [ebp - 0x104c]
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1050], edi
lea eax, [ebp - 0x1050]
push eax
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1054]
push eax
push 0
push str.Path
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
pop edi
pop esi
test ecx, ecx
jne 0x1000bd10
lea eax, [ebp - 0x104c]
push eax
call fcn.10007b7d
jmp 0x1000bd1d
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001171
leave
ret 4
Function at 0x4012b7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
lea eax, [ebp - 0x40]
push eax
push 2
call fcn.004014e4
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
pop ecx
pop ecx
lea eax, [ebp - 0x40]
push eax
call esi
push 0x404170
mov edi, eax
call esi
mov dword [0x405010], eax
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.00401483
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push edi
call esi
mov dword [0x405050], eax
lea eax, [ebp - 0x20]
push eax
push 1
call fcn.00401483
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push edi
call esi
mov dword [0x40504c], eax
lea eax, [ebp - 0x20]
push eax
push 0xe
call fcn.00401483
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push edi
call esi
mov dword [0x405048], eax
lea eax, [ebp - 0x20]
push eax
push 7
call fcn.00401483
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push dword [0x405010]
call esi
mov dword [0x40502c], eax
lea eax, [ebp - 0x20]
push eax
push 8
call fcn.00401483
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push dword [0x405010]
call esi
mov dword [0x405030], eax
lea eax, [ebp - 0x20]
push eax
push 9
call fcn.00401483
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push dword [0x405010]
call esi
mov dword [0x405034], eax
lea eax, [ebp - 0x20]
push eax
push 0xa
call fcn.00401483
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push dword [0x405010]
call esi
mov dword [0x405038], eax
lea eax, [ebp - 0x20]
push eax
push 0xc
call fcn.00401483
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push dword [0x405010]
call esi
mov dword [0x40503c], eax
lea eax, [ebp - 0x20]
push eax
push 0xd
call fcn.00401483
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push dword [0x405010]
call esi
mov dword [0x405040], eax
lea eax, [ebp - 0x20]
push eax
push 0xf
call fcn.00401483
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
push dword [0x405010]
call esi
pop edi
mov dword [0x405044], eax
pop esi
leave
ret
Function at 0x402514
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x220
push ebx
mov ebx, dword [eax]
lea eax, [ebp - 0x220]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4026d1
push esi
push edi
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
call fcn.0040140d
push 3
mov dword [ebp - 0x34], eax
call fcn.0040140d
push 4
mov dword [ebp - 0x30], eax
call fcn.0040140d
add esp, 0xc
mov dword [ebp - 0x2c], eax
call fcn.0040125c
xor esi, esi
mov dword [ebp + 8], esi
jmp 0x4026b9
push fcn.004012a1
mov edi, fcn.0040128b
push edi
lea ecx, [ebp - 0x90]
call fcn.004011f2
push fcn.004012a1
push edi
lea ecx, [ebp - 0x64]
call fcn.004011f2
push 0xcb84
call dword [sym.imp.WS2_32.dll_htons]
push esi
push esi
push esi
push esi
call dword [0x405044]
push esi
push esi
push esi
mov edi, eax
push esi
mov dword [ebp - 0xc], edi
call dword [0x405044]
push 0x20
mov dword [ebp - 8], eax
call fcn.0040128b
pop ecx
cmp eax, esi
je 0x4025fc
mov ecx, dword [ebp - 8]
or dword [eax + 0xc], 0xffffffff
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x90]
mov dword [eax + 0x10], ecx
lea ecx, [ebp - 0x64]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ebp + ecx*4 - 0x34]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], esi
mov dword [ebp - 4], eax
jmp 0x4025ff
mov dword [ebp - 4], esi
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 4]
push 0x401637
push esi
push esi
call dword [0x405040]
mov edi, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
jmp 0x40264b
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.00401dca
add esp, 0x14
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x1c]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x40262d
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], esi
je 0x402687
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp dword [ebp + eax*4 - 0x34], esi
jne 0x402687
mov dword [ebp + 8], esi
push dword [ebp - 0xc]
call edi
push dword [ebp - 8]
call edi
push dword [ebp - 4]
call fcn.004012a1
mov dword [esp], 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x64]
call fcn.00401223
lea ecx, [ebp - 0x90]
call fcn.00401223
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x402575
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x4026d8
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
lea eax, [ebp - 0x3c]
push eax
push 3
call fcn.004014e4
lea eax, [ebp - 0x14]
push eax
push 4
call fcn.004014e4
mov ebx, dword [ebp + 8]
add esp, 0x10
push ebx
xor eax, eax
push eax
push eax
push 0x23
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, 0x4041a0
push edi
push ebx
call esi
lea eax, [ebp - 0x3c]
push eax
push ebx
call esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
push ebx
call esi
lea eax, [ebp - 0x3c]
push eax
push ebx
call esi
lea eax, [ebp - 0x14]
push eax
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4028dd
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
push ebx
xor eax, eax
push 0x206
mov word [ebp - 0x260], ax
xor ebx, ebx
lea eax, [ebp - 0x25e]
push ebx
push eax
call sub.ntdll.dll_memset
lea eax, [ebp - 0x260]
push eax
call fcn.004026d8
add esp, 0x10
push ebx
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x40297a
lea eax, [ebp - 0x260]
push edi
push eax
call fcn.00402831
push 0x40
lea eax, [ebp - 0x54]
push ebx
push eax
call sub.ntdll.dll_memset
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
add esp, 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x58], 0x44
call dword [0x40503c]
pop edi
xor eax, eax
cmp byte [ebp - 1], bl
pop ebx
sete al
leave
ret

Function at 0x402af1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x402b06
xor al, al
pop ebp
ret
shr al, 4
and al, 1
pop ebp
ret
Function at 0x402c45
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
and dword [ebp - 4], 0
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x66e], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x402c90
push 0x4041a0
lea eax, [ebp - 0x66c]
push eax
call esi
push 0x404198
lea eax, [ebp - 0x66c]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x66c]
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402cc2
xor eax, eax
jmp 0x402e3e
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x404194
lea eax, [ebp - 0x230]
push eax
call edi
test eax, eax
je 0x402cf0
push 0x40418c
lea eax, [ebp - 0x230]
push eax
call edi
test eax, eax
je 0x402cf0
inc dword [ebp - 4]
lea eax, [ebp - 0x25c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402cc3
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0xc]
and dword [ebx], 0
cmp dword [ebp - 4], 0
jne 0x402d1c
xor eax, eax
jmp 0x402e3d
mov eax, dword [ebp - 4]
imul eax, eax, 0x438
push eax
call fcn.0040128b
mov edi, eax
xor eax, eax
mov dword [ebx], edi
stosd dword es:[edi], eax
pop ecx
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x66c]
push eax
call esi
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x402e3a
and dword [ebp - 8], 0
xor edi, edi
inc edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x404194
lea eax, [ebp - 0x230]
push eax
call esi
test eax, eax
je 0x402e19
push 0x40418c
lea eax, [ebp - 0x230]
push eax
call esi
test eax, eax
je 0x402e19
mov esi, dword [ebx]
add esi, dword [ebp - 8]
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [esi + 0x414], edi
mov eax, dword [ebp - 0x25c]
shr eax, 4
and eax, edi
add dword [ebp - 8], 0x438
mov dword [esi + 0x410], eax
mov eax, dword [ebp - 0x258]
mov dword [esi + 0x420], eax
mov eax, dword [ebp - 0x254]
mov dword [esi + 0x424], eax
mov eax, dword [ebp - 0x250]
mov dword [esi + 0x428], eax
mov eax, dword [ebp - 0x24c]
mov dword [esi + 0x42c], eax
mov eax, dword [ebp - 0x248]
mov dword [esi + 0x430], eax
mov eax, dword [ebp - 0x244]
mov dword [esi + 0x434], eax
mov eax, dword [ebp - 0x240]
mov dword [esi + 0x418], eax
mov eax, dword [ebp - 0x23c]
mov dword [esi + 0x41c], eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402d56
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402e42
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov eax, 0x288
push eax
push 8
mov dword [ebp - 4], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x402f2d
push ebx
lea eax, [ebp - 4]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp eax, 0x6f
jne 0x402eae
push edi
push 0
call esi
push eax
call ebx
push dword [ebp - 4]
push 8
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x402eae
push eax
push eax
call esi
push eax
call ebx
xor eax, eax
jmp 0x402f2c
lea eax, [ebp - 4]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x402f21
lea eax, [ebp - 0x24]
push eax
push 6
call fcn.00401483
mov eax, dword [ebp + 8]
mov byte [eax], 0
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
lea eax, [ebp - 0xa4]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 0
call esi
push eax
call ebx
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0x40302e
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x220], ax
xor edi, edi
lea eax, [ebp - 0x21e]
push edi
push eax
mov dword [ebp - 0x14], 0x104
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x220]
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
mov esi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x220]
push eax
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4030f9
push dword [ebp - 4]
call fcn.00403000
mov ebx, eax
mov eax, dword [ebp - 8]
add eax, eax
push eax
call fcn.00403000
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
cmp ebx, edi
je 0x4030fc
cmp eax, edi
je 0x4030fc
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0x220]
push eax
push edi
call esi
test eax, eax
je 0x4030fc
push dword [ebp + 8]
push ebx
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x4030fc
mov dword [ebp - 0xc], 1
jmp 0x4030fc
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x10]
call fcn.00403017
push ebx
call fcn.00403017
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x107f4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x107f41a8
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 0x107f407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107f406a
add dl, dl
jne 0x107f4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107f40dc
xor eax, eax
add dl, dl
jne 0x107f4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107f417d
add dl, dl
jne 0x107f40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107f40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107f40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107f40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107f40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x107f4075
mov eax, 1
add dl, dl
jne 0x107f40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107f40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107f40e1
sub eax, ebx
mov ebx, 1
jne 0x107f4128
mov ecx, 1
add dl, dl
jne 0x107f410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107f4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107f4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107f4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x107f413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x107f414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107f4136
cmp eax, 0x7d00
jae 0x107f416d
cmp eax, 0x500
jb 0x107f4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107f4075
cmp eax, 0x7f
ja 0x107f4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x107f4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x107f419e
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 0x107f4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x435660
Capabilities:
Encode data using xor

Disassembly:
salc
xor dword [eax - 0x62162553], ecx
sar byte [ebx], 1
mov bh, 0x8f
xor dh, 0x27
test eax, 0xe3fbf681
xor esi, 0x630e3fb
xor esi, 0x630e3fb
inc ebp
jbe 0x43567a
pop ecx
lahf
aas
xchg edx, eax
jle 0x435650
or dh, cl
pop esi
aas
jg 0x435689
ret
and bh, byte gs:[edx + 0x7a]
sal dword [edx], cl
aam 0xc2
sar dword [ebx - 0x2677260c], cl
pushfd
stosb byte es:[edi], al
xchg esp, eax
and ecx, dword [edx]
fst st(7)
out 0x59, al
cmpsd dword [esi], dword es:[edi]
ja 0x4356e2
inc esi
mov ebp, 0x9f774fdb
in eax, 0x3d
dec ebp
push ebp
fisttp word [edx + 0x75]
ret 0xd5bc
rol dword [edi - 0x52], cl
or edi, dword [ebx + 0xc9b57be]
push 0x28
jo 0x43572d
mov esi, 0x6a0c9b57
sub byte [eax + 0x75], dh
cmc
arpl bp, ax
dec eax
outsb dx, byte [esi]
jb 0x4356ab
lodsb al, byte [esi]
xchg ebp, eax
cdq
sbb al, 0x70
cmp eax, 0x53c553f7
mov esi, 0xb16f0aaa
popfd
scasb al, byte es:[edi]
sub ebx, dword [edi]
cwde
adc dword [ebx - 8], 0x54
jg 0x4356b0
mov esi, 0x1746ef97
invalid
jecxz 0x4356d7
inc edx
mov ebx, 0x4f4455d6
outsd dx, dword [esi]
invalid
cmp al, 0x19
inc edi
mov eax, dword [0xcc49ae94]
adc al, 0x89
pop ebp
movsd dword es:[edi], dword [esi]
popfd
dec edi
and dl, byte [ebx - 0x3cc8f7d]
scasb al, byte es:[edi]
dec ecx
int3
xor dword [eax + 0x33], 0xfffffffc
jo 0x4356bb
mov esi, 0xa28cea00
adc ecx, dword [edx]
into
xchg edx, eax
mov byte [0x92ce0a13], al
lahf
je 0x43574d
cmp eax, dword fs:[eax - 0x2a]
loopne 0x435773
cmp byte [edi + 0xf5cd795], 0xcf
adc al, 0xb7
xchg ebx, eax
test byte [ebx], 0x42
push edi
stosd dword es:[edi], eax
mov ch, 0x9e
std
ljmp 0x86cb
je 0x435799
cmpsd dword [esi], dword es:[edi]
adc bh, byte [edx - 0x7f]
mov ch, ah
mov bh, 0xd7
xor cl, byte [ebp - 0x5b]
jo 0x435713
clc
out 0xa0, al
loope 0x435718
les eax, [edi]
push cs
dec esi
outsb dx, byte ss:[esi]
push 0x72
inc esp
inc ebp
cmp eax, 0xdb47cb33
sbb dword [edi + 0x44], edx
push es
jnp 0x435723
pop es
xchg ebx, eax
mov dword [0x18622ed7], eax
salc
shl byte [0xc0568d99], cl
mov dl, 0x25
mov dh, 0xb0
inc edx
cdq
invalid
Function at 0x401060
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [esp + 0x38]
mov edi, 0x3e8
push edi
push esi
mov dword [0x40a0f4], esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov ebx, dword [esp + 0x3c]
mov dword [0x40a0fc], eax
test ebx, ebx
jne 0x4010f7
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push str.AMCapIcon
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], 6
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], 0x100b
mov dword [esp + 0x14], 0x401340
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x4010f7
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret
push 0xc
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0
mov dword [0x40a350], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x40a350]
mov edi, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x4098e8
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
push esi
push 0
push 0
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x12c
push 0x140
push 0
push 0x80000000
push 0x2cf0000
push 0x409010
push 0x3e8
push 0
call edi
push ebx
push esi
mov dword [0x409920], eax
call fcn.00406120
mov edx, dword [0x409920]
add esp, 8
push 0
push esi
push 0
push edx
push 0
push 0
push 0
push 0
push 0x54800000
push 0
push str.StatusClass
push 0
call edi
test eax, eax
mov dword [0x40a0f8], eax
jne 0x4011a5
pop edi
pop esi
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [0x409920]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
push 0x40a100
push 0x40a35c
push str.CaptureFile
push str.annie
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProfileIntA]
push 0
push str.VideoDevice
push str.annie
mov dword [0x40a25c], 0xffffffff
mov dword [0x40a260], 0xffffffff
call esi
push 0
push str.AudioDevice
push str.annie
mov edi, eax
call esi
mov ebx, eax
call fcn.00403a30
push 1
push str.CaptureAudio
push str.annie
call esi
push 1
push str.WantPreview
push str.annie
mov dword [0x40a254], eax
call esi
push 0xffffffffffffffff
push str.MasterStream
push str.annie
mov dword [0x40a270], eax
call esi
push ebx
push edi
mov dword [0x40a240], eax
mov dword [0x40a2f8], 1
mov dword [0x40a268], 0
mov dword [0x40a26c], 0x403e0000
call fcn.00403850
add esp, 8
call fcn.00401000
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret