Function at 0x50ee40
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 + 0x6c], 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 + 0x54], edi
mov dword [esp + 0xfc], edi
call sym.SystemInformer.exe_Ordinal_1331
mov esi, eax
xor ecx, ecx
test byte [0x63090c], 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ecx
mov ebx, dword [esi + 4]
mov dword [esp + 0x50], ebx
jne 0x50ef87
mov eax, 0x63090c
lock bts dword [eax], 0x1f
setb al
test al, al
jne 0x50ef6c
push 4
lea eax, [esp + 0xf4]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x50ef08
mov ax, word [esp + 0xf0]
test ax, ax
je 0x50ef08
cmp word [esp + 0xf2], 0
jne 0x50ef08
mov word [0x62e6c8], 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 0x50ef42
mov ax, word [esp + 0xf0]
test ax, ax
je 0x50ef42
cmp word [esp + 0xf2], 0
jne 0x50ef42
mov word [0x62e6f8], ax
cmp word [0x62e6c8], 0x2e
je 0x50ef60
push 0x5d1e90
push 0
call fcn.0058f51b
add esp, 8
mov dword [0x63581c], eax
mov ecx, 0x63090c
call sym.SystemInformer.exe_Ordinal_1358
jmp 0x50ef85
test byte [0x63090c], 1
jne 0x50ef87
xor edx, edx
mov ecx, 0x63090c
call sym.SystemInformer.exe_Ordinal_1388
xor ecx, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5105dd
mov dword [esp + 0x68], 3
nop word [eax + eax]
dec eax
mov dword [esp + 0xf0], ecx
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov esi, eax
add eax, 0x18
mov dword [esp + 0x54], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], 0
mov edx, dword [esi]
mov eax, edx
and eax, 0x3f
mov dword [esp + 0x5c], edx
cmp eax, 0xd
ja case.default.0x50efd8
jmp dword [eax*4 + 0x510604]
lea esi, [ecx + 2]
cmp edi, esi
jae 0x50f054
lea eax, [edi + edi]
mov dword [esp + 0x84], 0
cmp eax, esi
mov ecx, esi
push 0
cmovae ecx, eax
lea eax, [esp + 0x84]
push 0
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x8c], ecx
call sym.SystemInformer.exe_Ordinal_1331
mov ebx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x34]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00586310
mov ecx, dword ds:[esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50f048
call fcn.004fe0c0
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x34], edi
lea ebx, [eax + ebx*2]
mov ecx, dword [esp + 0x54]
mov ax, word [ecx + 0x10]
mov ecx, esi
mov word [ebx], ax
add ebx, 2
jmp 0x510471
add ecx, dword [esi + 0x10]
cmp edi, ecx
jae 0x50f0e5
lea eax, ds:[edi + edi]
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 + 0x54], edx
mov dword [esp + 0x94], edx
call sym.SystemInformer.exe_Ordinal_1331
mov ebx, dword [esp + 0x34]
mov esi, eax
mov edi, dword [esp + 0x30]
push edi
push dword [ebx + 4]
push dword [esi + 4]
call fcn.00586310
add esp, 0xc
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50f0d1
call fcn.004fe0c0
mov eax, dword [esi + 4]
mov ecx, edi
shr ecx, 1
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x54]
lea ebx, [eax + ecx*2]
jmp 0x50f0e9
mov edi, dword [esp + 0x30]
push dword [esi + 0x10]
push dword [esi + 0x14]
push ebx
call fcn.00586310
mov eax, dword [esi + 0x10]
add esp, 0xc
shr eax, 1
add edi, dword [esi + 0x10]
mov dword [esp + 0x30], edi
mov ecx, edi
lea ebx, [ebx + eax*2]
jmp 0x510475
push dword [esi + 0x10]
call sym.SystemInformer.exe_Ordinal_1322
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
lea esi, [eax + eax]
add edi, esi
cmp edx, edi
jae 0x50f198
lea eax, [edx + edx]
mov dword [esp + 0x94], 0
cmp eax, edi
mov ecx, edi
push 0
cmovae ecx, eax
lea eax, [esp + 0x94]
push 0
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x9c], ecx
call sym.SystemInformer.exe_Ordinal_1331
push dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x38]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00586310
mov ecx, dword ds:[esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50f188
call fcn.004fe0c0
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [esp + 0x34], ebx
lea ebx, [eax + ecx*2]
mov ecx, dword [esp + 0x54]
push esi
push dword [ecx + 0x10]
push ebx
call fcn.00586310
add esp, 0xc
mov ecx, edi
shr esi, 1
lea ebx, [ebx + esi*2]
jmp 0x510471
cmp edx, 3
jne 0x50f1c6
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x38], ecx
jmp 0x50f1db
mov ecx, dword [esi + 0x10]
mov esi, ecx
mov dword [esp + 0x38], ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x50f1d2
sub esi, edx
push esi
push ecx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeSize]
test eax, eax
js 0x50fc89
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
lfence
mov eax, dword [esp + 0x64]
lea ecx, [eax + edi]
cmp edx, ecx
jae 0x50f282
lea eax, [edx + edx]
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 + 0x54], edx
mov dword [esp + 0xa4], edx
call sym.SystemInformer.exe_Ordinal_1331
mov ebx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x34]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00586310
mov ecx, dword ds:[esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50f268
call fcn.004fe0c0
mov eax, dword [edi + 4]
mov ecx, ebx
shr ecx, 1
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x30]
lea ebx, [eax + ecx*2]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x50], ebx
push esi
push dword [esp + 0x3c]
push 0
push eax
push ebx
call dword [sym.imp.ntdll.dll_RtlMultiByteToUnicodeN]
test eax, eax
js 0x50fc89
mov eax, dword [esp + 0x64]
shr eax, 1
add edi, dword [esp + 0x64]
mov dword [esp + 0x30], edi
mov ecx, edi
lea ebx, [ebx + eax*2]
jmp 0x510475
mov ecx, 0x10
mov eax, esi
mov eax, dword [ecx + eax]
mov ecx, eax
shr ecx, 0x1f
mov dword [esp + 0x60], ecx
cdq
mov ecx, eax
xor ecx, edx
sub ecx, edx
mov edx, dword [esp + 0x5c]
jmp 0x50f2d4
mov ecx, dword [esi + 0x10]
mov dword ds:[esp + 0x38], 0xa
test edx, 0x100
je 0x50f2fa
mov al, byte [esi + 0xa]
cmp al, 2
jb 0x50f2fa
cmp al, 0x45
ja 0x50f2fa
movzx eax, al
mov dword [esp + 0x38], eax
test edx, 0x20000000
lea edi, [esp + 0x4f6]
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, 0x61f460
cmovne eax, esi
xor esi, esi
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x50f3d5
test edx, 0x10000
je 0x50f3b1
xor eax, eax
mov dword [esp + 0x44], eax
nop word [eax + eax]
mov eax, ecx
xor edx, edx
div dword [esp + 0x38]
inc esi
mov ecx, eax
mov eax, dword [esp + 0x4c]
movsx ax, byte [eax + edx]
mov word [edi], ax
sub edi, 2
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, 3
jne 0x50f39a
test ecx, ecx
je 0x50f39e
movzx eax, word [0x62e6f8]
xor edx, edx
mov word [edi], ax
mov eax, ecx
div dword [esp + 0x38]
mov dword [esp + 0x44], 1
mov ecx, eax
mov eax, dword [esp + 0x4c]
movsx eax, byte [edx + eax]
mov word [edi - 2], ax
add edi, 0xfffffffc
add esi, 2
test ecx, ecx
jne 0x50f340
mov edx, dword [esp + 0x5c]
xor ecx, ecx
cmp dword [esp + 0x60], ecx
je 0x50f3ee
mov ecx, 1
jmp 0x50f3fc
mov ebx, dword [esp + 0x4c]
mov eax, ecx
xor edx, edx
div dword [esp + 0x38]
inc esi
mov ecx, eax
movsx ax, byte [ebx + edx]
mov word [edi], ax
sub edi, 2
test ecx, ecx
jne 0x50f3b5
mov ebx, dword [esp + 0x50]
jmp 0x50f39e
mov eax, 0x30
lea edi, [esp + 0x4f4]
mov word [esp + 0x4f6], ax
lea esi, [eax - 0x2f]
jmp 0x50f3a2
test edx, 0x20000
mov eax, 1
cmovne ecx, eax
and edx, 0x50000
cmp edx, 0x40000
jne 0x50f42a
mov eax, dword [esp + 0x54]
movzx edx, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edx
jae 0x50f42a
or dword [esp + 0x60], 4
mov eax, edx
sub eax, ecx
sub eax, esi
mov dword [esp + 0x70], eax
add ecx, eax
mov edx, dword [esp + 0x48]
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x30]
add edi, 2
mov dword [esp + 0x40], edi
lea ecx, [ecx + eax*2]
mov dword [esp + 0x38], ecx
cmp edx, ecx
jae 0x50f4b8
lea eax, [edx + edx]
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 + 0x54], edx
mov dword [esp + 0xac], edx
call sym.SystemInformer.exe_Ordinal_1331
push dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x38]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00586310
mov ecx, dword ds:[esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50f4a8
call fcn.004fe0c0
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [esp + 0x34], ebx
lea ebx, [eax + ecx*2]
mov eax, dword ds:[esp + 0x60]
test al, 1
je 0x50f4cb
mov ecx, 0x2d
jmp 0x50f4dc
mov ecx, dword [esp + 0x54]
test dword [ecx], 0x20000
je 0x50f4e2
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50f507
mov edx, dword [esp + 0x70]
test edx, edx
je 0x50f504
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 + 0x40]
lea ebx, [ebx + edx*2]
add esi, esi
push esi
push edi
push ebx
call fcn.00586310
mov ecx, dword [esp + 0x44]
add esp, 0xc
add ebx, esi
jmp 0x510471
mov eax, dword [esp + 0x54]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x3c], esi
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x58], ecx
test ecx, ecx
jg 0x50f55e
jl 0x50f53b
test esi, esi
jae 0x50f55e
neg esi
mov dword [esp + 0x60], 1
adc ecx, 0
neg ecx
jmp 0x50f556
mov eax, dword [esp + 0x54]
mov esi, dword [esi + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 0xa
mov dword [esp + 0x44], 0
test edx, 0x100
je 0x50f5b4
mov al, byte [eax + 0xa]
mov dword [esp + 0x38], 0xa
mov dword [esp + 0x44], 0
cmp al, 2
jb 0x50f5b4
mov dword ds:[esp + 0x38], 0xa
mov dword [esp + 0x44], 0
cmp al, 0x45
ja 0x50f5b4
movzx eax, al
cdq
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
test edx, 0x20000000
mov dword [esp + 0x4c], 0
mov edi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_________._:_________
mov eax, 0x61f460
cmovne eax, edi
lea edi, [esp + 0x4f6]
mov dword [esp + 0x40], eax
mov eax, esi
or eax, ecx
je 0x50f6ed
test edx, 0x10000
je 0x50f692
xor eax, eax
mov dword [esp + 0x50], eax
nop dword [eax + eax]
push dword [esp + 0x44]
push dword [esp + 0x3c]
push ecx
push esi
call fcn.005a5370
push dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
mov esi, eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
push edx
push eax
call fcn.005a5300
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x4c]
inc edx
mov dword [esp + 0x3c], eax
movsx cx, byte [ecx + esi]
mov dword [esp + 0x4c], edx
mov word [edi], cx
sub edi, 2
mov ecx, dword [esp + 0x50]
inc ecx
cmp ecx, 3
jne 0x50f678
mov ecx, dword [esp + 0x58]
or eax, ecx
je 0x50f70a
mov ax, word [0x62e6f8]
mov esi, dword [esp + 0x3c]
mov word [edi], ax
sub edi, 2
inc edx
mov dword [esp + 0x4c], edx
jmp 0x50f5f2
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x58]
or eax, ecx
mov dword [esp + 0x4c], edx
jne 0x50f600
jmp 0x50f70a
mov ebx, dword [esp + 0x38]
push dword ds:[esp + 0x44]
push ebx
push ecx
push esi
call fcn.005a5370
push dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
mov esi, eax
mov eax, dword [esp + 0x40]
push ebx
push edx
push eax
call fcn.005a5300
mov dword [esp + 0x3c], eax
mov ecx, edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
inc edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], edx
movsx ax, byte [eax + esi]
mov esi, dword [esp + 0x3c]
mov word [edi], ax
mov eax, esi
sub edi, 2
or eax, ecx
jne 0x50f696
mov ebx, dword [esp + 0x50]
jmp 0x50f70a
mov eax, 0x30
lea edi, [esp + 0x4f4]
mov edx, 1
mov word [esp + 0x4f6], ax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x5c]
xor ecx, ecx
cmp dword [esp + 0x60], ecx
je 0x50f71d
mov ecx, 1
jmp 0x50f72a
test eax, 0x20000
mov esi, 1
cmovne ecx, esi
and eax, 0x50000
cmp eax, 0x40000
jne 0x50f756
mov eax, dword [esp + 0x54]
movzx esi, word [eax + 6]
lea eax, [ecx + edx]
cmp eax, esi
jae 0x50f756
or dword [esp + 0x60], 4
mov eax, esi
sub eax, ecx
sub eax, edx
mov dword [esp + 0x74], eax
add ecx, eax
lea eax, [ecx + edx]
add edi, 2
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], edi
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
cmp eax, ecx
jae 0x50f7e5
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 + 0x54], edx
mov dword [esp + 0xb4], edx
call sym.SystemInformer.exe_Ordinal_1331
mov ebx, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x34]
push ebx
push dword [eax + 4]
push dword [esi + 4]
call fcn.00586310
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50f7d5
call fcn.004fe0c0
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x4c]
shr ebx, 1
mov dword [esp + 0x34], esi
lea ebx, [eax + ebx*2]
mov eax, dword [esp + 0x60]
test al, 1
je 0x50f7f4
mov ecx, 0x2d
jmp 0x50f807
mov ecx, dword ds:[esp + 0x54]
test dword [ecx], 0x20000
je 0x50f80d
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50f832
mov esi, dword [esp + 0x74]
test esi, esi
je 0x50f82f
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 + 0x40]
lea ebx, [ebx + esi*2]
lea esi, [edx + edx]
push esi
push edi
push ebx
call fcn.00586310
mov ecx, dword [esp + 0x44]
add esp, 0xc
add ebx, esi
jmp 0x510471
mov dword [esp + 0x3c], 0
test dl, 0x40
je 0x50f86f
movzx edx, word ds:[esi + 4]
cmp edx, 0xa2
jbe 0x50f874
mov edx, 0xa2
jmp 0x50f874
mov edx, 6
mov esi, dword [esp + 0x5c]
lea edi, [esp + 0xf9]
mov eax, edi
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x54]
sub esp, 8
mov ecx, esi
movss xmm0, dword [edi + 0x10]
push eax
call fcn.00576160
test al, al
jne 0x50f8a6
mov byte [esp + 0xf9], al
jmp 0x50f908
mov edx, dword [0x63581c]
test edx, edx
je 0x50f8d9
mov al, byte ds:[esp + 0xf9]
lea ecx, [esp + 0xf9]
test al, al
je 0x50f8d9
cmp al, 0x2e
je 0x50f8d2
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50f8c4
jmp 0x50f8d9
mov al, byte [0x62e6c8]
mov byte [ecx], al
nop dword [eax]
test esi, 0x20000000
je 0x50f908
lea eax, [esp + 0xf9]
test edx, edx
je 0x50f8ff
push edx
push eax
call fcn.0058ecc3
add esp, 8
jmp 0x50f908
push eax
call fcn.0058ec67
add esp, 4
mov edi, dword [edi]
test edi, 0x8000
je 0x50f98e
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
mov ah, byte [0x62e6c8]
test al, al
je 0x50f93c
nop
cmp al, ah
je 0x50f93c
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50f930
mov al, byte ds:[ecx]
inc ecx
test al, al
je 0x50f98e
mov al, byte [ecx]
test al, al
je 0x50f964
nop word [eax + eax]
cmp al, 0x65
je 0x50f964
cmp al, 0x45
je 0x50f964
mov al, byte ds:[ecx + 1]
inc ecx
test al, al
jne 0x50f950
mov al, byte [ecx - 1]
mov esi, ecx
dec ecx
cmp al, 0x30
jne 0x50f978
nop
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x50f970
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 0x50f980
lea esi, [esp + 0xf9]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x50f998
sub esi, ecx
cmp byte [esp + 0xf9], 0x2d
mov dword [esp + 0x4c], esi
jne 0x50f9c6
lea ecx, [esp + 0xfa]
dec esi
mov edx, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], esi
jmp 0x50f9dc
mov edx, dword [esp + 0x3c]
test edi, 0x20000
mov ecx, dword [esp + 0x38]
mov eax, 2
cmovne edx, eax
mov eax, edi
mov dword [esp + 0x3c], edx
and eax, 0x13000
cmp eax, 0x10000
jne 0x50fb77
mov al, byte [ecx]
mov edi, ecx
sub al, 0x30
cmp al, 0xa
jae 0x50fa0a
nop dword [eax]
mov al, byte [edi + 1]
inc edi
sub al, 0x30
cmp al, 0xa
jb 0x50fa00
mov eax, edi
sub eax, ecx
mov dword [esp + 0x44], eax
lea ecx, [eax + 2]
mov dword [esp + 0x40], ecx
je 0x50fa29
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
dec eax
jmp 0x50fa2f
xor eax, eax
mov dword [esp + 0x40], ecx
lea ecx, [eax + esi]
mov dword [esp + 0x58], eax
add ecx, ecx
cmp dword [esp + 0x3c], 0
lea eax, [ecx + 2]
cmove eax, ecx
mov ecx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x48]
cmp eax, ecx
jae 0x50fac4
add eax, eax
mov dword [esp + 0xb4], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0xb4]
push 0
push eax
mov dword [esp + 0x54], edx
mov dword [esp + 0xbc], edx
call sym.SystemInformer.exe_Ordinal_1331
push dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x38]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00586310
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50fab4
call fcn.004fe0c0
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx + 4]
shr edx, 1
mov dword [esp + 0x34], ebx
lea ebx, [ecx + edx*2]
mov eax, dword [esp + 0x40]
xor edx, edx
div dword [esp + 0x68]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
test al, 1
je 0x50fae2
mov eax, 0x2d
jmp 0x50faeb
test al, 2
je 0x50faf1
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
mov eax, dword [esp + 0x44]
test eax, eax
je 0x50fb3e
mov esi, dword [esp + 0x38]
nop dword [eax]
movsx ax, byte [esi]
dec ecx
inc esi
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x50fb32
test ecx, ecx
je 0x50fb36
movzx eax, word [0x62e6f8]
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 0x50fb00
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x3c], 0
mov edx, ebx
je 0x50fb4c
add dword [esp + 0x30], 2
mov ecx, esi
sub ecx, eax
mov eax, dword [esp + 0x58]
add eax, esi
mov esi, dword [esp + 0x30]
push edx
push ecx
lea ebx, [ebx + ecx*2]
lea esi, [esi + eax*2]
mov dword [esp + 0x58], ebx
push edi
mov dword [esp + 0x3c], esi
call sym.SystemInformer.exe_Ordinal_1461
mov ecx, esi
jmp case.default.0x50efd8
xor ecx, ecx
test edx, edx
setne cl
mov edx, ecx
test edi, 0x40000
je 0x50fba9
mov eax, dword [esp + 0x54]
movzx edi, word [eax + 6]
lea eax, [ecx + esi]
cmp eax, edi
jae 0x50fba9
or dword [esp + 0x3c], 4
mov eax, edi
sub eax, ecx
sub eax, esi
mov dword [esp + 0x78], eax
lea edx, [ecx + eax]
mov ecx, dword [esp + 0x30]
lea eax, [edx + esi]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
cmp eax, ecx
jae 0x50fc2b
add eax, eax
mov dword [esp + 0xbc], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0xbc]
push 0
push eax
mov dword [esp + 0x54], edx
mov dword [esp + 0xc4], edx
call sym.SystemInformer.exe_Ordinal_1331
mov ebx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x34]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00586310
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50fc1f
call fcn.004fe0c0
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x34], edi
lea ebx, [eax + ebx*2]
mov eax, dword [esp + 0x3c]
test al, 1
je 0x50fc3a
mov ecx, 0x2d
jmp 0x50fc43
test al, 2
je 0x50fc49
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x50fc6a
mov edx, dword [esp + 0x78]
test edx, edx
je 0x50fc67
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 + 0x40]
mov edi, dword [esp + 0x38]
mov edx, ebx
push edx
mov ecx, esi
mov dword [esp + 0x34], eax
push ecx
lea ebx, [ebx + esi*2]
push edi
mov dword [esp + 0x5c], ebx
call sym.SystemInformer.exe_Ordinal_1461
mov ecx, dword [esp + 0x30]
jmp case.default.0x50efd8
mov dword [esp + 0x3c], 0
test dl, 0x40
je 0x50fcb2
movzx edx, word [esi + 4]
cmp edx, 0xa2
jbe 0x50fcb7
mov edx, 0xa2
jmp 0x50fcb7
mov edx, 6
movsd xmm0, qword [esi + 0x10]
lea edi, [esp + 0xf9]
mov esi, dword [esp + 0x5c]
sub esp, 0x10
mov eax, edi
mov dword [esp + 0x48], edi
mov ecx, esi
movsd qword [esp + 8], xmm0
push eax
call fcn.00576380
nop
test al, al
jne 0x50fced
mov byte [esp + 0xf9], al
jmp 0x50fd4d
mov edx, dword [0x63581c]
test edx, edx
je 0x50fd25
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
test al, al
je 0x50fd25
nop dword [eax]
cmp al, 0x2e
je 0x50fd1e
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50fd10
jmp 0x50fd25
mov al, byte [0x62e6c8]
mov byte [ecx], al
test esi, 0x20000000
je 0x50fd4d
lea eax, [esp + 0xf9]
test edx, edx
je 0x50fd44
push edx
push eax
call fcn.0058ecc3
add esp, 8
jmp 0x50fd4d
push eax
call fcn.0058ec67
add esp, 4
mov eax, dword [esp + 0x54]
mov edi, dword [eax]
test edi, 0x8000
je 0x50fdce
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
mov ah, byte [0x62e6c8]
test al, al
je 0x50fd7f
cmp al, ah
je 0x50fd7f
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50fd73
mov al, byte [ecx]
inc ecx
test al, al
je 0x50fdce
mov al, byte [ecx]
test al, al
je 0x50fda4
nop dword [eax]
cmp al, 0x65
je 0x50fda4
cmp al, 0x45
je 0x50fda4
mov al, byte ds:[ecx + 1]
inc ecx
test al, al
jne 0x50fd90
mov al, byte [ecx - 1]
mov esi, ecx
dec ecx
cmp al, 0x30
jne 0x50fdb8
nop
mov al, byte [ecx - 1]
dec ecx
cmp al, 0x30
je 0x50fdb0
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 0x50fdc0
lea esi, [esp + 0xf9]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x50fdd8
sub esi, ecx
cmp byte [esp + 0xf9], 0x2d
mov dword [esp + 0x4c], esi
jne 0x50fe06
lea ecx, [esp + 0xfa]
dec esi
mov edx, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], esi
jmp 0x50fe1c
mov edx, dword [esp + 0x3c]
test edi, 0x20000
mov ecx, dword [esp + 0x38]
mov eax, 2
cmovne edx, eax
mov eax, edi
mov dword [esp + 0x3c], edx
and eax, 0x13000
cmp eax, 0x10000
jne 0x50ff85
mov al, byte [ecx]
mov edi, ecx
sub al, 0x30
cmp al, 0xa
jae 0x50fe4a
nop dword [eax]
mov al, byte [edi + 1]
inc edi
sub al, 0x30
cmp al, 0xa
jb 0x50fe40
mov eax, edi
sub eax, ecx
mov dword [esp + 0x44], eax
lea ecx, [eax + 2]
mov dword [esp + 0x40], ecx
je 0x50fe69
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
dec eax
jmp 0x50fe6f
xor eax, eax
mov dword [esp + 0x40], ecx
lea ecx, [eax + esi]
mov dword [esp + 0x58], eax
add ecx, ecx
cmp dword [esp + 0x3c], 0
lea eax, [ecx + 2]
cmove eax, ecx
mov ecx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x48]
cmp eax, ecx
jae 0x50ff04
add eax, eax
mov dword [esp + 0xc4], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0xc4]
push 0
push eax
mov dword [esp + 0x54], edx
mov dword [esp + 0xcc], edx
call sym.SystemInformer.exe_Ordinal_1331
push dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x38]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00586310
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x50fef4
call fcn.004fe0c0
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx + 4]
shr edx, 1
mov dword [esp + 0x34], ebx
lea ebx, [ecx + edx*2]
mov eax, dword [esp + 0x40]
xor edx, edx
div dword [esp + 0x68]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
test al, 1
je 0x50ff22
mov eax, 0x2d
jmp 0x50ff2b
test al, 2
je 0x50ff31
mov eax, 0x2b
mov word [ebx], ax
add ebx, 2
mov eax, dword [esp + 0x44]
test eax, eax
je 0x50fb3e
mov esi, dword [esp + 0x38]
movsx ax, byte [esi]
dec ecx
inc esi
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x50ff77
test ecx, ecx
je 0x50fb36
movzx eax, word [0x62e6f8]
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 0x50ff41
nop dword [eax + eax]
jmp 0x50fb36
xor ecx, ecx
test edx, edx
setne cl
mov edx, ecx
test edi, 0x40000
je 0x50ffb7
mov eax, dword [esp + 0x54]
movzx edi, word [eax + 6]
lea eax, [esi + ecx]
cmp eax, edi
jae 0x50ffb7
or dword [esp + 0x3c], 4
mov eax, edi
sub eax, esi
sub eax, ecx
mov dword [esp + 0x7c], eax
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x30]
lea eax, [edx + esi]
lea ecx, [ecx + eax*2]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
cmp eax, ecx
jae 0x510039
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 + 0x54], edx
mov dword [esp + 0xd4], edx
call sym.SystemInformer.exe_Ordinal_1331
mov ebx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x34]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00586310
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x51002d
call fcn.004fe0c0
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x34], edi
lea ebx, [eax + ebx*2]
mov eax, dword ds:[esp + 0x3c]
test al, 1
je 0x51004b
mov ecx, 0x2d
jmp 0x510054
test al, 2
je 0x51005a
mov ecx, 0x2b
mov word [ebx], cx
add ebx, 2
test al, 4
je 0x51007b
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x510078
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 + 0x40]
jmp 0x50fc6e
mov edi, dword [esi + 0x10]
mov ecx, edi
mov edx, dword [esi + 0x14]
mov dword [esp + 0x40], 0
call fcn.005a7190
or edi, dword ds:[esi + 0x14]
jne 0x51012d
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
add esi, 2
cmp eax, esi
jae 0x51011b
add eax, eax
mov dword [esp + 0xd4], edi
cmp eax, esi
mov ecx, esi
push edi
cmovae ecx, eax
lea eax, [esp + 0xd4]
push edi
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0xdc], ecx
call sym.SystemInformer.exe_Ordinal_1331
mov ebx, dword [esp + 0x30]
mov edi, eax
mov eax, dword [esp + 0x34]
push ebx
push dword [eax + 4]
push dword [edi + 4]
call fcn.00586310
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x51010f
call fcn.004fe0c0
mov eax, dword [edi + 4]
shr ebx, 1
mov dword [esp + 0x34], edi
lea ebx, [eax + ebx*2]
mov eax, 0x30
mov ecx, esi
mov word [ebx], ax
add ebx, 2
jmp 0x510471
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
test ecx, 0x100
je 0x510143
movzx eax, byte [edx + 0xa]
jmp 0x510148
mov eax, dword [0x6314c0]
movsd xmm1, qword [0x624528]
comisd xmm0, xmm1
mov edi, dword [esp + 0x40]
jb 0x510176
movsd xmm2, qword [0x624500]
cmp edi, 7
jae 0x510176
cmp edi, eax
jae 0x510176
mulsd xmm0, xmm2
inc edi
comisd xmm0, xmm1
jae 0x510162
test cl, 0x40
je 0x510182
movzx eax, word ds:[edx + 4]
jmp 0x510187
mov eax, 2
movzx edx, ax
lea esi, [esp + 0xf9]
cmp edx, 0xa2
mov dword [esp + 0x38], 0
mov eax, 0xa2
mov ecx, 0x1804c
cmova edx, eax
sub esp, 0x10
mov eax, esi
movsd qword [esp + 8], xmm0
push eax
call fcn.00576380
nop dword [eax]
test al, al
jne 0x5101cd
mov byte [esp + 0xf9], al
jmp 0x5101fd
cmp dword [0x63581c], 0
je 0x5101fd
mov al, byte [esp + 0xf9]
lea ecx, [esp + 0xf9]
test al, al
je 0x5101fd
cmp al, 0x2e
je 0x5101f6
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x5101e8
jmp 0x5101fd
mov al, byte [0x62e6c8]
mov byte [ecx], al
lea ecx, [esp + 0xf9]
call fcn.0050edc0
lea ecx, [esp + 0xf9]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x510213
sub ecx, edx
cmp byte [esp + 0xf9], 0x2d
mov dword [esp + 0x4c], ecx
jne 0x51023e
dec ecx
mov dword [esp + 0x38], 1
lea esi, [esp + 0xfa]
mov dword [esp + 0x4c], ecx
mov al, byte [esi]
mov edx, esi
sub al, 0x30
mov dword [esp + 0x58], esi
cmp al, 0xa
jae 0x51025e
nop dword [eax]
mov al, byte [edx + 1]
inc edx
sub al, 0x30
cmp al, 0xa
jb 0x510250
mov dword [esp + 0x58], edx
sub edx, esi
mov dword [esp + 0x44], edx
lea edx, [edx + 2]
mov dword [esp + 0x40], edx
je 0x51027b
mov eax, 0xaaaaaaab
mul edx
mov eax, edx
shr eax, 1
dec eax
jmp 0x510281
xor eax, eax
mov dword [esp + 0x40], edx
add ecx, eax
mov dword [esp + 0x3c], eax
add ecx, ecx
cmp dword [esp + 0x38], 0
lea eax, [ecx + 2]
cmove eax, ecx
mov ecx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x48]
cmp eax, ecx
jae 0x510318
add eax, eax
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 + 0x54], edx
mov dword [esp + 0xe4], edx
call sym.SystemInformer.exe_Ordinal_1331
push dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x38]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00586310
mov ecx, dword ds:[esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x510308
call fcn.004fe0c0
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx + 4]
shr edx, 1
mov dword [esp + 0x34], ebx
lea ebx, [ecx + edx*2]
mov eax, dword [esp + 0x40]
xor edx, edx
div dword [esp + 0x68]
cmp dword [esp + 0x38], 0
mov ecx, dword [esp + 0x44]
je 0x510338
mov eax, 0x2d
mov word [ebx], ax
add ebx, 2
mov eax, dword ds:[esp + 0x44]
test eax, eax
je 0x51037e
movsx ax, byte [esi]
dec ecx
inc esi
mov word [ebx], ax
mov eax, edx
add ebx, 2
dec edx
test eax, eax
jne 0x510376
test ecx, ecx
je 0x51037a
movzx eax, word [0x62e6f8]
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 0x510344
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x38], 0
je 0x51038a
add dword [esp + 0x30], 2
mov esi, dword [esp + 0x4c]
push ebx
sub esi, eax
push esi
push dword [esp + 0x60]
call sym.SystemInformer.exe_Ordinal_1461
mov eax, dword [esp + 0x4c]
lea esi, [ebx + esi*2]
add eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
lea ebx, [ecx + eax*2]
mov ecx, dword [edi*8 + 0x630920]
lea eax, [ebx + 2]
mov dword [esp + 0x40], ebx
add eax, ecx
cmp edx, eax
jae 0x510437
add ecx, 2
mov dword [esp + 0xe4], 0
lea eax, [edx + edx]
add ecx, ebx
cmp eax, ecx
push 0
cmovae ecx, eax
lea eax, [esp + 0xe4]
push 0
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0xec], ecx
call sym.SystemInformer.exe_Ordinal_1331
mov esi, eax
mov eax, dword [esp + 0x34]
push ebx
push dword [eax + 4]
push dword [esi + 4]
call fcn.00586310
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x510429
call fcn.004fe0c0
mov eax, dword [esi + 4]
mov ecx, ebx
shr ecx, 1
mov dword [esp + 0x34], esi
lea esi, [eax + ecx*2]
mov eax, 0x20
mov word [esi], ax
lea eax, [esi + 2]
push dword [edi*8 + 0x630920]
push dword [edi*8 + 0x630924]
push eax
call fcn.00586310
mov ecx, dword [edi*8 + 0x630920]
add esp, 0xc
lea eax, [ecx + 2]
shr eax, 1
lea ebx, [esi + eax*2]
mov eax, dword [esp + 0x40]
add eax, 2
add ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x54]
mov edi, ecx
sub edi, dword [esp + 0xf0]
test dword [eax], 0xc0000000
je 0x5105ca
movzx esi, word ds:[eax + 6]
add esi, esi
cmp edi, esi
jae 0x5105ca
mov edx, dword [esp + 0x48]
sub esi, edi
add ecx, esi
mov dword [esp + 0x44], ecx
cmp edx, ecx
jae 0x510533
lea eax, [edx + edx]
mov dword [esp + 0xec], 0
cmp eax, ecx
mov edx, ecx
push 0
cmovae edx, eax
lea eax, [esp + 0xec]
push 0
push eax
mov dword [esp + 0x54], edx
mov dword [esp + 0xf4], edx
call sym.SystemInformer.exe_Ordinal_1331
push dword ds:[esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x38]
push dword [eax + 4]
push dword [ebx + 4]
call fcn.00586310
mov ecx, dword [esp + 0x40]
add esp, 0xc
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x51051f
call fcn.004fe0c0
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
shr ecx, 1
mov dword [esp + 0x34], ebx
lea ebx, [eax + ecx*2]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
test cl, cl
jns 0x51053f
movzx eax, word [eax + 8]
jmp 0x510544
mov eax, 0x20
shr esi, 1
mov dword [esp + 0x40], eax
test ecx, ecx
jns 0x51056d
test esi, esi
je 0x510569
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 0x5105bc
mov eax, edi
mov ecx, ebx
and eax, 0xfffffffe
sub ecx, eax
lea eax, [esi + esi]
push edi
mov dword [esp + 0x3c], eax
add eax, ecx
push ecx
lfence
push eax
mov dword [esp + 0xfc], ecx
call fcn.00586310
add esp, 0xc
test esi, esi
je 0x5105b8
mov eax, dword [esp + 0x40]
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 + 0x38]
mov ecx, dword [esp + 0x44]
add ebx, esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x30], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x48]
test eax, eax
jne 0x50efa0
mov esi, dword [esp + 0x34]
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.00583f7f
mov esp, ebp
pop ebp
ret 0xc