Function at 0x10021620
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071063
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x1008ab54]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.10040589
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x1002166f
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xb4]
push ecx
mov edi, 1
mov ecx, str.360SE6
mov dword [ebp - 4], ebx
call fcn.10026fd0
mov edx, dword [ebp - 0xb4]
add esp, 4
cmp dword [edx - 0xc], ebx
je 0x100216e8
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.10001d80
add eax, 0x10
add esp, 4
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], ebx
jne 0x1002171a
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100216e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022dfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10022dfd
push str.appslocal.json
lea ecx, [ebp - 0x118]
call fcn.10013140
push str.appslocal.json.bak
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.10013140
push 0x10077b2c
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.10013140
mov byte [ebp - 4], 4
call fcn.10040589
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10021770
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xb4]
push ecx
lea edx, [ebp - 0xb0]
push 0x10079a6c
push edx
call fcn.10012ec0
mov eax, dword [ebp - 0xb0]
add esp, 0xc
cmp dword [eax - 0xc], ebx
jge 0x100217b1
or eax, 0xffffffff
jmp 0x100217d0
push str.User_Data
push eax
call fcn.10049be9
add esp, 8
cmp eax, ebx
jne 0x100217c8
or eax, 0xffffffff
jmp 0x100217d0
sub eax, dword [ebp - 0xb0]
sar eax, 1
push eax
push ebx
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xb0]
call fcn.1001e310
push eax
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 6
call fcn.1000d4b0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xf8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002181a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xf4]
push str.apps_bin
push ecx
lea edx, [ebp - 0xb0]
push str._s_s
push edx
call fcn.10012ec0
add esp, 0x10
push 0x10077b2c
lea ecx, [ebp - 0xd8]
call fcn.10013140
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xb0]
push eax
push ecx
lea edx, [ebp - 0xd8]
push str._s_s
push edx
call fcn.10012ec0
add esp, 0x10
push 0x1007a4f8
push 0x10078c64
lea eax, [ebp - 0xd8]
push eax
call fcn.10012630
push 0x10077b2c
lea ecx, [ebp - 0xdc]
call fcn.10013140
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xb0]
push ecx
push edx
lea eax, [ebp - 0xdc]
push str._s_s
push eax
call fcn.10012ec0
add esp, 0x10
push 0x1007a4f8
push 0x10078c64
lea ecx, [ebp - 0xdc]
push ecx
call fcn.10012630
mov edx, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
mov eax, edx
mov byte [ebp - 4], 9
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
mov dword [ebp - 0xf8], edx
call edi
cmp eax, 1
je 0x10021a36
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10021922
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xd8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10021948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xf4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002196e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xb0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10021994
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xfc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100219ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100219e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10021a06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10021a2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x10022dff
push esi
call edi
cmp eax, 1
jne 0x10021a44
push esi
call fcn.10047be3
push 1
push esi
mov esi, dword [ebp - 0xf8]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.10040589
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10021a6e
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 0xa
call fcn.10040589
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10021a9e
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0xb
call fcn.10040589
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10021ace
push 0x80004005
call fcn.10001100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x114]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.100253f0
add esp, 4
push 0x1007ab48
push 0x1007ab4c
lea edx, [ebp - 0x114]
push edx
call fcn.10028740
lea eax, [ebp - 0xa8]
call fcn.10037050
mov eax, 0xfffffe00
and dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], ebx
and dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], ebx
and dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], ebx
and dword [ebp - 0x108], eax
mov dword [ebp - 0x104], ebx
and dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x114]
add eax, 0xfffffff0
push eax
call fcn.1000f2a0
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0xb8], esi
mov byte [ebp - 4], 0x19
cmp dword [esi - 4], 1
jle 0x10021ba3
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp - 0xb8]
call fcn.10001a90
mov esi, dword [ebp - 0xb8]
push esi
lea ecx, [ebp - 0x198]
call fcn.10002770
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x198]
push ecx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1a
call fcn.10002220
cmp dword [ebp - 0x68], 0x10
mov eax, dword [ebp - 0x7c]
jae 0x10021bd1
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x6c]
lea ecx, [eax + edx]
lea edx, [ebp - 0x1c0]
push edx
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100370d0
cmp dword [ebp - 0x180], 0x10
mov bl, al
jb 0x10021c06
mov ecx, dword [ebp - 0x194]
push ecx
call fcn.1003efae
add esp, 4
lea eax, [esi - 0x10]
mov dword [ebp - 0x180], 0xf
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x194], 0
mov byte [ebp - 4], 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10021c41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x10022b31
push str.apps
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.10034210
lea esi, [ebp - 0xd0]
call fcn.10033740
mov edi, dword [ebp - 0x120]
xor ebx, ebx
lea ecx, [ecx]
lea ecx, [ebp - 0xd0]
call fcn.10033de0
cmp ebx, eax
jae 0x10021f90
push ebx
lea edx, [ebp - 0xd0]
push edx
call fcn.10033ea0
push str.appid
push eax
call fcn.10034210
lea esi, [ebp - 0x198]
mov ecx, eax
call fcn.100337d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1b
call fcn.10002220
mov esi, 0x10
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x180], esi
jb 0x10021cd9
mov eax, dword [ebp - 0x194]
push eax
call fcn.1003efae
add esp, 4
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
jae 0x10021ce4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.10013080
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xbc]
push ecx
push edx
call fcn.10049690
add esp, 8
test eax, eax
je 0x10021f88
push ebx
lea eax, [ebp - 0xd0]
push eax
call fcn.10033ea0
push str.appid
push eax
call fcn.10034210
lea esi, [ebp - 0x198]
mov ecx, eax
call fcn.100337d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x1c
call fcn.10002220
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x180], 0x10
jb 0x10021d60
mov ecx, dword [ebp - 0x194]
push ecx
call fcn.1003efae
add esp, 4
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x1a8]
call fcn.100334d0
push str.appid
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 0x1d
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x1a8]
call fcn.10033740
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x18
call fcn.100336a0
push ebx
lea eax, [ebp - 0xd0]
push eax
call fcn.10033ea0
push str.apptype
push eax
call fcn.10034210
mov ecx, eax
call fcn.10033900
mov ecx, dword [ebp - 0x150]
and ecx, 0xffffff01
or ecx, 1
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x158], eax
push str.apptype
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 0x1e
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x158]
call fcn.10033740
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x18
call fcn.100336a0
push ebx
lea eax, [ebp - 0xd0]
push eax
call fcn.10033ea0
push str.enabled
push eax
call fcn.10034210
call fcn.10033d70
and edi, 0xffffff05
or edi, 5
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x128], al
push str.enabled
lea ecx, [ebp - 0xf0]
push ecx
mov byte [ebp - 4], 0x1f
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x128]
call fcn.10033740
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x18
call fcn.100336a0
push ebx
lea edx, [ebp - 0xd0]
push edx
call fcn.10033ea0
push str.loadtype
push eax
call fcn.10034210
mov ecx, eax
call fcn.10033900
mov ecx, dword [ebp - 0x140]
and ecx, 0xffffff01
or ecx, 1
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x148], eax
push str.loadtype
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 0x20
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x148]
call fcn.10033740
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x18
call fcn.100336a0
push ebx
lea eax, [ebp - 0xd0]
push eax
call fcn.10033ea0
push str.showstyle
push eax
call fcn.10034210
mov ecx, eax
call fcn.10033900
mov ecx, dword [ebp - 0x130]
and ecx, 0xffffff01
or ecx, 1
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x138], eax
push str.showstyle
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 0x21
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x138]
call fcn.10033740
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x18
call fcn.100336a0
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x110]
call fcn.100344d0
lea eax, [ebp - 0xf0]
call fcn.10033e60
add ebx, 1
jmp 0x10021c70
push str.apps
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x110]
call fcn.10033740
movsx eax, byte [ebp - 0x108]
mov ebx, dword [ebp - 0x110]
add eax, 0xfffffffa
cmp eax, 1
ja 0x10021fe9
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, ebx
call fcn.10035690
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
xor edi, edi
mov dword [ebx + 8], edi
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
jmp 0x10021feb
xor edi, edi
push str.sidebar
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.10034210
lea esi, [ebp - 0xd0]
call fcn.10033740
xor esi, esi
mov dword [ebp - 0xac], esi
nop
lea ecx, [ebp - 0xd0]
call fcn.10033de0
cmp esi, eax
jae 0x1002248a
push esi
lea edx, [ebp - 0xd0]
push edx
call fcn.10033ea0
push str.appid
push eax
call fcn.10034210
lea esi, [ebp - 0x174]
mov ecx, eax
call fcn.100337d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x22
call fcn.10002220
mov esi, 0x10
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x15c], esi
jb 0x10022078
mov eax, dword [ebp - 0x170]
push eax
call fcn.1003efae
add esp, 4
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
jae 0x10022083
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.10013080
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xbc]
push ecx
push edx
call fcn.10049690
add esp, 8
test eax, eax
je 0x10022478
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10033ea0
push str.appid
push eax
call fcn.10034210
lea esi, [ebp - 0x174]
mov ecx, eax
call fcn.100337d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x23
call fcn.10002220
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x15c], 0x10
jb 0x10022104
mov edx, dword [ebp - 0x170]
push edx
call fcn.1003efae
add esp, 4
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x1a8]
call fcn.100334d0
push str.appid
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0x24
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x1a8]
call fcn.10033740
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x18
call fcn.100336a0
mov ebx, dword [ebp - 0xac]
push ebx
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10033ea0
push str.container
push eax
call fcn.10034210
call fcn.10033d70
mov edx, dword [ebp - 0x130]
and edx, 0xffffff05
or edx, 5
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], edi
mov byte [ebp - 0x138], al
push str.container
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0x25
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x138]
call fcn.10033740
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x18
call fcn.100336a0
push ebx
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10033ea0
push str.height
push eax
call fcn.10034210
mov ecx, eax
call fcn.10033900
mov edx, dword [ebp - 0x140]
and edx, 0xffffff01
or edx, 1
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x148], eax
push str.height
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0x26
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x148]
call fcn.10033740
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x18
call fcn.100336a0
push ebx
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10033ea0
push str.lock
push eax
call fcn.10034210
call fcn.10033d70
mov edx, dword [ebp - 0x120]
and edx, 0xffffff05
or edx, 5
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edi
mov byte [ebp - 0x128], al
push str.lock
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0x27
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x128]
call fcn.10033740
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x18
call fcn.100336a0
push ebx
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10033ea0
push str.text
push eax
call fcn.10034210
lea esi, [ebp - 0x174]
mov ecx, eax
call fcn.100337d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x28
call fcn.10002220
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x15c], 0x10
jb 0x100222e9
mov edx, dword [ebp - 0x170]
push edx
call fcn.1003efae
add esp, 4
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x1e8]
call fcn.100334d0
push str.text
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0x29
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x1e8]
call fcn.10033740
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 0x18
call fcn.100336a0
push ebx
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10033ea0
push 0x1007a574
push eax
call fcn.10034210
lea esi, [ebp - 0x174]
mov ecx, eax
call fcn.100337d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x2a
call fcn.10002220
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x15c], 0x10
jb 0x10022379
mov edx, dword [ebp - 0x170]
push edx
call fcn.1003efae
add esp, 4
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x190]
call fcn.100334d0
push 0x1007a574
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0x2b
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x190]
call fcn.10033740
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0x18
call fcn.100336a0
push ebx
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10033ea0
push str.width
push eax
call fcn.10034210
mov ecx, eax
call fcn.10033900
mov edx, dword [ebp - 0x150]
and edx, 0xffffff01
or edx, 1
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x158], eax
push str.width
lea eax, [ebp - 0xf0]
push eax
mov byte [ebp - 4], 0x2c
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x158]
call fcn.10033740
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x18
call fcn.100336a0
lea ecx, [ebp - 0xf0]
push ecx
lea eax, [ebp - 0x110]
call fcn.100344d0
movsx eax, byte [ebp - 0xe8]
add eax, 0xfffffffa
cmp eax, 1
ja 0x10022472
mov esi, dword [ebp - 0xf0]
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, esi
call fcn.10035690
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov ebx, dword [ebp - 0x110]
add dword [ebp - 0xac], 1
mov esi, dword [ebp - 0xac]
jmp 0x10022010
push str.sidebar
lea ecx, [ebp - 0x1d0]
push ecx
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x110]
call fcn.10033740
movsx eax, byte [ebp - 0x108]
add eax, 0xfffffffa
cmp eax, 1
ja 0x100224d9
mov edx, dword [ebx + 4]
mov eax, dword [edx + 4]
push eax
mov ecx, ebx
call fcn.10035690
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], edi
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
push str.toolbar
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.10034210
lea esi, [ebp - 0xd0]
call fcn.10033740
mov dword [ebp - 0xac], edi
jmp 0x10022500
movsx eax, byte [ebp - 0xc8]
cmp eax, 7
ja case.0x10022510.0
jmp dword [eax*4 + 0x10022e1c]
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 8], 0
je case.0x10022510.0
mov ecx, dword [eax + 4]
lea esi, [ebp - 0x150]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], ecx
call fcn.10035ad0
mov esi, dword [ebp - 0x150]
test esi, esi
jne 0x10022550
call fcn.1004984b
mov edi, dword [ebp - 0x14c]
cmp edi, dword [esi + 4]
jne 0x10022560
call fcn.1004984b
mov eax, dword [edi + 0x14]
add eax, 1
jmp 0x10022571
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 8]
cmp dword [ebp - 0xac], eax
jae case.0x10022510.0
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10033ea0
push str.appid
push eax
call fcn.10034210
lea esi, [ebp - 0x174]
mov ecx, eax
call fcn.100337d0
push 0xffffffffffffffff
xor edi, edi
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x2d
call fcn.10002220
mov esi, 0x10
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x15c], esi
jb 0x100225da
mov edx, dword [ebp - 0x170]
push edx
call fcn.1003efae
add esp, 4
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
jae 0x100225e5
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.10013080
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xbc]
push eax
push ecx
call fcn.10049690
add esp, 8
test eax, eax
je 0x100229a5
mov edx, dword [ebp - 0xac]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.10033ea0
push str.appid
push eax
call fcn.10034210
lea esi, [ebp - 0x174]
mov ecx, eax
call fcn.100337d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x2e
call fcn.10002220
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x15c], 0x10
jb 0x10022666
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.1003efae
add esp, 4
mov edx, dword [ebp - 0x130]
and edx, 0xffffff04
or edx, 0x104
test byte [0x1009347c], 1
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], edi
mov ebx, vtable.Json::DefaultValueAllocator.0
jne 0x100226ac
or dword [0x1009347c], 1
push 0x10072c30
mov dword [0x1009346c], ebx
call fcn.10049a6c
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x100226b8
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x1008d9d4]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x138], eax
push str.appid
lea ecx, [ebp - 0xf0]
push ecx
mov byte [ebp - 4], 0x2f
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x138]
call fcn.10033740
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x18
call fcn.100336a0
mov edx, dword [ebp - 0xac]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.10033ea0
push str.style
push eax
call fcn.10034210
mov ecx, eax
call fcn.10033900
mov ecx, dword [ebp - 0x140]
and ecx, 0xffffff01
or ecx, 1
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x148], eax
push str.style
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 0x30
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x148]
call fcn.10033740
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x18
call fcn.100336a0
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10033ea0
push str.text
push eax
call fcn.10034210
lea esi, [ebp - 0x174]
mov ecx, eax
call fcn.100337d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x31
call fcn.10002220
mov esi, 0x10
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x15c], esi
jb 0x100227d3
mov edx, dword [ebp - 0x170]
push edx
call fcn.1003efae
add esp, 4
mov eax, dword [ebp - 0x120]
and eax, 0xffffff04
or eax, 0x104
test byte [0x1009347c], 1
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edi
jne 0x10022812
or dword [0x1009347c], 1
push 0x10072c30
mov dword [0x1009346c], ebx
call fcn.10049a6c
add esp, 4
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
jae 0x1002281d
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x1008d9d4]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x128], eax
push str.text
lea ecx, [ebp - 0xf0]
push ecx
mov byte [ebp - 4], 0x32
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x128]
call fcn.10033740
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x18
call fcn.100336a0
mov edx, dword [ebp - 0xac]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.10033ea0
push 0x1007a574
push eax
call fcn.10034210
lea esi, [ebp - 0x174]
mov ecx, eax
call fcn.100337d0
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x33
call fcn.10002220
mov esi, 0x10
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x15c], esi
jb 0x100228c1
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.1003efae
add esp, 4
mov edx, dword [ebp - 0x1a0]
and edx, 0xffffff04
or edx, 0x104
test byte [0x1009347c], 1
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x19c], edi
jne 0x10022902
or dword [0x1009347c], 1
push 0x10072c30
mov dword [0x1009346c], ebx
call fcn.10049a6c
add esp, 4
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
jae 0x1002290d
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x1008d9d4]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x1a8], eax
push 0x1007a574
lea ecx, [ebp - 0xf0]
push ecx
mov byte [ebp - 4], 0x34
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x1a8]
call fcn.10033740
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x18
call fcn.100336a0
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0x110]
call fcn.100344d0
movsx eax, byte [ebp - 0xe8]
add eax, 0xfffffffa
cmp eax, 1
ja 0x1002299f
mov esi, dword [ebp - 0xf0]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.10035690
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov ebx, dword [ebp - 0x110]
add dword [ebp - 0xac], 1
jmp 0x10022500
push str.toolbar
lea edx, [ebp - 0x1d0]
push edx
call fcn.10034210
mov esi, eax
lea eax, [ebp - 0x110]
call fcn.10033740
movsx eax, byte [ebp - 0x108]
add eax, 0xfffffffa
cmp eax, 1
ja 0x10022a0a
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
call fcn.10035690
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x110]
mov dword [eax + 4], eax
mov eax, dword [ecx + 4]
xor ebx, ebx
mov dword [ecx + 8], ebx
mov dword [eax], eax
mov eax, dword [ecx + 4]
mov dword [eax + 8], eax
jmp 0x10022a0c
xor ebx, ebx
lea esi, [ebp - 0x1f0]
lea edi, [ebp - 0x1d0]
call fcn.100348f0
mov edi, 0x10
mov byte [ebp - 4], 0x35
cmp dword [eax + 0x18], edi
jb 0x10022a30
mov eax, dword [eax + 4]
jmp 0x10022a33
add eax, 4
lea edx, [ebp - 0xb8]
push edx
mov ecx, eax
call fcn.10016870
mov byte [ebp - 4], 0x37
cmp dword [ebp - 0x1d8], edi
jb 0x10022a5c
mov eax, dword [ebp - 0x1ec]
push eax
call fcn.1003efae
add esp, 4
push 0x1007ab4c
push 0x1007ab48
lea ecx, [ebp - 0xb8]
mov esi, 0xf
push ecx
mov dword [ebp - 0x1d8], esi
mov dword [ebp - 0x1dc], ebx
mov byte [ebp - 0x1ec], 0
call fcn.10028740
mov edx, dword [ebp - 0xb8]
cmp dword [edx - 4], 1
jle 0x10022aab
mov edx, dword [edx - 0xc]
push edx
lea ecx, [ebp - 0xb8]
call fcn.10001a90
mov edx, dword [ebp - 0xb8]
mov eax, edx
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x184], ebx
mov byte [ebp - 0x194], 0
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10022ac3
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x198]
call fcn.10002650
mov byte [ebp - 4], 0x38
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x198]
call fcn.10025550
add esp, 4
cmp dword [ebp - 0x180], edi
jb 0x10022b0b
mov ecx, dword [ebp - 0x194]
push ecx
call fcn.1003efae
add esp, 4
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10022b31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [ebp - 0x18], ebx
jb 0x10022b47
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003efae
add esp, 4
mov esi, 0xf
xor edi, edi
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x15
call fcn.100336a0
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x13
call fcn.100336a0
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0x11
call fcn.100336a0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xf
call fcn.100336a0
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0xd
call fcn.100336a0
cmp dword [ebp - 0x38], ebx
jb 0x10022bb4
mov edx, dword [ebp - 0x4c]
push edx
call fcn.1003efae
add esp, 4
cmp dword [ebp - 0x68], ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x4c], 0
jb 0x10022bcf
mov eax, dword [ebp - 0x7c]
push eax
call fcn.1003efae
add esp, 4
mov dword [ebp - 0x68], esi
lea esi, [ebp - 0x94]
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x7c], 0
call fcn.1001e540
lea esi, [ebp - 0xa8]
call fcn.100313b0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x114]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022c15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xbc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022c3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1ac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022c61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0xdc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022c8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xd8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022cb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xf4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022cd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xb0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022cfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xfc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022d22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022d48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xd4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10022d6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10021a2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x10022dff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10048e2f
mov esp, ebp
pop ebp
ret