Function at 0x401498
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb44
mov byte [ebp - 0x2a9], 0
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0x19765
mov dword [ebp - 0x10], 0x18816
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c4]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
je 0x4014f5
mov ebx, 0x7a
mov dword [0x7f603d], edi
mov dword [0x7f6103], edx
inc byte [ebp - 0x2a9]
cmp byte [ebp - 0x2a9], 1
jne 0x4014a8
xchg dword [0x7f601d], ecx
cmp dword [0x7f609e], edx
je 0x401528
add dword [0x7f60f2], ebx
and dword [0x7f60c1], edi
mov dword [0x7f60b3], 0x113eb
mov dword [0x7f60c5], 0x1384b
mov eax, 0x29
mov dword [0x7f610e], 0x171aa
mov eax, 0xac
mov dword [0x7f603f], 0x17908
mov dword [0x7f603e], 0x1394a
mov eax, 0x402878
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x1a346
mov dword [ebp - 0x24], 0x1b5ee
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_GetFileSecurityW
test eax, eax
jne 0x4015b4
mov dword [0x7f601a], 0x156d4
xchg dword [0x7f60b1], ecx
mov dword [0x7f6098], eax
add dword [0x7f60b3], esi
mov dword [0x7f6080], ecx
and eax, esi
mov dword [esp - 8], ecx
mov dword [0x7f60c3], ebx
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x30], 0x1d9d3
mov dword [ebp - 0x34], 0x1abe4
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2dc]
push eax
mov eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x2d0]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
je 0x40160e
mov dword [0x7f6028], eax
mov dword [0x7f6093], ecx
mov ebx, dword [0x7f6026]
cmp dword [0x7f6108], 0
jge 0x401639
mov dword [0x7f6061], esi
mov dword [0x7f6045], 0x13ab4
mov dword [0x7f60e6], 0x11730
mov dword [0x7f60c0], edi
jmp 0x40163f
add dword [0x7f60a7], edx
mov dword [0x7f6112], ecx
sub dword [0x7f60c3], eax
mov dword [ebp - 0x3c], 0x1ed6c
mov eax, 0x402890
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0x1a9d6
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x38]
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jne 0x401691
mov dword [0x7f6074], ecx
mov byte [0x7f601d], 0x24
mov dword [0x7f605f], 0x14877
mov eax, 0x4028a4
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 0x138c2
mov dword [ebp - 0x58], 0x1a4a3
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.advapi32.dll_GetFileSecurityW
test eax, eax
jne 0x4016d2
mov eax, edx
dec ecx
sub dword [0x7f6083], eax
call fcn.00406bf4
mov dword [0x7f60c9], esi
test bh, bh
jne 0x4016f3
mov dword [0x7f60cb], edx
mov dword [0x7f6046], 0x16b0a
jmp 0x401709
lea ebx, [0x7f605e]
and dword [ebx + 0x20], 0x41
mov dword [0x7f60da], edx
mov dword [0x7f60d5], ebx
mov dword [0x7f6054], eax
test ebx, ebx
jne 0x40172e
mov byte [0x7f6025], 0xe
mov dword [0x7f60aa], 0x16579
mov dword [0x7f6067], 0x178d6
mov dword [0x7f60e0], esi
inc eax
xchg dword [0x7f6081], edx
lea eax, [0x7f60f8]
mov dword [eax + 0x10], edi
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], 0x11414
mov dword [ebp - 0x68], 0x1ae41
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x2f4]
push eax
mov eax, dword [ebp - 0x64]
push eax
lea eax, [ebp - 0x2e8]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x40179a
mov byte [0x7f6050], 0x78
mov dword [0x7f60f2], ecx
mov edi, dword [0x7f6105]
mov esi, dword [0x7f60ff]
sub eax, 0x6a
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x74], 0x1e773
mov dword [ebp - 0x78], 0x14c69
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x30c]
push eax
mov eax, dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x300]
push eax
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x4017eb
mov word [0x7f60b7], 0xacfa
mov dword [0x7f60d0], edi
mov dword [0x7f605c], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], 0x177bc
mov dword [ebp - 0x88], 0x16641
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x324]
push eax
mov eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x318]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.advapi32.dll_AdjustTokenGroups
mov dword [0x7f601a], 0x1028d
mov dword [0x7f60c1], ebx
mov dword [0x7f60ed], ecx
mov dword [ebp - 0x90], 0x15d34
mov eax, 0x4028b0
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], 0x107d7
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x8c]
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
je 0x4018af
mov dword [0x7f604f], edi
test dl, dl
je 0x40189f
inc edx
mov dword [0x7f60ab], edi
mov byte [0x7f60ce], 0xd0
mov dword [esp - 4], edx
mov dword [0x7f6051], ebx
mov dword [0x7f60b0], edx
mov dword [0x7f60fa], 0x16bf9
cmp dword [0x7f6056], 0
jle 0x4018eb
mov word [0x7f604d], 0xf0dc
sub dword [0x7f60f8], edi
mov dword [0x7f60dc], 0x106fd
xchg dword [0x7f607b], ecx
mov dword [0x7f610c], 0x15561
mov ecx, dword [esp + 0x24]
cmp dword [0x7f605a], 0
jle 0x401904
mov dword [0x7f609f], edi
mov dword [esp - 0x12], eax
jmp 0x40191f
mov dword [0x7f604f], esi
mov dword [esp - 0x28], eax
mov byte [0x7f6086], 0x79
mov dword [0x7f6064], 0x1161f
mov dword [0x7f60dc], eax
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], 0x163b5
mov dword [ebp - 0xa8], 0x16144
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x33c]
push eax
mov eax, dword [ebp - 0xa4]
push eax
lea eax, [ebp - 0x330]
push eax
mov eax, dword [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x9c]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
je 0x401990
and dword [0x7f602c], esi
mov dword [0x7f60c6], ebx
mov dword [0x7f6072], 0x13e47
mov dword [0x7f607b], edi
add dword [0x7f60b8], esi
sub ecx, 0xfd
mov dword [0x7f6081], edx
lea eax, [0x7f6087]
mov dword [eax + 0x20], esi
mov byte [0x7f6019], 0xc8
mov dword [ebp - 0xb0], 0x1bd43
mov eax, 0x4028b8
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb8], 0x17590
mov eax, dword [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0xac]
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jne 0x401a11
mov word [0x7f60cb], 0xaa71
lea eax, [0x7f60a4]
mov dword [eax], 0xe6
mov dword [0x7f60cf], edx
call fcn.00402ca4
mov dword [0x7f607d], ebx
sub dword [0x7f60c9], eax
cmp word [0x7f6058], 0
jge 0x401a2d
inc edi
xchg dword [0x7f60a7], eax
mov dword [0x7f6025], ebx
mov dword [esp - 0x12], ecx
mov dword [0x7f6016], eax
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0xc4], 0x191d4
mov dword [ebp - 0xc8], 0x108bb
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x354]
push eax
mov eax, dword [ebp - 0xc4]
push eax
lea eax, [ebp - 0x348]
push eax
mov eax, dword [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0xbc]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x401aa6
and dword [0x7f6076], eax
mov dword [0x7f6088], 0x1779e
mov ecx, edi
mov byte [ebp - 0x2a9], 0
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0xd4], 0x14085
mov dword [ebp - 0xd8], 0x10965
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x36c]
push eax
mov eax, dword [ebp - 0xd4]
push eax
lea eax, [ebp - 0x360]
push eax
mov eax, dword [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0xcc]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x401b12
mov dword [0x7f602a], 0x12b47
mov dword [0x7f6056], edx
mov dword [esp - 0x1c], edi
mov dword [0x7f607d], ebx
sub dword [0x7f60c9], eax
cmp word [0x7f6058], 0
jge 0x401b29
inc edi
xchg dword [0x7f60a7], eax
mov dword [0x7f6025], ebx
mov dword [esp - 0x12], ecx
mov dword [0x7f6016], eax
inc byte [ebp - 0x2a9]
cmp byte [ebp - 0x2a9], 1
jne 0x401aad
xor eax, eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], 0x1b866
mov dword [ebp - 0xe8], 0x10d15
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x384]
push eax
mov eax, dword [ebp - 0xe4]
push eax
lea eax, [ebp - 0x378]
push eax
mov eax, dword [ebp - 0xe0]
push eax
mov eax, dword [ebp - 0xdc]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
je 0x401baf
dec ecx
mov dword [esp - 4], edx
add esi, 5
add dword [0x7f6109], ebx
mov dword [ebp - 0xf0], 0xffffffff
mov dword [ebp - 0xf4], 0x18209
mov dword [ebp - 0xf8], 0x1eb4f
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x39c]
push eax
mov eax, dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0x390]
push eax
mov eax, dword [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0xec]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
je 0x401c1d
inc esi
mov dword [0x7f60df], ebx
mov dword [0x7f609a], ecx
add dword [0x7f60d7], edi
mov dword [0x7f6067], 0x14d9d
inc edi
mov dword [0x7f6066], 0x1479a
mov dword [0x7f6056], edi
mov dword [esp - 0x10], esi
cmp dh, byte [esp + 0x24]
je 0x401c47
mov dword [0x7f6101], ebx
dec esi
mov dword [0x7f605f], edx
jmp 0x401c60
mov dword [0x7f6042], eax
and esi, 0x68
mov dword [0x7f609b], 0x16b62
mov dword [0x7f609d], esi
xor eax, eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x104], 0x179d9
mov dword [ebp - 0x108], 0x1882c
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x3b4]
push eax
mov eax, dword [ebp - 0x104]
push eax
lea eax, [ebp - 0x3a8]
push eax
mov eax, dword [ebp - 0x100]
push eax
mov eax, dword [ebp - 0xfc]
push eax
call sub.advapi32.dll_AdjustTokenGroups
mov dword [ebp - 0x110], 0xffffffff
mov dword [ebp - 0x114], 0x108db
mov dword [ebp - 0x118], 0x1ca1a
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x3cc]
push eax
mov eax, dword [ebp - 0x114]
push eax
lea eax, [ebp - 0x3c0]
push eax
mov eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x401d0e
mov esi, edx
mov dword [0x7f6089], ebx
mov dword [0x7f6016], 0x160bb
xor eax, eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], 0x107df
mov dword [ebp - 0x128], 0x15560
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x3e4]
push eax
mov eax, dword [ebp - 0x124]
push eax
lea eax, [ebp - 0x3d8]
push eax
mov eax, dword [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x11c]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x401d7a
mov dword [0x7f60af], 0x17256
lea esi, [0x7f6069]
mov dword [esi + 0x10], 0xc
sub dword [0x7f601f], eax
mov dword [0x7f607d], ebx
sub dword [0x7f60c9], eax
cmp word [0x7f6058], 0
jge 0x401d91
inc edi
xchg dword [0x7f60a7], eax
mov dword [0x7f6025], ebx
mov dword [esp - 0x12], ecx
mov dword [0x7f6016], eax
mov dword [ebp - 0x130], 0x1eaed
mov eax, 0x4028cc
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], 0x1ca7c
mov eax, dword [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x12c]
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
je 0x401dfb
mov dword [0x7f6036], edi
mov dword [0x7f6101], ebx
xchg dword [esp - 0x12], esi
call fcn.004029b8
mov byte [0x7f60c6], 0x62
mov dword [0x7f601b], eax
mov dword [0x7f609a], 0x1261f
mov dword [0x7f6041], ecx
mov edx, dword [0x7f6025]
xor eax, eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], 0x1a579
mov dword [ebp - 0x148], 0x19ade
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x3fc]
push eax
mov eax, dword [ebp - 0x144]
push eax
lea eax, [ebp - 0x3f0]
push eax
mov eax, dword [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x13c]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x401ea0
lea ecx, [0x7f6017]
mov dword [ecx + 4], 0x1a
test edi, edi
jne 0x401e89
sub edx, dword [0x7f6016]
mov dword [0x7f608f], 0x11bb4
mov byte [0x7f60fc], 0xd5
sub esi, 0xed
mov eax, 0x4028d8
mov dword [ebp - 0x14c], eax
xor eax, eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], 0x19b1a
mov dword [ebp - 0x15c], 0x12301
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x158]
push eax
mov eax, dword [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x150]
push eax
mov eax, dword [ebp - 0x14c]
push eax
call sub.advapi32.dll_GetFileSecurityW
test eax, eax
je 0x401f04
mov ebx, dword [0x7f6047]
mov dword [0x7f603c], eax
mov esi, ecx
and ecx, 0x64
call fcn.00406bf4
mov dword [ebp - 0x164], 0xffffffff
mov dword [ebp - 0x168], 0x1f844
mov dword [ebp - 0x16c], 0x1d6f5
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x168]
push eax
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebp - 0x164]
push eax
mov eax, dword [ebp - 0x160]
push eax
call sub.advapi32.dll_AdjustTokenGroups
call fcn.00402ca4
mov dword [ebp - 0x174], 0x159a8
mov eax, 0x4028ec
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x17c], 0x12497
mov eax, dword [ebp - 0x17c]
push eax
mov eax, dword [ebp - 0x178]
push eax
mov eax, dword [ebp - 0x174]
push eax
mov eax, dword [ebp - 0x170]
push eax
call sub.kernel32.dll_GetLocaleInfoA
mov eax, 0x4028f4
mov dword [ebp - 0x180], eax
xor eax, eax
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x18c], 0x1e0c9
mov dword [ebp - 0x190], 0x1aef7
lea eax, [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x18c]
push eax
mov eax, dword [ebp - 0x188]
push eax
mov eax, dword [ebp - 0x184]
push eax
mov eax, dword [ebp - 0x180]
push eax
call sub.advapi32.dll_GetFileSecurityW
test eax, eax
jne 0x402006
mov ebx, 0xbd
dec edi
mov dword [0x7f606c], esi
mov dword [0x7f6103], eax
xchg dword [0x7f606b], edi
mov byte [ebp - 0x2a9], 0
mov eax, 0x402900
mov dword [ebp - 0x194], eax
xor eax, eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x1a0], 0x17a6e
mov dword [ebp - 0x1a4], 0x16476
lea eax, [ebp - 0x1a4]
push eax
mov eax, dword [ebp - 0x1a0]
push eax
mov eax, dword [ebp - 0x19c]
push eax
mov eax, dword [ebp - 0x198]
push eax
mov eax, dword [ebp - 0x194]
push eax
call sub.advapi32.dll_GetFileSecurityW
test eax, eax
je 0x402076
mov dword [0x7f60ba], ebx
mov dword [esp - 0x12], ecx
sub esi, 0xbc
xchg dword [0x7f604c], edx
mov dword [0x7f6077], edx
lea ecx, [0x7f608a]
mov dword [ecx + 8], 0x89
mov dword [esp - 0x20], eax
xchg dword [0x7f6086], esi
inc byte [ebp - 0x2a9]
cmp byte [ebp - 0x2a9], 2
jne 0x40200d
mov byte [ebp - 0x2a9], 0
mov dword [ebp - 0x1ac], 0x1c521
mov eax, 0x402928
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1b4], 0x1b1d8
mov eax, dword [ebp - 0x1b4]
push eax
mov eax, dword [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 0x1ac]
push eax
mov eax, dword [ebp - 0x1a8]
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jne 0x402122
cmp dword [0x7f6098], 0x68
jge 0x402105
mov eax, edx
mov word [0x7f603b], 0xe854
mov dword [0x7f60a1], edi
mov eax, 0x1b2
mov dword [0x7f6086], edx
mov dword [0x7f60dc], edi
mov dword [0x7f6071], esi
inc byte [ebp - 0x2a9]
cmp byte [ebp - 0x2a9], 3
jne 0x4020ad
mov dword [ebp - 0x1bc], 0xffffffff
mov dword [ebp - 0x1c0], 0x10ac3
mov dword [ebp - 0x1c4], 0x15561
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x42c]
push eax
mov eax, dword [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x1bc]
push eax
mov eax, dword [ebp - 0x1b8]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x402196
mov esi, eax
mov byte [0x7f6079], 0xfe
mov byte [0x7f60a3], 0x7a
call fcn.00403464
mov dword [ebp - 0x1cc], 0xffffffff
mov dword [ebp - 0x1d0], 0x1693f
mov dword [ebp - 0x1d4], 0x1a02f
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x444]
push eax
mov eax, dword [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x438]
push eax
mov eax, dword [ebp - 0x1cc]
push eax
mov eax, dword [ebp - 0x1c8]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x402206
mov byte [0x7f6087], 0x62
sub esi, 8
mov dword [0x7f6041], ecx
mov dword [0x7f60bc], 0x14a4c
xor eax, eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1e0], 0x16ff2
mov dword [ebp - 0x1e4], 0x13d55
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x45c]
push eax
mov eax, dword [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x450]
push eax
mov eax, dword [ebp - 0x1dc]
push eax
mov eax, dword [ebp - 0x1d8]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x402265
mov dword [0x7f6024], edx
sub ebx, dword [0x7f60b3]
mov dword [esp - 0x24], esi
xor eax, eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1f0], 0x14fb4
mov dword [ebp - 0x1f4], 0x175e3
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x474]
push eax
mov eax, dword [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x468]
push eax
mov eax, dword [ebp - 0x1ec]
push eax
mov eax, dword [ebp - 0x1e8]
push eax
call sub.advapi32.dll_AdjustTokenGroups
mov dword [0x7f60be], ebx
cmp al, byte [esp + 0x18]
je 0x4022bf
sub edx, 0x63
mov dword [0x7f6060], 0x12681
xchg dword [0x7f609e], edi
mov dword [esp - 0x24], eax
mov dword [esp - 0x1c], esi
mov word [0x7f60a2], 0x6577
sub dword [0x7f6014], eax
cmp ecx, 0x35
jle 0x402303
mov word [0x7f60e7], 0x5e41
lea eax, [0x7f60db]
mov dword [eax + 0x18], 0xeb
jmp 0x402315
mov edi, esi
mov dword [0x7f601c], 0x171b8
add dword [0x7f60bb], edi
inc esi
mov dword [0x7f606d], edx
mov eax, 0x40292c
mov dword [ebp - 0x1f8], eax
xor eax, eax
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x204], 0x13a14
mov dword [ebp - 0x208], 0x1238b
lea eax, [ebp - 0x208]
push eax
mov eax, dword [ebp - 0x204]
push eax
mov eax, dword [ebp - 0x200]
push eax
mov eax, dword [ebp - 0x1fc]
push eax
mov eax, dword [ebp - 0x1f8]
push eax
call sub.advapi32.dll_GetFileSecurityW
test eax, eax
jne 0x4023a6
mov word [0x7f6023], 0x729b
mov byte [0x7f60e4], 0x96
cmp eax, dword [ebp - 0x24]
jge 0x4023a0
mov edx, dword [0x7f603b]
mov dword [0x7f6044], ecx
mov dword [0x7f60e8], 0x15b8d
mov dword [0x7f6035], edx
mov dword [0x7f6051], ecx
mov eax, 0x402934
mov dword [ebp - 0x20c], eax
xor eax, eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], 0x1b1dd
mov dword [ebp - 0x21c], 0x17d25
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x20c]
push eax
call sub.advapi32.dll_GetFileSecurityW
test eax, eax
je 0x40243d
cmp dword [0x7f60f9], ebx
jge 0x40241a
mov word [0x7f6014], 0x9c9e
mov dword [0x7f610a], edx
mov dword [0x7f6042], 0x15a8b
mov dword [0x7f6043], 0x10f69
mov dword [0x7f6112], eax
mov word [0x7f60f8], 0x14bb
mov dword [0x7f6048], edx
mov dword [esp - 0x10], ebx
mov dword [ebp - 0x224], 0x19100
mov eax, 0x402954
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], 0x15fab
mov eax, dword [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x220]
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jne 0x40249c
mov dword [0x7f60ed], esi
mov word [0x7f60e5], 0xf1e1
mov dword [0x7f603b], ecx
mov dword [0x7f606a], eax
mov dword [0x7f60d9], 0x11359
cmp dword [0x7f6061], ebx
jne 0x4024bf
sub dword [0x7f60bb], edi
mov dword [0x7f6039], esi
mov eax, 0xc1
mov ecx, dword [esp + 4]
mov dword [0x7f60af], edx
xor eax, eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], 0x149b8
mov dword [ebp - 0x23c], 0x1593e
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x48c]
push eax
mov eax, dword [ebp - 0x238]
push eax
lea eax, [ebp - 0x480]
push eax
mov eax, dword [ebp - 0x234]
push eax
mov eax, dword [ebp - 0x230]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
jne 0x402531
mov dword [0x7f60dd], esi
mov dword [0x7f60d5], edx
mov byte [0x7f60cf], 0x1f
mov dword [0x7f6043], esi
mov dword [ebp - 0x244], 0x154fd
mov eax, 0x402960
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x24c], 0x1aa52
mov eax, dword [ebp - 0x24c]
push eax
mov eax, dword [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x240]
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jne 0x40258a
mov dword [0x7f6023], edi
mov word [0x7f60d0], 0xb5d9
mov dword [0x7f602e], ebx
mov eax, 0x402974
mov dword [ebp - 0x250], eax
xor eax, eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x25c], 0x13535
mov dword [ebp - 0x260], 0x10ff5
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x258]
push eax
mov eax, dword [ebp - 0x254]
push eax
mov eax, dword [ebp - 0x250]
push eax
call sub.advapi32.dll_GetFileSecurityW
test eax, eax
jne 0x40260a
mov dword [0x7f60aa], ecx
cmp esi, 0xffffffff
je 0x4025ee
and dword [0x7f6080], edx
mov dword [0x7f6059], 0x1315c
mov dword [0x7f6025], edi
mov dword [0x7f603a], ecx
and dword [0x7f60d3], eax
call fcn.00402ca4
mov dword [esp - 0x18], edx
and dword [0x7f610e], esi
mov dword [0x7f60ab], ecx
mov dword [0x7f60ff], 0x14978
mov eax, 0x40298c
mov dword [ebp - 0x264], eax
xor eax, eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x270], 0x108a0
mov dword [ebp - 0x274], 0x1b46e
lea eax, [ebp - 0x274]
push eax
mov eax, dword [ebp - 0x270]
push eax
mov eax, dword [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x268]
push eax
mov eax, dword [ebp - 0x264]
push eax
call sub.advapi32.dll_GetFileSecurityW
test eax, eax
jne 0x40269a
mov dword [0x7f603e], edx
xchg dword [0x7f6101], eax
mov dword [0x7f607d], esi
mov dword [0x7f6093], ecx
mov dword [0x7f6103], eax
mov dword [0x7f6085], edi
mov word [0x7f605d], 0x4dfb
mov dword [0x7f60c2], 0x13c60
xor eax, eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x280], 0x1ff7c
mov dword [ebp - 0x284], 0x1b851
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x4a4]
push eax
mov eax, dword [ebp - 0x280]
push eax
lea eax, [ebp - 0x498]
push eax
mov eax, dword [ebp - 0x27c]
push eax
mov eax, dword [ebp - 0x278]
push eax
call sub.advapi32.dll_AdjustTokenGroups
dec eax
add dword [0x7f6030], ebx
mov dword [0x7f6057], 0x17deb
sub dword [0x7f607b], eax
mov dword [0x7f60eb], edi
cmp bl, byte [0x7f60ea]
jge 0x402733
lea ebx, [0x7f60ad]
and dword [ebx + 8], 0x94
inc ecx
jmp 0x402749
mov dword [0x7f6081], 0x114e3
mov dword [0x7f6072], eax
mov dword [0x7f6070], ebx
mov dword [0x7f607f], esi
mov eax, 0x40299c
mov dword [ebp - 0x288], eax
xor eax, eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x294], 0x14f1b
mov dword [ebp - 0x298], 0x16f41
lea eax, [ebp - 0x298]
push eax
mov eax, dword [ebp - 0x294]
push eax
mov eax, dword [ebp - 0x290]
push eax
mov eax, dword [ebp - 0x28c]
push eax
mov eax, dword [ebp - 0x288]
push eax
call sub.advapi32.dll_GetFileSecurityW
test eax, eax
jne 0x4027c8
mov dword [0x7f6083], ecx
and edi, 0x8c
mov word [0x7f6090], 0x4412
mov byte [0x7f6016], 0x36
mov dword [0x7f6028], 0x12659
mov byte [0x7f603b], 0xcd
mov dword [0x7f606a], edx
add dword [0x7f6110], eax
mov edi, dword [0x7f60cc]
mov dword [ebp - 0x2a0], 0xffffffff
mov dword [ebp - 0x2a4], 0x12159
mov dword [ebp - 0x2a8], 0x146dc
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x4bc]
push eax
mov eax, dword [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x4b0]
push eax
mov eax, dword [ebp - 0x2a0]
push eax
mov eax, dword [ebp - 0x29c]
push eax
call sub.advapi32.dll_AdjustTokenGroups
test eax, eax
je 0x402864
mov dword [0x7f60d8], esi
add ecx, 0x87
cmp dword [0x7f608e], 0
jge 0x40284d
mov dword [0x7f60cf], esi
and dword [0x7f605b], eax
mov byte [0x7f6054], 0x10
mov dword [0x7f6035], ecx
mov dword [esp - 0x1c], eax
mov dword [esp - 8], ebx
mov dword [0x7f6066], edx
mov dword [0x7f601d], esi
mov esp, ebp
pop ebp
ret