joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4acfe4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ad191
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4ad172
mov dl, 1
mov eax, dword [0x42d300]
call fcn.00439620
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406b40
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4ad161
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0048f734
test al, al
je 0x4ad154
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4ad1a0
lea eax, [ebp - 0x394]
call fcn.00414e98
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4ad154
xor eax, eax
push ebp
push 0x4ad14d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4ad210
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4ad136
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406d28
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x4ad136
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00406d28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad154
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4ad057
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0043955c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad198
lea eax, [ebp - 0x3a0]
call fcn.00406b30
ret

Function at 0x4adcf0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x52e284]
cmp byte [eax + 0xad], 0
jne 0x4add62
cmp dword [0x52e29c], 0
jne 0x4add22
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x523a50]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x52e29c], eax
cmp dword [0x52e298], 0
jne 0x4add3d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x52e298], eax
cmp dword [0x52e2a0], 0
jne 0x4add62
push esp
push 0
push 0
mov eax, dword [0x523a4c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x52e2a0], eax
pop edx
ret
Function at 0x4ae088
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4ae09f
add esp, 0xfffffff0
call fcn.004053c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00442068
mov eax, dword [0x527bec]
cmp byte [eax], 0
jne 0x4ae0cc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x52805c]
cmp word [eax + 2], 0
jne 0x4ae0e6
mov eax, dword [0x52805c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b0180
mov eax, dword [0x5281bc]
cmp word [eax + 2], 0
jne 0x4ae100
mov eax, dword [0x5281bc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b0390
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44cfd0]
call fcn.0045350c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b0940
mov dl, 1
mov eax, dword [0x42ad38]
call fcn.00404e64
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42ad38]
call fcn.00404e64
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4516d0]
call fcn.0045cd84
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4ae2e0
mov eax, dword [0x527ea8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045d218
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b0c28
mov dl, 1
mov eax, dword [0x42ad38]
call fcn.00404e64
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x527ea8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00414c90
test eax, eax
je 0x4ae211
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00414a74
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00414c74
test eax, eax
je 0x4ae229
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406d28
push ebx
push 0x4afb50
call fcn.004a3d98
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x527bec]
cmp byte [eax], 0
jne 0x4ae27a
mov eax, ebx
call fcn.004ae454
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b0e54
mov eax, ebx
call fcn.004b1a88
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4ae2d7
call fcn.00405420
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ae728
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4ae7ca
cmp dword [ebx + 0x94], 0
jne 0x4ae7c4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4ae674
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4ae7c4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4ae78a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4ae7c4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00435ffc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4ae799
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4ae9e8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x52e284]
cmp dword [eax + 0x170], 0
je 0x4aeb4d
test bl, bl
jne 0x4aea9b
cmp dword [esi + 0x9c], 0
jne 0x4aea90
mov eax, esi
call fcn.004b18d8
push eax
push 0x4ae8f4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4aea61
mov eax, dword [0x52e284]
cmp byte [eax + 0xd3], 0
je 0x4aea61
mov eax, dword [esi + 0xd8]
call fcn.004083b4
mov edi, eax
cmp edi, 0
jl 0x4aea61
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4aea4a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4aea90
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00435ffc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4aea70
inc dword [esi + 0x9c]
jmp 0x4aeb4d
cmp dword [esi + 0x9c], 0
jle 0x4aeb4d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4aeb4d
cmp dword [esi + 0x44], 0
je 0x4aeaf8
mov eax, dword [0x52e284]
cmp byte [eax + 0xd3], 0
je 0x4aeaf8
mov eax, dword [esi + 0xd8]
call fcn.004083b4
mov edi, eax
cmp edi, 0
jl 0x4aeaf8
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4aeae1
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4aeb27
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00435ffc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4aeb07
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a1c70]
call fcn.00408574
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4af79c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4af807
cmp byte [ebx + 0xd3], 0
jne 0x4af807
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406c7c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4af7f4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4af814
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406b40
jmp 0x4af814
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406b40
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b103c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b10aa
mov eax, esi
call fcn.00489898
test al, al
je 0x4b10aa
mov eax, dword [ebx + 0x84]
call fcn.00489518
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b10aa
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b109e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00489518
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048056c
jmp 0x4b10aa
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b0e74
pop esi
pop ebx
ret
Function at 0x4b6d3c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40d35c]
call fcn.004077b8
xor eax, eax
push ebp
push 0x4b6e86
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x524544], 0
jne 0x4b6d90
mov ecx, dword [0x527c34]
mov dl, 1
mov eax, dword [0x40e60c]
call fcn.0041948c
call fcn.00405a30
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404858
mov eax, ebx
call fcn.00406928
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4b6e94
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004099e0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4b6dd7
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4b6e2c
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4b6e25
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406d90
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406d28
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.004135f8
test eax, eax
jne 0x4b6e25
mov ebx, 0x15
jmp 0x4b6e31
mov ebx, 0x10
jmp 0x4b6e31
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x524544]
call fcn.004b6ba8
mov eax, dword [ebp - 4]
call fcn.004b6ba8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004099f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6e8d
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406b38
lea eax, [ebp - 0xc]
mov edx, dword [0x40d35c]
call fcn.00407890
ret
Function at 0x4b8780
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x4b8795
add esp, 0xfffffff0
call fcn.004053c8
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x10]
xor edx, edx
mov eax, ebx
call fcn.00404e64
test edi, edi
jne 0x4b87c3
mov ecx, dword [0x527d44]
mov dl, 1
mov eax, dword [0x4b8530]
call fcn.004c349c
call fcn.00405a30
mov eax, edi
mov dword [ebx + 0x10], eax
cmp byte [eax + 0x10], 1
sete dl
lea eax, [ebp + 8]
call fcn.004bb0b4
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004c2cc4
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
push esi
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b882a
mov ecx, dword [0x528318]
mov dl, 1
mov eax, dword [0x4b8530]
call fcn.004c349c
call fcn.00405a30
test esi, esi
jne 0x4b8871
mov eax, edi
mov edx, dword [0x51f9f8]
call fcn.004050b0
test al, al
je 0x4b8871
push 0
mov eax, dword [edi + 0x18]
push eax
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b8871
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov ecx, dword [0x5281dc]
mov dl, 1
mov eax, dword [0x4b8530]
call fcn.004c349c
call fcn.00405a30
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0043a284
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x14]
mov edx, ebx
call fcn.00435e3c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b88a1
call fcn.00405420
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b88ac
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x4b88c1
add esp, 0xfffffff0
call fcn.004053c8
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x14]
xor edx, edx
mov eax, ebx
call fcn.00404e64
test edi, edi
jne 0x4b88ef
mov ecx, dword [0x527d44]
mov dl, 1
mov eax, dword [0x4b8530]
call fcn.004c349c
call fcn.00405a30
mov eax, edi
mov dword [ebx + 0x10], eax
cmp byte [eax + 0x10], 1
sete dl
lea eax, [ebp + 0xc]
call fcn.004bb0b4
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x10], 1
sete dl
lea eax, [ebp + 8]
call fcn.004bb134
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004c2cc4
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov edx, dword [ebp + 8]
push edx
push esi
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_MapViewOfFileEx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b896c
mov ecx, dword [0x528318]
mov dl, 1
mov eax, dword [0x4b8530]
call fcn.004c349c
call fcn.00405a30
test esi, esi
jne 0x4b89b3
mov eax, edi
mov edx, dword [0x51f9f8]
call fcn.004050b0
test al, al
je 0x4b89b3
push 0
mov eax, dword [edi + 0x18]
push eax
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b89b3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov ecx, dword [0x5281dc]
mov dl, 1
mov eax, dword [0x4b8530]
call fcn.004c349c
call fcn.00405a30
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0043a284
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x14]
mov edx, ebx
call fcn.00435e3c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b89e3
call fcn.00405420
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4b90b8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b916e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00406bcc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x4b9158
lea eax, [ebp - 4]
mov edx, edi
call fcn.00406ea4
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00406bcc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4b9158
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4b9180
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4b9158
cmp dword [ebp - 0xc], 0x34
jne 0x4b9158
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9175
lea eax, [ebp - 4]
call fcn.00406b30
ret
Function at 0x4bb1a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bb3a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.004b97a0
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [ebp - 0x14]
mov dword [0x524eb0], eax
mov eax, dword [ebp - 0xc]
mov dword [0x524eb4], eax
mov eax, dword [ebp - 0x24]
mov dword [0x524eb8], eax
mov eax, dword [0x52848c]
cmp dword [eax], 2
sete byte [0x524660]
push 0x4bb3ac
call sub.kernel32.dll_GetModuleHandleW_2
lea edx, [ebp - 4]
call fcn.004b8ea4
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x524660], 0
jne 0x4bb22f
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004b90b8
test al, al
je 0x4bb22f
mov eax, dword [ebp - 0x4c]
mov dword [0x52e8c4], eax
jmp 0x4bb236
xor eax, eax
mov dword [0x52e8c4], eax
call fcn.004badb4
and eax, 0x7f
cmp eax, 0x14
ja case.0x4bb247.0
jmp dword [eax*4 + 0x4bb24e]
mov byte [0x52464c], 1
jmp case.0x4bb247.0
mov byte [0x524650], 1
jmp case.0x4bb247.0
mov byte [0x524654], 1
jmp case.0x4bb247.0
mov byte [0x524658], 1
jmp case.0x4bb247.0
mov byte [0x52465c], 1
jmp case.0x4bb247.0
mov byte [0x524664], 1
mov byte [0x524668], 1
jmp case.0x4bb247.0
mov byte [0x524664], 1
mov byte [0x52466c], 1
jmp case.0x4bb247.0
mov byte [0x524664], 1
mov byte [0x52466c], 1
mov byte [0x524670], 1
jmp case.0x4bb247.0
mov byte [0x524674], 1
jmp case.0x4bb247.0
mov byte [0x524678], 1
jmp case.0x4bb247.0
mov byte [0x52467c], 1
jmp case.0x4bb247.0
mov byte [0x524680], 1
jmp case.0x4bb247.0
mov byte [0x524684], 1
jmp case.0x4bb247.0
mov byte [0x524688], 1
jmp case.0x4bb247.0
mov byte [0x52468c], 1
jmp case.0x4bb247.0
mov byte [0x524690], 1
jmp case.0x4bb247.0
mov byte [0x524694], 1
jmp case.0x4bb247.0
mov byte [0x524698], 1
jmp case.0x4bb247.0
mov byte [0x52469c], 1
jmp case.0x4bb247.0
mov byte [0x5246a0], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb3a7
lea eax, [ebp - 4]
call fcn.00406b30
ret

