joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fccc
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x49fe6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea edx, [ebp - 8]
mov eax, dword [0x4a5e58]
call fcn.00490100
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x49fe80
call fcn.00405b94
mov eax, ebx
call fcn.0040459c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
lea edx, [ebp - 0x124]
mov eax, ebx
call fcn.00408dac
mov eax, dword [ebp - 0x124]
call fcn.0040459c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
lea edx, [ebp - 0x128]
mov eax, dword [0x4a6218]
mov eax, dword [eax]
call fcn.00454a3c
mov eax, dword [ebp - 0x128]
call fcn.0040459c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11d]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 6
mov dword [ebp - 0x134], esi
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x49fe98
call fcn.004095ec
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x18]
call fcn.00404934
push 0x20
mov eax, dword [ebp - 0x18]
call fcn.00404944
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesW
push ebx
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ecx, 0x49fea4
call fcn.00405b94
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
jne 0x49fe2f
push 1
push ebx
call sub.kernel32.dll_SetFileAttributesW
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fe74
lea eax, [ebp - 0x12c]
mov edx, 3
call fcn.00404100
lea eax, [ebp - 0x18]
call fcn.004047e8
lea eax, [ebp - 0x10]
call fcn.00405b50
lea eax, [ebp - 0xc]
call fcn.00405b50
lea eax, [ebp - 8]
call fcn.00405b50
ret
Function at 0x4a18e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
test eax, eax
je 0x4a1992
test esi, esi
setg bl
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a1992
xor edi, edi
xor eax, eax
push ebp
push 0x4a198b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4a1946
cmp edi, 0xa
jl 0x4a1945
call fcn.00403b20
jmp 0x4a1992
inc edi
push 0x64
call sub.kernel32.dll_Sleep
cmp dword [ebp - 8], 0
jne 0x4a195a
call fcn.00403b20
jmp 0x4a1992
sub esi, 0x64
test bl, bl
je 0x4a1922
test esi, esi
jg 0x4a1922
xor ebx, ebx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
jmp 0x4a1922
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a1a60
Capabilities:
Copy file
Delete file
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4a1a68
push ecx
xor eax, eax
push ebp
push 0x4a1c3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea edx, [ebp - 0xc]
mov eax, 1
call fcn.00402a34
mov eax, dword [ebp - 0xc]
mov edx, 0x4a1c54
call fcn.004044e8
jne 0x4a1bcd
lea edx, [ebp - 0x10]
mov eax, 2
call fcn.00402a34
mov eax, dword [ebp - 0x10]
call fcn.00408cac
test al, al
je 0x4a1bcd
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.00402a34
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov ecx, 0x4a1c60
call fcn.004043e8
mov eax, dword [ebp - 8]
call fcn.00408cac
test al, al
je 0x4a1b03
mov edx, 0x20
mov eax, dword [ebp - 8]
call fcn.00408ce0
mov eax, dword [ebp - 8]
call fcn.0040459c
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x18]
mov eax, 2
call fcn.00402a34
mov eax, dword [ebp - 0x18]
mov edx, 0x20
call fcn.00408ce0
lea edx, [ebp - 0x1c]
mov eax, 2
call fcn.00402a34
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00408d08
push 0
lea edx, [ebp - 0x20]
mov eax, 2
call fcn.00402a34
mov eax, dword [ebp - 0x20]
call fcn.0040459c
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x4a6218]
mov eax, dword [eax]
call fcn.00455538
mov eax, dword [ebp - 0x24]
call fcn.0040459c
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x28]
mov eax, 3
call fcn.00402a34
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.00408850
mov edx, 0xbb8
call fcn.004a18e0
lea edx, [ebp - 0x2c]
mov eax, 4
call fcn.00402a34
mov eax, dword [ebp - 0x2c]
xor edx, edx
call fcn.00408850
mov edx, 0x7d0
call fcn.004a18e0
push 0
push 0
push 1
lea edx, [ebp - 0x30]
mov eax, 2
call fcn.00402a34
mov eax, dword [ebp - 0x30]
xor ecx, ecx
xor edx, edx
call fcn.00464c5c
jmp 0x4a1c20
mov byte [ebp - 1], 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x4a6358]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x4a1c70
call fcn.004095ec
mov eax, dword [ebp - 0x34]
call fcn.0040459c
push eax
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [0x4a6444]
mov dword [edx], eax
mov eax, dword [0x4a6444]
cmp dword [eax], 0
je 0x4a1c20
lea eax, [ebp - 1]
push eax
push 0x4a199c
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1c42
lea eax, [ebp - 0x34]
mov edx, 0xc
call fcn.00404100
ret
Function at 0x1001b2f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1046080]
jne 0x103919c
test ecx, 0xffff0000
jne 0x103919c
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x320
push edi
mov dword [0x1047dc8], eax
mov dword [0x1047dc4], ecx
mov dword [0x1047dc0], edx
mov dword [0x1047dbc], ebx
mov dword [0x1047db8], esi
mov dword [0x1047db4], edi
mov word [0x1047de0], ss
mov word [0x1047dd4], cs
mov word [0x1047db0], ds
mov word [0x1047dac], es
mov word [0x1047da8], fs
mov word [0x1047da4], gs
pushfd
pop dword [0x1047dd8]
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
add ecx, 4
mov dword [0x1047ddc], ecx
mov dword [0x1047dd0], eax
mov dword [0x1047d18], 0x10001
lea ecx, [ebp + 4]
mov ecx, dword [ecx - 4]
mov dword [0x1047cd4], eax
mov eax, dword [0x1046080]
mov dword [ebp - 4], eax
mov eax, dword [0x1046d00]
xor edi, edi
inc edi
mov dword [ebp - 4], eax
push 0
mov dword [0x1047dcc], ecx
mov dword [0x1047cc8], 0xc0000409
mov dword [0x1047ccc], edi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x103927c
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0xc0000409
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
leave
ret
Function at 0x1002464
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
push esi
mov esi, ecx
push 2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push dword [esi + 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x101fe5b
lea eax, [ebp - 0x10]
push eax
push fcn.010024c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
pop esi
leave
ret 4
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x50]
call fcn.010024c0
test eax, eax
jne 0x100249c
mov eax, dword [ebp - 0xc]
jmp 0x10024b1
Function at 0x1002b12
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
cmp eax, 0xffffffea
mov esi, ecx
jbe 0x1005310
cmp eax, 0xffffffec
je 0x10208ee
cmp eax, 0xfffffff1
je 0x102087d
cmp eax, 0xfffffff4
jne 0x1005343
push 0
push edi
mov ecx, esi
call fcn.01002baa
pop edi
pop esi
pop ebx
leave
ret 4
je 0x101698f
cmp eax, 0xfffffd33
je 0x101e733
cmp eax, 0xfffffd37
je 0x102084d
cmp eax, 0xfffffd3a
je 0x10207e8
cmp eax, 0xfffffdee
jne 0x1005343
jmp 0x1020782
xor eax, eax
jmp 0x1002b53
mov ecx, esi
call fcn.0100e834
jmp 0x1005343
push edi
mov ecx, esi
call fcn.0101e745
jmp 0x1005343
push dword [edi + 4]
lea ecx, [esi + 0x3c]
call fcn.0101df4a
push 1
xor ebx, ebx
push ebx
push eax
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.0100209c
test eax, eax
je 0x10207cc
cmp dword [eax], ebx
jne 0x10207cc
push dword [ebp + 8]
mov ecx, esi
lea ebx, [edi + 0x10]
call fcn.01004717
push eax
push 0x1020928
push 0x50
push ebx
call fcn.0101afdd
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
push 0
push 0x50
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*2 + 0x10]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.01003dbd
jmp 0x1005343
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0101df4a
mov ecx, esi
mov edi, eax
call fcn.010022d6
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esi + 0x48], eax
je 0x102081f
push eax
mov ecx, esi
call fcn.010026bb
cmp eax, edi
jne 0x102081f
push 0x11
call ebx
test ax, ax
jge 0x1020829
push 0
push edi
mov ecx, esi
call fcn.0100483c
push 0x11
call ebx
test ax, ax
jl 0x1005343
push 0
push edi
mov ecx, esi
call fcn.0100483c
push edi
mov ecx, esi
call fcn.0102bbd2
jmp 0x1005343
cmp dword [esi + 0x64], 0
je 0x102085b
xor eax, eax
inc eax
jmp 0x1002b53
test byte [edi + 0x14], 2
je 0x1005343
push dword [edi + 0x10]
lea ecx, [esi + 0x3c]
call fcn.0101df4a
push eax
mov ecx, esi
call fcn.01004962
jmp 0x1005343
mov edi, dword [edi + 0xc]
cmp edi, 0xd
je 0x102088e
cmp edi, 0x20
jne 0x1005343
push 0
push 0
push 0x447
lea edi, [esi + 0x3c]
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jl 0x1020853
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x1c], 0x80000004
call fcn.0100210b
xor byte [ebp - 0x10], 1
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
call fcn.01002af1
push 1
push 0
push ebx
mov ecx, esi
call fcn.0100209c
push 0
push eax
push ebx
mov ecx, esi
call fcn.0102c718
jmp 0x1020853
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0101df4a
push 1
push 0
push eax
mov ecx, esi
call fcn.0100209c
test eax, eax
je 0x1005343
cmp dword [eax], 0
je 0x1005343
mov ecx, esi
call fcn.010022d6
mov dword [esi + 0x48], eax
jmp 0x1005343
Function at 0x1002baa
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
jne 0x1002bcc
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
and dword [ebp + 8], 0
dec eax
je 0x1002c2e
sub eax, 0x10000
jne 0x1002c56
test byte [ebx + 0x28], 8
je 0x1002c07
call fcn.01002c3c
test eax, eax
jne 0x1002c07
mov eax, dword [edi + 0x80]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [edi + 0x6c], eax
mov dword [ebp + 8], 0x12
test byte [esi + 4], 1
jne 0x10200ea
test byte [esi + 4], 0x20
jne 0x1020154
cmp dword [esi], 0
je 0x101e3a9
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
mov dword [ebp + 8], 0x20
jmp 0x1002c24
dec eax
jne 0x1002c24
cmp dword [esi], 0
je 0x101e3df
test byte [ebx + 0x28], 8
je 0x1002c24
push dword [edi + 0x6c]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x1002c24
push dword [ebx + 0x24]
or dword [ebp + 8], 0x10
lea ecx, [edi + 0x3c]
call fcn.0101df4a
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
mov ecx, edi
call fcn.01004717
push eax
push dword [ebx + 0x10]
mov ecx, edi
call fcn.0101e433
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebx + 0x6c], eax
jmp 0x1002c24
push dword [ebx + 0x24]
lea ecx, [edi + 0x3c]
call fcn.0101df4a
mov ecx, dword [ebx + 0x1c]
lea esi, [ebx + 0x54]
cmp ecx, dword [esi]
jl 0x1002c62
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
sub ecx, dword [ebx + 0x6c]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 4]
push 0
push eax
call fcn.01004717
mov ecx, dword [ebp - 4]
push eax
push dword [ebx + 0x10]
call fcn.0101e433
mov edi, dword [ebp - 4]
jmp 0x1002c62
mov eax, dword [edi + 0x84]
test eax, eax
je 0x102011c
push 0
lea ecx, [ebx + 0x14]
push ecx
mov ecx, dword [ebx]
xor edx, edx
cmp ecx, dword [edi + 0x3c]
push 0
setne dl
inc edx
inc edx
push edx
push dword [ebx + 0x10]
push eax
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
or byte [ebp + 0xa], 0x40
jmp 0x1002c11
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call esi
push 0xd
mov dword [ebx + 0x50], eax
call esi
push 0xe
mov dword [ebx + 0x48], eax
call esi
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x28]
test al, 0x40
jne 0x1020148
or eax, 0x40
or byte [ebp + 0xa], 1
mov dword [ebx + 0x28], eax
or byte [ebp + 0xa], 2
mov esi, dword [ebp + 0xc]
jmp 0x1002c11
mov dword [ebp + 8], 4
jmp 0x1002c1b

Function at 0x1002c3c
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, eax
and cx, 0x3ff
cmp cx, 4
je 0x101fdf1
xor eax, eax
ret
shr ax, 0xa
cmp ax, 1
je 0x101fe05
cmp ax, 2
jne 0x1002c53
xor eax, eax
inc eax
ret
Function at 0x1003994
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x101ff4c
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esi + 8]
cmp ecx, 0xdbba00
jbe 0x10039a3
mov dword [esi + 8], eax
mov ecx, esi
pop esi
jmp fcn.01029bd6
Function at 0x1005229
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 2
push 1
push 0
push 0
push 0x10052a8
push 0x80000001
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1005286
mov ecx, dword [esi + 0x68]
call fcn.010052d3
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x100528c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x1007cc5
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0x580
push 0x28e44000
lea eax, [ebp - 0x14]
push eax
call fcn.01007c64
lea esi, [ebx + 0x20]
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x102528b
push ebx
push 0x1007c88
push dword [ebx + 0xe0]
call dword [fcn.010074b8]
and dword [ebp - 4], 0
lea esi, [ebx + 0x44]
mov ecx, dword [ebp - 4]
shl ecx, 3
mov eax, dword [ecx + 0x100789c]
mov ecx, dword [ecx + 0x10078a0]
lea edi, [esi - 4]
mov dword [ebx + 0x28], ecx
cmp dword [edi], 0
mov dword [ebp - 0xc], eax
je 0x102529b
push dword [ebp - 4]
mov ecx, ebx
call fcn.0100786b
test eax, eax
je 0x1007dc8
test byte [ebx + 0x28], 8
je 0x1007d69
push 0x20000
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x10252b0
push dword [ebp - 0xc]
call fcn.01007dee
test eax, eax
jne 0x100dcf6
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x100dcf6
mov eax, dword [edi]
test eax, eax
je 0x100dc3e
push dword [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_ILIsEqual]
test eax, eax
je 0x100dc3e
cmp dword [esi], 0
jne 0x100dc3e
cmp dword [esi + 4], 0
je 0x100dc3e
push dword [ebp - 8]
call dword [sym.imp.SHELL32.dll_ILFree]
inc dword [ebp - 4]
add esi, 0x1c
cmp dword [ebp - 4], 6
jb 0x1007d1e
pop edi
pop esi
mov dword [ebx + 0xf4], 1
xor eax, eax
pop ebx
leave
ret
mov ecx, dword [edi]
xor edx, edx
cmp ecx, edx
je 0x100dc4a
cmp dword [esi], edx
je 0x100dcb4
mov eax, dword [esi - 0xc]
cmp eax, edx
mov dword [esi], edx
mov dword [esi - 8], eax
je 0x100dcef
mov eax, dword [eax]
push ecx
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
call dword [sym.imp.SHELL32.dll_ILFree]
and dword [edi], 0
push 4
lea ecx, [esi - 0xc]
call fcn.01007745
test eax, eax
je 0x100dcab
push dword [ebp - 8]
push dword [ebx + 0x2c]
call fcn.0100deaf
test eax, eax
mov dword [ebp - 0xc], eax
je 0x100dcab
mov eax, dword [ebp - 8]
and dword [ebp - 8], 0
mov dword [edi], eax
lea eax, [esi - 0xc]
push eax
push dword [ebp - 0xc]
mov ecx, ebx
call fcn.01012280
mov ecx, dword [ebp - 0xc]
call fcn.01007798
lea eax, [esi - 8]
push eax
call fcn.0100dbff
cmp dword [ebx + 4], 0
je 0x1007dbf
cmp dword [esi + 4], 0
jne 0x1007dbf
mov edi, dword [edi]
test edi, edi
je 0x1007dbf
xor eax, eax
inc eax
push eax
push edi
push 0x2381f
push dword [ebp - 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
call fcn.0100c727
jmp 0x1007dbf
xor eax, eax
jmp 0x100dc5c
lea ecx, [esi - 0xc]
call fcn.0100f6f5
jmp 0x1007dc8
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
jmp 0x1007d05
push edi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [esi], 1
jmp 0x1007d42
or dword [ebx + 0x28], 1
jmp 0x1007d69
Function at 0x10099ec
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x1022ecb
push ebx
lea eax, [esi + 0xb4]
cmp word [eax], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, 0x400
je 0x1011a8c
lea eax, [esi + 0x10]
cmp word [eax], 0
je 0x1011aa4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1022ed2
push ebx
mov ecx, esi
call fcn.01006448
mov eax, dword [esi + 0x1b0]
cmp eax, ebx
je 0x1009a6c
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 8], eax
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.01009fb0
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
add ebx, dword [ebp - 0xc]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x10]
sar edi, 1
cmp eax, dword [ebp - 0x18]
jle 0x1009aa5
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.01009b5b
mov eax, dword [ebp - 0xc]
add eax, edi
add eax, ebx
cmp eax, dword [ebp + 0xc]
jl 0x1022ed9
xor edi, edi
cmp dword [esi + 0x1b0], edi
je 0x1009ad9
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x10466c4]
lea eax, [ebx + eax*4]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [esi + 4]
call ebx
push eax
push edi
push 0xfffffffffffffff0
push dword [esi + 4]
call ebx
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [0x1046644]
mov eax, dword [0x10460c0]
mov edx, dword [ebp - 0x24]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov esi, ecx
sub esi, edx
cmp esi, eax
jge 0x1009b3c
lea ecx, [edx + eax]
sub ecx, edx
movzx eax, cx
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
shl eax, 0x10
movzx ecx, cx
or eax, ecx
pop edi
pop ebx
pop esi
leave
ret 8
push 0x28
push eax
push 0x1003
push ebx
call edi
and word [esi + 0x104], 0
jmp 0x1009a2a
push 0x28
push eax
push 0x1f
push ebx
call edi
and word [esi + 0x60], 0
jmp 0x1009a37
xor eax, eax
jmp 0x1009b51
xor eax, eax
jmp 0x1009b4f
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jge 0x1009ac3
cmp ecx, dword [ebp - 0x18]
mov ebx, eax
jle 0x1022eef
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.01031a15
mov eax, dword [ebp - 0xc]
add edi, eax
lea eax, [edi + ebx]
cmp eax, dword [ebp + 0xc]
jge 0x1009ac3
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jge 0x1009ac3
cmp ecx, dword [ebp - 0x18]
mov ebx, eax
jle 0x1009ac3
mov dword [ebp - 0x18], ecx
jmp 0x1009ac3
Function at 0x100c8db
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1046080]
push 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0x103e
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x100c947
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x1000
call esi
test eax, eax
jne 0x10246b0
push 0x2001
call esi
test eax, eax
jne 0x10246b0
push 1
push eax
push 0x100c954
push 0x100c568
call dword [sym.imp.SHLWAPI.dll_SHRegGetBoolUSValueW]
pop esi
mov ecx, dword [ebp - 4]
call fcn.01001b2f
leave
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1d4]
lea eax, [ebp - 0x20c]
push 0x10246f0
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push 1
push 0
push 0x100c954
lea eax, [ebp - 0x20c]
push eax
jmp 0x100c940