joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b730
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push ecx
push 0
push 0x3a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x41b74d
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x40
push 0x3000
push 0x100
push 0
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x41b80d
push 0
push 0x100
push 0x41b6f0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41b7a2
push 4
push 0x1000
push 0x438
push 0
push edi
call esi
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x41b7c1
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0x438
push dword [ebp + 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41b7f1
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 8], eax
test eax, eax
jne 0x41b81d
push 0x8000
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call esi
push 0x8000
push 0
push ebx
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push 0x438
push dword [ebp + 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push 0x8000
push 0x100
push ebx
push edi
call esi
push 0x8000
push 0x438
push dword [ebp - 4]
push edi
call esi
push dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41bf80
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x59d6c0
push 0x511050
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5b3124]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x30], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ebx
push 4
push 0x1000
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x41c065
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x30]
push edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x41c065
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x34], eax
jne 0x41c065
push 0x58f9a4
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41c065
push esi
push esi
push edi
push eax
push esi
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x41c065
mov eax, dword [ebp + 8]
test eax, eax
jne 0x41c053
lea ebx, [eax + 1]
jmp 0x41c062
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0041c082
test ebx, ebx
je 0x41c0a9
xor eax, eax
jmp 0x41c0bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41c0bb
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c120
Capabilities:
Create thread
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x59d6e0
push 0x511050
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x5b3124]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x44c], edx
mov dword [ebp - 0x450], ecx
xor ebx, ebx
mov dword [ebp - 0x448], ebx
xor esi, esi
mov dword [ebp - 0x454], esi
xor edi, edi
mov dword [ebp - 0x458], edi
mov dword [ebp - 4], ebx
push 0x58f9c8
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x45c], eax
test eax, eax
je 0x41c289
push dword [ebp - 0x450]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
test eax, eax
je 0x41c289
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x454], esi
test esi, esi
je 0x41c289
mov dword [ebp - 0x444], 0x428
lea eax, [ebp - 0x444]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x41c231
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x44c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41c229
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x44c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41c229
lea eax, [ebp - 0x444]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x41c1e7
mov eax, dword [ebp - 0x428]
jmp 0x41c233
xor eax, eax
test eax, eax
jne 0x41c241
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41c289
push 0
push 0
push eax
push dword [ebp - 0x45c]
push 0
push 0
push dword [ebp - 0x450]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
mov dword [ebp - 0x458], edi
test edi, edi
je 0x41c289
mov eax, dword [ebp + 8]
test eax, eax
jne 0x41c274
lea ebx, [eax + 1]
jmp 0x41c283
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
test eax, eax
sete bl
mov dword [ebp - 0x448], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.0041c2af
test ebx, ebx
je 0x41c2cc
xor eax, eax
jmp 0x41c2de
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41c2de
movzx eax, ax
or eax, 0x80070000
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0050975e
mov esp, ebp
pop ebp
ret
Function at 0x41c350
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5b3124]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41c3c0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050975e
mov esp, ebp
pop ebp
ret
Function at 0x4206c0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5653b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b3124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push eax
push 0
push 1
push dword [ebp + 8]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x420826
cmp dword [ebp - 0x14], 0
je 0x420826
call fcn.00406bf0
mov ecx, eax
test ecx, ecx
jne 0x42072f
push 0x80004005
call fcn.00406fb0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x420744
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x420746
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
test edx, edx
jns 0x420764
push 0x80070057
call fcn.00406fb0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x420781
push edx
lea ecx, [ebp - 0x10]
call fcn.00405730
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
push 1
push dword [ebp + 8]
push ebx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
push dword [esi - 8]
push esi
test eax, eax
jne 0x4207d7
call fcn.00529e8e
add esp, 8
test eax, eax
js 0x42075a
cmp eax, dword [esi - 8]
jg 0x42075a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov ecx, edi
call fcn.00404d40
lea ecx, [ebp - 0x10]
call fcn.00404bc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00529e8e
add esp, 8
test eax, eax
js 0x42075a
cmp eax, dword [esi - 8]
jg 0x42075a
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
add esi, 0xfffffff0
push esi
call fcn.00405420
add esp, 4
lea ecx, [ebp - 0x10]
add eax, 0x10
mov dword [edi], eax
call fcn.00404bc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00406bf0
test eax, eax
jne 0x420839
push 0x80004005
call fcn.00406fb0
mov edx, dword [eax]
cmp edx, vtable.ATL::CAtlStringMgr.0
jne 0x42084c
lock inc dword [eax + 0x14]
add eax, 8
jmp 0x420851
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4209f0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565420
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5b3124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ecx
push 0
push ebx
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x420ac2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x420ac2
push eax
lea ecx, [ebp - 0x24]
call fcn.00421ca0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov edi, dword [ebp - 0x24]
push 0
push 0
push ecx
push edi
push ebx
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
mov ecx, esi
lea eax, [ebp - 0x24]
push eax
jne 0x420a99
mov dword [ebp - 0x20], edi
call fcn.00421cf0
lea ecx, [ebp - 0x24]
call fcn.00411e90
lea ecx, [ebp + 8]
call fcn.00404bc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x24]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00411e90
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x420b4e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x420b4a
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x420b4a
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x422961
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x422950
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4275d0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
cmp dword [esi + 0x4c], 0xffffffff
je 0x4277a6
push ebx
mov eax, dword [esi + 0x4c]
cmp eax, 0x7c
je 0x4277a5
cmp eax, 0x29
jne 0x427608
cmp dword [esi + 0x10], 0
jne 0x4277a5
test dword [esi + 0x50], 0x10000000
je 0x4277b1
cmp eax, 0x2e
jne 0x427665
push 5
lea ecx, [esi + 0x24]
call fcn.004279c0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x427659
cmp word [eax], 0x5c
jne 0x427656
add eax, 2
cmp eax, ecx
je 0x427656
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x427642
movzx edx, word [eax]
cmp edx, 0x28
je 0x427654
cmp edx, 0x29
je 0x427654
test cl, 0x10
jne 0x427656
movzx ecx, word [eax]
cmp ecx, 0x7b
je 0x427654
cmp ecx, 0x7d
jne 0x427656
mov dword [esi], eax
add dword [esi], 2
mov ecx, esi
call fcn.004250b0
jmp 0x427792
cmp eax, 0x5c
jne 0x4276cc
mov ecx, esi
call fcn.00427580
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x427698
cmp word [esi + 0x48], 0x62
jne 0x427698
push 4
lea ecx, [esi + 0x24]
call fcn.004279c0
mov ecx, esi
call fcn.00427580
jmp 0x427799
test eax, eax
je 0x4276c0
cmp word [esi + 0x48], 0x42
jne 0x4276c0
push 4
lea ecx, [esi + 0x24]
call fcn.004279c0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00427580
jmp 0x427799
mov ecx, esi
call fcn.00428d10
jmp 0x427792
cmp eax, 0x5b
jne 0x4276ee
mov ecx, esi
call fcn.00427580
mov ecx, esi
call fcn.00428cc0
cmp dword [esi + 0x4c], 0x5d
je 0x42778b
jmp 0x4277aa
cmp eax, 0x28
jne 0x42771e
mov ecx, esi
call fcn.00427580
mov ecx, esi
call fcn.00428de0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4277b1
mov ecx, esi
call fcn.00427580
test bl, bl
je 0x427799
jmp 0x427792
cmp eax, 0x5e
jne 0x427736
push 2
lea ecx, [esi + 0x24]
call fcn.004279c0
mov ecx, esi
call fcn.00427580
jmp 0x427799
cmp eax, 0x24
jne 0x42774e
push 3
lea ecx, [esi + 0x24]
call fcn.004279c0
mov ecx, esi
call fcn.00427580
jmp 0x427799
cmp eax, 0x2a
je 0x4277bf
cmp eax, 0x2b
je 0x4277bf
cmp eax, 0x3f
je 0x4277bf
cmp eax, 0x7b
je 0x4277bf
cmp eax, 0x7d
jne 0x427770
test dword [esi + 0x50], 0x10000000
je 0x4277b8
cmp eax, 0x5d
jne 0x42777e
test dword [esi + 0x50], 0x10000000
je 0x4277aa
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00429030
mov ecx, esi
call fcn.00427580
mov ecx, esi
call fcn.00428ea0
cmp dword [esi + 0x4c], 0xffffffff
mov cl, 1
jne 0x4275e0
pop ebx
mov al, cl
pop esi
ret
push 4
call fcn.004eff31
push 5
call fcn.004eff31
push 6
call fcn.004eff31
push 0xa
call fcn.004eff31
int3
Function at 0x4309b0
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edx, str.urls.dat
lea ecx, [ebp - 8]
call fcn.00433380
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
or esi, 0xffffffff
test eax, eax
jne 0x4309e4
mov byte [ebp + 0xb], 0
jmp 0x430aaf
call fcn.00406bf0
test eax, eax
je 0x430afa
mov edx, dword [eax]
push ebx
cmp edx, vtable.ATL::CAtlStringMgr.0
jne 0x430b04
lock inc dword [eax + 0x14]
lea ebx, [eax + 8]
push 0x5903c8
push dword [ebp - 8]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.0053ca81
add esp, 0xc
test eax, eax
jne 0x430a79
mov eax, dword [ebp - 4]
test eax, eax
je 0x430a79
push 2
push 0
push eax
call fcn.0053cecf
push dword [ebp - 4]
call fcn.0053d505
push 0
push 0
push dword [ebp - 4]
mov edi, eax
call fcn.0053cecf
push dword [ebp - 4]
push edi
push 1
push dword [ebp + 8]
call fcn.0053d720
push dword [ebp - 4]
mov esi, eax
call fcn.0053d8c7
add esp, 0x30
cmp esi, edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
sete byte [ebp + 0xb]
or esi, 0xffffffff
jmp 0x430a7d
mov byte [ebp + 0xb], 0
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x430aae
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x430b10
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x430b10
push 0
push dword [ecx + 4]
call edi
pop ebx
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x430aef
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x430b14
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x430b14
push 0
push dword [edx + 4]
call edi
mov al, byte [ebp + 0xb]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov al, byte [ebp + 0xb]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00406fb0
mov ecx, eax
call dword [edx + 0xc]
mov ebx, eax
jmp 0x430a07
call edx
jmp 0x430aae
mov ecx, edx
call esi
jmp 0x430aef
Function at 0x430b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566210
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x5b3124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, str.urls.dat
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00433380
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push 0x5903d0
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
call fcn.0053ca81
add esp, 0xc
test eax, eax
jne 0x430bb5
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x430bb5
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x430ba0
push esi
lea ecx, [ebp + 8]
call fcn.00412a50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push ecx
push esi
push 1
push eax
call fcn.0053dbd7
push dword [ebp - 0x10]
call fcn.0053d8c7
add esp, 0x14
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov ecx, dword [ebp - 0x14]
mov eax, esi
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x430bfd
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x430bf9
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x430bf9
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x430bfd
mov ecx, edx
call ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], esi
dec esi
test esi, esi
jg 0x430c54
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x430c50
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x430c50
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, edx
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x432a10
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566401
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x5b3124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x824], 0
call fcn.00406bf0
mov ecx, eax
test ecx, ecx
jne 0x432a64
push 0x80004005
call fcn.00406fb0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x432a79
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x432a7b
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x814], esi
lea eax, [ebp - 0x820]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsScreenRecorder.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x820], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432b49
mov dword [ebp - 0x81c], eax
mov ecx, 1
mov dword [ebp - 0x818], 0x104
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
jge 0x432af5
push 0x400
lea ecx, [ebp - 0x814]
call fcn.00405730
mov esi, dword [ebp - 0x814]
lea eax, [ebp - 0x818]
push eax
push esi
lea eax, [ebp - 0x81c]
push eax
push 0
push str.Path
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esi - 8]
push esi
call fcn.00529e8e
add esp, 8
test eax, eax
js 0x432c4d
cmp eax, dword [esi - 8]
jg 0x432c4d
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x432c14
push 0x800
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0050d580
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5904e0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.ScreenRecorder.exe
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432c14
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x818]
call fcn.00404c40
lea edx, [ebp - 0x818]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x81c]
call fcn.00465a90
push eax
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 3
call fcn.00404b60
lea ecx, [ebp - 0x81c]
call fcn.00404bc0
lea ecx, [ebp - 0x818]
mov byte [ebp - 4], 0
call fcn.00404bc0
mov esi, dword [ebp - 0x814]
add esi, 0xfffffff0
push esi
call fcn.00405420
add esp, 4
lea ecx, [ebp - 0x814]
add eax, 0x10
mov dword [ebx], eax
call fcn.00404bc0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050975e
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00406fb0
int3