joyce8/EMBER2024-capa huggingface dataset:
Function at 0x612d3c
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 0x612eec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x612ecb
mov dl, 1
mov eax, dword [0x49ba40]
call fcn.004c5fa8
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040a9b0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x612eba
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.0056ef18
test al, al
je 0x612ead
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x612efc
lea eax, [ebp - 0x394]
call fcn.00427070
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x612ead
xor eax, eax
push ebp
push 0x612ea6
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 0x612f6c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x612e8d
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b520
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x612e8d
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b520
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x612ead
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x612dad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004c5ed0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x612ef3
lea eax, [ebp - 0x3a0]
call fcn.0040a9b0
pop eax
jmp eax

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

Disassembly:
push ecx
mov eax, dword [0x64ebf0]
cmp byte [eax + 0xc5], 0
jne 0x613b76
cmp dword [0x64ec14], 0
jne 0x613b36
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x645e80]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x64ec14], eax
cmp dword [0x64ec10], 0
jne 0x613b51
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x64ec10], eax
cmp dword [0x64ec18], 0
jne 0x613b76
push esp
push 0
push 0
mov eax, dword [0x645e7c]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x64ec18], eax
pop edx
ret
Function at 0x613f98
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x613faf
add esp, 0xfffffff0
call fcn.004091b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004d6288
mov eax, dword [0x646914]
cmp byte [eax], 0
jne 0x613fdc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x646d44]
cmp word [eax + 2], 0
jne 0x613ff6
mov eax, dword [0x646d44]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00616384
mov eax, dword [0x646edc]
cmp word [eax + 2], 0
jne 0x614010
mov eax, dword [0x646edc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00616588
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x531ebc]
call fcn.005389ac
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x616b10
mov dl, 1
mov eax, dword [0x497fc8]
call fcn.00408b58
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x497fc8]
call fcn.00408b58
mov dword [ebx + 0xc8], 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 + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x537028]
call fcn.00542f28
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x614200
mov eax, dword [0x646bb4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00543444
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x616dfc
mov dl, 1
mov eax, dword [0x497fc8]
call fcn.00408b58
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x646bb4]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00426e70
test eax, eax
je 0x61412a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00426c9c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00426e54
test eax, eax
je 0x614142
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040b520
push ebx
push 0x615d60
call fcn.00608bd4
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x646914]
cmp byte [eax], 0
jne 0x614193
mov eax, ebx
call fcn.006143c8
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.00617038
mov eax, ebx
call fcn.00617cec
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x6141f7
call fcn.00409208
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6146f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x61479a
cmp dword [ebx + 0xac], 0
jne 0x614794
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x614638
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x614794
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 0x61475a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x614794
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004c0d94
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x614769
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x64ebf0]
cmp dword [eax + 0x188], 0
je 0x614ba9
test bl, bl
jne 0x614afc
cmp dword [esi + 0xb4], 0
jne 0x614af1
mov eax, esi
call fcn.00617b3c
push eax
push 0x614940
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x614ac2
mov eax, dword [0x64ebf0]
cmp byte [eax + 0xeb], 0
je 0x614ac2
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x614aa3
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x614ac2
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x614aab
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x614af1
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004c0d94
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x614ad1
inc dword [esi + 0xb4]
jmp 0x614ba9
cmp dword [esi + 0xb4], 0
jle 0x614ba9
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x614ba9
cmp dword [esi + 0x58], 0
je 0x614b5e
mov eax, dword [0x64ebf0]
cmp byte [eax + 0xeb], 0
je 0x614b5e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x614b3f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x614b5e
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x614b47
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x614b8d
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004c0d94
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x614b6d
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x6057e0]
call fcn.0040d614
pop edi
pop esi
pop ebx
ret
Function at 0x61596c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x6159c9
cmp byte [ebx + 0xeb], 0
jne 0x6159c9
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.0040ab38
mov eax, dword [esi]
test eax, eax
je 0x6159b6
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x6159d6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040ad90
jmp 0x6159d6
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040ad90
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x61724c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x6172bd
mov eax, esi
call fcn.005685a0
test al, al
je 0x6172bd
mov eax, dword [ebx + 0x98]
call fcn.005681c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x6172bd
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
je 0x6172ae
push 0
mov eax, dword [ebx + 0x98]
call fcn.005681c8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0055e53c
jmp 0x6172bd
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.00617058
pop esi
pop ebx
ret
Function at 0x62296c
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040aa94
xor eax, eax
push ebp
push 0x6229ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b480
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x6229b5
mov eax, dword [ebx + 4]
call fcn.0040b480
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceW
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6229f3
lea eax, [ebp - 4]
call fcn.0040a9b0
pop eax
jmp eax

