Function at 0x50d020
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x4f4
mov eax, dword [0x62f040]
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 + 0x4c], 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 + 0x34], edi
mov dword [esp + 0xfc], edi
call sym.SystemInformer.exe_PhCreateString3
mov esi, eax
xor ecx, ecx
test byte [0x632ce4], 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ecx
mov ebx, dword [esi + 4]
mov dword [esp + 0x30], ebx
jne 0x50d167
mov eax, 0x632ce4
lock bts dword [eax], 0x1f
setb al
test al, al
jne 0x50d14c
push 4
lea eax, [esp + 0xf4]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x50d0e8
mov ax, word [esp + 0xf0]
test ax, ax
je 0x50d0e8
cmp word [esp + 0xf2], 0
jne 0x50d0e8
mov word [0x63049c], 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 0x50d122
mov ax, word [esp + 0xf0]
test ax, ax
je 0x50d122
cmp word [esp + 0xf2], 0
jne 0x50d122
mov word [0x630698], ax
cmp word [0x63049c], 0x2e
je 0x50d140
push 0x5ccc90
push 0
call fcn.0058b5ab
add esp, 8
mov dword [0x637c20], eax
mov ecx, 0x632ce4
call sym.SystemInformer.exe_PhfEndInitOnce
jmp 0x50d165
test byte [0x632ce4], 1
jne 0x50d167
xor edx, edx
mov ecx, 0x632ce4
call sym.SystemInformer.exe_PhfWaitForEvent
xor ecx, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x50e83b
fld qword [0x61ec00]
fst qword [esp + 0xe0]
fld qword [0x61eb90]
fst qword [esp + 0xe8]
mov dword [esp + 0x48], 3
dec eax
mov dword [esp + 0xf0], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov esi, eax
add eax, 0x18
mov dword [esp + 0x34], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], 0
mov edx, dword [esi]
mov eax, edx
and eax, 0x3f
mov dword [esp + 0x3c], edx
cmp eax, 0xd
ja case.default.0x50d1cc
jmp dword [eax*4 + 0x50e864]
lea esi, [ecx + 2]
fstp st(1)
fstp st(0)
cmp edi, esi
jae 0x50d242
lea eax, [edi + edi]
mov dword [esp + 0x64], 0
cmp eax, esi
mov ecx, esi
push 0
cmovae ecx, eax
lea eax, [esp + 0x64]
push 0
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x6c], ecx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d236
call fcn.004fc420
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x14], edi
lea ebx, [eax + ebx*2]
mov ecx, dword [esp + 0x34]
mov ax, word [ecx + 0x10]
mov ecx, esi
mov word [ebx], ax
add ebx, 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ecx
jmp 0x50e6c8
add ecx, dword [esi + 0x10]
fstp st(1)
fstp st(0)
cmp edi, ecx
jae 0x50d2d2
lea eax, [edi + edi]
mov dword [esp + 0x6c], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0x6c]
push 0
push eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x74], edx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x14]
mov esi, eax
mov edi, dword [esp + 0x10]
push edi
push dword [ebx + 4]
push dword [esi + 4]
call fcn.00582850
add esp, 0xc
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d2be
call fcn.004fc420
mov eax, dword [esi + 4]
mov ecx, edi
shr ecx, 1
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x34]
lea ebx, [eax + ecx*2]
jmp 0x50d2d6
mov edi, dword [esp + 0x10]
push dword ds:[esi + 0x10]
push dword [esi + 0x14]
push ebx
call fcn.00582850
mov eax, dword [esi + 0x10]
add esp, 0xc
shr eax, 1
add edi, dword [esi + 0x10]
mov dword [esp + 0x10], edi
lea ebx, [ebx + eax*2]
mov dword [esp + 0x30], ebx
mov ecx, dword ds:[esp + 0x10]
jmp 0x50e6c8
push dword [esi + 0x10]
fstp st(1)
fstp st(0)
call sym.SystemInformer.exe_PhCountStringZ
mov edi, dword ds:[esp + 0x10]
mov edx, dword [esp + 0x28]
lea esi, [eax + eax]
add edi, esi
cmp edx, edi
jae 0x50d38f
lea eax, [edx + edx]
mov dword [esp + 0x74], 0
cmp eax, edi
mov ecx, edi
push 0
cmovae ecx, eax
lea eax, [esp + 0x74]
push 0
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x7c], ecx
call sym.SystemInformer.exe_PhCreateString3
push dword ds:[esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d37f
call fcn.004fc420
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [esp + 0x14], ebx
lea ebx, [eax + ecx*2]
mov ecx, dword [esp + 0x34]
push esi
push dword [ecx + 0x10]
push ebx
call fcn.00582850
add esp, 0xc
mov ecx, edi
shr esi, 1
mov dword [esp + 0x10], ecx
lea ebx, [ebx + esi*2]
mov dword [esp + 0x30], ebx
jmp 0x50e6c8
fstp st(1)
fstp st(0)
cmp edx, 3
jne 0x50d3c9
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x18], ecx
jmp 0x50d3de
mov ecx, dword [esi + 0x10]
mov esi, ecx
mov dword [esp + 0x18], ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x50d3d5
sub esi, edx
push esi
push ecx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeSize]
test eax, eax
js 0x50d2fb
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
lfence
mov eax, dword [esp + 0x44]
lea ecx, [eax + edi]
cmp edx, ecx
jae 0x50d47f
lea eax, [edx + edx]
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 + 0x34], edx
mov dword [esp + 0x84], edx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d465
nop
call fcn.004fc420
mov eax, dword [edi + 4]
mov ecx, ebx
shr ecx, 1
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
lea ebx, [eax + ecx*2]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], ebx
push esi
push dword [esp + 0x1c]
push 0
push eax
push ebx
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
test eax, eax
js 0x50d2fb
mov eax, dword [esp + 0x44]
shr eax, 1
add edi, dword [esp + 0x44]
mov dword [esp + 0x10], edi
mov ecx, edi
lea ebx, [ebx + eax*2]
mov dword [esp + 0x30], ebx
jmp 0x50e6c8
mov ecx, 0x10
mov eax, esi
mov eax, dword [eax + ecx]
mov ecx, eax
shr ecx, 0x1f
mov dword [esp + 0x40], ecx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
mov edx, dword [esp + 0x3c]
jmp 0x50d4d5
mov ecx, dword [esi + 0x10]
fstp st(1)
fstp st(0)
mov dword [esp + 0x18], 0xa
test edx, 0x100
je 0x50d4fb
mov al, byte [esi + 0xa]
cmp al, 2
jb 0x50d4fb
cmp al, 0x45
ja 0x50d4fb
movzx eax, al
mov dword [esp + 0x18], eax
test edx, 0x20000000
lea edi, [esp + 0x4f6]
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, 0x619b10
cmovne eax, esi
xor esi, esi
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x50d5d5
test edx, 0x10000
je 0x50d5b1
xor eax, eax
mov dword [esp + 0x24], eax
lea ebx, [ebx]
mov eax, ecx
xor edx, edx
div dword [esp + 0x18]
inc esi
mov ecx, eax
mov eax, dword [esp + 0x2c]
movsx ax, byte [eax + edx]
mov word [edi], ax
sub edi, 2
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 3
jne 0x50d59a
test ecx, ecx
je 0x50d59e
movzx eax, word [0x630698]
xor edx, edx
mov word [edi], ax
mov eax, ecx
div dword [esp + 0x18]
mov dword [esp + 0x24], 1
mov ecx, eax
mov eax, dword [esp + 0x2c]
movsx eax, byte [edx + eax]
mov word [edi - 2], ax
add edi, 0xfffffffc
add esi, 2
test ecx, ecx
jne 0x50d540
mov edx, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [esp + 0x40], ecx
je 0x50d5ee
mov ecx, 1
jmp 0x50d5fc
mov ebx, dword [esp + 0x2c]
mov eax, ecx
xor edx, edx
div dword [esp + 0x18]
inc esi
mov ecx, eax
movsx ax, byte [ebx + edx]
mov word [edi], ax
sub edi, 2
test ecx, ecx
jne 0x50d5b5
mov ebx, dword [esp + 0x30]
jmp 0x50d59e
mov eax, 0x30
lea edi, [esp + 0x4f4]
mov word [esp + 0x4f6], ax
lea esi, [eax - 0x2f]
jmp 0x50d5a2
test edx, 0x20000
mov eax, 1
cmovne ecx, eax
and edx, 0x50000
cmp edx, 0x40000
jne 0x50d62a
mov eax, dword [esp + 0x34]
movzx edx, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edx
jae 0x50d62a
or dword [esp + 0x40], 4
mov eax, edx
sub eax, ecx
sub eax, esi
mov dword [esp + 0x50], eax
add ecx, eax
mov edx, dword [esp + 0x28]
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x10]
add edi, 2
mov dword [esp + 0x20], edi
lea ecx, [ecx + eax*2]
mov dword [esp + 0x18], ecx
cmp edx, ecx
jae 0x50d6b8
lea eax, [edx + edx]
mov dword [esp + 0x84], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0x84]
push 0
push eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x8c], edx
call sym.SystemInformer.exe_PhCreateString3
push dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00582850
mov ecx, dword ds:[esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d6a8
call fcn.004fc420
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [esp + 0x14], ebx
lea ebx, [eax + ecx*2]
mov eax, dword ds:[esp + 0x40]
test al, 1
je 0x50d6cb
mov ecx, 0x2d
jmp 0x50d6dc
mov ecx, dword [esp + 0x34]
test dword [ecx], 0x20000
je 0x50d6e2
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50d707
mov edx, dword [esp + 0x50]
test edx, edx
je 0x50d704
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 + 0x20]
lea ebx, [ebx + edx*2]
add esi, esi
push esi
push edi
push ebx
call fcn.00582850
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ebx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ebx
jmp 0x50e6c8
mov eax, dword ds:[esp + 0x34]
fstp st(1)
mov esi, dword [esi + 0x10]
fstp st(0)
mov dword [esp + 0x1c], esi
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x38], ecx
test ecx, ecx
jg 0x50d771
jl 0x50d74a
test esi, esi
jae 0x50d771
neg esi
mov dword [esp + 0x40], 1
adc ecx, 0
neg ecx
jmp 0x50d769
mov eax, dword [esp + 0x34]
fstp st(1)
mov esi, dword [esi + 0x10]
fstp st(0)
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x24], 0
test edx, 0x100
je 0x50d7c8
mov al, byte ds:[eax + 0xa]
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x24], 0
cmp al, 2
jb 0x50d7c8
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x24], 0
cmp al, 0x45
ja 0x50d7c8
movzx eax, al
cdq
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
test edx, 0x20000000
mov dword [esp + 0x2c], 0
mov edi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, 0x619b10
cmovne eax, edi
lea edi, [esp + 0x4f6]
mov dword [esp + 0x20], eax
mov eax, esi
or eax, ecx
je 0x50d904
jmp 0x50d800
test edx, 0x10000
je 0x50d8ab
xor eax, eax
mov dword [esp + 0x30], eax
push dword ds:[esp + 0x24]
push dword [esp + 0x1c]
push ecx
push esi
call fcn.005a0b40
push dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov esi, eax
push dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.005a0ad0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x1c], eax
movsx cx, byte [ecx + esi]
mov dword [esp + 0x2c], edx
mov word [edi], cx
sub edi, 2
mov ecx, dword [esp + 0x30]
inc ecx
cmp ecx, 3
jne 0x50d88b
mov ecx, dword [esp + 0x38]
or eax, ecx
je 0x50d921
mov ax, word [0x630698]
mov esi, dword [esp + 0x1c]
mov word [edi], ax
sub edi, 2
inc edx
mov dword [esp + 0x2c], edx
jmp 0x50d80c
mov esi, dword ds:[esp + 0x1c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x38]
or eax, ecx
mov dword [esp + 0x2c], edx
jne 0x50d812
jmp 0x50d921
mov ebx, dword [esp + 0x18]
nop
push dword [esp + 0x24]
push ebx
push ecx
push esi
call fcn.005a0b40
push dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x20]
push ebx
push edx
push eax
call fcn.005a0ad0
mov dword [esp + 0x1c], eax
mov ecx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], edx
movsx ax, byte [eax + esi]
mov esi, dword [esp + 0x1c]
mov word [edi], ax
mov eax, esi
sub edi, 2
or eax, ecx
jne 0x50d8b0
mov ebx, dword [esp + 0x30]
jmp 0x50d921
mov eax, 0x30
lea edi, [esp + 0x4f4]
mov edx, 1
mov word [esp + 0x4f6], ax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [esp + 0x40], ecx
je 0x50d934
mov ecx, 1
jmp 0x50d941
test eax, 0x20000
mov esi, 1
cmovne ecx, esi
and eax, 0x50000
cmp eax, 0x40000
jne 0x50d96d
mov eax, dword [esp + 0x34]
movzx esi, word [eax + 6]
lea eax, [ecx + edx]
cmp eax, esi
jae 0x50d96d
or dword [esp + 0x40], 4
mov eax, esi
sub eax, ecx
sub eax, edx
mov dword [esp + 0x54], eax
add ecx, eax
lea eax, [ecx + edx]
add edi, 2
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edi
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
cmp eax, ecx
jae 0x50d9fa
add eax, eax
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 + 0x34], edx
mov dword [esp + 0x94], edx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x14]
push ebx
push dword [eax + 4]
push dword [esi + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50d9ea
call fcn.004fc420
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x2c]
shr ebx, 1
mov dword [esp + 0x14], esi
lea ebx, [eax + ebx*2]
mov eax, dword ds:[esp + 0x40]
test al, 1
je 0x50da0b
mov ecx, 0x2d
jmp 0x50da1c
mov ecx, dword [esp + 0x34]
test dword [ecx], 0x20000
je 0x50da22
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50da47
mov esi, dword [esp + 0x54]
test esi, esi
je 0x50da44
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 + 0x20]
lea ebx, [ebx + esi*2]
lea esi, [edx + edx]
push esi
push edi
push ebx
call fcn.00582850
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ebx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ebx
jmp 0x50e6c8
mov dword [esp + 0x1c], 0
fstp st(1)
fstp st(0)
test dl, 0x40
je 0x50da8f
movzx edx, word ds:[esi + 4]
cmp edx, 0xa2
jbe 0x50da94
mov edx, 0xa2
jmp 0x50da94
mov edx, 6
fld dword [esi + 0x10]
lea edi, [esp + 0xf9]
mov esi, dword [esp + 0x3c]
sub esp, 8
mov eax, edi
mov dword [esp + 0x20], edi
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
push eax
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00572660
nop
test al, al
jne 0x50dacd
mov byte [esp + 0xf9], al
jmp 0x50db2d
mov edx, dword [0x637c20]
test edx, edx
je 0x50db05
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
test al, al
je 0x50db05
lea esp, [esp]
cmp al, 0x2e
je 0x50dafe
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50daf0
jmp 0x50db05
mov al, byte [0x63049c]
mov byte [ecx], al
test esi, 0x20000000
je 0x50db2d
lea eax, [esp + 0xf9]
test edx, edx
je 0x50db24
push edx
push eax
call fcn.0058ad56
add esp, 8
jmp 0x50db2d
push eax
call fcn.0058acfa
add esp, 4
mov eax, dword [esp + 0x34]
mov edi, dword [eax]
test edi, 0x8000
je 0x50dbae
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
mov ah, byte [0x63049c]
test al, al
je 0x50db5f
cmp al, ah
je 0x50db5f
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50db53
mov al, byte [ecx]
inc ecx
test al, al
je 0x50dbae
mov al, byte [ecx]
test al, al
je 0x50db84
lea esp, [esp]
cmp al, 0x65
je 0x50db84
cmp al, 0x45
je 0x50db84
mov al, byte ds:[ecx + 1]
inc ecx
test al, al
jne 0x50db70
mov al, byte [ecx - 1]
mov esi, ecx
dec ecx
cmp al, 0x30
jne 0x50db98
mov edi, edi
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x50db90
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 0x50dba0
lea esi, [esp + 0xf9]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x50dbb8
sub esi, ecx
cmp byte [esp + 0xf9], 0x2d
mov dword [esp + 0x2c], esi
jne 0x50dbe6
lea ecx, [esp + 0xfa]
dec esi
mov edx, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], esi
jmp 0x50dbfc
mov edx, dword [esp + 0x1c]
test edi, 0x20000
mov ecx, dword [esp + 0x18]
mov eax, 2
cmovne edx, eax
mov eax, edi
mov dword [esp + 0x1c], edx
and eax, 0x13000
cmp eax, 0x10000
jne 0x50dd97
mov al, byte [ecx]
mov edi, ecx
sub al, 0x30
cmp al, 0xa
jae 0x50dc2a
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
sub al, 0x30
cmp al, 0xa
jb 0x50dc20
mov eax, edi
sub eax, ecx
mov dword [esp + 0x24], eax
lea ecx, [eax + 2]
mov dword [esp + 0x20], ecx
je 0x50dc49
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
dec eax
jmp 0x50dc4f
xor eax, eax
mov dword [esp + 0x20], ecx
lea ecx, [eax + esi]
mov dword [esp + 0x38], eax
add ecx, ecx
cmp dword [esp + 0x1c], 0
lea eax, [ecx + 2]
cmove eax, ecx
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x50dce4
add eax, eax
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 + 0x34], edx
mov dword [esp + 0x9c], edx
call sym.SystemInformer.exe_PhCreateString3
push dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50dcd4
call fcn.004fc420
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
shr edx, 1
mov dword [esp + 0x14], ebx
lea ebx, [ecx + edx*2]
mov eax, dword [esp + 0x20]
xor edx, edx
div dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
test al, 1
je 0x50dd02
mov eax, 0x2d
jmp 0x50dd0b
test al, 2
je 0x50dd11
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x50dd5e
mov esi, dword [esp + 0x18]
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 0x50dd52
test ecx, ecx
je 0x50dd56
movzx eax, word [0x630698]
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 0x50dd20
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x1c], 0
mov edx, ebx
je 0x50dd6c
add dword [esp + 0x10], 2
mov ecx, esi
sub ecx, eax
mov eax, dword [esp + 0x38]
add eax, esi
mov esi, dword [esp + 0x10]
push edx
push ecx
lea ebx, [ebx + ecx*2]
lea esi, [esi + eax*2]
mov dword [esp + 0x38], ebx
push edi
mov dword [esp + 0x1c], esi
call sym.SystemInformer.exe_PhZeroExtendToUtf16Buffer
mov ecx, esi
jmp 0x50e6c8
xor ecx, ecx
test edx, edx
setne cl
mov edx, ecx
test edi, 0x40000
je 0x50ddc9
mov eax, dword [esp + 0x34]
movzx edi, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edi
jae 0x50ddc9
or dword [esp + 0x1c], 4
mov eax, edi
sub eax, ecx
sub eax, esi
mov dword [esp + 0x58], eax
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x10]
lea eax, [edx + esi]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
cmp eax, ecx
jae 0x50de4b
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 + 0x34], edx
mov dword [esp + 0xa4], edx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50de3f
call fcn.004fc420
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x14], edi
lea ebx, [eax + ebx*2]
mov eax, dword [esp + 0x1c]
test al, 1
je 0x50de5a
mov ecx, 0x2d
jmp 0x50de63
test al, 2
je 0x50de69
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50de8a
mov edx, dword [esp + 0x58]
test edx, edx
je 0x50de87
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 + 0x20]
mov edi, dword [esp + 0x18]
mov edx, ebx
push edx
mov ecx, esi
mov dword [esp + 0x14], eax
push ecx
lea ebx, [ebx + esi*2]
push edi
mov dword [esp + 0x3c], ebx
call sym.SystemInformer.exe_PhZeroExtendToUtf16Buffer
mov ecx, dword [esp + 0x10]
jmp 0x50e6c8
mov dword ds:[esp + 0x1c], 0
fstp st(1)
fstp st(0)
test dl, 0x40
je 0x50ded8
movzx edx, word [esi + 4]
cmp edx, 0xa2
jbe 0x50dedd
mov edx, 0xa2
jmp 0x50dedd
mov edx, 6
fld qword ds:[esi + 0x10]
lea edi, [esp + 0xf9]
mov esi, dword [esp + 0x3c]
sub esp, 0x10
mov eax, edi
mov dword [esp + 0x28], edi
mov ecx, esi
fstp qword [esp + 8]
push eax
call fcn.00572900
test al, al
jne 0x50df12
mov byte [esp + 0xf9], al
jmp 0x50df6d
mov edx, dword [0x637c20]
test edx, edx
je 0x50df45
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
test al, al
je 0x50df45
mov edi, edi
cmp al, 0x2e
je 0x50df3e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50df30
jmp 0x50df45
mov al, byte [0x63049c]
mov byte [ecx], al
test esi, 0x20000000
je 0x50df6d
lea eax, [esp + 0xf9]
test edx, edx
je 0x50df64
push edx
push eax
call fcn.0058ad56
add esp, 8
jmp 0x50df6d
push eax
call fcn.0058acfa
add esp, 4
mov eax, dword [esp + 0x34]
mov edi, dword [eax]
test edi, 0x8000
je 0x50dfee
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
mov ah, byte [0x63049c]
test al, al
je 0x50df9f
cmp al, ah
je 0x50df9f
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50df93
mov al, byte [ecx]
inc ecx
test al, al
je 0x50dfee
mov al, byte [ecx]
test al, al
je 0x50dfc4
lea esp, [esp]
cmp al, 0x65
je 0x50dfc4
cmp al, 0x45
je 0x50dfc4
mov al, byte ds:[ecx + 1]
inc ecx
test al, al
jne 0x50dfb0
mov al, byte [ecx - 1]
mov esi, ecx
dec ecx
cmp al, 0x30
jne 0x50dfd8
mov edi, edi
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x50dfd0
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 0x50dfe0
lea esi, [esp + 0xf9]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x50dff8
sub esi, ecx
cmp byte [esp + 0xf9], 0x2d
mov dword [esp + 0x2c], esi
jne 0x50e026
lea ecx, [esp + 0xfa]
dec esi
mov edx, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], esi
jmp 0x50e03c
mov edx, dword [esp + 0x1c]
test edi, 0x20000
mov ecx, dword [esp + 0x18]
mov eax, 2
cmovne edx, eax
mov eax, edi
mov dword [esp + 0x1c], edx
and eax, 0x13000
cmp eax, 0x10000
jne 0x50e1a5
mov al, byte [ecx]
mov edi, ecx
sub al, 0x30
cmp al, 0xa
jae 0x50e06a
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
sub al, 0x30
cmp al, 0xa
jb 0x50e060
mov eax, edi
sub eax, ecx
mov dword [esp + 0x24], eax
lea ecx, [eax + 2]
mov dword [esp + 0x20], ecx
je 0x50e089
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
dec eax
jmp 0x50e08f
xor eax, eax
mov dword [esp + 0x20], ecx
lea ecx, [eax + esi]
mov dword [esp + 0x38], eax
add ecx, ecx
cmp dword [esp + 0x1c], 0
lea eax, [ecx + 2]
cmove eax, ecx
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x50e124
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 + 0x34], edx
mov dword [esp + 0xac], edx
call sym.SystemInformer.exe_PhCreateString3
push dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50e114
call fcn.004fc420
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
shr edx, 1
mov dword [esp + 0x14], ebx
lea ebx, [ecx + edx*2]
mov eax, dword [esp + 0x20]
xor edx, edx
div dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
test al, 1
je 0x50e142
mov eax, 0x2d
jmp 0x50e14b
test al, 2
je 0x50e151
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x50dd5e
mov esi, dword [esp + 0x18]
movsx ax, byte [esi]
dec ecx
inc esi
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x50e197
test ecx, ecx
je 0x50dd56
movzx eax, word [0x630698]
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 0x50e161
jmp 0x50e1a0
jmp 0x50dd56
xor ecx, ecx
test edx, edx
setne cl
mov edx, ecx
test edi, 0x40000
je 0x50e1d7
mov eax, dword [esp + 0x34]
movzx edi, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edi
jae 0x50e1d7
or dword [esp + 0x1c], 4
mov eax, edi
sub eax, ecx
sub eax, esi
mov dword [esp + 0x5c], eax
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x10]
lea eax, [edx + esi]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
cmp eax, ecx
jae 0x50e259
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 + 0x34], edx
mov dword [esp + 0xb4], edx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50e24d
call fcn.004fc420
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x14], edi
lea ebx, [eax + ebx*2]
mov eax, dword ds:[esp + 0x1c]
test al, 1
je 0x50e26b
mov ecx, 0x2d
jmp 0x50e274
test al, 2
je 0x50e27a
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50e29b
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x50e298
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 ds:[esp + 0x20]
jmp 0x50de8e
mov eax, dword [esp + 0x34]
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 0x50e38e
mov esi, dword [esp + 0x10]
fstp st(0)
mov eax, dword [esp + 0x28]
add esi, 2
fstp st(1)
fstp st(0)
cmp eax, esi
jae 0x50e374
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 + 0x34], ecx
mov dword [esp + 0xcc], ecx
call sym.SystemInformer.exe_PhCreateString3
mov ebx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x14]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00582850
mov ecx, dword ds:[esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50e368
call fcn.004fc420
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x14], edi
lea ebx, [eax + ebx*2]
mov eax, 0x30
mov ecx, esi
mov word [ebx], ax
add ebx, 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ecx
jmp 0x50e6c8
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
test edx, 0x100
je 0x50e3a4
movzx ecx, byte [esi + 0xa]
jmp 0x50e3aa
mov ecx, dword [0x633948]
fcomi st(2)
jb 0x50e3be
cmp edi, 7
jae 0x50e3be
cmp edi, ecx
jae 0x50e3be
fmul st(1)
inc edi
fcomi st(2)
jae 0x50e3ae
fstp st(2)
fstp st(0)
test dl, 0x40
je 0x50e3cd
movzx eax, word [esi + 4]
jmp 0x50e3d2
mov eax, 2
movzx edx, ax
lea esi, [esp + 0xf9]
cmp edx, 0xa2
mov dword [esp + 0x18], 0
mov eax, 0xa2
mov ecx, 0x1804c
cmova edx, eax
sub esp, 0x10
mov eax, esi
fstp qword [esp + 8]
push eax
call fcn.00572900
test al, al
jne 0x50e413
mov byte [esp + 0xf9], al
jmp 0x50e445
cmp dword [0x637c20], 0
je 0x50e445
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
test al, al
je 0x50e445
mov edi, edi
cmp al, 0x2e
je 0x50e43e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50e430
jmp 0x50e445
mov al, byte [0x63049c]
mov byte [ecx], al
lea ecx, [esp + 0xf9]
call fcn.0050cfa0
lea ecx, [esp + 0xf9]
lea edx, [ecx + 1]
jmp 0x50e460
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50e460
sub ecx, edx
cmp byte [esp + 0xf9], 0x2d
mov dword [esp + 0x2c], ecx
jne 0x50e48b
dec ecx
mov dword [esp + 0x18], 1
lea esi, [esp + 0xfa]
mov dword [esp + 0x2c], ecx
mov al, byte [esi]
mov edx, esi
sub al, 0x30
mov dword [esp + 0x38], esi
cmp al, 0xa
jae 0x50e4ae
lea esp, [esp]
mov al, byte [edx + 1]
inc edx
sub al, 0x30
cmp al, 0xa
jb 0x50e4a0
mov dword [esp + 0x38], edx
sub edx, esi
mov dword [esp + 0x24], edx
lea edx, [edx + 2]
mov dword [esp + 0x20], edx
je 0x50e4cb
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 1
dec eax
jmp 0x50e4d1
xor eax, eax
mov dword [esp + 0x20], edx
add ecx, eax
mov dword [esp + 0x1c], eax
add ecx, ecx
cmp dword [esp + 0x18], 0
lea eax, [ecx + 2]
cmove eax, ecx
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x50e564
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 + 0x34], edx
mov dword [esp + 0xd4], edx
call sym.SystemInformer.exe_PhCreateString3
push dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50e554
call fcn.004fc420
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
shr edx, 1
mov dword [esp + 0x14], ebx
lea ebx, [ecx + edx*2]
mov eax, dword [esp + 0x20]
xor edx, edx
div dword [esp + 0x48]
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x24]
je 0x50e584
mov eax, 0x2d
mov word [ebx], ax
add ebx, 2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x50e5cb
lea esp, [esp]
movsx ax, byte ds:[esi]
dec ecx
inc esi
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x50e5c3
test ecx, ecx
je 0x50e5c7
movzx eax, word [0x630698]
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 0x50e590
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x18], 0
je 0x50e5d7
add dword [esp + 0x10], 2
mov esi, dword [esp + 0x2c]
push ebx
sub esi, eax
push esi
push dword [esp + 0x40]
call sym.SystemInformer.exe_PhZeroExtendToUtf16Buffer
mov eax, dword [esp + 0x2c]
lea esi, [ebx + esi*2]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
lea ebx, [ecx + eax*2]
mov ecx, dword [edi*8 + 0x632cf0]
lea eax, [ebx + 2]
mov dword [esp + 0x20], ebx
add eax, ecx
cmp edx, eax
jae 0x50e680
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 + 0x34], ecx
mov dword [esp + 0xdc], ecx
call sym.SystemInformer.exe_PhCreateString3
mov esi, eax
mov eax, dword [esp + 0x14]
push ebx
push dword [eax + 4]
push dword [esi + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50e672
call fcn.004fc420
mov eax, dword [esi + 4]
mov ecx, ebx
shr ecx, 1
mov dword [esp + 0x14], esi
lea esi, [eax + ecx*2]
mov eax, 0x20
mov word [esi], ax
lea eax, [esi + 2]
push dword [edi*8 + 0x632cf0]
push dword [edi*8 + 0x632cf4]
push eax
call fcn.00582850
mov ecx, dword [edi*8 + 0x632cf0]
add esp, 0xc
lea eax, [ecx + 2]
shr eax, 1
lea ebx, [esi + eax*2]
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x30], ebx
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x50e6c8
fstp st(1)
fstp st(0)
mov eax, dword ds:[esp + 0x34]
mov edi, ecx
sub edi, dword [esp + 0xf0]
test dword [eax], 0xc0000000
je 0x50e816
movzx esi, word [eax + 6]
add esi, esi
cmp edi, esi
jae 0x50e816
mov edx, dword [esp + 0x28]
sub esi, edi
add ecx, esi
mov dword [esp + 0x24], ecx
cmp edx, ecx
jae 0x50e77c
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 + 0x34], edx
mov dword [esp + 0xe4], edx
call sym.SystemInformer.exe_PhCreateString3
push dword [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x18]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00582850
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50e768
call fcn.004fc420
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [esp + 0x14], ebx
lea ebx, [eax + ecx*2]
mov eax, dword [esp + 0x34]
mov ecx, dword ds:[eax]
test cl, cl
jns 0x50e78a
movzx eax, word [eax + 8]
jmp 0x50e78f
mov eax, 0x20
shr esi, 1
mov dword [esp + 0x20], eax
test ecx, ecx
jns 0x50e7b8
test esi, esi
je 0x50e7b4
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 0x50e808
mov eax, edi
mov ecx, ebx
and eax, 0xfffffffe
sub ecx, eax
lea eax, [esi + esi]
push edi
mov dword [esp + 0x1c], eax
add eax, ecx
push ecx
lfence
push eax
mov dword [esp + 0xfc], ecx
call fcn.00582850
add esp, 0xc
test esi, esi
je 0x50e804
mov eax, dword [esp + 0x20]
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 + 0x18]
mov ecx, dword [esp + 0x24]
add ebx, esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0xc]
fld qword [esp + 0xe0]
fld qword [esp + 0xe8]
mov edi, dword [esp + 0x28]
test eax, eax
jne 0x50d194
mov esi, dword [esp + 0x14]
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.0058078f
mov esp, ebp
pop ebp
ret 0xc