Function at 0x50c820
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 [0x630d48], 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
mov ebx, dword [esi + 4]
mov dword [esp + 0x44], ebx
jne 0x50c967
mov eax, 0x630d48
lock bts dword [eax], 0x1f
setb al
test al, al
jne 0x50c94c
push 4
lea eax, [esp + 0xf4]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x50c8e8
mov ax, word [esp + 0xf0]
test ax, ax
je 0x50c8e8
cmp word [esp + 0xf2], 0
jne 0x50c8e8
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 0x50c922
mov ax, word [esp + 0xf0]
test ax, ax
je 0x50c922
cmp word [esp + 0xf2], 0
jne 0x50c922
mov word [0x62e6a8], ax
cmp word [0x62e49c], 0x2e
je 0x50c940
push 0x5caac0
push 0
call fcn.0058a0bb
add esp, 8
mov dword [0x635ce4], eax
mov ecx, 0x630d48
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x50c965
test byte [0x630d48], 1
jne 0x50c967
xor edx, edx
mov ecx, 0x630d48
call sym.SystemInformer.exe_PhfWaitForEvent
xor ecx, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x50dc50
fld qword [0x61c8c0]
fst qword [esp + 0xe0]
fld qword [0x61c850]
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.0x50c9cc
jmp dword [eax*4 + 0x50dc78]
lea esi, [ecx + 2]
fstp st(1)
fstp st(0)
cmp edi, esi
jae 0x50ca42
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.00581150
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50ca36
call fcn.004fbe40
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 0x50dadb
add ecx, dword [esi + 0x10]
fstp st(1)
fstp st(0)
cmp edi, ecx
jae 0x50cad9
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.00581150
add esp, 0xc
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50cac5
lea esp, [esp]
call fcn.004fbe40
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 0x50cadd
mov edi, dword [esp + 0x24]
push dword [esi + 0x10]
push dword [esi + 0x14]
push ebx
call fcn.00581150
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 0x50dadb
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 0x50cb98
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.00581150
mov ecx, dword ds:[esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50cb88
call fcn.004fbe40
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.00581150
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 0x50dadb
fstp st(1)
fstp st(0)
cmp edx, 3
jne 0x50cbd2
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x2c], ecx
jmp 0x50cbe9
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 0x50cbe0
sub esi, edx
push esi
push ecx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeSize]
test eax, eax
js 0x50caff
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
lfence
mov eax, dword [esp + 0x58]
lea ecx, [eax + edi]
cmp edx, ecx
jae 0x50cc8f
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.00581150
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50cc75
call fcn.004fbe40
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 0x50caff
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 0x50dadb
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 0x50cce8
mov ecx, dword [esi + 0x10]
fstp st(1)
fstp st(0)
mov dword [esp + 0x2c], 0xa
test edx, 0x100
je 0x50cd0f
mov al, byte ds:[esi + 0xa]
cmp al, 2
jb 0x50cd0f
cmp al, 0x45
ja 0x50cd0f
movzx eax, al
mov dword [esp + 0x2c], eax
test edx, 0x20000000
lea edi, [esp + 0x4f6]
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, 0x6178c0
cmovne eax, esi
xor esi, esi
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x50cde2
test edx, 0x10000
je 0x50cdb7
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 0x50cd9f
test ecx, ecx
je 0x50cda4
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 0x50cd45
mov edx, dword [esp + 0x4c]
xor ecx, ecx
cmp dword [esp + 0x3c], ecx
je 0x50cdfb
mov ecx, 1
jmp 0x50ce09
mov ebx, dword [esp + 0x40]
jmp 0x50cdc0
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 0x50cdc0
mov ebx, dword ds:[esp + 0x44]
jmp 0x50cda4
mov eax, 0x30
lea edi, [esp + 0x4f4]
mov word [esp + 0x4f6], ax
lea esi, [eax - 0x2f]
jmp 0x50cda8
test edx, 0x20000
mov eax, 1
cmovne ecx, eax
and edx, 0x50000
cmp edx, 0x40000
jne 0x50ce37
mov eax, dword [esp + 0x48]
movzx edx, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edx
jae 0x50ce37
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 0x50cec4
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.00581150
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50ceb4
call fcn.004fbe40
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 0x50ced3
mov ecx, 0x2d
jmp 0x50cee4
mov ecx, dword [esp + 0x48]
test dword [ecx], 0x20000
je 0x50ceea
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50cf0f
mov edx, dword [esp + 0x64]
test edx, edx
je 0x50cf0c
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.00581150
mov ecx, dword [esp + 0x38]
add esp, 0xc
add ebx, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], ebx
jmp 0x50dadb
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 0x50cf78
jl 0x50cf4f
test esi, esi
jae 0x50cf78
neg esi
mov dword [esp + 0x3c], 1
adc ecx, 0
neg ecx
jmp 0x50cf70
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 0x50cfcb
mov al, byte [eax + 0xa]
mov dword [esp + 0x2c], 0xa
mov dword [esp + 0x38], 0
cmp al, 2
jb 0x50cfcb
mov dword [esp + 0x2c], 0xa
mov dword [esp + 0x38], 0
cmp al, 0x45
ja 0x50cfcb
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, 0x6178c0
cmovne eax, edi
lea edi, [esp + 0x4f6]
mov dword [esp + 0x30], eax
mov eax, esi
or eax, ecx
je 0x50d104
jmp 0x50d000
test edx, 0x10000
je 0x50d0a8
xor eax, eax
mov dword [esp + 0x44], eax
push dword ds:[esp + 0x38]
push dword [esp + 0x30]
push ecx
push esi
call fcn.0059f650
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.0059f5e0
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 0x50d08b
mov ecx, dword [esp + 0x50]
or eax, ecx
je 0x50d121
mov ax, word [0x62e6a8]
mov esi, dword [esp + 0x54]
mov word [edi], ax
sub edi, 2
inc edx
mov dword [esp + 0x40], edx
jmp 0x50d00c
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 0x50d012
jmp 0x50d121
mov ebx, dword [esp + 0x2c]
lea esp, [esp]
push dword [esp + 0x38]
push ebx
push ecx
push esi
call fcn.0059f650
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.0059f5e0
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 0x50d0b0
mov ebx, dword [esp + 0x44]
jmp 0x50d121
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 0x50d134
mov ecx, 1
jmp 0x50d141
test eax, 0x20000
mov esi, 1
cmovne ecx, esi
and eax, 0x50000
cmp eax, 0x40000
jne 0x50d16d
mov eax, dword [esp + 0x48]
movzx esi, word [eax + 6]
lea eax, [ecx + edx]
cmp eax, esi
jae 0x50d16d
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 0x50d1fa
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.00581150
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d1ea
call fcn.004fbe40
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 0x50d20b
mov ecx, 0x2d
jmp 0x50d21c
mov ecx, dword [esp + 0x48]
test dword [ecx], 0x20000
je 0x50d222
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50d247
mov esi, dword [esp + 0x68]
test esi, esi
je 0x50d244
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.00581150
mov ecx, dword [esp + 0x38]
add esp, 0xc
add ebx, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], ebx
jmp 0x50dadb
mov dword [esp + 0x3c], 0
fstp st(1)
fstp st(0)
test dl, 0x40
je 0x50d28f
movzx edx, word ds:[esi + 4]
cmp edx, 0xa2
jbe 0x50d294
mov edx, 0xa2
jmp 0x50d294
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.005713c0
test al, al
jne 0x50d2c4
mov byte [esp + 0xf9], al
jmp 0x50d328
mov edx, dword [0x635ce4]
test edx, edx
je 0x50d2f9
mov al, byte ds:[esp + 0xf9]
lea ecx, [esp + 0xf9]
test al, al
je 0x50d2f9
cmp al, 0x2e
je 0x50d2f2
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50d2e4
jmp 0x50d2f9
mov al, byte [0x62e49c]
mov byte [ecx], al
lea esp, [esp]
test esi, 0x20000000
je 0x50d328
lea eax, [esp + 0xf9]
test edx, edx
je 0x50d31f
push edx
push eax
call fcn.00589873
add esp, 8
jmp 0x50d328
push eax
call fcn.00589817
add esp, 4
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
test edx, 0x8000
je 0x50d3b2
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
mov ah, byte [0x62e49c]
test al, al
je 0x50d35e
cmp al, ah
je 0x50d35e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50d352
mov al, byte [ecx]
inc ecx
test al, al
je 0x50d3b2
mov al, byte [ecx]
test al, al
je 0x50d384
jmp 0x50d370
cmp al, 0x65
je 0x50d384
cmp al, 0x45
je 0x50d384
mov al, byte ds:[ecx + 1]
inc ecx
test al, al
jne 0x50d370
mov al, byte [ecx - 1]
mov esi, ecx
dec ecx
cmp al, 0x30
jne 0x50d398
mov edi, edi
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x50d390
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 0x50d3a0
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 0x50d3c0
sub esi, ecx
cmp byte [esp + 0xf9], 0x2d
jne 0x50d3e9
lea edi, [esp + 0xfa]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x30], edi
dec esi
jmp 0x50d3ff
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 0x50d595
mov al, byte [edi]
mov ecx, edi
sub al, 0x30
mov dword [esp + 0x40], edi
cmp al, 0xa
jae 0x50d42e
nop
mov al, byte [ecx + 1]
inc ecx
sub al, 0x30
cmp al, 0xa
jb 0x50d420
mov dword [esp + 0x40], ecx
sub ecx, edi
mov dword [esp + 0x2c], ecx
lea ecx, [ecx + 2]
mov dword [esp + 0x30], ecx
je 0x50d44b
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
dec eax
jmp 0x50d451
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 0x50d4e4
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.00581150
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d4d4
call fcn.004fbe40
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 0x50d502
mov eax, 0x2d
jmp 0x50d50b
test al, 2
je 0x50d511
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x50d55a
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 0x50d552
test ecx, ecx
je 0x50d556
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 0x50d520
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], 0
mov edx, ebx
mov edi, dword [esp + 0x24]
je 0x50d56a
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 0x50dadb
mov eax, dword [esp + 0x48]
xor ecx, ecx
cmp dword [esp + 0x3c], ecx
setne cl
test dword [eax], 0x40000
mov edx, ecx
je 0x50d5c9
movzx edi, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edi
jae 0x50d5c9
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 0x50d64b
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.00581150
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d63f
call fcn.004fbe40
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 0x50d65a
mov ecx, 0x2d
jmp 0x50d663
test al, 2
je 0x50d669
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50d68a
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x50d687
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 0x50dadb
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 0x50d79b
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 0x50d781
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.00581150
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d775
call fcn.004fbe40
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 0x50dadb
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
test edx, 0x100
je 0x50d7b1
movzx ecx, byte [esi + 0xa]
jmp 0x50d7b7
mov ecx, dword [0x6319a8]
fcomi st(2)
jb 0x50d7d0
jmp 0x50d7c0
cmp edi, 7
jae 0x50d7d0
cmp edi, ecx
jae 0x50d7d0
fmul st(1)
inc edi
fcomi st(2)
jae 0x50d7bb
fstp st(2)
fstp st(0)
test dl, 0x40
je 0x50d7df
movzx eax, word [esi + 4]
jmp 0x50d7e4
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.005713c0
test al, al
jne 0x50d825
mov byte [esp + 0xf9], al
jmp 0x50d859
cmp dword [0x635ce4], 0
je 0x50d859
mov al, byte ds:[esp + 0xf9]
lea ecx, [esp + 0xf9]
test al, al
je 0x50d859
cmp al, 0x2e
je 0x50d852
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50d844
jmp 0x50d859
mov al, byte [0x62e49c]
mov byte [ecx], al
lea ecx, [esp + 0xf9]
call fcn.0050c7a0
lea ecx, [esp + 0xf9]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50d870
sub ecx, edx
cmp byte [esp + 0xf9], 0x2d
mov dword [esp + 0x40], ecx
jne 0x50d89b
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 0x50d8be
lea esp, [esp]
mov al, byte [edx + 1]
inc edx
sub al, 0x30
cmp al, 0xa
jb 0x50d8b0
mov dword [esp + 0x50], edx
sub edx, esi
mov dword [esp + 0x38], edx
lea edx, [edx + 2]
mov dword [esp + 0x30], edx
je 0x50d8db
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 1
dec eax
jmp 0x50d8e1
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 0x50d975
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.00581150
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d965
mov edi, edi
call fcn.004fbe40
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 0x50d995
mov eax, 0x2d
mov word [ebx], ax
add ebx, 2
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50d9da
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 0x50d9d2
test ecx, ecx
je 0x50d9d6
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 0x50d9a0
mov eax, dword [esp + 0x38]
cmp dword ds:[esp + 0x2c], 0
je 0x50d9e7
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 + 0x630d50]
lea eax, [ebx + 2]
mov dword [esp + 0x30], ebx
add eax, ecx
cmp edx, eax
jae 0x50da93
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.00581150
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50da85
nop
call fcn.004fbe40
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 + 0x630d50]
push dword [edi*8 + 0x630d54]
push eax
call fcn.00581150
mov ecx, dword [edi*8 + 0x630d50]
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 0x50dadb
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x48]
mov edi, ecx
sub edi, dword [esp + 0xf0]
test dword [eax], 0xc0000000
je 0x50dc23
movzx esi, word ds:[eax + 6]
add esi, esi
cmp edi, esi
jae 0x50dc23
mov edx, dword [esp + 0x34]
sub esi, edi
add ecx, esi
mov dword [esp + 0x38], ecx
cmp edx, ecx
jae 0x50db8c
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.00581150
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50db78
call fcn.004fbe40
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 0x50db98
movzx eax, word [eax + 8]
jmp 0x50db9d
mov eax, 0x20
shr esi, 1
mov dword [esp + 0x30], eax
test ecx, ecx
jns 0x50dbc6
test esi, esi
je 0x50dbc2
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 0x50dc15
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.00581150
add esp, 0xc
test esi, esi
je 0x50dc11
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 0x50c994
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.0057ee0f
mov esp, ebp
pop ebp
ret 0xc