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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004921d0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x47ff6c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ac974]
mov dl, 1
mov eax, dword [0x47f870]
call fcn.00484040
call fcn.00491980
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0047f9a8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x48379c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4837d5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00491e10
jmp 0x4837de
mov eax, ebx
mov edx, esi
call fcn.00491d74
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4837e8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x483809
mov al, byte [esp]
jmp 0x48380b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x484b04
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x484b68
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00491f88
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00481a4c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484b6f
lea eax, [ebp - 0xc]
call fcn.00491d20
ret

Function at 0x491044
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a8e48]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4910dc
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4910bc
xor eax, eax
push ebp
push 0x4910b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4910f8
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4910bc
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4a8e48]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a8e48], ax
mov esp, ebp
pop ebp
ret
Function at 0x491ba4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b0780], 0
je 0x491c05
cmp word [0x4b0954], 0xd7b2
jne 0x491bcd
cmp dword [0x4b095c], 0
jbe 0x491bcd
mov eax, 0x4b0950
call dword [0x4b096c]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x491c2c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4a8e58], 0
jne 0x491c21
push 0
push 0x4a8eb0
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x493660
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x493890
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x4936e3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x493890
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x4936e3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4938ac
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x49376c
xor eax, eax
push ebp
push 0x493765
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004934a8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x49374a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4938cc
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x49374a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49376c
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x493886
cmp byte [ebp - 0xd], 0
jne 0x4937b3
cmp byte [ebp - 0x12], 0
je 0x493886
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4937cc
dec ebx
cmp byte [ebx], 0x2e
je 0x4937db
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4937cb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x493886
inc ebx
cmp byte [ebp - 0x12], 0
je 0x493818
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x493886
cmp byte [ebp - 0xd], 0
je 0x493886
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x493886
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49a5f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00494cc8
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00494d58
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00494d58
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x4aa8ad
lea ecx, [ebp - 0x200]
push ecx
call fcn.00494cc8
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00494d58
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0049b78c
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x49a701
push esi
call fcn.00494d58
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00494d58
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.004945e8
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x49a6d8
xor eax, eax
jmp 0x49a788
push esi
call fcn.00494d58
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00494d58
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.00494c24
add esp, 0xc
jmp 0x49a741
mov edi, dword [ebx + 0x24]
push edi
call fcn.00494d58
pop ecx
push eax
push esi
call fcn.00494d58
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00494d58
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.00494608
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x49a741
xor eax, eax
jmp 0x49a788
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00494cc8
add esp, 8
push 0x4aa8af
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00494cc8
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00494cc8
add esp, 8
push 0x4aa8b1
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00494cc8
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49d7a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x49d80a
call fcn.0049d758
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00494d58
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00494d58
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49d888
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4aaebc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x49d962
cmp dword [0x4aaeb8], 0
jne 0x49d962
cmp dword [0x4ab09c], 0
je 0x49d91c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0049d658
add esp, 8
mov ebx, eax
test eax, eax
jne 0x49d902
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0049d658
add esp, 8
mov ebx, eax
test eax, eax
jne 0x49d902
lea ebx, [ebp - 0x84]
jmp 0x49d903
inc ebx
call fcn.0049d844
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x49d99d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4aaec0
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00494d58
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4aaec3
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x49d99d
cmp dword [0x4aaeb8], 0
je 0x49d97c
cmp dword [0x4aaeb8], 0xffffffff
je 0x49d99d
push esi
call dword [0x4aaeb8]
pop ecx
mov eax, dword [0x4aaebc]
test eax, eax
je 0x49d99d
cmp dword [0x4aaebc], 0xffffffff
je 0x49d99d
cmp byte [eax], 0
je 0x49d99d
push esi
push eax
call fcn.0049d7a8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x66981d30
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [ebp - 0x30], edx
lea edx, [ebp - 0x1c]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x20]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x34], ecx
call sub.advapi32.dll_CredEnumerateW
sub esp, 0x10
test eax, eax
je 0x66981e20
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
test ecx, ecx
je 0x66981e10
xor ebx, ebx
jmp 0x66981db5
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0x30]
cmp word [eax], 0
je 0x66981e38
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.kernel32.dll_lstrcmpW
sub esp, 8
test eax, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
je 0x66981e30
add ebx, 1
cmp dword [ebp - 0x20], ebx
jbe 0x66981e10
mov eax, dword [ebp - 0x2c]
lea edi, [ebx*4]
lea esi, [eax + edi]
mov edx, dword [esi]
mov eax, dword [edx + 4]
lea ecx, [eax - 1]
cmp ecx, 1
jbe 0x66981d80
test byte [0x66986060], 1
je 0x66981dad
mov dword [esp + 0x10], eax
add ebx, 1
mov dword [esp + 0xc], str.no_support_for_type__u_credentials_n
mov dword [esp + 8], str.find_existing_credential
mov dword [esp + 4], 0x66986060
mov dword [esp], 0
call fcn.66981330
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], ebx
ja 0x66981db5
nop
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.advapi32.dll_CredFree
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [eax + edi]
mov edx, dword [esi]
mov ecx, dword [edx + 0x30]
movzx eax, word [ecx]
mov word [ebp - 0x36], ax
test ax, ax
je 0x66981ef0
mov eax, ecx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x66981e50
sub eax, ecx
sar eax, 1
cmp dword [ebp - 0x34], eax
jbe 0x66981dad
mov eax, dword [edx + 0x18]
shr eax, 1
cmp eax, dword [ebp + 0xc]
jae 0x66981dad
test byte [0x66986060], 8
jne 0x66981ef7
movzx edx, word [ebp - 0x36]
mov eax, dword [ebp - 0x30]
jmp 0x66981e93
movzx edx, word [ecx]
add eax, 2
add ecx, 2
mov word [eax - 2], dx
test dx, dx
jne 0x66981e90
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
mov eax, dword [esi]
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, dword [eax + 0x18]
and eax, 0xfffffffe
mov word [edi + eax], dx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.advapi32.dll_CredFree
mov eax, 1
sub esp, 4
jmp 0x66981e20
xor eax, eax
jmp 0x66981e5d
mov eax, ecx
call fcn.66981b10
mov dword [esp + 0xc], str.found_existing_credential_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.find_existing_credential
mov dword [esp + 4], 0x66986060
mov dword [esp], 3
call fcn.66981330
mov eax, dword [ebp - 0x1c]
lea esi, [eax + edi]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0x30]
movzx edx, word [ecx]
jmp 0x66981e93
Function at 0x66983c30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
test byte [0x66986060], 8
je 0x66983c8a
mov edx, dword [ebp + 0xc]
mov eax, str.FALSE
mov ebx, str.TRUE
test edx, edx
cmove ebx, eax
mov eax, esi
call fcn.66981b10
mov dword [esp + 0xc], str.__s___s__n
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.CredUIConfirmCredentialsW
mov dword [esp + 4], 0x66986060
mov dword [esp], 3
call fcn.66981330
test esi, esi
je 0x66983de0
mov dword [esp], 0x66986040
call sub.kernel32.dll_EnterCriticalSection
mov ebx, dword [0x66986058]
sub esp, 4
cmp ebx, 0x66986058
jne 0x66983cc6
jmp 0x66983dd0
mov ebx, dword [ebx]
cmp ebx, 0x66986058
je 0x66983dd0
mov eax, dword [ebx + 8]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.kernel32.dll_lstrcmpW
sub esp, 8
test eax, eax
jne 0x66983cb8
mov eax, dword [ebp + 0xc]
xor esi, esi
test eax, eax
jne 0x66983df8
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov edi, dword fs:[0x18]
mov dword [edx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [ebx + 8]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
mov eax, dword [ebx + 0xc]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
mov eax, dword [ebx + 0x10]
sub esp, 0xc
cmp word [eax], 0
je 0x66983d6f
mov edx, eax
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x66983d50
cmp edx, eax
je 0x66983d6f
lea esi, [esi]
mov ecx, eax
add eax, 1
mov byte [ecx], 0
cmp eax, edx
jne 0x66983d60
mov eax, dword [ebx + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapFree
sub esp, 0xc
mov dword [esp], 0x66986040
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov esi, 0x490
jmp 0x66983db0
lea esp, [ebp - 0xc]
mov esi, 0x57
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 8
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp], esi
call fcn.669829f0
mov esi, eax
jmp 0x66983ce9
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x8dc2356
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x11cc0bea
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x403cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x4040a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x404100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x403d40
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4234
call fcn.00444d80
mov eax, dword [0x46db30]
xor eax, ebp
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x422c], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2004], eax
lea eax, [ebp - 0x2008]
push eax
push 0x2000
lea ecx, [ebp - 0x2000]
push ecx
call sub.PSAPI.DLL_EnumProcesses
mov dword [ebp - 0x200c], 0
jmp 0x403d9f
mov edx, dword [ebp - 0x200c]
add edx, 1
mov dword [ebp - 0x200c], edx
mov eax, dword [ebp - 0x2008]
shr eax, 2
cmp dword [ebp - 0x200c], eax
jae 0x403efd
mov ecx, dword [ebp - 0x422c]
cmp dword [ecx + 4], 0
jne 0x403efd
mov edx, dword [ebp - 0x200c]
mov eax, dword [ebp - 0x2004]
cmp eax, dword [ebp + edx*4 - 0x2000]
jne 0x403ddb
jmp 0x403d90
mov ecx, dword [ebp - 0x200c]
mov edx, dword [ebp + ecx*4 - 0x2000]
push edx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2010], eax
cmp dword [ebp - 0x2010], 0
je 0x403ef8
lea eax, [ebp - 0x2014]
push eax
push 0x2000
lea ecx, [ebp - 0x4220]
push ecx
mov edx, dword [ebp - 0x2010]
push edx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x403eeb
mov dword [ebp - 0x4224], 0
jmp 0x403e4b
mov eax, dword [ebp - 0x4224]
add eax, 1
mov dword [ebp - 0x4224], eax
mov ecx, dword [ebp - 0x2014]
shr ecx, 2
cmp dword [ebp - 0x4224], ecx
jae 0x403eeb
push 0x104
lea edx, [ebp - 0x2220]
push edx
mov eax, dword [ebp - 0x4224]
mov ecx, dword [ebp + eax*4 - 0x4220]
push ecx
mov edx, dword [ebp - 0x2010]
push edx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x403ee6
push ecx
mov ecx, esp
mov dword [ebp - 0x4228], esp
lea eax, [ebp - 0x2220]
push eax
call fcn.00404620
mov dword [ebp - 0x4230], eax
mov ecx, dword [ebp - 0x422c]
call fcn.00403f10
mov dword [ebp - 0x4234], eax
cmp dword [ebp - 0x4234], 0
je 0x403ee6
push 0
push 0
push 0x465
mov ecx, dword [ebp - 0x422c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403efd
jmp 0x403e3c
mov ecx, dword [ebp - 0x2010]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403d90
mov ecx, dword [ebp - 0x2018]
xor ecx, ebp
call fcn.00441cf2
mov esp, ebp
pop ebp
ret
Function at 0x404160
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa028
call fcn.00444d80
mov eax, dword [0x46db30]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xa018], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa014], eax
mov dword [ebp - 8], 0xc8
mov dword [ebp - 4], 0
mov ecx, dword [0x4634e0]
mov dword [ebp - 0xa010], ecx
push 0x9ffc
push 0
lea edx, [ebp - 0xa00c]
push edx
call fcn.00443fb0
add esp, 0xc
mov eax, 1
test eax, eax
je 0x40425c
lea ecx, [ebp - 0xa010]
push ecx
push 0x5000
push 0xd
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0xa010]
mov dword [ebp - 0xa01c], eax
mov ecx, dword [ebp - 0xa01c]
add ecx, 2
mov dword [ebp - 0xa020], ecx
mov edx, dword [ebp - 0xa01c]
mov ax, word [edx]
mov word [ebp - 0xa022], ax
add dword [ebp - 0xa01c], 2
cmp word [ebp - 0xa022], 0
jne 0x4041fa
mov ecx, dword [ebp - 0xa01c]
sub ecx, dword [ebp - 0xa020]
sar ecx, 1
mov dword [ebp - 0xa028], ecx
je 0x404233
jmp 0x40425c
mov edx, dword [ebp - 4]
add edx, 0xc8
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xa014]
jbe 0x40424c
jmp 0x40425c
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4041ba
lea ecx, [ebp - 0xa010]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404620
mov edx, dword [ebp - 0xa018]
or edx, 1
mov dword [ebp - 0xa018], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00441cf2
mov esp, ebp
pop ebp
ret
Function at 0x40a190
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push 0x461e88
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40a1cc
lea ecx, [ebp - 4]
push ecx
push str.SoftwarePassword_Protect_Video_MasterDT_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 8
mov edx, dword [ebp + 0xc]
push edx
push 3
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8