Function at 0x4bec4c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x4becb0
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.00406d28
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.00413fb8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4becb7
lea eax, [ebp - 0x14]
call fcn.00406b30
ret
Function at 0x4c0710
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4c0725
add esp, 0xfffffff0
call fcn.004053c8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00404e64
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00406b40
mov eax, esi
call fcn.00406bcc
push eax
movzx eax, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexW
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4c0779
mov ecx, dword [0x5282ec]
mov dl, 1
mov eax, dword [0x4c0174]
call fcn.004c349c
call fcn.00405a30
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c07a0
call fcn.00405420
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4c0854
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4c086c
add esp, 0xfffffff0
call fcn.004053c8
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x4c0951
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 8], 0
lea eax, [ebx + 0x10]
mov edx, esi
call fcn.00406b40
test esi, esi
jne 0x4c08be
xor eax, eax
mov dword [ebx + 0xc], eax
push 0
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bf9cc]
call fcn.004c0590
mov dword [ebx + 4], eax
mov eax, 0x10
call fcn.0040422c
mov dword [ebx + 0x14], eax
jmp 0x4c092c
push 0
push 0
lea eax, [ebp - 8]
mov ecx, esi
mov edx, 0x4c0988
call fcn.00406ffc
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bf9cc]
call fcn.004c0590
mov edi, eax
mov dword [ebx + 4], edi
movzx eax, byte [edi + 4]
mov byte [ebx + 8], al
lea eax, [ebp - 0xc]
mov ecx, esi
mov edx, 0x4c09b0
call fcn.00406ffc
mov eax, dword [ebp - 0xc]
call fcn.00406bcc
push eax
push 0x10
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingW
mov edi, eax
mov dword [ebx + 0xc], edi
push 0
push 0
push 0
push 2
push edi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebx + 0x14], eax
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.004c0acc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0958
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00406b38
ret

Function at 0x4c4350
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], edx
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x4c4294
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret