joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100308b0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], 0x6b716705
xor ebx, ebx
mov dword [ebp - 0x14], 0x6a77615a
push edi
mov cl, 5
mov word [ebp - 0x10], 0x75
mov edi, dword [esi]
mov eax, ebx
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 8
jae 0x100308e6
mov cl, byte [ebp - 0x18]
jmp 0x100308d7
sub esp, 0x18
mov byte [ebp - 0xf], bl
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10003da4
mov ecx, edi
call fcn.1000c6eb
movaps xmm0, xmmword [0x1004d690]
add esp, 0x18
mov edi, dword [esi]
mov ecx, ebx
mov dword [esi + 0x10], eax
movups xmmword [ebp - 0x1c], xmm0
mov byte [ebp - 0xc], bl
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0xf
jb 0x10030916
sub esp, 0x18
mov byte [ebp - 0xc], bl
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10003da4
mov ecx, edi
call fcn.1000c6eb
movaps xmm0, xmmword [0x1004d140]
add esp, 0x18
mov edi, dword [esi]
mov ecx, ebx
mov dword [esi + 0x14], eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x5030112
mov byte [ebp - 0xc], bl
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x13
jb 0x1003095a
sub esp, 0x18
mov byte [ebp - 0xc], bl
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10003da4
mov ecx, edi
call fcn.1000c6eb
mov edi, dword [esi]
add esp, 0x18
mov dword [esi + 4], eax
mov cl, 0x55
mov dword [ebp - 0x1c], 0x3b213755
mov eax, ebx
mov dword [ebp - 0x18], 0x3b20330a
mov dword [ebp - 0x14], 0x26343936
mov word [ebp - 0x10], 0x26
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x100309b5
mov cl, byte [ebp - 0x1c]
jmp 0x100309a6
sub esp, 0x18
mov byte [ebp - 0xf], bl
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10003da4
mov ecx, edi
call fcn.1000c6eb
mov edi, dword [esi]
add esp, 0x18
mov dword [esi + 8], eax
mov cl, 0x17
mov dword [ebp - 0x18], 0x79637517
mov eax, ebx
mov dword [ebp - 0x14], 0x63787b48
mov dword [ebp - 0x10], 0x6e657263
mov byte [ebp - 0xc], bl
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xb
jae 0x10030a00
mov cl, byte [ebp - 0x18]
jmp 0x100309f1
sub esp, 0x18
mov byte [ebp - 0xc], bl
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10003da4
mov ecx, edi
call fcn.1000c6eb
mov ecx, dword [0x10057868]
add esp, 0x18
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x10030a46
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x10030a46
mov ecx, dword [ecx]
call fcn.1000c834
mov ecx, dword [esi]
add edx, 0xf5
push 5
call fcn.1000c8cd
pop ecx
mov ecx, dword [esi]
push 0x14
pop edx
call fcn.1000ca36
mov ecx, dword [esi]
mov dl, 1
call fcn.1000c916
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10030a67
xor dl, dl
call fcn.1000c916
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10030a75
xor dl, dl
call fcn.1000c916
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10030a83
xor dl, dl
call fcn.1000c916
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100329b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10042850
push 0x64
mov edi, edx
mov esi, ecx
call fcn.1003d1f6
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10032bb4
push 0x64
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov byte [ebx], 1
lea eax, [ebx + 0x34]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebx + 0x10], xmm0
movq qword [ebx + 0x20], xmm0
mov dword [ebx + 0x28], 0
push eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 4], 2
mov dword [ebx + 0x30], 0
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 4
mov dword [0x1007d19c], ebx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebx + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.10037eb0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x10055564
mov dword [0x10078d94], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10032a86
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x10055590]
cmp eax, 0x7fffffff
jne 0x10032aa0
dec eax
push 6
mov dword [0x10055590], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
test edi, edi
je 0x10032ab5
movups xmm0, xmmword [edi]
movups xmmword [0x10078d60], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x10032abf
xorps xmm0, xmm0
movups xmmword [0x10078d60], xmm0
movq qword [0x10078d70], xmm0
xorps xmm0, xmm0
push 0x10055564
movups xmmword [0x10078d78], xmm0
movq qword [0x10078d88], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x10078d5c], 0
jne 0x10032bbe
mov dword [0x1007d3a0], 0x10056958
test esi, esi
je 0x10032b29
cmp byte [esi], 0
mov ecx, 0x1007d3b0
je 0x10032b26
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x10032b26
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x10032b13
mov byte [ecx], 0
mov esi, dword [0x1007d19c]
mov al, 1
mov dword [0x10078d5c], 0x1007d3a0
mov dword [0x1007d3a8], 0x10033000
mov dword [0x1007d3ac], 0x10033010
xchg byte [esi], al
push 4
call fcn.1003c332
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x100333f0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10032ba5
cmp dword [esi + 0x60], 0
je 0x10032b8b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c324
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x4c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x1007d19c], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c324
mov esp, ebp
pop ebp
ret
Function at 0x10033af0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10078d5c]
push esi
push eax
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10033bc2
mov eax, dword [edi]
test eax, eax
je 0x10033b71
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10033b71
test ebx, ebx
je 0x10033b71
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10033b71
cmp dword [ebp - 8], esi
je 0x10033bc2
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10033b91
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10033b85
cmp eax, 1
jne 0x10033b91
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c324
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c324
mov esp, ebp
pop ebp
ret 8
Function at 0x10039610
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100397e0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100396ed
mov edx, dword [ebp - 4]
cmp edx, dword [0x10054004]
jb 0x1003965a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10054008]
ja 0x1003965a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003962a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1003967f
jmp 0x100396ed
cmp dword [ebp - 0x14], 0x10000
jne 0x100396d3
cmp dword [ebp - 0x18], 0x10000
jb 0x100396d3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100396b6
mov eax, dword [ebp - 8]
jmp 0x100396ef
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100396c6
xor eax, eax
jmp 0x100396ef
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100396e8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100397e0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003962a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10039700
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10039810
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100397d5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10054004]
jb 0x10039745
mov eax, dword [ebp - 4]
cmp eax, dword [0x10054008]
ja 0x10039745
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10039715
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1003976a
jmp 0x100397d5
cmp dword [ebp - 0x14], 0x10000
jne 0x100397be
cmp dword [ebp - 0x18], 0x10000
jb 0x100397be
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100397a1
mov eax, dword [ebp - 8]
jmp 0x100397d7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x100397b1
xor eax, eax
jmp 0x100397d7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100397d0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10039810
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10039715
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10039840
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10039c30
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100570c8], 0
jne 0x1003987d
cmp dword [0x100570c4], 0
je 0x1003987d
mov eax, dword [0x100570c4]
mov dword [0x100570c8], eax
cmp dword [0x100570c8], 0
je 0x100398fa
mov ecx, dword [0x100570c8]
cmp dword [ecx + 8], 0
je 0x100398fa
mov edx, dword [0x100570c8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100398fa
mov ecx, dword [0x100570c8]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100398fa
mov eax, dword [0x100570c8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x100398c9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x100398d0
xor eax, eax
jmp 0x10039a19
mov ecx, dword [0x100570c8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10039a19
mov edx, dword [0x100570c4]
mov dword [0x100570c8], edx
jmp 0x10039916
mov eax, dword [0x100570c8]
mov ecx, dword [eax + 4]
mov dword [0x100570c8], ecx
cmp dword [0x100570c8], 0
je 0x10039956
cmp dword [0x100570c8], 0
je 0x10039954
mov edx, dword [0x100570c8]
cmp dword [edx + 8], 0
je 0x10039954
mov eax, dword [0x100570c8]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10039954
mov edx, dword [0x100570c8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10039954
jmp 0x100398ae
jmp 0x10039908
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10039a20
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039a17
mov eax, dword [ebp - 0x18]
mov dword [0x100570c8], eax
mov ecx, dword [0x100570c8]
mov dword [ecx], 0x52727464
mov edx, dword [0x100570c8]
mov dword [edx + 8], 0
mov eax, dword [0x100570c8]
mov ecx, dword [0x100570c4]
mov dword [eax + 4], ecx
mov edx, dword [0x100570c8]
mov dword [0x100570c4], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100570c8]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100399e7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10039a07
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x100399de
mov eax, dword [0x100570c8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100398ae
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003a760
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100570c4]
mov dword [ebp - 4], eax
jmp 0x1003a779
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1003a7a0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003a79e
call sub.KERNEL32.dll_GetLastError
jmp 0x1003a7a2
jmp 0x1003a770
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003ac40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100570d4], eax
je 0x1003ac64
mov eax, 0x10dd
jmp 0x1003ae0c
cmp dword [0x100570d8], 0
je 0x1003ac77
mov eax, dword [0x100570d8]
jmp 0x1003ae0c
cmp dword [ebp + 0xc], 0
jne 0x1003ac87
mov eax, 0x57
jmp 0x1003ae0c
cmp dword [ebp + 8], 0
jne 0x1003ac97
mov eax, 6
jmp 0x1003ae0c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1003acc0
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100570d8], ecx
mov edx, dword [ebp + 8]
mov dword [0x100570dc], edx
mov eax, dword [ebp - 8]
jmp 0x1003ae0c
push 0x18
call fcn.1003c332
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003ad1b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100570d8], ecx
cmp dword [ebp - 4], 0
je 0x1003ad0a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1003c385
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100570dc], ecx
mov eax, dword [ebp - 8]
jmp 0x1003ae0c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1003ac20
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003ac20
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1003ad5b
cmp dword [ebp - 0xc], 0x1e
jbe 0x1003ad77
mov dword [ebp - 8], 9
cmp dword [0x100570cc], 0
je 0x1003ad72
jmp 0x1003ace9
jmp 0x1003ace0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1003ad9e
mov dword [ebp - 8], 9
cmp dword [0x100570cc], 0
je 0x1003ad99
jmp 0x1003ace9
jmp 0x1003ace0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003adc9
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003ace0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x100570e4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100570e4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1003ae20
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100570d4], eax
je 0x1003ae3d
mov eax, 0x10dd
jmp 0x1003af20
mov eax, dword [0x100570e4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003aebc
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1003ae98
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1003ae98
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10039cc0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1003c385
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1003ae45
mov dword [0x100570e4], 0
call fcn.1003a5a0
mov ecx, dword [0x100570e0]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1003af0a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1003c385
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1003aed4
mov dword [0x100570e0], 0
mov dword [0x100570d4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003b410
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100570d8], 0
je 0x1003b429
mov eax, dword [0x100570d8]
jmp 0x1003b4c8
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1003b43a
xor eax, eax
jmp 0x1003b4c8
push 8
call fcn.1003c332
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003b492
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1003b47b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1003c385
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100570d8], eax
mov dword [0x100570dc], 0
mov eax, dword [ebp - 8]
jmp 0x1003b4c8
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1003b4aa
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003b45a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100570e0]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100570e0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
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 [0x4779bc]
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 [0x4779b8]
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
Function at 0x401fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466606
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
push 0xc
mov dword [esp + 0x10], esi
mov dword [esi], 0x46a424
mov dword [esi + 4], 0x46a420
mov byte [esi + 0xc], al
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
xor ebx, ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
push 0x19018
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x46a418
mov dword [esi + 4], 0x46a414
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x30], bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x402032
mov ecx, eax
call fcn.004102e0
jmp 0x402034
xor eax, eax
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x34], bl
mov dword [esi + 0x28], eax
call dword [0x477a04]
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x4020a8
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push bind
lea ecx, [esp + 0x38]
push 0x477a20
mov al, 0x37
push ecx
push ebx
mov byte [esp + 0x44], 0x23
mov byte [esp + 0x45], 0x33
mov byte [esp + 0x46], 0x32
mov byte [esp + 0x47], al
mov byte [esp + 0x48], al
mov byte [esp + 0x49], 0x30
mov byte [esp + 0x4a], bl
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0x34], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x3c], ebx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret