joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b9658
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4c9c6c], 0
mov eax, dword [0x4ca5fc]
cmp dword [eax], 2
jne 0x4b9831
mov eax, dword [0x4ca068]
cmp dword [eax], 5
jl 0x4b9831
call fcn.004b67f4
test al, al
jne 0x4b9689
call fcn.004b6800
call fcn.004b67ec
mov dword [0x4c9c74], eax
push 0x4b9834
mov eax, dword [0x4c9c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c38], eax
cmp dword [0x4c9c38], 0
jne 0x4b96e4
mov edx, 0x8000
mov eax, 0x4b9848
call fcn.0040f128
mov dword [0x4c9c70], eax
mov eax, dword [0x4c9c70]
mov dword [0x4c9c74], eax
push 0x4b9834
mov eax, dword [0x4c9c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c38], eax
cmp dword [0x4c9c38], 0
je 0x4b982c
push 0x4b9854
mov eax, dword [0x4c9c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c3c], eax
cmp dword [0x4c9c3c], 0
je 0x4b982c
push 0x4b9860
mov eax, dword [0x4c9c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c40], eax
cmp dword [0x4c9c40], 0
je 0x4b982c
mov byte [0x4c9c6c], 1
push 0x4b9870
mov eax, dword [0x4c9c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c44], eax
push 0x4b987c
mov eax, dword [0x4c9c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c48], eax
push 0x4b9888
mov eax, dword [0x4c9c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c4c], eax
push 0x4b9898
mov eax, dword [0x4c9c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c50], eax
push 0x4b98a8
mov eax, dword [0x4c9c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c54], eax
mov edx, 0x8000
mov eax, 0x4b98c0
call fcn.0040f128
mov dword [0x4c9c78], eax
cmp dword [0x4c9c78], 0
je 0x4b9831
push 0x4b98d0
mov eax, dword [0x4c9c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c58], eax
push 0x4b98ec
mov eax, dword [0x4c9c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c5c], eax
push 0x4b990c
mov eax, dword [0x4c9c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c60], eax
push 0x4b9928
mov eax, dword [0x4c9c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c64], eax
push 0x4b9940
mov eax, dword [0x4c9c78]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c9c68], eax
ret
call fcn.004b95d8
ret
Function at 0x4bbf64
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4bc08c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004bbe50
mov eax, dword [esi]
call fcn.004056c4
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4b5398]
call fcn.00405880
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004029dc
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004029dc
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004056c4
mov dword [ebp - 0xc], eax
mov eax, dword [0x4ca4f4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004b562c
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00402dfc
add ebx, 3
mov eax, dword [ebp - 8]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004056c4
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.004b555c
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004b5558
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004b5624
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc093
lea eax, [ebp - 8]
mov edx, dword [0x4b5398]
call fcn.004059a0
ret
Function at 0x4c08c8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404770
xor eax, eax
push ebp
push 0x4c09f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004042c0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404780
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4c09d1
mov eax, ebx
call fcn.004027e0
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404780
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4c0a04
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.00408fd0
push dword [ebp - 0x14]
push 0x4c0a10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00408fd0
push dword [ebp - 0x18]
push 0x4c0a10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.00408fd0
push dword [ebp - 0x1c]
push 0x4c0a10
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00408fd0
push dword [ebp - 0x20]
mov eax, edi
mov edx, 7
call fcn.00404640
mov eax, esi
call fcn.00402800
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c09fb
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.004042e4
lea eax, [ebp - 4]
call fcn.004042c0
ret

Function at 0x4c0c18
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4c0cb5
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [0x4ca34c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00409860
lea ecx, [ebp - 0x108]
mov eax, dword [ebx]
mov edx, 1
call fcn.00438b48
mov eax, dword [ebp - 0x108]
mov edx, 0x4c0ccc
call fcn.004046cc
je 0x4c0c9c
mov eax, ebx
mov edx, 0x4c0ccc
call fcn.00404588
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0cbc
lea eax, [ebp - 0x108]
call fcn.004042c0
ret
Function at 0x4c0cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x4c0d54
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x4c0d98
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4c0d36
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.00404530
jmp 0x4c0d42
mov eax, ebx
mov edx, 0x4c0da4
call fcn.00404314
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret

Function at 0x4c0f7c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4c0f85
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404770
mov eax, dword [ebp - 8]
call fcn.00404770
xor eax, eax
push ebp
push 0x4c10c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov dl, 1
mov eax, dword [0x43c378]
call fcn.0043c478
mov dword [ebp - 0xc], eax
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0043c518
xor eax, eax
push ebp
push 0x4c1082
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x4c10e0
mov eax, dword [ebp - 0xc]
call fcn.0043c57c
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00409544
mov eax, dword [ebp - 0x14]
call fcn.00404580
sub eax, 4
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409544
mov eax, dword [ebp - 0x18]
mov edx, 1
pop ecx
call fcn.004047e0
mov eax, dword [ebp - 0x10]
call fcn.004c0dd4
test al, al
jne 0x4c1078
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.00408ee4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.004045cc
mov eax, dword [ebp - 0x1c]
push eax
push 0x4c1118
push dword [ebp - 4]
push 0x4c1124
push dword [ebp - 8]
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404640
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
pop edx
call fcn.0043c738
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c108e
mov eax, dword [ebp - 0xc]
call fcn.0043c4e8
mov eax, dword [ebp - 0xc]
call fcn.00403470
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c10cd
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.004042e4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004042e4
ret
Function at 0x4c19c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4c1b80
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4c1b90
push 0
push edx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4c1b5a
push 0
push 0x4c1b98
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4c1b5a
push 0
push 0x4c1ba8
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4c1bbc
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x4c1b5a
call fcn.004c0864
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4c1a6d
cmp eax, dword [esp]
pop edx
pop eax
je 0x4c1b5a
lea eax, [ebp - 0x404]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x4cbde8]
call fcn.00404358
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x408]
call fcn.004093ec
test al, al
jne 0x4c1b5a
cmp dword [esi + 0x398], 0
jle 0x4c1ad1
dec dword [esi + 0x398]
jmp 0x4c1af6
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x40c]
call fcn.004bf894
test al, al
je 0x4c1b5a
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 4]
call fcn.0040e0e0
test eax, eax
jne 0x4c1b5a
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004047e0
mov eax, dword [ebp - 0x414]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1b87
lea eax, [ebp - 0x414]
mov edx, 4
call fcn.004042e4
lea eax, [ebp - 4]
call fcn.004042c0
ret
Function at 0x4c1bc4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4c1d7c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4c1d8c
push 0
push edx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4c1d56
push 0
push 0x4c1d94
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4c1d56
push 0
push 0x4c1da4
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4c1db8
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x4c1d56
call fcn.004c0864
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4c1c69
cmp eax, dword [esp]
pop edx
pop eax
je 0x4c1d56
lea eax, [ebp - 0x404]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x4cbde8]
call fcn.00404358
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x408]
call fcn.004093ec
test al, al
jne 0x4c1d56
cmp dword [esi + 0x398], 0
jle 0x4c1ccd
dec dword [esi + 0x398]
jmp 0x4c1cf2
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x40c]
call fcn.004bf894
test al, al
je 0x4c1d56
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 4]
call fcn.0040e0e0
test eax, eax
jne 0x4c1d56
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004047e0
mov eax, dword [ebp - 0x414]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1d83
lea eax, [ebp - 0x414]
mov edx, 4
call fcn.004042e4
lea eax, [ebp - 4]
call fcn.004042c0
ret
Function at 0x4c1dc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4c1f89
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4c1f98
push 0
push edx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4c1f63
push 0
push 0x4c1fa0
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4c1f63
push 0
push 0x4c1fb0
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4c1fc0
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4c1fcc
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x4c1f63
call fcn.004c0864
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4c1e76
cmp eax, dword [esp]
pop edx
pop eax
je 0x4c1f63
lea eax, [ebp - 0x404]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x4cbde8]
call fcn.00404358
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x408]
call fcn.004093ec
test al, al
jne 0x4c1f63
cmp dword [esi + 0x398], 0
jle 0x4c1eda
dec dword [esi + 0x398]
jmp 0x4c1eff
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x40c]
call fcn.004bf894
test al, al
je 0x4c1f63
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 4]
call fcn.0040e0e0
test eax, eax
jne 0x4c1f63
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004047e0
mov eax, dword [ebp - 0x414]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1f90
lea eax, [ebp - 0x414]
mov edx, 4
call fcn.004042e4
lea eax, [ebp - 4]
call fcn.004042c0
ret
Function at 0x4c2144
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x420], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c2314
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4c2324
push 0
push edi
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
jne 0x4c21f0
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0x41c]
push eax
push edi
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x418]
add eax, 0x28
push eax
mov eax, dword [ebp - 0x41c]
add eax, 0x190
push eax
call sub.user32.dll_SetCursorPos
push 0
push 0
push 0
push 0
push 2
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 4
call sub.user32.dll_mouse_event
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetCursorPos
push 0
push 0x4c2324
push 0
push edi
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x4c22ee
lea eax, [ebp - 0x40c]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x4cbde8]
call fcn.00404358
lea eax, [ebp - 0x420]
lea edx, [ebp - 0x40c]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x420]
call fcn.004093ec
test al, al
jne 0x4c22ee
cmp dword [esi + 0x398], 0
jle 0x4c2265
dec dword [esi + 0x398]
jmp 0x4c228a
lea eax, [ebp - 0x424]
lea edx, [ebp - 0x40c]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x424]
call fcn.004c0084
test al, al
je 0x4c22ee
lea eax, [ebp - 0x428]
lea edx, [ebp - 0x40c]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 4]
call fcn.0040e0e0
test eax, eax
jne 0x4c22ee
lea eax, [ebp - 0x42c]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004047e0
mov eax, dword [ebp - 0x42c]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c231b
lea eax, [ebp - 0x42c]
mov edx, 4
call fcn.004042e4
lea eax, [ebp - 4]
call fcn.004042c0
ret
Function at 0x4c2338
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x86
push 0
push 0
dec ecx
jne 0x4c2340
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4c25ed
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4c25fc
push 0
push edx
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4c260c
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4c2620
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x4c25c2
call fcn.004c0864
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4c23aa
cmp eax, dword [esp]
pop edx
pop eax
je 0x4c25c2
lea eax, [ebp - 0x410]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
push 0x4c2640
lea edx, [ebp - 0x414]
mov eax, 0x1f3ba8
call fcn.00408ee4
push dword [ebp - 0x414]
push 0x4c2654
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404640
lea eax, [ebp - 8]
mov edx, dword [0x4cbde8]
call fcn.00404358
push 0x4c2664
lea edx, [ebp - 0x418]
mov eax, 0x57e0b7c
call fcn.00408ee4
push dword [ebp - 0x418]
push 0x4c2688
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404640
lea eax, [ebp - 0x41c]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x41c]
call fcn.004093ec
test al, al
jne 0x4c25c2
cmp dword [esi + 0x398], 0
jle 0x4c2468
dec dword [esi + 0x398]
jmp 0x4c2491
lea eax, [ebp - 0x420]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x420]
call fcn.004c0084
test al, al
je 0x4c25c2
lea eax, [ebp - 0x424]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x424]
mov eax, dword [ebp - 4]
call fcn.0040e0e0
test eax, eax
jg 0x4c25c2
lea eax, [ebp - 0x428]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 8]
call fcn.0040e0e0
test eax, eax
jg 0x4c25c2
lea eax, [ebp - 0x42c]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
call fcn.0040e0e0
test eax, eax
jg 0x4c25c2
mov dword [ebp - 0x10], 6
push 0x4c2690
push 0xff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
call fcn.00404580
mov esi, eax
test esi, esi
jle 0x4c255b
mov edi, 1
push 2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edi - 1]
push eax
push 0x102
push ebx
call sub.user32.dll_SendMessageA
inc edi
dec esi
jne 0x4c2541
lea eax, [ebp - 0x410]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x430]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x430]
mov edx, dword [ebp - 4]
call fcn.004046cc
je 0x4c259a
dec dword [ebp - 0x10]
jne 0x4c251c
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c25f4
lea eax, [ebp - 0x430]
mov edx, 8
call fcn.004042e4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042e4
ret
Function at 0x410c99
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestJSONWriter.exe_gMozillaPoisonSize], eax
call fcn.0040d0c0
pop ecx
mov ecx, dword [sym.TestJSONWriter.exe_gMozillaPoisonSize]
mov dword [sym.TestJSONWriter.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x410cd1
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestJSONWriter.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x1e10ce
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push edi
movzx esi, ax
movzx edi, dx
shr esi, 3
imul edi, esi
mov ecx, dword [ebp + 0x10]
mov word [0x1fa226], ax
imul edi, ecx
shr ax, 3
mov dword [0x1fa220], edi
imul eax, edx
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
mov word [0x1fa218], 1
fild qword [ebp - 8]
mov word [0x1fa21a], dx
mov dword [0x1fa21c], ecx
mov word [0x1fa224], ax
mov word [0x1fa228], di
fmul dword [0x1f4588]
call sub.MSVCRT.dll__ftol
imul esi, eax
push 0x30008
push edi
push 0x1e122d
push 0x1fa218
push 0xffffffffffffffff
push 0x1fa198
mov dword [0x1fa1d0], eax
mov dword [0x1fa1d4], esi
call dword [sym.imp.WINMM.dll_waveInOpen]
push edi
call fcn.001e1181
inc edi
pop ecx
cmp edi, 2
jb 0x1e1164
push dword [0x1fa198]
call dword [sym.imp.WINMM.dll_waveInStart]
pop edi
pop esi
leave
ret

Function at 0x1e1181
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [0x1fa1d4]
mov edi, 0x1fa200
mov ecx, edi
push dword [ebp + 8]
call fcn.001e180c
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
mov esi, dword [ebp + 8]
push dword [ebp + 8]
mov ecx, edi
shl esi, 5
call fcn.001e180c
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ecx, dword [0x1fa1dc]
push 0x20
mov dword [esi + ecx], eax
mov eax, dword [0x1fa1dc]
mov ecx, dword [0x1fa1d4]
mov dword [esi + eax + 4], ecx
mov ecx, dword [0x1fa1dc]
xor eax, eax
mov dword [esi + ecx + 8], eax
mov ecx, dword [0x1fa1dc]
mov dword [esi + ecx + 0xc], eax
mov ecx, dword [0x1fa1dc]
mov dword [esi + ecx + 0x10], eax
mov ecx, dword [0x1fa1dc]
mov dword [esi + ecx + 0x14], eax
mov eax, dword [0x1fa1dc]
add eax, esi
push eax
push dword [0x1fa198]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov eax, dword [0x1fa1dc]
push 0x20
add esi, eax
push esi
push dword [0x1fa198]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
pop edi
pop esi
pop ebp
ret