Function at 0x623ae0
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x623cbf
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.004072d4
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x623cdc
call fcn.0040b99c
test eax, eax
jle 0x623b41
push 0x623cec
push dword [ebp - 4]
push 0x623cec
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040b758
cmp word [ebx + 0xb2], 0
je 0x623b59
mov edx, ebx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x623b6d
lea esi, [ebp - 0xc]
jmp 0x623b6f
xor esi, esi
cmp dword [ebx + 0x90], 0
jne 0x623b7c
xor edi, edi
jmp 0x623b89
mov eax, dword [ebx + 0x90]
call fcn.0040b480
mov edi, eax
mov eax, dword [ebx + 0x8c]
call fcn.0040b480
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.006231cc
mov eax, dword [ebp - 0x14]
call fcn.0040b480
push eax
push esi
mov eax, dword [ebx + 0x84]
call fcn.0040b480
push eax
mov eax, dword [ebp - 4]
call fcn.0040b480
push eax
mov eax, ebx
call fcn.0062330c
push eax
mov eax, ebx
call fcn.006232e0
push eax
mov eax, ebx
call fcn.00623294
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00623054
mov eax, dword [ebp - 0x18]
call fcn.0040b480
push eax
mov eax, dword [ebx + 8]
call fcn.0040b480
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xa0], eax
cmp dword [ebp - 0x10], 0
jne 0x623c18
call fcn.0042e490
xor edx, edx
push ebp
push 0x623c93
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x623c56
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xba], 0
je 0x623c4c
mov edx, ebx
mov eax, dword [ebx + 0xbc]
call dword [ebx + 0xb8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x623c7a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x623c9a
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
pop eax
jmp eax
Function at 0x623cf0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xc2], 0
je 0x623d1c
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc4]
call dword [esi + 0xc0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040b480
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x623d41
call fcn.0042e490
xor eax, eax
push ebp
push 0x623d7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x623d61
call fcn.0042e490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x623d81
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
pop eax
jmp eax

Function at 0x624e74
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 0x624f28
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.0040b480
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x624f10
lea eax, [ebp - 4]
mov edx, edi
call fcn.0040b5f8
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.0040b480
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x624f10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x624f38
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x624f10
cmp dword [ebp - 0xc], 0x34
jne 0x624f10
mov bl, 1
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
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 0x624f2f
lea eax, [ebp - 4]
call fcn.0040a9b0
pop eax
jmp eax
Function at 0x6258bc
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 0x625b18
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.00628618
lea eax, [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x646770], eax
mov eax, dword [ebp - 0xc]
mov dword [0x646774], eax
mov eax, dword [ebp - 0x24]
mov dword [0x646778], eax
call fcn.0042cf08
cmp eax, 2
sete byte [0x645f4d]
push 0x625b24
call sub.KERNEL32.DLL_GetModuleHandleW
lea edx, [ebp - 4]
call fcn.00624e44
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x645f4d], 0
jne 0x62594b
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00624e74
test al, al
je 0x62594b
mov eax, dword [ebp - 0x4c]
mov dword [0x64f144], eax
jmp 0x625952
xor eax, eax
mov dword [0x64f144], eax
call fcn.00624f50
and eax, 0x7f
cmp eax, 0x1a
ja case.0x625963.0
jmp dword [eax*4 + 0x62596a]
mov byte [0x645f48], 1
jmp case.0x625963.0
mov byte [0x645f49], 1
jmp case.0x625963.0
mov byte [0x645f4a], 1
jmp case.0x625963.0
mov byte [0x645f4b], 1
jmp case.0x625963.0
mov byte [0x645f4c], 1
jmp case.0x625963.0
mov byte [0x645f4e], 1
mov byte [0x645f4f], 1
jmp case.0x625963.0
mov byte [0x645f4e], 1
mov byte [0x645f50], 1
jmp case.0x625963.0
mov byte [0x645f4e], 1
mov byte [0x645f50], 1
mov byte [0x645f51], 1
jmp case.0x625963.0
mov byte [0x645f52], 1
jmp case.0x625963.0
mov byte [0x645f53], 1
jmp case.0x625963.0
mov byte [0x645f54], 1
jmp case.0x625963.0
mov byte [0x645f55], 1
jmp case.0x625963.0
mov byte [0x645f56], 1
jmp case.0x625963.0
mov byte [0x645f57], 1
jmp case.0x625963.0
mov byte [0x645f58], 1
jmp case.0x625963.0
mov byte [0x645f59], 1
jmp case.0x625963.0
mov byte [0x645f5a], 1
jmp case.0x625963.0
mov byte [0x645f5b], 1
jmp case.0x625963.0
mov byte [0x645f5c], 1
jmp case.0x625963.0
mov byte [0x645f5d], 1
jmp case.0x625963.0
mov byte [0x645f5e], 1
jmp case.0x625963.0
mov byte [0x645f5f], 1
jmp case.0x625963.0
mov byte [0x645f60], 1
jmp case.0x625963.0
mov byte [0x645f61], 1
jmp case.0x625963.0
mov byte [0x645f62], 1
jmp case.0x625963.0
mov byte [0x645f63], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x625b1f
lea eax, [ebp - 4]
call fcn.0040a9b0
pop eax
jmp eax

