joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d414
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b5bec]
cmp dword [eax + 0x30], 0
je 0x45d4be
cmp dword [ebx + 0x94], 0
jne 0x45d4b8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d3a4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d4b8
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_GetWindowLongA
test al, 8
je 0x45d47e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d4b8
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.004183a8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d48d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45e020
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45e055
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040422c
jmp 0x45e062
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404190
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45f16c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f1ad
mov eax, esi
call fcn.00445668
test al, al
je 0x45f1ad
mov eax, dword [ebx + 0x84]
call fcn.00445364
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f1ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445364
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46e854
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46e85c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46ea4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46ea64
mov eax, esi
call fcn.0046c6e0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404190
lea ecx, [ebp - 0x10]
mov edx, 0x46ea78
mov eax, esi
call fcn.0046c6e0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404190
lea ecx, [ebp - 0x14]
mov edx, 0x46ea90
mov eax, esi
call fcn.0046c6e0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404190
lea ecx, [ebp - 0x18]
mov edx, 0x46eaac
mov eax, esi
call fcn.0046c6e0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404190
lea ecx, [ebp - 0x1c]
mov edx, 0x46eac8
mov eax, esi
call fcn.0046c6e0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404190
lea ecx, [ebp - 0x24]
mov edx, 0x46eae0
mov eax, esi
call fcn.0046c6e0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408770
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408b50
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46eaf8
mov eax, esi
call fcn.0046c6e0
mov eax, dword [ebp - 0x28]
call fcn.00466080
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46eb08
mov eax, esi
call fcn.0046c6e0
mov eax, dword [ebp - 0x2c]
call fcn.00466080
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46eb20
mov eax, esi
call fcn.0046c6e0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408b50
inc eax
je 0x46e9f1
lea ecx, [ebp - 0x34]
mov edx, 0x46eb20
mov eax, esi
call fcn.0046c6e0
mov eax, dword [ebp - 0x34]
call fcn.00408b14
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a100
fstp qword [ebp - 0x3c]
wait
call fcn.0040a464
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x46ea0c
lea ecx, [ebp - 0x40]
mov edx, 0x46eb20
mov eax, esi
call fcn.0046c6e0
mov eax, dword [ebp - 0x40]
call fcn.00466080
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46eb30
mov eax, esi
call fcn.0046c6e0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404190
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ea55
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404160
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404160
ret
Function at 0x4757e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47583a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004757d0
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00464bf0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004647f0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475841
lea eax, [ebp - 4]
call fcn.0040413c
ret

Function at 0x478ff0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
test dl, dl
je 0x479009
add esp, 0xfffffff0
call fcn.00403670
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479138
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040331c
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.004041d4
lea eax, [ebp - 0xc]
call fcn.0040464c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004045fc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x479122
mov eax, ebx
call fcn.00402728
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
xor eax, eax
push ebp
push 0x47911b
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004045fc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4790f1
mov eax, dword [ebp - 4]
mov byte [eax + 8], 1
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x479160
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4790bb
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
push 0x479164
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4790e9
mov eax, dword [ebp - 0x14]
shr eax, 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
jmp 0x4790f1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x14], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479122
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47911a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00402748
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47913f
lea eax, [ebp - 0xc]
call fcn.0040413c
ret
Function at 0x47a174
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47a220
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x109]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x109]
call fcn.00409340
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 4]
call fcn.004043fc
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.0040465c
mov eax, dword [ebp - 0x110]
mov edx, 0x47a234
call fcn.00404548
je 0x47a1f5
lea eax, [ebp - 4]
mov edx, 0x47a234
call fcn.00404404
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404190
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a227
lea eax, [ebp - 0x110]
call fcn.0040413c
lea eax, [ebp - 4]
call fcn.0040413c
ret

Function at 0x47a238
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push esp
push 0x1a
mov eax, dword [0x4b4c08]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004043ac
add esp, 0x10c
pop ebx
ret

Function at 0x47f1d4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe54
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47f2f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040413c
mov word [ebp - 0x194], 0
lea eax, [ebp - 0x194]
push eax
mov dl, 1
mov al, 1
call fcn.00407178
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x47f2d0
xor edx, edx
push ebp
push 0x47f2c9
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov dword [ebp - 0x1a8], esi
mov edx, dword [ebp - 0x1a8]
call fcn.004041d4
cmp dword [ebp - 4], 0
jne 0x47f272
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00404788
push 0x104
mov eax, dword [ebp - 4]
call fcn.004045fc
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 4]
call fcn.004045fc
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x47f2b6
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1a0], eax
push dword [ebp - 0x1a0]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1ac]
call fcn.00404334
mov edx, dword [ebp - 0x1ac]
mov eax, ebx
call fcn.00404190
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f2d0
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f2f8
lea eax, [ebp - 0x1ac]
call fcn.0040413c
lea eax, [ebp - 4]
call fcn.0040413c
ret
Function at 0x47fc1c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47fe6d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xa0]
mov edx, 0x9c
call fcn.00488e98
lea eax, [ebp - 0xc4]
mov edx, 0x24
call fcn.00488e98
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xc4]
call fcn.0048056c
cmp byte [0x4b2074], 0
je 0x47fcc0
call fcn.0047ff00
cmp eax, 6
jl 0x47fcc0
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x47fdf8
cmp byte [ebp - 6], 1
jne 0x47fca4
mov bl, 1
jmp 0x47fdf8
mov ax, word [ebp - 8]
and ax, 2
cmp ax, 2
jne 0x47fcb9
mov bl, 7
jmp 0x47fdf8
mov bl, 2
jmp 0x47fdf8
cmp byte [0x4b2078], 0
je 0x47fd0e
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x47fdf8
mov al, byte [ebp - 6]
add al, 0xfe
sub al, 2
jae 0x47fd07
mov ax, word [ebp - 8]
test al, 0x80
je 0x47fcf5
mov bl, 6
jmp 0x47fdf8
test al, 2
je 0x47fd00
mov bl, 3
jmp 0x47fdf8
mov bl, 2
jmp 0x47fdf8
mov bl, 5
jmp 0x47fdf8
cmp byte [0x4b2084], 0
jne 0x47fd29
cmp byte [0x4b2080], 0
jne 0x47fd29
cmp byte [0x4b2088], 0
je 0x47fd8c
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x47fdf8
mov al, byte [ebp - 6]
mov edx, eax
add dl, 0xfe
sub dl, 2
jae 0x47fd84
mov ax, word [ebp - 8]
mov edx, eax
and dx, 0x80
cmp dx, 0x80
jne 0x47fd63
mov bl, 6
jmp 0x47fdf8
mov edx, eax
and dx, 2
cmp dx, 2
jne 0x47fd76
mov bl, 7
jmp 0x47fdf8
cmp ax, 0x400
jne 0x47fd80
mov bl, 8
jmp 0x47fdf8
mov bl, 2
jmp 0x47fdf8
cmp al, 1
jne 0x47fdf8
mov bl, 5
jmp 0x47fdf8
mov edx, 1
mov eax, 5
call fcn.00480600
test al, al
je 0x47fdf8
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x47fdf8
mov al, byte [ebp - 6]
cmp al, 1
jne 0x47fdcc
mov ax, word [ebp - 8]
and ax, 0x200
cmp ax, 0x200
jne 0x47fdc8
mov bl, 4
jmp 0x47fdf8
mov bl, 5
jmp 0x47fdf8
add al, 0xfe
sub al, 2
jae 0x47fdf8
mov ax, word [ebp - 8]
mov edx, eax
and dx, 0x80
cmp dx, 0x80
jne 0x47fde8
mov bl, 6
jmp 0x47fdf8
and ax, 2
cmp ax, 2
jne 0x47fdf6
mov bl, 7
jmp 0x47fdf8
mov bl, 2
test bl, bl
jne 0x47fe57
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x47fe84
mov edx, 0x47fe98
mov eax, 0x80000002
call fcn.00488724
mov edx, 0x47fed0
mov eax, dword [ebp - 4]
call fcn.004085e8
test eax, eax
jne 0x47fe2b
mov bl, 1
jmp 0x47fe57
mov edx, 0x47fee0
mov eax, dword [ebp - 4]
call fcn.004085e8
test eax, eax
jne 0x47fe40
mov bl, 3
jmp 0x47fe57
mov edx, 0x47fef4
mov eax, dword [ebp - 4]
call fcn.004085e8
test eax, eax
jne 0x47fe55
mov bl, 2
jmp 0x47fe57
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fe74
lea eax, [ebp - 4]
call fcn.0040413c
ret
Function at 0x47ff00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
xor eax, eax
mov dword [ebp - 0xa0], eax
xor eax, eax
push ebp
push 0x47ffbe
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x4b4f9c]
cmp dword [eax], 2
jne 0x47ff66
mov eax, dword [0x4b4898]
cmp dword [eax], 5
jl 0x47ff66
lea eax, [ebp - 0x9c]
mov edx, 0x9c
call fcn.00488e98
mov dword [ebp - 0x9c], 0x9c
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x47ffa5
movzx ebx, word [ebp - 8]
jmp 0x47ffa5
push 0
mov ecx, 0x47ffd4
mov edx, 0x47ffe8
mov eax, 0x80000002
call fcn.004885fc
mov ebx, eax
lea ecx, [ebp - 0xa0]
mov edx, 4
mov eax, ebx
call fcn.00408aec
mov eax, dword [ebp - 0xa0]
call fcn.00408b14
mov ecx, 0x64
cdq
idiv ecx
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ffc5
lea eax, [ebp - 0xa0]
call fcn.0040413c
ret
Function at 0x482f78
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
mov eax, esp
mov edx, 0x24
call fcn.00488e98
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0xc]
add esp, 0x24
ret

Function at 0x482f98
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
mov eax, esp
mov edx, 0x24
call fcn.00488e98
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 8]
add esp, 0x24
ret

Function at 0x483248
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov ebx, edx
mov esi, eax
mov byte [esp], 0
push esp
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x483267
test byte [esp + esi], bl
jne 0x48326b
xor eax, eax
jmp 0x48326d
mov al, 1
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4832cc
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 0x483506
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.00488e98
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4b28fc], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4b2900], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4b2904], eax
mov eax, dword [0x4b4f9c]
cmp dword [eax], 2
sete byte [0x4b2060]
push 0x483514
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00486178
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x4b2060], 0
jne 0x48335b
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0048634c
test al, al
je 0x48335b
mov eax, dword [ebp - 0x4c]
mov dword [0x4b5fb0], eax
jmp 0x483362
xor eax, eax
mov dword [0x4b5fb0], eax
call fcn.0047f8a8
and eax, 0x7f
cmp eax, 0x18
ja case.0x483373.0
jmp dword [eax*4 + 0x48337a]
mov byte [0x4b204c], 1
jmp case.0x483373.0
mov byte [0x4b2050], 1
jmp case.0x483373.0
mov byte [0x4b2054], 1
jmp case.0x483373.0
mov byte [0x4b2058], 1
jmp case.0x483373.0
mov byte [0x4b205c], 1
jmp case.0x483373.0
mov byte [0x4b2064], 1
mov byte [0x4b2068], 1
jmp case.0x483373.0
mov byte [0x4b2064], 1
mov byte [0x4b206c], 1
jmp case.0x483373.0
mov byte [0x4b2064], 1
mov byte [0x4b206c], 1
mov byte [0x4b2070], 1
jmp case.0x483373.0
mov byte [0x4b2074], 1
jmp case.0x483373.0
mov byte [0x4b2078], 1
jmp case.0x483373.0
mov byte [0x4b207c], 1
jmp case.0x483373.0
mov byte [0x4b2080], 1
jmp case.0x483373.0
mov byte [0x4b2084], 1
jmp case.0x483373.0
mov byte [0x4b2088], 1
jmp case.0x483373.0
mov byte [0x4b208c], 1
jmp case.0x483373.0
mov byte [0x4b2090], 1
jmp case.0x483373.0
mov byte [0x4b2094], 1
jmp case.0x483373.0
mov byte [0x4b2098], 1
jmp case.0x483373.0
mov byte [0x4b209c], 1
jmp case.0x483373.0
mov byte [0x4b20a0], 1
jmp case.0x483373.0
mov byte [0x4b20a4], 1
jmp case.0x483373.0
mov byte [0x4b20a8], 1
jmp case.0x483373.0
mov byte [0x4b20ac], 1
jmp case.0x483373.0
mov byte [0x4b20b0], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48350d
lea eax, [ebp - 4]
call fcn.0040413c
ret
Function at 0x4858ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x485910
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004043ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408b50
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485917
lea eax, [ebp - 0xc]
call fcn.0040413c
ret

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

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x486172
push ebx
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x48616a
test al, 0x10
je 0x48616e
xor eax, eax
jmp 0x486174
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x4862bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x486339
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.004045fc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x486323
lea eax, [ebp - 8]
mov edx, edi
call fcn.00404788
mov eax, dword [ebp - 8]
call fcn.004045fc
push eax
push edi
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.004045fc
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486340
lea eax, [ebp - 8]
call fcn.0040413c
ret

Function at 0x48634c
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 - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x486402
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004045fc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4863ec
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404788
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.004045fc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4863ec
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x486414
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4863ec
cmp dword [ebp - 8], 0x34
jne 0x4863ec
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
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 0x486409
lea eax, [ebp - 0x10]
call fcn.0040413c
ret
Function at 0x486418
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x48642d
add esp, 0xfffffff0
call fcn.00403670
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, edi
call fcn.00486154
test al, al
jne 0x486463
mov dword [ebp - 0x10], edi
mov byte [ebp - 0xc], 0xb
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [0x4b4844]
mov dl, 1
mov eax, dword [0x485dbc]
call fcn.0040c69c
call fcn.00403ad8
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.004045fc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x486496
mov ecx, dword [0x4b49e0]
mov dl, 1
mov eax, dword [0x485dbc]
call fcn.0040c660
call fcn.00403ad8
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404788
mov eax, dword [ebx + 4]
call fcn.004045fc
push eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, edi
call fcn.004045fc
push eax
call sub.version.dll_GetFileVersionInfoA
call fcn.0040dc80
mov eax, ebx
call fcn.00486ab4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4864de
call fcn.004036c8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x487c4c
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 0x487cdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b4f9c]
cmp dword [eax], 2
jne 0x487c8c
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 0x487cbf
lea eax, [ebp - 8]
mov edx, esi
call fcn.00404958
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004043c4
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.004045fc
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487ce4
lea eax, [ebp - 8]
call fcn.00404848
lea eax, [ebp - 4]
call fcn.0040413c
ret