joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406d30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp byte [ebx + 0x77], 0
je 0x406e1a
push esi
xor esi, esi
cmp dword [ebx + 0xd8], esi
jne 0x406e07
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
call fcn.00406c1a
mov eax, dword [ebp - 0xc]
cmp dword [eax - 0xc], esi
je 0x406da2
lea edx, [ebp - 0xc]
mov dword [ebp - 8], esi
lea ecx, [ebp - 8]
call fcn.00408756
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.00406310
test al, al
jne 0x406dac
mov ecx, esi
call fcn.00404846
test eax, eax
jns 0x406dac
lea ecx, [esi - 0x10]
call fcn.004015b2
mov eax, dword [ebp - 0xc]
lea ecx, [eax - 0x10]
call fcn.004015b2
jmp 0x406e19
mov al, byte [ebx + 0x79]
push edi
push 0x20
mov byte [ebp - 8], al
call fcn.0041d5ac
pop ecx
mov edx, eax
xor eax, eax
push 8
pop ecx
push dword [ebp - 8]
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xc]
mov ecx, edx
push edi
call fcn.00407883
mov dword [ebx + 0xd8], eax
test eax, eax
jne 0x406df6
push edi
push dword [ebx + 0x54]
push str.LOG_SYSTEM:___s_:_ERROR___Cannot_create_log_writer_to__s
call fcn.00408b76
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esi - 0x10]
call fcn.004015b2
lea ecx, [edi - 0x10]
call fcn.004015b2
pop edi
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x406e19
push eax
mov ecx, ebx
call fcn.00407653
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040c891
leave
ret

Function at 0x406fb4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x7a], 1
jne 0x406ffa
lea ecx, [ebp - 8]
call fcn.004065ba
push dword [eax]
push str.LOG_SYSTEM:___s_:_ERROR___Calling_the_logging_system_after_it_has_been_shut_down__n
call fcn.00408b76
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 8]
lea ecx, [eax - 0x10]
call fcn.004015b2
xor al, al
jmp 0x40702b
cmp byte [esi + 0x50], 1
jne 0x407004
mov al, 1
jmp 0x40702b
and dword [ebp - 0xc], 0
lea eax, [esi + 0x58]
and dword [ebp - 8], 0
lea ecx, [ebp - 0xc]
push eax
call fcn.00405f2d
mov ecx, esi
call fcn.00406eee
lea ecx, [ebp - 0xc]
mov bl, al
call fcn.00405f58
mov al, bl
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c891
leave
ret
Function at 0x407359
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x4074b8
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x407393
cmp dword [ebp + 0x10], 2
jg 0x4074b8
cmp dword [edi + 0xf8], 3
jg 0x4074b8
and dword [ebp - 0xc], 0
call fcn.004015db
push eax
lea ecx, [ebp - 0xc]
call fcn.00401f9b
and dword [ebp - 8], 0
call fcn.004015db
push eax
lea ecx, [ebp - 8]
call fcn.00401f9b
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
lea eax, [edi + 0x58]
mov eax, dword [eax]
add dword [edi + 0xe8], 1
push 0
adc dword [edi + 0xec], 0
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4212e8]
lea ecx, [edi + 0x58]
call esi
test al, al
jne 0x40741a
add dword [edi + 0xf0], 1
push 0x32
adc dword [edi + 0xf4], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x14
lea eax, [edi + 0x58]
jle 0x4073cd
jmp 0x40744f
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, edi
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040726d
mov eax, dword [edi + 0x58]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4212e8]
lea ecx, [edi + 0x58]
call esi
cmp dword [ebp - 0x10], 0x14
jle 0x40749b
push str.LOG_SYSTEM:_Couldnt_acquire_lock__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x435a88
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
inc dword [edi + 0xf8]
cmp dword [edi + 0xf8], 3
jle 0x4074a2
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, edi
push str.LOG_SYSTEM:_Couldnt_acquire_lock_after_max_retries__this_process_will_no_longer_log_
push eax
lea eax, [ebp - 0xc]
push eax
push 0xfffffffffffffffe
push 0
push ebx
call fcn.0040726d
jmp 0x4074a2
and dword [edi + 0xf8], 0
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004015b2
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004015b2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c891
leave
ret 0x14
Function at 0x407883
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [edi], fcn.00407a60
mov dword [edi + 4], 0x989680
mov word [edi + 8], bx
mov byte [edi + 0xa], al
mov byte [edi + 0xb], 1
call fcn.004015db
push eax
lea ecx, [edi + 0xc]
call fcn.00401f9b
push esi
lea ecx, [edi + 0x14]
mov dword [edi + 0x10], ebx
call fcn.00401cda
mov dword [edi + 0x18], ebx
call fcn.004015db
push eax
lea ecx, [edi + 0x1c]
call fcn.00401f9b
movzx ebx, byte [0x43be81]
neg ebx
sbb ebx, ebx
and ebx, 0x43bd80
je 0x407963
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ecx, ebx
call fcn.004076e2
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], 0
je 0x407942
push esi
push 0x989680
push str.MaxLogFileSize
push str.LoggingSettings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 4], eax
xor eax, eax
push esi
inc eax
push eax
push str.LogFileWide
push str.LoggingSettings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne al
jmp 0x40794c
xor eax, eax
mov dword [edi + 4], 0x989680
inc eax
lea edx, [ebx + 0x54]
mov byte [edi + 0xb], al
push edx
lea ecx, [edi + 0x1c]
call fcn.00401c8c
lea ecx, [esi - 0x10]
call fcn.004015b2
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c891
leave
ret 8

Function at 0x4079d9
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x407a5e
mov byte [esi + 8], 1
call fcn.00407a8c
cmp dword [esi + 0x10], 0
je 0x407a5e
test al, al
je 0x4079f9
mov byte [esi + 0xa], 1
mov ecx, esi
call fcn.0040807f
test al, al
jne 0x407a20
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.00408b76
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
ret
mov ecx, esi
call fcn.00407b6e
cmp dword [esi + 0x18], 0
jne 0x407a4b
push dword [esi + 0x14]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_create_logging_file__s_n
call fcn.00408b76
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [esi + 9], 0
cmp dword [esi + 0x10], 0
mov byte [esi + 9], 1
je 0x407a5e
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
ret
Function at 0x407b6e
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x14]
mov ecx, dword [ebx]
call fcn.0040642f
mov eax, dword [ebp - 8]
cmp eax, dword [edi + 4]
jbe 0x407ba3
mov ecx, edi
call fcn.00407cee
xor eax, eax
cmp byte [edi + 0xa], al
setne al
xor esi, esi
push esi
push 0x80
lea eax, [eax*2 + 2]
push eax
push esi
push 3
push 0x40000000
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
jne 0x407bdd
mov dword [edi + 0x18], esi
xor al, al
jmp 0x407c71
mov edx, ebx
mov dword [ebp - 8], esi
lea ecx, [ebp - 8]
call fcn.00408756
mov esi, dword [ebp - 8]
lea edx, [ebp - 9]
xor ebx, ebx
mov ecx, esi
inc ebx
mov byte [ebp - 9], bl
call fcn.00406399
cmp byte [ebp - 9], 0
jne 0x407c3e
mov ecx, dword [edi + 0x18]
call fcn.004064b1
test al, al
jne 0x407c3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x407c67
cmp byte [edi + 0xb], 0
je 0x407c67
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push 0
push eax
push 2
push 0x42e5ec
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x407c67
push dword [edi + 0x14]
push dword [edi + 0x1c]
push str.LOG_SYSTEM:___s_:_ERROR___Log_path__s_has_a_reparse_point
call fcn.00408b76
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x18], 0
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.004015b2
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c891
leave
ret

