joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408390
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4084f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406478
cmp si, word [0x4b87dc]
jb 0x408428
cmp si, word [0x4b89dc]
ja 0x408428
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x408428
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4b87dc]
jae 0x408402
mov edi, ebx
dec edi
jmp 0x408423
cmp si, word [ebx*8 + 0x4b87dc]
jbe 0x408412
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408423
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4b87e0]
call fcn.004082a0
jmp 0x408428
cmp edi, dword [ebp - 8]
jae 0x4083ec
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4084d7
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4084d7
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406e50
push dword [ebp - 0x160]
push 0x408510
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00406e50
push dword [ebp - 0x164]
push 0x408520
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406e50
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407088
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4084fc
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004064d8
ret
Function at 0x4086a8
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4087ab
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c1b4d
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4c1b66]
jne 0x4086f4
mov eax, esi
mov edx, 0x4c1b68
mov ecx, 0x55
call fcn.00406e50
push 0x4c1b4d
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408795
push 0x4c1b4d
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406478
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408763
cmp byte [0x4c1b4c], 0
je 0x408728
mov edx, esi
mov eax, ebx
call fcn.0040858c
jmp 0x408763
mov edx, esi
mov eax, ebx
call fcn.00408390
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408763
cmp dword [esi], 0
je 0x40874c
mov eax, esi
mov edx, 0x4087c4
call fcn.00406fa8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408390
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406fa8
push 0x4c1b4d
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4c1b66], bx
push 0xaa
mov eax, dword [esi]
call fcn.00406dac
push eax
push 0x4c1b68
call sub.kernel32.dll_lstrcpynW
push 0x4c1b4d
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4087b2
lea eax, [ebp - 4]
call fcn.00406478
ret
Function at 0x4089e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040655c
xor eax, eax
push ebp
push 0x408c05
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x408a20
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x408a3a
push 0x105
mov eax, dword [ebp - 4]
call fcn.00406dac
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x408bef
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408c14
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408b09
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408c14
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408b09
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408c50
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408b09
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408c50
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408b09
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408c84
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408b09
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408cb8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x408bef
xor eax, eax
push ebp
push 0x408be8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.004087ec
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x408b78
mov eax, dword [ebp - 0x10]
call fcn.00403f58
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406dfc
jmp 0x408bc3
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x408cf8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x408bc3
mov eax, dword [ebp - 0x10]
call fcn.00403f58
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x408cf8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406dfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408bef
cmp dword [ebp - 8], 0
je 0x408bde
mov eax, dword [ebp - 8]
call fcn.00403f74
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408c0c
lea eax, [ebp - 4]
call fcn.00406478
ret
Function at 0x408f44
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040655c
xor eax, eax
push ebp
push 0x409004
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406e50
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407000
mov eax, dword [ebx]
call fcn.00408e0c
test al, al
jne 0x408fe1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406e50
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407000
mov eax, dword [ebx]
call fcn.00408e0c
test al, al
jne 0x408fe1
mov eax, ebx
call fcn.00406478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40900b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004064d8
lea eax, [ebp - 4]
call fcn.00406478
ret

Function at 0x416c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x416c69
test eax, edx
je 0x416c6c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x416c27
movzx eax, word [eax]
sub eax, ecx
jmp 0x416c4e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x416c4f
add ecx, 4
js 0x416c3f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x416c4c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x416c4e
xor eax, eax
ret
test eax, eax
je 0x416c78
test edx, edx
jne 0x416c18
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4176d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00406dac
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41773a
test ah, 4
je 0x417733
test bl, bl
jne 0x4176f8
mov al, 1
jmp 0x417761
test al, 0x10
je 0x417700
xor eax, eax
jmp 0x417761
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x417724
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x417761
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x417761
test al, 0x10
sete al
jmp 0x417761
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x41775b
cmp ebx, 3
je 0x41775b
cmp ebx, 0x7b
je 0x41775b
mov eax, esi
call fcn.00417690
test al, al
jne 0x41775f
xor eax, eax
jmp 0x417761
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x417768
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00406dac
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41780f
test esi, 0x400
jne 0x4177a4
test esi, 0x10
setne bl
jmp 0x417829
cmp byte [esp], 0
je 0x4177d8
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x417829
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x417829
test esi, 0x10
je 0x4177e4
mov bl, 1
jmp 0x417829
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41780b
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x417829
mov bl, 1
jmp 0x417829
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x417823
cmp eax, 3
je 0x417823
cmp eax, 0x7b
jne 0x417827
xor ebx, ebx
jmp 0x417829
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41ab1c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41ab55
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004065d0
jmp 0x41ab5e
mov eax, ebx
mov edx, esi
call fcn.00406828
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41ab68
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41ab8a
movzx eax, word [esp]
jmp 0x41ab8c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41b848
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41b968
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041b658
mov esi, eax
mov eax, dword [0x4bdef0]
cmp byte [eax], 0
je 0x41b910
mov eax, dword [0x4bdc7c]
call fcn.00404428
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41b820]
call fcn.00407de0
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41b984
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41b94c
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4bdc14]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c1c30]
call fcn.00407ed4
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b96f
lea eax, [ebp - 4]
mov edx, dword [0x41b820]
call fcn.00407dec
ret

