joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5af56c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5af583
add esp, 0xfffffff0
call fcn.004086e8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c49ac
mov eax, dword [0x608620]
cmp byte [eax], 0
jne 0x5af5b0
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x608b14]
cmp word [eax + 2], 0
jne 0x5af5ca
mov eax, dword [0x608b14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005b1884
mov eax, dword [0x608cb8]
cmp word [eax + 2], 0
jne 0x5af5e4
mov eax, dword [0x608cb8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005b1a88
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4fe6bc]
call fcn.0050480c
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5b2000
mov dl, 1
mov eax, dword [0x48a848]
call fcn.004080b4
mov dword [ebx + 0xa4], eax
mov dl, 1
mov eax, dword [0x48a848]
call fcn.004080b4
mov dword [ebx + 0xc4], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xb9], 1
mov byte [ebx + 0xd0], 1
mov dl, 1
mov eax, dword [0x5030e4]
call fcn.0050df7c
mov esi, eax
mov dword [ebx + 0xb4], esi
push 0x5af7cc
mov eax, dword [0x608944]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0050e40c
mov eax, dword [ebx + 0xb4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5b22e8
mov dl, 1
mov eax, dword [0x48a848]
call fcn.004080b4
mov dword [ebx + 0xac], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x608944]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0042439c
test eax, eax
je 0x5af6fe
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0042417c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00424380
test eax, eax
je 0x5af716
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 + 0xa0]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040ac34
push ebx
push 0x5b1260
call fcn.005a4d14
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe4], 0
mov eax, dword [0x608620]
cmp byte [eax], 0
jne 0x5af767
mov eax, ebx
call fcn.005af994
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xba], 1
mov byte [ebx + 0xe5], 0
mov byte [ebx + 0xf0], 0
add byte [eax], al
add byte [ebx], dh
ror byte [ecx + 0xe883], 0
mov byte [ebx + 0xe7], 0
xor eax, eax
mov dword [ebx + 0xbc], eax
mov eax, ebx
call fcn.005b2530
mov eax, ebx
call fcn.005b3188
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5af7c4
call fcn.00408740
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5afcd4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5afd80
cmp dword [ebx + 0xa8], 0
jne 0x5afd7a
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5afc0c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa4]
cmp dword [eax + 8], 0
je 0x5afd7a
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5afd40
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa4]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5afd7a
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa4]
call fcn.004acf68
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5afd4f
inc dword [ebx + 0xa8]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x60f370]
cmp dword [eax + 0x188], 0
je 0x5b0105
test bl, bl
jne 0x5b0053
cmp dword [esi + 0xb0], 0
jne 0x5b0048
mov eax, esi
call fcn.005b2fd8
push eax
push 0x5afeac
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5b0019
mov eax, dword [0x60f370]
cmp byte [eax + 0xe7], 0
je 0x5b0019
mov eax, dword [esi + 0xec]
call fcn.0040beac
mov edi, eax
cmp edi, 0
jl 0x5b0019
push 0
mov eax, dword [esi + 0xec]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5b0002
mov eax, dword [esi + 0xac]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b0048
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xac]
call fcn.004acf68
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b0028
inc dword [esi + 0xb0]
jmp 0x5b0105
cmp dword [esi + 0xb0], 0
jle 0x5b0105
dec dword [esi + 0xb0]
cmp dword [esi + 0xb0], 0
jne 0x5b0105
cmp dword [esi + 0x58], 0
je 0x5b00b0
mov eax, dword [0x60f370]
cmp byte [eax + 0xe7], 0
je 0x5b00b0
mov eax, dword [esi + 0xec]
call fcn.0040beac
mov edi, eax
cmp edi, 0
jl 0x5b00b0
push 5
mov eax, dword [esi + 0xec]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5b0099
mov eax, dword [esi + 0xac]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b00df
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xac]
call fcn.004acf68
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b00bf
mov eax, dword [esi + 0xac]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xec]
mov ecx, 1
mov edx, dword [0x5a1b8c]
call fcn.0040c0c0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5b0d60
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc0], 0
je 0x5b0dbd
cmp byte [ebx + 0xe7], 0
jne 0x5b0dbd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409f18
mov eax, dword [esi]
test eax, eax
je 0x5b0daa
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5b0dca
mov eax, esi
mov edx, dword [ebx + 0xa0]
call fcn.0040a170
jmp 0x5b0dca
mov eax, esi
mov edx, dword [ebx + 0xa0]
call fcn.0040a170
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5b271c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5b278d
mov eax, esi
call fcn.0052c11c
test al, al
je 0x5b278d
mov eax, dword [ebx + 0x98]
call fcn.0052bd44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5b278d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5b277e
push 0
mov eax, dword [ebx + 0x98]
call fcn.0052bd44
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.00522a18
jmp 0x5b278d
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005b2550
pop esi
pop ebx
ret
Function at 0x5b6f84
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5b6ffe
mov eax, dword [ebx + 8]
call fcn.0052bd44
mov ecx, eax
mov dl, 1
mov eax, dword [0x537f1c]
call fcn.00526070
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.0053c7f0
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5b687c
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0052bd44
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0052bd44
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5b7074
mov eax, dword [ebx + 8]
call fcn.0052bd44
mov ecx, eax
mov dl, 1
mov eax, dword [0x537f1c]
call fcn.00526070
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.0053c7f0
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5b68c8
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0052bd44
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0052bd44
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5b70e0
mov eax, dword [ebx + 8]
call fcn.0052bd44
mov ecx, eax
mov dl, 1
mov eax, dword [0x53898c]
call fcn.00526070
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0052bd44
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0052bd44
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5bc154
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x5bc169
add esp, 0xfffffff0
call fcn.004086e8
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x10]
xor edx, edx
mov eax, ebx
call fcn.004080b4
test edi, edi
jne 0x5bc197
mov ecx, dword [0x6087b0]
mov dl, 1
mov eax, dword [0x5bc038]
call fcn.005baa48
call fcn.0040945c
mov eax, edi
mov dword [ebx + 0x10], eax
cmp byte [eax + 0x10], 1
sete dl
lea eax, [ebp + 8]
call fcn.005bd4d0
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.005ba370
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 0x5bc1fe
mov ecx, dword [0x608e54]
mov dl, 1
mov eax, dword [0x5bc038]
call fcn.005baa48
call fcn.0040945c
test esi, esi
jne 0x5bc245
mov eax, edi
mov edx, dword [0x602c1c]
call fcn.004083b4
test al, al
je 0x5bc245
push 0
mov eax, dword [edi + 0x18]
push eax
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
cmp esi, 0xffffffff
jne 0x5bc245
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov ecx, dword [0x608ce8]
mov dl, 1
mov eax, dword [0x5bc038]
call fcn.005baa48
call fcn.0040945c
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004b5fec
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x14]
mov edx, ebx
call fcn.004acd84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5bc275
call fcn.00408740
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 0x5bc280
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x5bc295
add esp, 0xfffffff0
call fcn.004086e8
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x14]
xor edx, edx
mov eax, ebx
call fcn.004080b4
test edi, edi
jne 0x5bc2c3
mov ecx, dword [0x6087b0]
mov dl, 1
mov eax, dword [0x5bc038]
call fcn.005baa48
call fcn.0040945c
mov eax, edi
mov dword [ebx + 0x10], eax
cmp byte [eax + 0x10], 1
sete dl
lea eax, [ebp + 0xc]
call fcn.005bd4d0
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x10], 1
sete dl
lea eax, [ebp + 8]
call fcn.005bd550
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.005ba370
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 0x5bc340
mov ecx, dword [0x608e54]
mov dl, 1
mov eax, dword [0x5bc038]
call fcn.005baa48
call fcn.0040945c
test esi, esi
jne 0x5bc387
mov eax, edi
mov edx, dword [0x602c1c]
call fcn.004083b4
test al, al
je 0x5bc387
push 0
mov eax, dword [edi + 0x18]
push eax
call sub.kernel32.dll_GetFileSize_1
mov esi, eax
cmp esi, 0xffffffff
jne 0x5bc387
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov ecx, dword [0x608ce8]
mov dl, 1
mov eax, dword [0x5bc038]
call fcn.005baa48
call fcn.0040945c
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004b5fec
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x14]
mov edx, ebx
call fcn.004acd84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5bc3b7
call fcn.00408740
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 0x5bc8b0
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 0x5bc966
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.0040ab90
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x5bc950
lea eax, [ebp - 4]
mov edx, edi
call fcn.0040ad0c
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.0040ab90
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5bc950
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5bc978
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5bc950
cmp dword [ebp - 0xc], 0x34
jne 0x5bc950
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 0x5bc96d
lea eax, [ebp - 4]
call fcn.00409d90
ret
Function at 0x5bd5bc
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 0x5bd816
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.005c1864
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [ebp - 0x14]
mov dword [0x60740c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x607410], eax
mov eax, dword [ebp - 0x24]
mov dword [0x607414], eax
mov eax, dword [0x608fe4]
cmp dword [eax], 2
sete byte [0x606be9]
push 0x5bd824
call sub.kernel32.dll_GetModuleHandleW_2
lea edx, [ebp - 4]
call fcn.005bc880
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x606be9], 0
jne 0x5bd64b
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.005bc8b0
test al, al
je 0x5bd64b
mov eax, dword [ebp - 0x4c]
mov dword [0x60f8e8], eax
jmp 0x5bd652
xor eax, eax
mov dword [0x60f8e8], eax
call fcn.005bcadc
and eax, 0x7f
cmp eax, 0x1a
ja case.0x5bd663.0
jmp dword [eax*4 + 0x5bd66a]
mov byte [0x606be4], 1
jmp case.0x5bd663.0
mov byte [0x606be5], 1
jmp case.0x5bd663.0
mov byte [0x606be6], 1
jmp case.0x5bd663.0
mov byte [0x606be7], 1
jmp case.0x5bd663.0
mov byte [0x606be8], 1
jmp case.0x5bd663.0
mov byte [0x606bea], 1
mov byte [0x606beb], 1
jmp case.0x5bd663.0
mov byte [0x606bea], 1
mov byte [0x606bec], 1
jmp case.0x5bd663.0
mov byte [0x606bea], 1
mov byte [0x606bec], 1
mov byte [0x606bed], 1
jmp case.0x5bd663.0
mov byte [0x606bee], 1
jmp case.0x5bd663.0
mov byte [0x606bef], 1
jmp case.0x5bd663.0
mov byte [0x606bf0], 1
jmp case.0x5bd663.0
mov byte [0x606bf1], 1
jmp case.0x5bd663.0
mov byte [0x606bf2], 1
jmp case.0x5bd663.0
mov byte [0x606bf3], 1
jmp case.0x5bd663.0
mov byte [0x606bf4], 1
jmp case.0x5bd663.0
mov byte [0x606bf5], 1
jmp case.0x5bd663.0
mov byte [0x606bf6], 1
jmp case.0x5bd663.0
mov byte [0x606bf7], 1
jmp case.0x5bd663.0
mov byte [0x606bf8], 1
jmp case.0x5bd663.0
mov byte [0x606bf9], 1
jmp case.0x5bd663.0
mov byte [0x606bfa], 1
jmp case.0x5bd663.0
mov byte [0x606bfb], 1
jmp case.0x5bd663.0
mov byte [0x606bfc], 1
jmp case.0x5bd663.0
mov byte [0x606bfd], 1
jmp case.0x5bd663.0
mov byte [0x606bfe], 1
jmp case.0x5bd663.0
mov byte [0x606bff], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bd81d
lea eax, [ebp - 4]
call fcn.00409d90
ret

Function at 0x5be864
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 0x5be8c8
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.0040ac34
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.004233a8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5be8cf
lea eax, [ebp - 0x14]
call fcn.00409d90
ret
Function at 0x5bf7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5bf866
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x608fe4]
cmp dword [eax], 2
jne 0x5bf810
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
mov ebx, eax
jmp 0x5bf848
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040a924
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040a560
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.0040a6f8
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bf86d
lea eax, [ebp - 8]
call fcn.00409dd8
lea eax, [ebp - 4]
call fcn.00409db4
ret

Function at 0x5bfc04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.0040ab90
mov edx, eax
mov eax, ebx
call fcn.005bf63c
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.005bf718
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x5bfc76
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.0040ab90
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x5c10a4
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x5c10b9
add esp, 0xfffffff0
call fcn.004086e8
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.004080b4
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.0040a170
mov eax, esi
call fcn.0040ab90
push eax
cmp byte [ebp + 0xc], 1
cmc
sbb eax, eax
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 0x5c1110
mov ecx, dword [0x608e24]
mov dl, 1
mov eax, dword [0x5c0c34]
call fcn.005baa48
call fcn.0040945c
call sub.kernel32.dll_GetLastError_2
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5c1137
call fcn.00408740
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 0x5c11ec
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 0x5c1204
add esp, 0xfffffff0
call fcn.004086e8
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x5c12e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 8], 0
lea eax, [ebx + 0x10]
mov edx, esi
call fcn.0040a170
test esi, esi
jne 0x5c1256
xor eax, eax
mov dword [ebx + 0xc], eax
push 0
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c0474]
call fcn.005c0f24
mov dword [ebx + 4], eax
mov eax, 0x10
call fcn.00406720
mov dword [ebx + 0x14], eax
jmp 0x5c12c4
push 0
push 0
lea eax, [ebp - 8]
mov ecx, esi
mov edx, 0x5c1320
call fcn.0040ade4
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5c0474]
call fcn.005c0f24
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, 0x5c1348
call fcn.0040ade4
mov eax, dword [ebp - 0xc]
call fcn.0040ab90
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.005c146c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c12f0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00409df0
ret

Function at 0x5c4ad4
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 0x5c4a18
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x5c59f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0040ab90
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
push 0x5c590c
call sub.user32.dll_EnumWindows
cmp eax, 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5cf688
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x18], 0
je 0x5cf69c
mov eax, esi
call fcn.005cf758
mov eax, dword [esi + 4]
mov dword [esi + 0x18], eax
test bl, bl
je 0x5cf6be
mov eax, dword [esi + 4]
cmp word [eax], 0x25ff
jne 0x5cf6be
add dword [esi + 0x18], 2
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0x18]
jno 0x5cf6cb
call fcn.00407db4
sub eax, 5
jno 0x5cf6d5
call fcn.00407db4
mov byte [esi + 0xc], 0xe9
mov edx, 0xff
and edx, eax
mov byte [esi + 0xd], dl
mov edx, eax
shr edx, 8
and edx, 0xff
mov byte [esi + 0xe], dl
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov byte [esi + 0xf], dl
shr eax, 0x18
and eax, 0xff
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax]
mov byte [esi + 0x11], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 1]
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 2]
mov byte [esi + 0x13], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 3]
mov byte [esi + 0x14], al
mov eax, dword [esi + 0x18]
movzx eax, byte [eax + 4]
mov byte [esi + 0x15], al
push esp
push 0x40
push 5
mov eax, dword [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x5cf752
call fcn.0042ad1c
pop edx
pop esi
pop ebx
ret