Function at 0x407c80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 0x80
push 5
push ebx
push 3
push 0x40000000
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esi + 0x18], 0xffffffff
mov edi, eax
jne 0x407cbb
xor al, al
jmp 0x407cdf
cmp byte [esi + 0xb], bl
je 0x407cd6
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 2
push 0x42e5ec
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c891
leave
ret
Function at 0x407d81
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x18
mov dword [ebp - 0x7c], ecx
lea edi, [ebp - 0x68]
pop ecx
mov esi, str.SYSTEMCurrentControlSetControlSession_Manager
lea eax, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
xor ebx, ebx
lea eax, [ebp - 0x68]
push ebx
push eax
push 0x80000002
movsw word es:[edi], word [esi]
mov dword [ebp - 0x78], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407eb1
push 7
pop esi
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
push eax
push ebx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], esi
push eax
push ebx
mov edi, str.PendingFileRenameOperations
push edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407eb1
cmp dword [ebp - 0x6c], esi
jne 0x407eb1
push dword [ebp - 0x74]
call fcn.0041d5dc
push dword [ebp - 0x74]
mov esi, eax
push ebx
push esi
mov dword [ebp - 0x80], esi
call fcn.0040d620
add esp, 0x10
lea eax, [ebp - 0x74]
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407ea6
mov edi, dword [ebp - 0x74]
shr edi, 1
lea eax, [edi - 2]
cmp eax, 0xffffd
ja 0x407ea6
cmp word [esi + edi*2 - 4], bx
jne 0x407ea6
cmp word [esi + edi*2 - 2], bx
jne 0x407ea6
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x70]
add eax, 0x14
mov dword [ebp - 0x70], ebx
push eax
mov edx, str.___
call fcn.004080f4
mov esi, dword [ebp - 0x70]
pop ecx
test edi, edi
je 0x407e92
mov eax, dword [ebp - 0x80]
push esi
lea eax, [eax + ebx*2]
push eax
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x407e95
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc ebx
add ebx, eax
cmp ebx, edi
jb 0x407e6d
or ebx, 0xffffffff
cmp ebx, 0xffffffff
lea ecx, [esi - 0x10]
setne bl
call fcn.004015b2
mov esi, dword [ebp - 0x80]
push esi
call fcn.0040d4b5
pop ecx
mov al, bl
jmp 0x407eb3
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c891
leave
ret

Function at 0x40807f
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x40808c
xor al, al
pop esi
ret
push 0x1f4
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4080c5
cmp eax, 0x80
je 0x4080c5
push dword [esi + 0xc]
push dword [esi + 0x1c]
push str.LOG_SYSTEM:___s_:_Could_not_acquire_logging_mutex__s_n
call fcn.00408b76
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [esi + 9], 0
jmp 0x408088
mov al, 1
pop esi
ret
Function at 0x40844c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0x11c
push 0
push eax
call fcn.0040d620
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4085f3
mov ecx, dword [ebp - 0x120]
cmp ecx, 6
je 0x4084fc
cmp ecx, 0xa
je 0x4084fc
cmp ecx, 5
jne 0x4085f3
cmp dword [ebp - 0x11c], 2
jne 0x4084da
cmp byte [ebp - 0xa], 1
jne 0x4084c6
call fcn.00408353
cmp eax, 9
je case.0x408542.1
test dword [ebp - 0xc], 0x8000
jne 0x4085f3
push 2
jmp 0x4085be
cmp dword [ebp - 0x11c], 1
jne 0x4085f3
test dword [ebp - 0xc], 0x200
jne 0x4085f3
xor eax, eax
inc eax
jmp 0x4085f5
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 8]
and dword [ebp - 8], 0
push eax
push ecx
push ecx
call fcn.004081f8
add esp, 0xc
test eax, eax
je 0x4085f3
mov eax, dword [ebp - 8]
cmp eax, 0x30
ja 0x40859b
je case.0x408542.1
cmp eax, 0xb
ja 0x408549
je case.0x408542.2
dec eax
cmp eax, 9
ja case.0x408542.2
movzx eax, byte [eax + 0x40861c]
jmp dword [eax*4 + 0x408608]
cmp eax, 0x10
ja 0x40857a
je case.0x408542.4
sub eax, 0xc
je case.0x408542.7
sub eax, 1
je case.0x408542.7
sub eax, 1
je case.0x408542.7
sub eax, 1
je case.0x408542.7
jmp case.0x408542.2
sub eax, 0x11
je case.0x408542.7
sub eax, 1
je case.0x408542.7
sub eax, 7
je case.0x408542.7
dec eax
sub eax, 1
jmp 0x4085d8
cmp eax, 0x7d
ja 0x4085c1
je case.0x408542.4
sub eax, 0x46
je case.0x408542.4
dec eax
sub eax, 1
je case.0x408542.4
sub eax, 0xc
je case.0x408542.4
sub eax, 0x25
je 0x4085bc
sub eax, 1
jne case.0x408542.2
push 4
pop eax
jmp 0x4085f5
sub eax, 0x7e
je case.0x408542.4
sub eax, 3
je case.0x408542.4
sub eax, 1
je case.0x408542.4
sub eax, 0x3a
je case.0x408542.4
sub eax, 3
je case.0x408542.4
mov al, byte [ebp - 0xa]
cmp al, 3
je case.0x408542.7
cmp al, 2
je case.0x408542.7
test byte [ebp - 0xc], 2
jne case.0x408542.4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c891
leave
ret
push 3
jmp 0x4085be

Function at 0x408626
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 0xc], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 8], eax
test eax, eax
je 0x40868c
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 8]
test eax, eax
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.0040c891
leave
ret
Function at 0x408caa
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp edi, 0x80000003
jne 0x408cd7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040c891
leave
ret
push esi
push 0x802
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.0040d620
mov esi, dword [0x43bd7c]
lea ecx, [ebp - 0x80c]
xor edx, edx
call fcn.0040610f
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push str.baselogging.cc
push 0
push esi
push dword [ebp - 0x80c]
push edi
push str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x80c]
add esp, 0x2c
lea ecx, [ecx - 0x10]
call fcn.004015b2
lea ecx, [ebp - 0x808]
call fcn.004095f5
push 0x250012
push str.Exception
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
sub eax, 3
je 0x408d6b
sub eax, 1
jne 0x408d63
int3
xor eax, eax
inc eax
jmp 0x408cca
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4095f5
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x409664
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ebx, [ebx*2 + 2]
push ebx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x409640
push ebx
push edi
push eax
call fcn.0040d780
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x40965b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop edi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
ret
Function at 0x40a798
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x43a00c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.004015db
push eax
lea ecx, [ebp - 8]
call fcn.00401f9b
mov dword [ebp - 0xc], esi
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0xc]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x40a7ce
push edx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040c4b7
mov ecx, dword [0x43be88]
mov eax, dword [eax + 4]
test eax, eax
jne 0x40a7fe
mov eax, ecx
cmp eax, ecx
je 0x40a810
add eax, 0xc
lea ecx, [ebp - 8]
push eax
call fcn.00401c8c
jmp 0x40a826
or esi, 0x4000
lea edx, [ebp - 8]
mov ecx, esi
call fcn.00404974
mov esi, eax
test esi, esi
js 0x40a895
mov eax, dword [ebp - 8]
xor edx, edx
mov esi, dword [edi]
inc edx
mov edi, 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or edx, ecx
jge 0x40a84b
push edi
lea ecx, [ebp - 8]
call fcn.00402095
mov eax, dword [ebp - 8]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
mov esi, eax
call fcn.004031a1
test esi, esi
jne 0x40a86a
mov esi, 0x80040709
jmp 0x40a895
mov esi, dword [ebp - 8]
test esi, esi
jne 0x40a875
xor eax, eax
jmp 0x40a87c
push esi
call fcn.00415bed
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.00401ed9
cmp byte [ebp + 8], 0
je 0x40a893
mov ecx, dword [ebp - 8]
call fcn.00404846
xor esi, esi
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.004015b2
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c891
leave
ret

Function at 0x40d1c3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40d202
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d202
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d202
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40d202
cmp dword [ecx + 0x74], 0xe
jbe 0x40d202
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41d1b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d1dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d1dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40288e
pop dword [ebp - 0x24]
mov eax, 0x40288e
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x6faabaed
add dword [ebp - 0x34], 0xdea78a5e
mov dword [ebp - 0x30], 0x1734a77c
add dword [ebp - 0x30], 0x1afea4c9
mov dword [ebp - 0x2c], 0xfdc9c4e
add dword [ebp - 0x2c], 0x3c6fa7e0
mov dword [ebp - 0x28], 0x1fe4c8a
add dword [ebp - 0x28], 0xfe01b376
lea eax, [ebp - 0x34]
push eax
mov eax, 0x6808a7a0
sub eax, 0x67c8373c
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x803d9c68
add dword [ebp - 0x34], 0xf434ccee
mov dword [ebp - 0x30], 0x5e256ff3
sub dword [ebp - 0x30], 0x1cb90e7e
mov dword [ebp - 0x2c], 0x24e4da62
sub dword [ebp - 0x2c], 0xc1756df6
mov dword [ebp - 0x28], 0xd166d168
sub dword [ebp - 0x28], 0xd166d168
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xccd06e84
sub eax, 0xcc8ffddc
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x381f2
push 0
call eax
mov ecx, 0x294949c3
sub ecx, 0x2948fba9
mov edx, eax
mov esi, 0x7e532bd8
sub esi, 0x7e122bd8
add esi, dword [ebp - 0x24]
mov ebx, 0x3b54e20
xor dword [ebp - 0x14], 0xad2a2ae4
mov edi, dword [esi]
add dword [ebp - 0x14], edi
add edi, ebx
sub dword [ebp - 8], edi
mov dword [edx], edi
add dword [ebp - 0x20], 0x6fe5cdbe
add edx, 0xb2a3076a
add edx, 0x4d5cf89a
add esi, 0xd0d735ee
sub esi, 0xd0d735ea
loop 0x4029a5
add eax, 0xc3d780a0
add eax, 0x3c29aa9b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x7092a4d0
sub ecx, 0x7052a4d0
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4012c0
Capabilities:
Capture microphone audio

Disassembly:
push ecx
push ebx
push edi
mov edi, ecx
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
test eax, eax
jne 0x4012d5
pop edi
xor al, al
pop ebx
pop ecx
ret
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 4
push edi
push 0x401430
push 0
push 0
call dword [0x477d94]
mov ecx, dword [esp + 8]
push 0x20000
push 0
lea edx, [edi + 0x46]
push ecx
lea ebx, [edi + 0x18]
push edx
push 0xffff
push ebx
mov dword [edi + 0x2c], eax
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
je 0x401320
pop edi
xor al, al
pop ebx
pop ecx
ret
push ebp
push esi
lea esi, [edi + 0x30]
mov ebp, 2
mov eax, dword [esi]
mov ecx, dword [esi - 0x28]
push 0x20
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [esi]
mov dword [edx + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
add esi, 4
dec ebp
jne 0x40132a
mov edx, dword [edi + 0x1c]
mov ecx, dword [ebx]
push 0x20
mov eax, dword [edi + edx*4 + 0x30]
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov edx, dword [edi + 0x2c]
push edx
call dword [0x477d90]
mov eax, dword [ebx]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
mov al, 1
pop esi
mov byte [edi + 0x44], al
pop ebp
pop edi
pop ebx
pop ecx
ret