Function at 0x626b00
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 0x626b66
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
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.0040b520
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00426204
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x626b6d
lea eax, [ebp - 0x14]
call fcn.0040a9b0
pop eax
jmp eax
Function at 0x627aa4
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 0x627b3c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0042cf08
cmp eax, 2
jne 0x627ae4
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
mov ebx, eax
jmp 0x627b1c
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040b2c0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040b0f8
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.0040b1b4
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 0x627b43
lea eax, [ebp - 8]
call fcn.0040a9f8
lea eax, [ebp - 4]
call fcn.0040a9d4
pop eax
jmp eax

Function at 0x627f78
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.0040b480
mov edx, eax
mov eax, ebx
call fcn.00627910
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.006279e8
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x627fea
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.0040b480
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x629c84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040aa94
mov eax, dword [ebp - 8]
call fcn.0040aa94
xor eax, eax
push ebp
push 0x629de0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b480
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x629dbb
mov eax, ebx
call fcn.00406eec
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x629db4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x629d9c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x629df0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
cmp dword [ebp - 0x1c], 0
je 0x629d9c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
shr eax, 0x10
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x24]
push eax
push 0x629e24
lea eax, [ebp - 0x5a]
push eax
call sub.user32.dll_wvsprintfW
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x5a]
mov ecx, 0x1b
call fcn.0040b520
push dword [ebp - 0x60]
push 0x629e60
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b758
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040b480
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x629d9c
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.0040b4e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x629dbb
mov eax, dword [ebp - 0x14]
call fcn.00406f08
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x629de7
lea eax, [ebp - 0x60]
call fcn.0040a9b0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040aa10
pop eax
jmp eax