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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00451720
push ebp
push 0x413f60
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x5d6c5c]
xor edx, edx
call fcn.00408960
mov dword [ebx*4 + 0x5d6c7c], 0xffffffff
cmp ebx, 7
jl 0x451758
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4517e4
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00409350
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.00447920
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x4517e4
push 4
push ebx
push esi
mov eax, 0x451600
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x451690
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00451720
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451e30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00451e00
push ebp
push 0x413f60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040aeb0
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0044d780
jmp 0x451f08
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040ae60
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040b930
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040b6d0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0044d780
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040b510
test eax, eax
jne 0x451ef8
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x451ee6
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040b6d0
jmp 0x451f0f
mov eax, esi
call fcn.00404720
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x451e90
push edi
call sub.kernel32.dll_FreeEnvironmentStringsW
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00451e00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451f40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x5d6cc0], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x5d6b20], eax
mov eax, dword [ebp - 0x90]
mov dword [0x5d6b30], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x5d6b40], eax
mov eax, dword [ebp - 0x88]
mov dword [0x5d6b50], eax
mov edx, 0x5d6b61
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.004035a0
lea eax, [ebp - 0x80]
call fcn.00404700
mov byte [0x5d6b60], al
mov eax, 0x58cf60
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x5d6cd0], eax
test eax, eax
je 0x451fe0
mov eax, 0x58cf6c
push eax
push dword [0x5d6cd0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5d6cc0], eax
nop
cmp dword [0x5d6b30], 6
jae 0x451ff4
mov dword [0x565740], 0
nop
cmp dword [0x5d6b30], 6
jb 0x452010
cmp dword [0x5d6b40], 1
jb 0x452010
mov dword [0x565750], 2
mov esp, ebp
pop ebp
ret
Function at 0x48e410
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x48e444
mov edi, 0xffffffff
nop
add edi, 1
mov cl, al
xor cl, byte [edx]
and ecx, 0xff
mov ebx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x5d72d0]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x48e420
pop edi
pop esi
pop ebx
ret

Function at 0x4ad780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov edx, eax
xor eax, eax
lea ebx, [edx + 1]
movzx ecx, byte [edx]
add ecx, 1
and ecx, 0xff
add edx, ecx
jmp 0x4ad7b1
mov ecx, eax
shl ecx, 5
sub ecx, eax
movzx esi, byte [ebx]
xor ecx, esi
mov eax, ecx
add ebx, 1
cmp edx, ebx
ja 0x4ad7a0
pop esi
pop ebx
ret

Function at 0x4aef90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x4aefb4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
lea esi, [esi]
cmp dword [ebp - 8], 0
je 0x4af07a
mov esi, esi
xor eax, eax
push 0x4af05b
push ebp
push 0x4142e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040ce60
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0xe], 0
mov edx, 1
mov eax, 0x587ad8
call fcn.00437530
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004af210
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004af280
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004af2f0
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4af050
cmp dword [ebp - 4], 0
je 0x4af050
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4af07a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b7c40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x4b7c5b
jmp 0x4b7c68
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x4b7c70
jmp 0x4b7c78
jmp 0x4b7d26
xor eax, eax
push 0x4b7d03
push ebp
push 0x4142e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
jne 0x4b7cae
jmp 0x4b7cd4
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_SizeofResource
mov ebx, eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00435690
mov esi, esi
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x4b7ce3
jmp 0x4b7cf8
cmp dword [ebp - 8], 0
jne 0x4b7ceb
jmp 0x4b7cf8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4b7d26
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b9a90
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4b9ac4
mov eax, esi
call fcn.004be010
cmp byte [esi + 0x40], 0
je 0x4b9abc
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4b9b75
mov dword [esi + 0x14], 0xcb
nop
cmp dword [esi + 0x14], 0xcb
jne 0x4b9b54
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4b9b4c
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4b9af8
mov eax, esi
mov edx, dword [esi + 8]
call dword [edx]
lea esi, [esi]
mov eax, esi
mov edx, dword [esi + 0x184]
call dword [edx]
mov edi, eax
test edi, edi
jne 0x4b9b10
xor bl, bl
jmp 0x4b9b75
cmp edi, 2
je 0x4b9b4a
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4b9ae8
cmp edi, 3
je 0x4b9b28
cmp edi, 1
jne 0x4b9ae8
mov eax, dword [esi + 8]
add dword [eax + 4], 1
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4b9ae8
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
mov esi, esi
jmp 0x4b9ae8
mov esi, esi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4b9b6c
cmp dword [esi + 0x14], 0xcc
je 0x4b9b6c
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004b9eb0
lea esi, [esi]
mov eax, esi
call fcn.004b9b80
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x4d67f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d6806
jmp 0x4d6840
mov eax, dword [0x5650d0]
mov edx, dword [ebp - 4]
mov eax, dword [eax + 0x170]
cmp eax, dword [edx + 0x24]
je 0x4d681b
jmp 0x4d6840
mov eax, dword [0x5650d0]
cmp byte [eax + 0x11c], 0
je 0x4d682b
jmp 0x4d6840
mov eax, dword [0x5654f0]
mov edx, dword [0x5654f0]
mov edx, dword [edx]
call dword [edx + 0x6c]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, dword [0x5654f0]
mov edx, dword [0x5654f0]
mov edx, dword [edx]
call dword [edx + 0x6c]
cmp eax, dword [ebx]
je 0x4d685c
jmp 0x4d693a
mov eax, dword [0x5650d0]
cmp byte [eax + 0x11c], 0
je 0x4d686f
jmp 0x4d693a
mov eax, dword [0x5654f0]
mov edx, dword [0x5654f0]
mov edx, dword [edx]
call dword [edx + 0x6c]
call fcn.0054bfb0
mov eax, dword [0x5650d0]
cmp dword [eax + 0x170], 0
jne 0x4d6894
jmp 0x4d6900
push 0x10
push 0
mov eax, dword [0x5650d0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x254]
mov eax, dword [0x5650d0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x248]
mov eax, dword [0x5650d0]
mov eax, dword [eax + 0x170]
push dword [eax + 0x12c]
push 0
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_SetWindowPos
mov eax, dword [0x5650d0]
mov eax, dword [eax + 0x170]
call fcn.004f7f00
test al, al
jne 0x4d68ed
jmp 0x4d6900
push 0
mov eax, dword [0x5650d0]
call fcn.00421310
push eax
call sub.user32.dll_ShowWindow
nop
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x5650d0]
call fcn.00424850
jmp 0x4d69d8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d6945
jmp 0x4d6992
mov eax, dword [ebp - 4]
mov edx, dword [0x5650d0]
mov eax, dword [eax + 0x24]
cmp eax, dword [edx + 0x170]
je 0x4d695b
jmp 0x4d6992
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
mov eax, dword [ebp - 4]
push dword [eax + 8]
push 0x112
mov eax, dword [ebp - 4]
push dword [eax]
call sub.user32.dll_DefWindowProcA
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x5650d0]
call fcn.00424850
jmp 0x4d69d8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x4d699d
jmp 0x4d69d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
test dword [eax + 0x48c], 8
jne 0x4d69b1
jmp 0x4d69d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dword [eax + 0xc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [0x5654f0]
mov edx, dword [0x5654f0]
mov edx, dword [edx]
call dword [edx + 0x8c]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dd6a0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 8]
push dword [eax - 8]
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp - 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x14], 0
jne 0x4dd6ce
jmp 0x4dd73c
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalSize
mov edx, dword [ebp - 8]
mov dword [edx - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax - 0x1c], 0
jg 0x4dd6ea
jmp 0x4dd73c
mov eax, dword [ebp - 8]
push dword [eax - 0x14]
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp - 8]
mov dword [edx - 0x18], eax
xor eax, eax
push fcn.004dd680
push ebp
push 0x413f60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
call dword [ebx + 0x84]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004dd680
mov byte [ebp - 0xc], 1
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dde40
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x2c]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.004dde20
push ebp
push 0x413f60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4dde93
jmp 0x4ddf10
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.00468f10
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
call fcn.00468e60
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
call fcn.00469620
mov ebx, eax
mov eax, str._DataSize
push eax
push dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov eax, ebx
call fcn.0046aad0
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4ddf67
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.004dde00
push ebp
push 0x413f60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004dde00
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004dde20
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x509580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x50959b
jmp 0x5095a8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x5095b0
jmp 0x5095b8
jmp 0x50966a
xor eax, eax
push 0x509647
push ebp
push 0x4142e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, 0
call fcn.0040ce60
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x509629
jmp 0x50963c
cmp dword [ebp - 8], 0
jne 0x509631
jmp 0x50963c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x50966a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54c400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.0054c3e0
push ebp
push 0x413f60
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040a6e0
cmp dword [ebp - 0xc], 0
jg 0x54c44c
jmp 0x54c46c
mov eax, dword [ebp - 0xc]
lea eax, [eax + 1]
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x54c45f
mov eax, 0x5d52f0
push eax
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0xc], eax
nop
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040a6e0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
call fcn.0040ae20
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x54c495
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x54c4a1
mov eax, 0x5d52f0
call fcn.0042d790
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0054c3e0
mov esp, ebp
pop ebp
ret
Function at 0x54dae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov edx, 0x5cb0f0
call fcn.0040e570
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.0054dad0
push ebp
push 0x413f60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x34]
mov edx, 0
call fcn.00408960
mov eax, dword [ebp - 0xc]
mov edx, fcn.004da9e0
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov dx, 0
call fcn.004092b0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x30]
call fcn.00408960
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.0054ba70
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0054e170
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
je 0x54dbe5
jmp 0x54dc04
mov eax, dword [ebp - 4]
call fcn.004fce20
test al, al
je 0x54dbf3
jmp 0x54dc04
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
or eax, 0x8000000
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0054dad0
mov esp, ebp
pop ebp
ret
Function at 0x562cb0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
push ebx
push esi
mov ebx, eax
mov esi, edx
mov eax, esi
xor cl, cl
mov edx, 0x20
call fcn.004035e0
lea eax, [ebp - 8]
push eax
push 0
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
push 0
lea eax, [esi + 4]
push eax
mov eax, esi
push eax
push 0
push 0
push 0
push dword [ebx + 0x14]
call sub.advapi32.dll_RegQueryInfoKeyA
mov dword [ebx + 4], eax
test eax, eax
sete bl
jne 0x562d18
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_FileTimeToSystemTime
lea eax, [ebp - 0x18]
call fcn.0044b4e0
fstp qword [esi + 0x18]
mov esi, esi
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x562fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x44]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
xor eax, eax
push fcn.00562fa0
push ebp
push 0x413f60
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5d30c8
mov eax, dword [ebp - 8]
mov ecx, 1
call fcn.0040c9b0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00562cb0
test al, al
je 0x563130
cmp dword [ebp - 0x20], 0
jle 0x563130
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov edx, eax
shl edx, 1
lea eax, [ebp - 0x30]
call fcn.0040f7c0
xor eax, eax
push fcn.00562f90
push ebp
push 0x413f60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5d30c8
mov eax, dword [ebp - 8]
mov ecx, 1
call fcn.0040c9b0
mov eax, dword [ebp - 0x20]
lea ebx, [eax - 1]
mov dword [ebp - 0x34], 0xffffffff
lea esi, [esi]
add dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
call sub.advapi32.dll_RegEnumValueW
mov dword [ebp - 0x38], eax
cmp eax, 0x103
je 0x56311d
cmp dword [ebp - 0x38], 0
je 0x5630e4
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x44]
call fcn.00451d40
mov ecx, dword [ebp - 0x44]
mov edx, 1
mov eax, 0x5d2e98
call fcn.0044f890
mov edx, 0x5630ba
mov ecx, ebp
call fcn.00413e20
nop
cmp dword [ebp - 0x2c], 0
jne 0x5630f6
lea eax, [ebp - 0x3c]
xor edx, edx
call fcn.0040aeb0
jmp 0x563101
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
call fcn.0040ae60
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x34]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x3c]
call fcn.0040aeb0
cmp ebx, dword [ebp - 0x34]
ja 0x563080
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00562f90
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00562fa0
pop ebx
mov esp, ebp
pop ebp
ret