Function at 0x50c7a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x4f4
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x4f0], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x26
mov dword [esp + 0x5c], ecx
cmp eax, edi
mov dword [esp + 0xf4], 0
push 0
cmovae edi, eax
lea eax, [esp + 0xf4]
push 0
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0xfc], edi
call sym.SystemInformer.exe_PhCreateString3
mov esi, eax
xor ecx, ecx
test byte [0x630d38], 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
mov ebx, dword [esi + 4]
mov dword [esp + 0x44], ebx
jne 0x50c8e7
mov eax, 0x630d38
lock bts dword [eax], 0x1f
setb al
test al, al
jne 0x50c8cc
push 4
lea eax, [esp + 0xf4]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x50c868
mov ax, word [esp + 0xf0]
test ax, ax
je 0x50c868
cmp word [esp + 0xf2], 0
jne 0x50c868
mov word [0x62e49c], ax
push 4
lea eax, [esp + 0xf4]
push eax
push 0xf
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop
test eax, eax
je 0x50c8a2
mov ax, word [esp + 0xf0]
test ax, ax
je 0x50c8a2
cmp word [esp + 0xf2], 0
jne 0x50c8a2
mov word [0x62e6a8], ax
cmp word [0x62e49c], 0x2e
je 0x50c8c0
push 0x5cab58
push 0
call fcn.00589bfb
add esp, 8
mov dword [0x635ce4], eax
mov ecx, 0x630d38
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x50c8e5
test byte [0x630d38], 1
jne 0x50c8e7
xor edx, edx
mov ecx, 0x630d38
call sym.SystemInformer.exe_PhfWaitForEvent
xor ecx, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x50dbd0
fld qword [0x61c900]
fst qword [esp + 0xe0]
fld qword [0x61c890]
fst qword [esp + 0xe8]
mov dword [esp + 0x60], 3
dec eax
mov dword [esp + 0xf0], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov esi, eax
add eax, 0x18
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], 0
mov edx, dword [esi]
mov eax, edx
and eax, 0x3f
mov dword [esp + 0x4c], edx
cmp eax, 0xc
ja case.default.0x50c94c
jmp dword [eax*4 + 0x50dbf8]
lea esi, [ecx + 2]
fstp st(1)
fstp st(0)
cmp edi, esi
jae 0x50c9c2
lea eax, [edi + edi]
mov dword [esp + 0x74], 0
cmp eax, esi
mov ecx, esi
push 0
cmovae ecx, eax
lea eax, [esp + 0x74]
push 0
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x7c], ecx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x28]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00580c90
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50c9b6
call fcn.004fbd80
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x28], edi
lea ebx, [eax + ebx*2]
mov ecx, dword [esp + 0x48]
mov ax, word [ecx + 0x10]
mov ecx, esi
mov word [ebx], ax
add ebx, 2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ecx
jmp 0x50da5b
add ecx, dword [esi + 0x10]
fstp st(1)
fstp st(0)
cmp edi, ecx
jae 0x50ca59
lea eax, [edi + edi]
mov dword [esp + 0x7c], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0x7c]
push 0
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x84], edx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x28]
mov esi, eax
mov edi, dword [esp + 0x24]
push edi
push dword [ebx + 4]
push dword [esi + 4]
call fcn.00580c90
add esp, 0xc
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50ca45
lea esp, [esp]
call fcn.004fbd80
mov eax, dword [esi + 4]
mov ecx, edi
shr ecx, 1
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x48]
lea ebx, [eax + ecx*2]
jmp 0x50ca5d
mov edi, dword [esp + 0x24]
push dword [esi + 0x10]
push dword [esi + 0x14]
push ebx
call fcn.00580c90
mov eax, dword [esi + 0x10]
add esp, 0xc
shr eax, 1
add edi, dword [esi + 0x10]
mov dword [esp + 0x24], edi
lea ebx, [ebx + eax*2]
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x24]
jmp 0x50da5b
push dword [esi + 0x10]
fstp st(1)
fstp st(0)
call sym.SystemInformer.exe_PhCountStringZ
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
lea esi, [eax + eax]
add edi, esi
cmp edx, edi
jae 0x50cb18
lea eax, [edx + edx]
mov dword [esp + 0x84], 0
cmp eax, edi
mov ecx, edi
push 0
cmovae ecx, eax
lea eax, [esp + 0x84]
push 0
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x8c], ecx
call sym.SystemInformer.exe_PhCreateString3
push dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00580c90
mov ecx, dword ds:[esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50cb08
call fcn.004fbd80
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [esp + 0x28], ebx
lea ebx, [eax + ecx*2]
mov ecx, dword [esp + 0x48]
push esi
push dword [ecx + 0x10]
push ebx
call fcn.00580c90
add esp, 0xc
mov ecx, edi
shr esi, 1
mov dword [esp + 0x24], ecx
lea ebx, [ebx + esi*2]
mov dword [esp + 0x44], ebx
jmp 0x50da5b
fstp st(1)
fstp st(0)
cmp edx, 3
jne 0x50cb52
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x2c], ecx
jmp 0x50cb69
mov ecx, dword [esi + 0x10]
mov esi, ecx
mov dword [esp + 0x2c], ecx
lea edx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x50cb60
sub esi, edx
push esi
push ecx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeSize]
test eax, eax
js 0x50ca7f
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
lfence
mov eax, dword [esp + 0x58]
lea ecx, [eax + edi]
cmp edx, ecx
jae 0x50cc0f
lea eax, [edx + edx]
mov dword [esp + 0x8c], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0x8c]
push 0
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x94], edx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x28]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00580c90
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50cbf5
call fcn.004fbd80
mov eax, dword [edi + 4]
mov ecx, ebx
shr ecx, 1
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x24]
lea ebx, [eax + ecx*2]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], ebx
push esi
push dword [esp + 0x30]
push 0
push eax
push ebx
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
mov edi, edi
test eax, eax
js 0x50ca7f
mov eax, dword ds:[esp + 0x58]
shr eax, 1
add edi, dword [esp + 0x58]
mov dword [esp + 0x24], edi
mov ecx, edi
lea ebx, [ebx + eax*2]
mov dword [esp + 0x44], ebx
jmp 0x50da5b
mov ecx, 0x10
mov eax, esi
mov eax, dword [eax + ecx]
mov ecx, eax
shr ecx, 0x1f
mov dword [esp + 0x3c], ecx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
mov edx, dword [esp + 0x4c]
jmp 0x50cc68
mov ecx, dword [esi + 0x10]
fstp st(1)
fstp st(0)
mov dword [esp + 0x2c], 0xa
test edx, 0x100
je 0x50cc8f
mov al, byte ds:[esi + 0xa]
cmp al, 2
jb 0x50cc8f
cmp al, 0x45
ja 0x50cc8f
movzx eax, al
mov dword [esp + 0x2c], eax
test edx, 0x20000000
lea edi, [esp + 0x4f6]
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, 0x617900
cmovne eax, esi
xor esi, esi
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x50cd62
test edx, 0x10000
je 0x50cd37
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, ecx
xor edx, edx
div dword [esp + 0x2c]
inc esi
mov ecx, eax
mov eax, dword [esp + 0x40]
movsx ax, byte [edx + eax]
mov word [edi], ax
sub edi, 2
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, 3
jne 0x50cd1f
test ecx, ecx
je 0x50cd24
movzx eax, word [0x62e6a8]
xor edx, edx
mov word [edi], ax
mov eax, ecx
div dword [esp + 0x2c]
mov dword [esp + 0x38], 1
mov ecx, eax
mov eax, dword [esp + 0x40]
movsx eax, byte [edx + eax]
mov word [edi - 2], ax
add edi, 0xfffffffc
add esi, 2
nop
test ecx, ecx
jne 0x50ccc5
mov edx, dword [esp + 0x4c]
xor ecx, ecx
cmp dword [esp + 0x3c], ecx
je 0x50cd7b
mov ecx, 1
jmp 0x50cd89
mov ebx, dword [esp + 0x40]
jmp 0x50cd40
mov eax, ecx
xor edx, edx
div dword [esp + 0x2c]
inc esi
mov ecx, eax
movsx ax, byte [edx + ebx]
mov word [edi], ax
sub edi, 2
test ecx, ecx
jne 0x50cd40
mov ebx, dword ds:[esp + 0x44]
jmp 0x50cd24
mov eax, 0x30
lea edi, [esp + 0x4f4]
mov word [esp + 0x4f6], ax
lea esi, [eax - 0x2f]
jmp 0x50cd28
test edx, 0x20000
mov eax, 1
cmovne ecx, eax
and edx, 0x50000
cmp edx, 0x40000
jne 0x50cdb7
mov eax, dword [esp + 0x48]
movzx edx, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edx
jae 0x50cdb7
or dword [esp + 0x3c], 4
mov eax, edx
sub eax, ecx
sub eax, esi
mov dword [esp + 0x64], eax
add ecx, eax
mov edx, dword [esp + 0x34]
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x24]
add edi, 2
mov dword [esp + 0x30], edi
lea ecx, [ecx + eax*2]
mov dword [esp + 0x2c], ecx
cmp edx, ecx
jae 0x50ce44
lea eax, [edx + edx]
mov dword [esp + 0x94], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0x94]
push 0
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x9c], edx
call sym.SystemInformer.exe_PhCreateString3
push dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00580c90
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50ce34
call fcn.004fbd80
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [esp + 0x28], ebx
lea ebx, [eax + ecx*2]
mov eax, dword [esp + 0x3c]
test al, 1
je 0x50ce53
mov ecx, 0x2d
jmp 0x50ce64
mov ecx, dword [esp + 0x48]
test dword [ecx], 0x20000
je 0x50ce6a
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50ce8f
mov edx, dword [esp + 0x64]
test edx, edx
je 0x50ce8c
mov ecx, edx
mov eax, 0x300030
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x30]
lea ebx, [ebx + edx*2]
add esi, esi
push esi
push edi
push ebx
call fcn.00580c90
mov ecx, dword [esp + 0x38]
add esp, 0xc
add ebx, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], ebx
jmp 0x50da5b
mov eax, dword [esp + 0x48]
fstp st(1)
mov esi, dword [esi + 0x10]
fstp st(0)
mov dword [esp + 0x54], esi
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x50], ecx
test ecx, ecx
jg 0x50cef8
jl 0x50cecf
test esi, esi
jae 0x50cef8
neg esi
mov dword [esp + 0x3c], 1
adc ecx, 0
neg ecx
jmp 0x50cef0
mov eax, dword [esp + 0x48]
fstp st(1)
mov esi, dword [esi + 0x10]
fstp st(0)
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x2c], 0xa
mov dword [esp + 0x38], 0
test edx, 0x100
je 0x50cf4b
mov al, byte [eax + 0xa]
mov dword [esp + 0x2c], 0xa
mov dword [esp + 0x38], 0
cmp al, 2
jb 0x50cf4b
mov dword [esp + 0x2c], 0xa
mov dword [esp + 0x38], 0
cmp al, 0x45
ja 0x50cf4b
movzx eax, al
cdq
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
test edx, 0x20000000
mov dword [esp + 0x40], 0
mov edi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, 0x617900
cmovne eax, edi
lea edi, [esp + 0x4f6]
mov dword [esp + 0x30], eax
mov eax, esi
or eax, ecx
je 0x50d084
jmp 0x50cf80
test edx, 0x10000
je 0x50d028
xor eax, eax
mov dword [esp + 0x44], eax
push dword ds:[esp + 0x38]
push dword [esp + 0x30]
push ecx
push esi
call fcn.0059f190
push dword [esp + 0x38]
mov edx, dword [esp + 0x54]
mov esi, eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x5c]
push edx
push eax
call fcn.0059f120
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x40]
inc edx
mov dword [esp + 0x54], eax
movsx cx, byte [ecx + esi]
mov dword [esp + 0x40], edx
mov word [edi], cx
sub edi, 2
mov ecx, dword [esp + 0x44]
inc ecx
cmp ecx, 3
jne 0x50d00b
mov ecx, dword [esp + 0x50]
or eax, ecx
je 0x50d0a1
mov ax, word [0x62e6a8]
mov esi, dword [esp + 0x54]
mov word [edi], ax
sub edi, 2
inc edx
mov dword [esp + 0x40], edx
jmp 0x50cf8c
mov esi, dword ds:[esp + 0x54]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x50]
or eax, ecx
mov dword [esp + 0x40], edx
jne 0x50cf92
jmp 0x50d0a1
mov ebx, dword [esp + 0x2c]
lea esp, [esp]
push dword [esp + 0x38]
push ebx
push ecx
push esi
call fcn.0059f190
push dword [esp + 0x38]
mov edx, dword [esp + 0x54]
mov esi, eax
mov eax, dword [esp + 0x58]
push ebx
push edx
push eax
call fcn.0059f120
mov dword [esp + 0x54], eax
mov ecx, edx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
inc edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], edx
movsx ax, byte [eax + esi]
mov esi, dword [esp + 0x54]
mov word [edi], ax
mov eax, esi
sub edi, 2
or eax, ecx
jne 0x50d030
mov ebx, dword [esp + 0x44]
jmp 0x50d0a1
mov eax, 0x30
lea edi, [esp + 0x4f4]
mov edx, 1
mov word [esp + 0x4f6], ax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x4c]
xor ecx, ecx
cmp dword [esp + 0x3c], ecx
je 0x50d0b4
mov ecx, 1
jmp 0x50d0c1
test eax, 0x20000
mov esi, 1
cmovne ecx, esi
and eax, 0x50000
cmp eax, 0x40000
jne 0x50d0ed
mov eax, dword [esp + 0x48]
movzx esi, word [eax + 6]
lea eax, [ecx + edx]
cmp eax, esi
jae 0x50d0ed
or dword [esp + 0x3c], 4
mov eax, esi
sub eax, ecx
sub eax, edx
mov dword [esp + 0x68], eax
add ecx, eax
lea eax, [ecx + edx]
add edi, 2
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], edi
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jae 0x50d17a
add eax, eax
mov dword [esp + 0x9c], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0x9c]
push 0
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0xa4], edx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x28]
push ebx
push dword [eax + 4]
push dword [esi + 4]
call fcn.00580c90
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d16a
call fcn.004fbd80
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x40]
shr ebx, 1
mov dword [esp + 0x28], esi
lea ebx, [eax + ebx*2]
mov eax, dword ds:[esp + 0x3c]
test al, 1
je 0x50d18b
mov ecx, 0x2d
jmp 0x50d19c
mov ecx, dword [esp + 0x48]
test dword [ecx], 0x20000
je 0x50d1a2
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50d1c7
mov esi, dword [esp + 0x68]
test esi, esi
je 0x50d1c4
mov ecx, esi
mov eax, 0x300030
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [esp + 0x30]
lea ebx, [ebx + esi*2]
lea esi, [edx + edx]
push esi
push edi
push ebx
call fcn.00580c90
mov ecx, dword [esp + 0x38]
add esp, 0xc
add ebx, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], ebx
jmp 0x50da5b
mov dword [esp + 0x3c], 0
fstp st(1)
fstp st(0)
test dl, 0x40
je 0x50d20f
movzx edx, word ds:[esi + 4]
cmp edx, 0xa2
jbe 0x50d214
mov edx, 0xa2
jmp 0x50d214
mov edx, 6
fld qword [esi + 0x10]
lea edi, [esp + 0xf9]
mov esi, dword [esp + 0x4c]
sub esp, 0x10
mov eax, edi
mov dword [esp + 0x40], edi
mov ecx, esi
fstp qword [esp + 8]
push eax
call fcn.00570ee0
test al, al
jne 0x50d244
mov byte [esp + 0xf9], al
jmp 0x50d2a8
mov edx, dword [0x635ce4]
test edx, edx
je 0x50d279
mov al, byte ds:[esp + 0xf9]
lea ecx, [esp + 0xf9]
test al, al
je 0x50d279
cmp al, 0x2e
je 0x50d272
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50d264
jmp 0x50d279
mov al, byte [0x62e49c]
mov byte [ecx], al
lea esp, [esp]
test esi, 0x20000000
je 0x50d2a8
lea eax, [esp + 0xf9]
test edx, edx
je 0x50d29f
push edx
push eax
call fcn.005893b3
add esp, 8
jmp 0x50d2a8
push eax
call fcn.00589357
add esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
test edx, 0x8000
je 0x50d332
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
mov ah, byte [0x62e49c]
test al, al
je 0x50d2de
cmp al, ah
je 0x50d2de
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50d2d2
mov al, byte [ecx]
inc ecx
test al, al
je 0x50d332
mov al, byte [ecx]
test al, al
je 0x50d304
jmp 0x50d2f0
cmp al, 0x65
je 0x50d304
cmp al, 0x45
je 0x50d304
mov al, byte ds:[ecx + 1]
inc ecx
test al, al
jne 0x50d2f0
mov al, byte [ecx - 1]
mov esi, ecx
dec ecx
cmp al, 0x30
jne 0x50d318
mov edi, edi
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x50d310
cmp al, ah
lea edx, [ecx - 1]
cmovne edx, ecx
mov al, byte [esi]
lea edx, [edx + 1]
mov byte [edx], al
lea esi, [esi + 1]
test al, al
jne 0x50d320
mov edx, dword [esp + 0x2c]
lea esi, [esp + 0xf9]
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x50d340
sub esi, ecx
cmp byte [esp + 0xf9], 0x2d
jne 0x50d369
lea edi, [esp + 0xfa]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x30], edi
dec esi
jmp 0x50d37f
mov ecx, dword [esp + 0x3c]
test edx, 0x20000
mov eax, 2
cmovne ecx, eax
mov dword [esp + 0x3c], ecx
mov eax, edx
and eax, 0x13000
cmp eax, 0x10000
jne 0x50d515
mov al, byte [edi]
mov ecx, edi
sub al, 0x30
mov dword [esp + 0x40], edi
cmp al, 0xa
jae 0x50d3ae
nop
mov al, byte [ecx + 1]
inc ecx
sub al, 0x30
cmp al, 0xa
jb 0x50d3a0
mov dword [esp + 0x40], ecx
sub ecx, edi
mov dword [esp + 0x2c], ecx
lea ecx, [ecx + 2]
mov dword [esp + 0x30], ecx
je 0x50d3cb
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
dec eax
jmp 0x50d3d1
xor eax, eax
mov dword [esp + 0x30], ecx
lea ecx, [eax + esi]
mov dword [esp + 0x38], eax
add ecx, ecx
cmp dword [esp + 0x3c], 0
lea eax, [ecx + 2]
cmove eax, ecx
mov ecx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x34]
cmp eax, ecx
jae 0x50d464
add eax, eax
mov dword [esp + 0xa4], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0xa4]
push 0
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0xac], edx
call sym.SystemInformer.exe_PhCreateString3
push dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00580c90
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d454
call fcn.004fbd80
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 4]
shr edx, 1
mov dword [esp + 0x28], ebx
lea ebx, [ecx + edx*2]
mov eax, dword [esp + 0x30]
xor edx, edx
div dword [esp + 0x60]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
test al, 1
je 0x50d482
mov eax, 0x2d
jmp 0x50d48b
test al, 2
je 0x50d491
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x50d4da
lea esp, [esp]
movsx ax, byte [edi]
dec ecx
inc edi
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x50d4d2
test ecx, ecx
je 0x50d4d6
movzx eax, word [0x62e6a8]
dec ecx
mov word [ebx], ax
mov edx, 1
movsx eax, byte [edi]
mov word [ebx + 2], ax
add ebx, 4
inc edi
test ecx, ecx
jne 0x50d4a0
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], 0
mov edx, ebx
mov edi, dword [esp + 0x24]
je 0x50d4ea
add edi, 2
mov ecx, esi
sub ecx, eax
mov eax, dword [esp + 0x38]
add eax, esi
push edx
push ecx
lea ebx, [ebx + ecx*2]
lea edi, [edi + eax*2]
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x30], edi
call sym.SystemInformer.exe_PhZeroExtendToUtf16Buffer
mov ecx, edi
jmp 0x50da5b
mov eax, dword [esp + 0x48]
xor ecx, ecx
cmp dword [esp + 0x3c], ecx
setne cl
test dword [eax], 0x40000
mov edx, ecx
je 0x50d549
movzx edi, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edi
jae 0x50d549
or dword [esp + 0x3c], 4
mov eax, edi
sub eax, ecx
sub eax, esi
mov dword [esp + 0x6c], eax
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x24]
lea eax, [edx + esi]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jae 0x50d5cb
add eax, eax
mov dword [esp + 0xac], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0xac]
push 0
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0xb4], edx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x28]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00580c90
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d5bf
call fcn.004fbd80
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x28], edi
lea ebx, [eax + ebx*2]
mov eax, dword [esp + 0x3c]
test al, 1
je 0x50d5da
mov ecx, 0x2d
jmp 0x50d5e3
test al, 2
je 0x50d5e9
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50d60a
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x50d607
mov ecx, edx
mov eax, 0x300030
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea ebx, [ebx + edx*2]
mov eax, dword [esp + 0x2c]
mov edx, ebx
push edx
mov ecx, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
lea ebx, [ebx + esi*2]
push ecx
push eax
mov dword [esp + 0x50], ebx
call sym.SystemInformer.exe_PhZeroExtendToUtf16Buffer
mov ecx, dword [esp + 0x24]
jmp 0x50da5b
mov eax, dword ds:[esp + 0x48]
xor edi, edi
mov esi, dword [esi + 0x10]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb8], edi
mov edx, dword [eax + 0x14]
mov eax, edx
mov ecx, edx
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0xb4], eax
or esi, edx
mov dword [esp + 0xbc], ecx
fild qword [esp + 0xb0]
fild qword [esp + 0xb8]
fchs
faddp st(1)
jne 0x50d71b
mov esi, dword [esp + 0x24]
fstp st(0)
mov eax, dword [esp + 0x34]
add esi, 2
fstp st(1)
fstp st(0)
cmp eax, esi
jae 0x50d701
add eax, eax
mov dword [esp + 0xc4], edi
cmp eax, esi
mov ecx, esi
push edi
cmovae ecx, eax
lea eax, [esp + 0xc4]
push edi
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0xcc], ecx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x28]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00580c90
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d6f5
call fcn.004fbd80
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x28], edi
lea ebx, [eax + ebx*2]
mov eax, 0x30
mov ecx, esi
mov word [ebx], ax
add ebx, 2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ecx
jmp 0x50da5b
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
test edx, 0x100
je 0x50d731
movzx ecx, byte [esi + 0xa]
jmp 0x50d737
mov ecx, dword [0x631998]
fcomi st(2)
jb 0x50d750
jmp 0x50d740
cmp edi, 7
jae 0x50d750
cmp edi, ecx
jae 0x50d750
fmul st(1)
inc edi
fcomi st(2)
jae 0x50d73b
fstp st(2)
fstp st(0)
test dl, 0x40
je 0x50d75f
movzx eax, word [esi + 4]
jmp 0x50d764
mov eax, 2
movzx edx, ax
lea esi, [esp + 0xf9]
cmp edx, 0xa2
mov dword [esp + 0x2c], 0
mov eax, 0xa2
mov ecx, 0x1804b
cmova edx, eax
sub esp, 0x10
mov eax, esi
fstp qword [esp + 8]
push eax
call fcn.00570ee0
test al, al
jne 0x50d7a5
mov byte [esp + 0xf9], al
jmp 0x50d7d9
cmp dword [0x635ce4], 0
je 0x50d7d9
mov al, byte ds:[esp + 0xf9]
lea ecx, [esp + 0xf9]
test al, al
je 0x50d7d9
cmp al, 0x2e
je 0x50d7d2
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50d7c4
jmp 0x50d7d9
mov al, byte [0x62e49c]
mov byte [ecx], al
lea ecx, [esp + 0xf9]
call fcn.0050c720
lea ecx, [esp + 0xf9]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50d7f0
sub ecx, edx
cmp byte [esp + 0xf9], 0x2d
mov dword [esp + 0x40], ecx
jne 0x50d81b
dec ecx
mov dword [esp + 0x2c], 1
lea esi, [esp + 0xfa]
mov dword [esp + 0x40], ecx
mov al, byte [esi]
mov edx, esi
sub al, 0x30
mov dword [esp + 0x50], esi
cmp al, 0xa
jae 0x50d83e
lea esp, [esp]
mov al, byte [edx + 1]
inc edx
sub al, 0x30
cmp al, 0xa
jb 0x50d830
mov dword [esp + 0x50], edx
sub edx, esi
mov dword [esp + 0x38], edx
lea edx, [edx + 2]
mov dword [esp + 0x30], edx
je 0x50d85b
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 1
dec eax
jmp 0x50d861
xor eax, eax
mov dword [esp + 0x30], edx
add ecx, eax
mov dword [esp + 0x4c], eax
add ecx, ecx
cmp dword [esp + 0x2c], 0
lea eax, [ecx + 2]
cmove eax, ecx
mov ecx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x34]
cmp eax, ecx
jae 0x50d8f5
add eax, eax
mov dword [esp + 0xcc], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0xcc]
push 0
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0xd4], edx
call sym.SystemInformer.exe_PhCreateString3
push dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00580c90
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d8e5
mov edi, edi
call fcn.004fbd80
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 4]
shr edx, 1
mov dword [esp + 0x28], ebx
lea ebx, [ecx + edx*2]
mov eax, dword [esp + 0x30]
xor edx, edx
div dword [esp + 0x60]
cmp dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x38]
je 0x50d915
mov eax, 0x2d
mov word [ebx], ax
add ebx, 2
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50d95a
lea ecx, [ecx]
movsx ax, byte [esi]
dec ecx
inc esi
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x50d952
test ecx, ecx
je 0x50d956
movzx eax, word [0x62e6a8]
dec ecx
mov word [ebx], ax
mov edx, 1
movsx eax, byte [esi]
mov word [ebx + 2], ax
add ebx, 4
inc esi
test ecx, ecx
jne 0x50d920
mov eax, dword [esp + 0x38]
cmp dword ds:[esp + 0x2c], 0
je 0x50d967
add dword [esp + 0x24], 2
mov esi, dword [esp + 0x40]
push ebx
sub esi, eax
push esi
push dword [esp + 0x58]
call sym.SystemInformer.exe_PhZeroExtendToUtf16Buffer
mov eax, dword ds:[esp + 0x40]
lea esi, [ebx + esi*2]
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
lea ebx, [ecx + eax*2]
mov ecx, dword [edi*8 + 0x630d40]
lea eax, [ebx + 2]
mov dword [esp + 0x30], ebx
add eax, ecx
cmp edx, eax
jae 0x50da13
add ecx, 2
mov dword [esp + 0xd4], 0
lea eax, [edx + edx]
add ecx, ebx
cmp eax, ecx
push 0
cmovae ecx, eax
lea eax, [esp + 0xd4]
push 0
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0xdc], ecx
call sym.SystemInformer.exe_PhCreateString3
mov esi, eax
mov eax, dword [esp + 0x28]
push ebx
push dword [eax + 4]
push dword [esi + 4]
call fcn.00580c90
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50da05
nop
call fcn.004fbd80
mov eax, dword [esi + 4]
mov ecx, ebx
shr ecx, 1
mov dword [esp + 0x28], esi
lea esi, [eax + ecx*2]
mov eax, 0x20
mov word [esi], ax
lea eax, [esi + 2]
push dword [edi*8 + 0x630d40]
push dword [edi*8 + 0x630d44]
push eax
call fcn.00580c90
mov ecx, dword [edi*8 + 0x630d40]
add esp, 0xc
lea eax, [ecx + 2]
shr eax, 1
lea ebx, [esi + eax*2]
mov eax, dword [esp + 0x30]
add eax, 2
mov dword [esp + 0x44], ebx
add ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x50da5b
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x48]
mov edi, ecx
sub edi, dword [esp + 0xf0]
test dword [eax], 0xc0000000
je 0x50dba3
movzx esi, word ds:[eax + 6]
add esi, esi
cmp edi, esi
jae 0x50dba3
mov edx, dword [esp + 0x34]
sub esi, edi
add ecx, esi
mov dword [esp + 0x38], ecx
cmp edx, ecx
jae 0x50db0c
lea eax, [edx + edx]
mov dword [esp + 0xdc], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0xdc]
push 0
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0xe4], edx
call sym.SystemInformer.exe_PhCreateString3
push dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00580c90
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50daf8
call fcn.004fbd80
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [esp + 0x28], ebx
lea ebx, [eax + ecx*2]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
test cl, cl
jns 0x50db18
movzx eax, word [eax + 8]
jmp 0x50db1d
mov eax, 0x20
shr esi, 1
mov dword [esp + 0x30], eax
test ecx, ecx
jns 0x50db46
test esi, esi
je 0x50db42
movzx edx, ax
mov ecx, esi
mov eax, edx
mov edi, ebx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
add esi, esi
jmp 0x50db95
mov eax, edi
mov ecx, ebx
and eax, 0xfffffffe
sub ecx, eax
lea eax, [esi + esi]
push edi
mov dword [esp + 0x30], eax
add eax, ecx
push ecx
lfence
push eax
mov dword [esp + 0xfc], ecx
call fcn.00580c90
add esp, 0xc
test esi, esi
je 0x50db91
mov eax, dword [esp + 0x30]
mov ecx, esi
mov edi, dword [esp + 0xf0]
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
add ebx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ecx
mov eax, dword ds:[ebp + 0xc]
fld qword [esp + 0xe0]
fld qword [esp + 0xe8]
mov edi, dword [esp + 0x34]
test eax, eax
jne 0x50c914
mov esi, dword [esp + 0x28]
fstp st(1)
fstp st(0)
mov eax, dword [esi + 4]
xor edx, edx
mov dword [esi], ecx
shr ecx, 1
pop edi
mov word [eax + ecx*2], dx
mov eax, esi
mov ecx, dword [esp + 0x4f8]
pop esi
pop ebx
xor ecx, esp
call fcn.0057e94f
mov esp, ebp
pop ebp
ret 0xc