Function at 0x41c55c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41c632
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406870
lea eax, [ebp - 4]
call fcn.004069d8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406dac
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41c61c
mov eax, ebx
call fcn.00403f58
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41c615
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406dac
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41c5ff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41c644
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41c5ff
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c61c
mov eax, dword [ebp - 0x10]
call fcn.00403f74
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c639
lea eax, [ebp - 4]
call fcn.00406478
ret
Function at 0x41d84c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00406e50
add esp, 0x800
pop ebx
ret

Function at 0x4363b4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x436452
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x436416
cmp byte [ebx + 0x10], 0
jne 0x436416
cmp byte [ebx + 0x3c], 0
jne 0x436416
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x436437
lea edx, [ebp - 4]
mov eax, dword [0x4bde94]
call fcn.00409808
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42a90c]
call fcn.0041b988
call fcn.00405bc8
jmp 0x436437
lea edx, [ebp - 8]
mov eax, dword [0x4bde94]
call fcn.00409808
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42a90c]
call fcn.0041b988
call fcn.00405bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436459
lea eax, [ebp - 8]
mov edx, 2
call fcn.004064d8
ret

Function at 0x4366f8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00436300
dec esi
jne 0x43671a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x437c54
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c3f88
cmp dword [edi], 0
jne 0x437cd0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c3f84]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b8fc0
mov ecx, 2
call fcn.00404104
mov edx, 0x437c2c
lea eax, [esi + 5]
call fcn.00437c4c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00437c4c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x437ca5
mov dword [0x4c3f84], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x439500
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.00406dac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.00439030
test al, al
jne 0x439561
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4be04c]
mov dl, 1
mov eax, dword [0x438e10]
call fcn.0041ba80
call fcn.00405bc8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00438f98
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 0x43b020
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x43b026
ret
Function at 0x445528
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4456e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x4456c1
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x4456c1
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4454f4]
call fcn.00407de0
add esp, 4
lea eax, [ebp - 4]
call fcn.00409364
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x4bdc80]
push eax
call fcn.00438028
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00407c18
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.0040448c
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x43ab2c]
call fcn.004421c8
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x44569f
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.00443cd4
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.00442ae8
call fcn.0043dda8
push eax
call sub.gdi32.dll_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.00442dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4456c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4456ec
lea eax, [ebp - 8]
mov edx, dword [0x4454f4]
call fcn.00407dec
lea eax, [ebp - 4]
call fcn.00409364
ret
Function at 0x44d9b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4c4158], 0
je 0x44daf5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4bde68]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44daf5
mov eax, dword [0x4c415c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4c4158]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44dac4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4c4158]
call fcn.0042c818
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44dabc
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x44dabc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x44dabc
mov eax, dword [ebp - 0x14]
call fcn.00458f18
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44dabc
push ebp
call fcn.0044d970
pop ecx
test al, al
jne 0x44dabc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404ce0
test al, al
je 0x44dabc
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00404ce0
cmp byte [ebp - 1], 0
je 0x44dabc
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040a100
test al, al
je 0x44dabc
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4c415c]
call fcn.0044d0d8
inc edi
dec ebx
jne 0x44da19
mov eax, dword [0x4c415c]
cmp dword [eax + 8], 0
jle 0x44dadc
mov eax, dword [0x4c415c]
call fcn.0044d190
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44daf5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044d7d4
pop ecx
test al, al
jne 0x44daf5
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret