joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442b50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442b83
push esi
call fcn.00450ef0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x442b7c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442c09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442bf2
mov eax, dword [esi + 8]
test eax, eax
je 0x442ba7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x442bee
cmp eax, 2
je 0x442bf2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x442b9a
cmp eax, 3
je 0x442bcd
cmp eax, 1
jne 0x442b9a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x442b9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x442b9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442c30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442c18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442c30
add esp, 4
pop esi
ret

Function at 0x4434a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4434c1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4434c1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4434c1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x470f9d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x470fd5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046f054
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046f02c
jmp 0x470fe1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x472692
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4726d4
call fcn.00478142
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4726d4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4726cb
xor eax, eax
jmp 0x4726dc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004726e2
pop edi
pop esi
pop ebx
ret 4
Function at 0x478672
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4786a0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4786be
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004785d8
jmp 0x4786be
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4786be
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004785d8
test edi, edi
mov eax, edi
jne 0x4786a8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4275907
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7cf1109b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x61242c89
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x61253ebc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x41c
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
push esi
mov dword [ebp - 0x308], eax
call fcn.6124c7d1
mov eax, dword [0x6125496c]
cmp eax, 0x40a
je 0x61242ce6
cmp eax, 0xc0a
je 0x61242ce6
push 0x80
lea ecx, [ebp - 0x104]
push ecx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x61242d00
push 0x80
lea eax, [ebp - 0x104]
push eax
push 0x60
push dword [0x612543d0]
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
mov edi, 0x158
push edi
push dword [ebp - 0x308]
call esi
cmp eax, 0xffffffff
jne 0x61242d6b
lea eax, [ebp - 0x304]
push eax
push 0xffffffffffffffff
push edi
push dword [ebp - 0x308]
call esi
cmp eax, 0xffffffff
jne 0x61242d6b
push 0x80
lea eax, [ebp - 0x204]
push eax
push 2
push 0x409
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x204]
push eax
push 0xffffffffffffffff
push edi
push dword [ebp - 0x308]
call esi
cmp eax, 0xffffffff
jne 0x61242d6b
xor eax, eax
push 0
push eax
push 0x14e
push dword [ebp - 0x308]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
inc eax
pop esi
call fcn.6124ff04
leave
ret 4

Function at 0x61242fe4
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.61242c89
pop ebp
jmp fcn.61242d91

Function at 0x6124383c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push 3
mov ebx, 0x61253ecc
push ebx
push 0x19
push dword [0x61254ab0]
call esi
test eax, eax
mov edi, dword [sym.imp.ntdll.dll_wcscpy]
jne 0x6124386d
push 0x61241344
push ebx
call edi
pop ecx
pop ecx
push 2
mov ebx, 0x61253ec8
push ebx
push 0x1b
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x6124388d
push 0x61241340
push ebx
call edi
pop ecx
pop ecx
push 3
mov ebx, 0x61253ec0
push ebx
push 0x1c
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x612438ad
push 0x61241340
push ebx
call edi
pop ecx
pop ecx
push 6
mov ebx, 0x61253edc
push ebx
push 0x14
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x612438cd
push 0x6124133c
push ebx
call edi
pop ecx
pop ecx
push 4
mov ebx, 0x61253ed4
push ebx
push 0x16
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x612438ed
push 0x61241338
push ebx
call edi
pop ecx
pop ecx
push 4
mov ebx, 0x61253ee8
push ebx
push 0x18
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x6124390d
push 0x61241330
push ebx
call edi
pop ecx
pop ecx
push 4
mov ebx, 0x61253ef0
push ebx
push 0x17
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x6124392d
push 0x6124132c
push ebx
call edi
pop ecx
pop ecx
pop edi
pop esi
pop ebx
ret
Function at 0x612442ab
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x61253ebc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x44d
xor edi, edi
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x11c], edi
call esi
cmp dword [ebp + 0xc], 5
mov dword [ebp - 0x108], eax
jne 0x61244302
mov dword [ebp - 0x114], 0x1f
mov dword [ebp - 0x10c], 0x452
jmp 0x61244316
mov dword [ebp - 0x114], 0x20
mov dword [ebp - 0x10c], 0x453
push dword [ebp - 0x10c]
push ebx
call esi
push edi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
push ebx
call fcn.6124bcfb
test eax, eax
je 0x61244487
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x14b
push dword [ebp - 0x110]
call esi
push edi
push edi
push 0x147
push dword [ebp - 0x108]
call esi
cmp eax, 0xffffffff
je 0x61244378
push edi
push eax
push 0x150
push dword [ebp - 0x108]
call esi
mov dword [ebp - 0x11c], eax
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
push dword [ebp - 0x11c]
push dword [0x61254ab0]
push 0x6124c0f5
call ebx
push edi
push edi
push 0x146
push dword [ebp - 0x108]
call esi
cmp eax, edi
je 0x612443ac
cmp eax, 0xffffffff
jne 0x612443be
push dword [ebp + 0xc]
push 1
push dword [0x61254ab0]
push 0x6124c0f5
call ebx
push 0x80
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x114]
mov dword [ebp - 0x108], edi
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6124443b
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
mov ebx, 0x158
push ebx
push dword [ebp - 0x110]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x108], eax
jne 0x6124444f
lea eax, [ebp - 0x104]
push eax
push edi
push edi
call fcn.6124bcfb
lea eax, [ebp - 0x104]
push eax
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x110]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x108], eax
jne 0x6124444f
mov dword [ebp - 0x108], edi
jmp 0x6124444f
push 0x40
push edi
push 0x612543e0
push dword [ebp - 0x118]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
push dword [ebp - 0x10c]
push edi
call fcn.6124bcfb
push dword [ebp - 0x114]
push dword [ebp - 0x10c]
push dword [ebp - 0x118]
call fcn.6124b6ad
push edi
push dword [ebp - 0x108]
push 0x14e
push dword [ebp - 0x110]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.6124ff04
leave
ret 8
Function at 0x6124449b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x61253ebc]
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x310]
push 0x6124156c
push eax
mov dword [ebp - 0x318], 0x104
xor esi, esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x314]
push eax
push 0x61241448
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x6124453a
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x31c]
push eax
push esi
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0x314]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6124452e
cmp dword [ebp - 0x31c], 1
jne 0x6124452e
cmp dword [ebp - 0x318], 2
jbe 0x6124452e
inc esi
push dword [ebp - 0x314]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.6124ff04
leave
ret 4

Function at 0x61244a89
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push 2
mov ebx, 0x61253f98
push ebx
push 0x1009
push dword [0x61254ab0]
call esi
test eax, eax
mov edi, dword [sym.imp.ntdll.dll_wcscpy]
jne 0x61244abd
push 0x612415b4
push ebx
call edi
pop ecx
pop ecx
push 4
mov ebx, 0x61253f9c
push ebx
push 0x1d
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x61244add
push 0x612415b0
push ebx
call edi
pop ecx
pop ecx
push 0x50
mov ebx, 0x61253ef8
push ebx
push 0x20
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x61244afd
push 0x61241588
push ebx
call edi
pop ecx
pop ecx
push 0x50
mov ebx, 0x61253fa8
push ebx
push 0x1f
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x61244b1d
push 0x61241574
push ebx
call edi
pop ecx
pop ecx
pop edi
pop esi
pop ebx
ret

Function at 0x61244b7c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
xor edi, edi
push edi
push edi
push 0x147
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
je 0x61244bfe
push edi
push eax
push 0x150
push dword [ebp + 8]
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x61244bfe
lea eax, [ebp - 4]
push eax
push 0x2001f
push edi
push 0x612413b8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x61244bfe
lea esi, [esi*4 + 0x61241430]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esi]
push 1
push edi
push 0x612413f0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 4
Function at 0x61244d7a
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x61253ebc]
push ebx
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x451
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push ebx
push 0x14b
push eax
mov dword [ebp - 0x130], eax
call edi
lea eax, [ebp - 0x12c]
push eax
push 0x2001f
push ebx
push 0x612413b8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x61244ef1
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push 0x612413f0
push dword [ebp - 0x12c]
mov dword [ebp - 0x134], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x61244e0b
mov word [ebp - 0x24], bx
mov dword [ebp - 0x128], ebx
push esi
mov esi, dword [ebp - 0x128]
lea esi, [esi*4 + 0x61241430]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esi]
push 1
push ebx
push 0x6124140c
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x61244ec0
push 0x80
lea eax, [ebp - 0x124]
push eax
push ebx
push ebx
push 0x80000022
push 0x401
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
test eax, eax
je 0x61244ec0
lea eax, [ebp - 0x124]
push eax
push ebx
push 0x143
push dword [ebp - 0x130]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x138], eax
je 0x61244ec0
push dword [ebp - 0x128]
push eax
push 0x151
push dword [ebp - 0x130]
call edi
push dword [esi]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x61244ec0
push ebx
push dword [ebp - 0x138]
push 0x14e
push dword [ebp - 0x130]
call edi
inc dword [ebp - 0x128]
cmp dword [ebp - 0x128], 5
jb 0x61244e12
push 0x6124140c
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x12c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.6124ff04
leave
ret 4
Function at 0x612461d2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x61253ebc]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10c]
push eax
push 0x61241bc8
push 0x80000001
mov dword [ebp - 0x110], 0x104
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x61246257
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push 0x61241c2c
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x6124624b
cmp dword [ebp - 0x114], 1
jne 0x6124624b
cmp dword [ebp - 0x110], 2
jbe 0x6124624b
inc esi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.6124ff04
leave
ret
Function at 0x6124688b
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x61254084], 0
je 0x612468e0
push esi
push edi
push 0
push 0x612461a4
push dword [ebp + 0x10]
push 0xc8
push dword [0x612543d0]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, eax
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.612465b7
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0xc
pop ebp
jmp fcn.612465b7
Function at 0x61246a45
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push edi
push 8
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov eax, dword [eax + 0x1c]
xor edi, edi
cmp eax, 1
mov dword [ebp + 8], eax
mov dword [ebp - 4], edi
jle 0x61246c18
push esi
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
test byte [ebp + 8], 8
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
mov dword [ebp - 8], eax
je 0x61246aee
push ebx
push 1
push dword [0x61254068]
call fcn.6124688b
test eax, eax
je 0x61246ad9
cmp dword [0x61254068], edi
je 0x61246ac1
push 1
push 0x495
push ebx
call esi
mov dword [0x612543c8], 1
jmp 0x61246ad0
push edi
push 0x495
push ebx
call esi
mov dword [0x612543c8], edi
mov dword [ebp - 4], 1
jmp 0x61246aee
cmp dword [0x61254068], edi
je 0x61246ae4
push edi
jmp 0x61246ae6
push 1
push 0x495
push ebx
call esi
test byte [ebp + 8], 0x10
je 0x61246b51
push ebx
push 2
push dword [0x6125406c]
call fcn.6124688b
test eax, eax
je 0x61246b3c
cmp dword [0x6125406c], edi
je 0x61246b24
push 1
push 0x496
push ebx
call esi
mov dword [0x612543c4], 1
jmp 0x61246b33
push edi
push 0x496
push ebx
call esi
mov dword [0x612543c4], edi
mov dword [ebp - 4], 1
jmp 0x61246b51
cmp dword [0x6125406c], edi
je 0x61246b47
push edi
jmp 0x61246b49
push 1
push 0x496
push ebx
call esi
test byte [ebp + 8], 2
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x61246bc1
push 0x49a
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push edi
push 0x147
push eax
mov dword [ebp + 8], eax
call esi
cmp eax, 0xffffffff
je 0x61246bc1
push edi
push eax
push 0x150
push dword [ebp + 8]
call esi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.ntdll.dll_NtSetDefaultUILanguage]
test eax, eax
jl 0x61246ba5
push 0x61241e38
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
movzx eax, word [ebp + 8]
push edi
push edi
push edi
push edi
push eax
push ebx
call fcn.6124ee7b
push edi
push 0x40
push 0x46
push 0x64
push ebx
call fcn.6124c6fd
push edi
push ebx
push 0x46d
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [0x61254084], edi
pop esi
jne 0x61246c18
cmp dword [ebp - 4], edi
je 0x61246c18
mov eax, dword [0x61254074]
test al, 6
jne 0x61246c0b
push edi
push 0x24
push 0x46
push 0x45
push ebx
call fcn.6124c6fd
cmp eax, 6
jne 0x61246c18
call fcn.6124cdd6
jmp 0x61246c18
and eax, 0xffffff7f
or eax, 2
mov dword [0x61254074], eax
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret 4
Function at 0x61246ff5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x61253ebc]
push 0xa
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x1014
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x6124703c
cmp eax, 2
jne 0x6124703c
cmp word [ebp - 0x18], 0x30
jb 0x6124703c
cmp word [ebp - 0x18], 0x32
ja 0x6124703c
movzx eax, word [ebp - 0x18]
sub eax, 0x30
jmp 0x6124703e
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.6124ff04
leave
ret

Function at 0x612471b5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
push 2
mov ebx, 0x61254184
push ebx
push 0x1010
push dword [0x61254ab0]
call esi
test eax, eax
mov edi, dword [sym.imp.ntdll.dll_wcscpy]
jne 0x612471e9
push 0x612415b4
push ebx
call edi
pop ecx
pop ecx
push 2
mov ebx, 0x612540d8
push ebx
push 0xd
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x61247209
push 0x612415b4
push ebx
call edi
pop ecx
pop ecx
push 3
mov ebx, 0x612540d0
push ebx
push 0x1014
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x6124722c
push 0x612415b4
push ebx
call edi
pop ecx
pop ecx
push 4
mov ebx, 0x612541a0
push ebx
push 0xe
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x6124724c
push 0x61241338
push ebx
call edi
pop ecx
pop ecx
push 4
mov ebx, 0x612540c0
push ebx
push 0x10
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x6124726c
push 0x61241330
push ebx
call edi
pop ecx
pop ecx
push 4
mov ebx, 0x61254188
push ebx
push 0xc
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x6124728c
push 0x6124132c
push ebx
call edi
pop ecx
pop ecx
push 0x51
mov ebx, 0x612540e0
push ebx
push 0x13
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x612472ac
push 0x612420a4
push ebx
call edi
pop ecx
pop ecx
push 5
mov ebx, 0x612541ac
push ebx
push 0x51
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x612472cc
push 0x612420bc
push ebx
call edi
pop ecx
pop ecx
push 5
mov ebx, 0x61254190
push ebx
push 0x50
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x612472ec
push 0x6124152c
push ebx
call edi
pop ecx
pop ecx
push 4
mov ebx, 0x612540c8
push ebx
push 0xf
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x6124730c
push 0x6124132c
push ebx
call edi
pop ecx
pop ecx
push 2
mov ebx, 0x612541a8
push ebx
push 0x11
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x6124732c
push 0x61241344
push ebx
call edi
pop ecx
pop ecx
push 2
mov ebx, 0x6125419c
push ebx
push 0x12
push dword [0x61254ab0]
call esi
test eax, eax
jne 0x6124734c
push 0x61241344
push ebx
call edi
pop ecx
pop ecx
pop edi
pop esi
pop ebx
ret
Function at 0x612483c3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x61253ebc]
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
jne 0x612483e8
mov dword [0x612541b8], eax
jmp 0x6124843d
cmp dword [0x612541b8], esi
je 0x61248442
push esi
push 0x12c
lea eax, [ebp - 0x25c]
push eax
push 8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
test eax, eax
je 0x6124843d
lea eax, [ebp - 0x25c]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x143
push dword [0x612541b8]
call esi
cmp eax, 0xffffffff
je 0x6124843d
push dword [ebp + 8]
push eax
push 0x151
push dword [0x612541b8]
call esi
xor eax, eax
inc eax
jmp 0x61248444
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
call fcn.6124ff04
leave
ret 8

Function at 0x6124849e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push 0x3fd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
xor eax, eax
inc eax
cmp dword [ebx], eax
jle 0x61248586
push esi
push 0x7f02
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
test byte [ebx], 4
mov dword [ebp + 0xc], eax
je 0x61248579
push edi
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x147
push dword [ebp + 8]
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x61248578
cmp edi, dword [ebx + 4]
je 0x61248578
push 0
push edi
push 0x150
push dword [ebp + 8]
call esi
mov esi, eax
mov dword [ebx + 4], edi
push esi
mov dword [0x61254ab0], esi
call fcn.61245dc5
mov ecx, dword [0x61254ab0]
xor edx, edx
and ecx, 0x3ff
cmp cx, 0xd
sete dl
test eax, eax
mov dword [0x612544e0], eax
mov dword [0x61254708], edx
je 0x61248558
cmp cx, 0xd
je 0x61248558
mov dword [0x612543cc], 1
jmp 0x6124855f
and dword [0x612543cc], 0
push 1
push 0
push esi
call fcn.6124faf0
call sub.KERNEL32.dll_NlsResetProcessLocale
mov eax, dword [0x61254ab0]
mov dword [0x61254724], eax
pop edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 8