Function at 0x510250
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8753
mov eax, dword fs:[0]
push eax
sub esp, 0x568
mov eax, dword [0x55b090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x4b8], ecx
push 1
push str.SeRestorePrivilege
mov dword [ebp - 4], ecx
call fcn.004a5300
push 1
push str.SeBackupPrivilege
call fcn.004a5300
push 0x48
call dword [sym.imp.mfc140u.dll_operator_2]
mov esi, eax
add esp, 4
mov dword [ebp - 0x4bc], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x510310
push 0x48
push 0
push esi
call sub.VCRUNTIME140.dll_memset
push 0xfde9
lea edx, [ebp + 8]
lea ecx, [ebp - 0x574]
call fcn.00503f80
add esp, 0x10
mov byte [ebp - 4], 2
mov ecx, 1
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x4b8], ecx
jb 0x5102fe
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0047a5e0
mov edi, eax
mov dword [ebp - 0x4c0], eax
jmp 0x510318
xor edi, edi
mov dword [ebp - 0x4c0], edi
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x214]
test al, 1
je 0x510389
mov edx, dword [ebp - 0x560]
and eax, 0xfffffffe
mov dword [ebp - 0x214], eax
cmp edx, 0x10
jb 0x51036e
mov ecx, dword [ebp - 0x574]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x510364
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x510364
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004823d1
add esp, 8
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x560], 0xf
mov byte [ebp - 0x574], 0
push 0
mov ecx, edi
call fcn.0047c990
test al, al
je 0x511ca7
mov edx, 0x528038
lea ecx, [ebp - 0x4b8]
call fcn.00509d60
mov byte [ebp - 4], 4
mov ecx, edi
push dword [eax]
call fcn.0047c170
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 0
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test esi, esi
je 0x511c9b
mov edx, 0x528048
lea ecx, [ebp - 0x54c]
call fcn.00509d60
mov byte [ebp - 4], 5
mov ecx, esi
push dword [eax]
call fcn.0047c170
mov edi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54c]
mov dword [ebp - 0x4ec], edi
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test edi, edi
je 0x511c95
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0xf
mov byte [ebp - 0x2fc], 0
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0xf
mov byte [ebp - 0x314], 0
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0x318], 0xf
mov byte [ebp - 0x32c], 0
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 0xf
mov byte [ebp - 0x344], 0
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0xf
mov byte [ebp - 0x35c], 0
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x360], 0xf
mov byte [ebp - 0x374], 0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x214]
nop word [eax + eax]
push 0
push 0x523438
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0xf
mov byte [ebp - 0x27c], 0
call fcn.0045e3d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x294]
push 0
push 0x523438
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], 0
call fcn.0045e3d0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2cc]
push 0
push 0x523438
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0xf
mov byte [ebp - 0x2cc], 0
call fcn.0045e3d0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2b4]
push 0
push 0x523438
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0xf
mov byte [ebp - 0x2b4], 0
call fcn.0045e3d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x22c]
push 0
push 0x523438
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0xf
mov byte [ebp - 0x22c], 0
call fcn.0045e3d0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2e4]
push 0
push 0x523438
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 0xf
mov byte [ebp - 0x2e4], 0
call fcn.0045e3d0
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0x12
call fcn.004a2e70
xor esi, esi
nop dword [eax + eax]
mov cl, byte [esi*2 + 0x528054]
mov al, byte [esi*2 + 0x528055]
shl cl, 4
add al, 0x80
or cl, al
movzx eax, cl
lea ecx, [ebp - 0x47c]
push eax
call fcn.00488490
mov byte [ebp - 0x548], al
test esi, esi
jle 0x510650
push dword [ebp - 0x548]
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 5
jl 0x510610
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x4dc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
lea ecx, [ebp - 0x24c]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0x13
mov ecx, edi
push dword [ebp - 0x4dc]
call fcn.0047b0f0
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 0x11
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test esi, esi
je 0x5106e2
mov edx, 0x528054
lea ecx, [ebp - 0x544]
call fcn.00509d60
mov byte [ebp - 4], 0x14
mov ecx, edi
push dword [eax]
call fcn.0047b0f0
mov edx, eax
lea esi, [edx + 1]
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x5106c0
sub edx, esi
lea ecx, [ebp - 0x27c]
push edx
push eax
call fcn.0045e3d0
lea ecx, [ebp - 0x544]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
lea ecx, [ebp - 0x250]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0x15
call fcn.004a2e70
xor esi, esi
mov cl, byte [esi*2 + 0x528060]
mov al, byte [esi*2 + 0x528061]
shl cl, 4
add al, 0x80
or cl, al
movzx eax, cl
lea ecx, [ebp - 0x47c]
push eax
call fcn.00488490
mov byte [ebp - 0x540], al
test esi, esi
jle 0x510742
push dword [ebp - 0x540]
lea ecx, [ebp - 0x250]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 4
jl 0x510702
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x4e0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
lea ecx, [ebp - 0x250]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0x16
mov ecx, edi
push dword [ebp - 0x4e0]
call fcn.0047b0f0
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 0x11
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test esi, esi
je 0x5107d2
mov edx, 0x528060
lea ecx, [ebp - 0x538]
call fcn.00509d60
mov byte [ebp - 4], 0x17
mov ecx, edi
push dword [eax]
call fcn.0047b0f0
mov edx, eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x5107b0
sub edx, esi
lea ecx, [ebp - 0x294]
push edx
push eax
call fcn.0045e3d0
lea ecx, [ebp - 0x538]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
lea ecx, [ebp - 0x254]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0x18
call fcn.004a2e70
xor esi, esi
mov cl, byte [esi*2 + 0x523830]
mov al, byte [esi*2 + 0x523831]
shl cl, 4
add al, 0x80
or cl, al
movzx eax, cl
lea ecx, [ebp - 0x47c]
push eax
call fcn.00488490
mov byte [ebp - 0x534], al
test esi, esi
jle 0x510832
push dword [ebp - 0x534]
lea ecx, [ebp - 0x254]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 5
jl 0x5107f2
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x4e4]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
lea ecx, [ebp - 0x254]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x4e4]
mov edx, eax
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x510881
sub edx, esi
lea ecx, [ebp - 0x49c]
push edx
push eax
call fcn.0045e3d0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x49c]
cmp dword [ebp - 0x488], 0x10
mov ecx, edi
cmovae eax, dword [ebp - 0x49c]
push eax
call fcn.0047b0f0
mov byte [ebp - 4], 0x19
mov esi, eax
mov edx, dword [ebp - 0x488]
cmp edx, 0x10
jb 0x5108f7
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5108ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push edx
push ecx
call fcn.004823d1
add esp, 8
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test esi, esi
je 0x510b37
mov edx, 0x523830
lea ecx, [ebp - 0x530]
call fcn.00509d60
mov byte [ebp - 4], 0x1b
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x510960
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x49c]
call fcn.0045e3d0
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x49c]
cmp dword [ebp - 0x488], 0x10
mov ecx, edi
cmovae eax, dword [ebp - 0x49c]
push eax
call fcn.0047b0f0
mov edx, eax
mov dword [ebp - 0x4a4], 0
mov ecx, edx
mov dword [ebp - 0x4a0], 0xf
mov byte [ebp - 0x4b4], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5109b8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4b4]
call fcn.0045e3d0
sub esp, 8
mov byte [ebp - 4], 0x1d
lea edx, [ebp - 0x4b4]
lea ecx, [ebp - 0x244]
call fcn.0043c640
mov esi, eax
add esp, 8
lea eax, [ebp - 0x2cc]
cmp eax, esi
je 0x510a24
mov ecx, eax
call fcn.0045c500
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2cc], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2bc], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x510a5e
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x510a54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push edx
push ecx
call fcn.004823d1
add esp, 8
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x4a0]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
cmp edx, 0x10
jb 0x510ab7
mov ecx, dword [ebp - 0x4b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x510aad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push edx
push ecx
call fcn.004823d1
add esp, 8
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x488]
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0xf
mov byte [ebp - 0x4b4], 0
cmp edx, 0x10
jb 0x510b10
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x510b06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push edx
push ecx
call fcn.004823d1
add esp, 8
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
lea ecx, [ebp - 0x258]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0x1e
call fcn.004a2e70
xor esi, esi
nop word [eax + eax]
mov cl, byte [esi*2 + 0x52806c]
mov al, byte [esi*2 + 0x52806d]
shl cl, 4
add al, 0x80
or cl, al
movzx eax, cl
lea ecx, [ebp - 0x47c]
push eax
call fcn.00488490
mov byte [ebp - 0x52c], al
test esi, esi
jle 0x510ba0
push dword [ebp - 0x52c]
lea ecx, [ebp - 0x258]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 6
jl 0x510b60
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x4e8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
lea ecx, [ebp - 0x258]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0x1f
mov ecx, edi
push dword [ebp - 0x4e8]
call fcn.0047b0f0
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 0x11
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test esi, esi
je 0x510d56
mov edx, 0x52806c
lea ecx, [ebp - 0x528]
call fcn.00509d60
mov byte [ebp - 4], 0x20
mov ecx, edi
push dword [eax]
call fcn.0047b0f0
mov edx, eax
mov dword [ebp - 0x4a4], 0
mov ecx, edx
mov dword [ebp - 0x4a0], 0xf
mov byte [ebp - 0x4b4], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x510c30
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4b4]
call fcn.0045e3d0
sub esp, 8
mov byte [ebp - 4], 0x21
lea edx, [ebp - 0x4b4]
lea ecx, [ebp - 0x244]
call fcn.0043c640
mov esi, eax
add esp, 8
lea eax, [ebp - 0x2b4]
cmp eax, esi
je 0x510c9c
mov ecx, eax
call fcn.0045c500
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2b4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2a4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x230]
cmp edx, 0x10
jb 0x510cd6
mov ecx, dword [ebp - 0x244]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x510ccc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push edx
push ecx
call fcn.004823d1
add esp, 8
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0x4a0]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0xf
mov byte [ebp - 0x244], 0
cmp edx, 0x10
jb 0x510d2f
mov ecx, dword [ebp - 0x4b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x510d25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push edx
push ecx
call fcn.004823d1
add esp, 8
lea ecx, [ebp - 0x528]
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0xf
mov byte [ebp - 0x4b4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
lea ecx, [ebp - 0x25c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0x22
call fcn.004a2e70
xor esi, esi
nop word [eax + eax]
mov cl, byte [esi*2 + 0x52708c]
mov al, byte [esi*2 + 0x52708d]
shl cl, 4
add al, 0x80
or cl, al
movzx eax, cl
lea ecx, [ebp - 0x47c]
push eax
call fcn.00488490
mov byte [ebp - 0x524], al
test esi, esi
jle 0x510dc0
push dword [ebp - 0x524]
lea ecx, [ebp - 0x25c]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 5
jl 0x510d80
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x4f8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
lea ecx, [ebp - 0x25c]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x4f8]
mov edx, eax
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
lea esi, [edx + 1]
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x510e10
sub edx, esi
lea ecx, [ebp - 0x49c]
push edx
push eax
call fcn.0045e3d0
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x49c]
cmp dword [ebp - 0x488], 0x10
mov ecx, edi
cmovae eax, dword [ebp - 0x49c]
push eax
call fcn.0047b0f0
mov byte [ebp - 4], 0x23
mov esi, eax
mov edx, dword [ebp - 0x488]
cmp edx, 0x10
jb 0x510e86
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x510e7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push edx
push ecx
call fcn.004823d1
add esp, 8
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test esi, esi
je 0x510fab
mov edx, 0x52708c
lea ecx, [ebp - 0x520]
call fcn.00509d60
mov byte [ebp - 4], 0x25
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x510ef0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x49c]
call fcn.0045e3d0
mov byte [ebp - 4], 0x26
lea eax, [ebp - 0x49c]
cmp dword [ebp - 0x488], 0x10
mov ecx, edi
cmovae eax, dword [ebp - 0x49c]
push eax
call fcn.0047b0f0
mov edx, eax
lea esi, [edx + 1]
nop dword [eax + eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x510f30
sub edx, esi
lea ecx, [ebp - 0x22c]
push edx
push eax
call fcn.0045e3d0
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x488]
cmp edx, 0x10
jb 0x510f84
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x510f7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push edx
push ecx
call fcn.004823d1
add esp, 8
lea ecx, [ebp - 0x520]
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0x27
call fcn.004a2e70
xor esi, esi
nop dword [eax + eax]
mov cl, byte [esi*2 + 0x52807c]
mov al, byte [esi*2 + 0x52807d]
shl cl, 4
add al, 0x80
or cl, al
movzx eax, cl
lea ecx, [ebp - 0x47c]
push eax
call fcn.00488490
mov byte [ebp - 0x51c], al
test esi, esi
jle 0x511010
push dword [ebp - 0x51c]
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 5
jl 0x510fd0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x4f4]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x4f4]
mov edx, eax
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
lea esi, [edx + 1]
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x511060
sub edx, esi
lea ecx, [ebp - 0x49c]
push edx
push eax
call fcn.0045e3d0
mov byte [ebp - 4], 0x29
lea eax, [ebp - 0x49c]
cmp dword [ebp - 0x488], 0x10
mov ecx, edi
cmovae eax, dword [ebp - 0x49c]
push eax
call fcn.0047b0f0
mov byte [ebp - 4], 0x28
mov esi, eax
mov edx, dword [ebp - 0x488]
cmp edx, 0x10
jb 0x5110d6
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5110cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push edx
push ecx
call fcn.004823d1
add esp, 8
lea ecx, [ebp - 0x4f4]
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
test esi, esi
je 0x5111fb
mov edx, 0x52807c
lea ecx, [ebp - 0x518]
call fcn.00509d60
mov byte [ebp - 4], 0x2a
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x511140
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x49c]
call fcn.0045e3d0
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x49c]
cmp dword [ebp - 0x488], 0x10
mov ecx, edi
cmovae eax, dword [ebp - 0x49c]
push eax
call fcn.0047b0f0
mov edx, eax
lea esi, [edx + 1]
nop dword [eax + eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x511180
sub edx, esi
lea ecx, [ebp - 0x2e4]
push edx
push eax
call fcn.0045e3d0
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x488]
cmp edx, 0x10
jb 0x5111d4
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5111ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push edx
push ecx
call fcn.004823d1
add esp, 8
lea ecx, [ebp - 0x518]
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0xf
mov byte [ebp - 0x49c], 0
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp dword [ebp - 0x2d0], 0x10
lea ecx, [ebp - 0x2e4]
mov edx, dword [ebp - 0x2d4]
cmovae ecx, dword [ebp - 0x2e4]
push 1
push 0x5235e4
call fcn.00471d80
add esp, 8
mov byte [ebp - 0x481], al
lea ecx, [ebp - 0x260]
xor edi, edi
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0x2c
call fcn.004a2e70
xor esi, esi
nop dword [eax]
mov cl, byte [esi*2 + 0x528088]
mov al, byte [esi*2 + 0x528089]
shl cl, 4
add al, 0x80
or cl, al
movzx eax, cl
lea ecx, [ebp - 0x47c]
push eax
call fcn.00488490
mov byte [ebp - 0x53c], al
test esi, esi
jle 0x511290
push dword [ebp - 0x53c]
lea ecx, [ebp - 0x260]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 5
jl 0x511250
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x4f0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
lea ecx, [ebp - 0x260]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov byte [ebp - 4], 0x2d
mov eax, dword [ebp - 0x4f0]
mov edx, eax
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0xf
mov byte [ebp - 0x4b4], 0
lea esi, [edx + 1]
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x5112e0
sub edx, esi
lea ecx, [ebp - 0x4b4]
push edx
push eax
call fcn.0045e3d0
cmp dword [ebp - 0x4a0], 0x10
lea eax, [ebp - 0x4b4]
mov esi, dword [ebp - 0x4b4]
lea ecx, [ebp - 0x27c]
push dword [ebp - 0x4a4]
mov edx, dword [ebp - 0x26c]
cmovae eax, esi
cmp dword [ebp - 0x268], 0x10
push eax
cmovae ecx, dword [ebp - 0x27c]
call fcn.00471d80
mov byte [ebp - 0x482], al
add esp, 8
mov eax, dword [ebp - 0x4a0]
cmp eax, 0x10
jb 0x511371
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x511367
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push ecx
push esi
call fcn.004823d1
add esp, 8
lea ecx, [ebp - 0x4f0]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x482], 0
je 0x511394
mov edi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x511543
mov edx, 0x528094
lea ecx, [ebp - 0x550]
call fcn.00509d60
mov byte [ebp - 4], 0x2e
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0xf
mov byte [ebp - 0x4b4], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5113d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4b4]
call fcn.0045e3d0
cmp dword [ebp - 0x4a0], 0x10
lea eax, [ebp - 0x4b4]
mov esi, dword [ebp - 0x4b4]
lea ecx, [ebp - 0x27c]
push dword [ebp - 0x4a4]
mov edx, dword [ebp - 0x26c]
cmovae eax, esi
cmp dword [ebp - 0x268], 0x10
push eax
cmovae ecx, dword [ebp - 0x27c]
call fcn.00471d80
mov byte [ebp - 0x482], al
add esp, 8
mov eax, dword [ebp - 0x4a0]
cmp eax, 0x10
jb 0x511461
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x511457
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51035e
push ecx
push esi
call fcn.004823d1
add esp, 8
lea ecx, [ebp - 0x550]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x482], 0
je 0x511484
mov edi, GetEffectiveClientRect
jmp 0x511543
mov edx, 0x5280a0
lea ecx, [ebp - 0x554]
call fcn.00509d60
mov byte [ebp - 4], 0x2f
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0xf
mov byte [ebp - 0x4b4], 0
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5114c0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4b4]
call fcn.0045e3d0
cmp dword [ebp - 0x4a0], 0x10
lea eax, [ebp - 0x4b4]
push dword [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x4b4]
lea ecx, [ebp - 0x27c]
cmp dword [ebp - 0x268], 0x10
mov edx, dword [ebp - 0x26c]
cmovae ecx, dword [ebp - 0x27c]
push eax
call fcn.00471d80
add esp, 8
mov byte [ebp - 0x482], al
lea ecx, [ebp - 0x4b4]
call fcn.0045c500
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x482], 0
mov eax, GetEffectiveClientRect
cmovne edi, eax
cmp byte [ebp - 0x481], 1
lea eax, [ebp - 0x480]
lea edx, [ebp - 0x294]
push eax
jne 0x511560
push 0xf013f
jmp 0x511565
push 0xf003f
cmp dword [ebp - 0x280], 0x10
push ecx
cmovae edx, dword [ebp - 0x294]
mov ecx, edi
call fcn.004bcc90
add esp, 0xc
cmp eax, 2
jne 0x5115c2
cmp dword [0x55d080], 1
lea eax, [ebp - 0x480]
push ecx
push eax
push ecx
lea edx, [ebp - 0x294]
mov ecx, edi
jne 0x5115a4
push 0xf013f
jmp 0x5115a9
push 0xf003f
cmp dword [ebp - 0x280], 0x10
cmovae edx, dword [ebp - 0x294]
sub esp, 0xc
call fcn.004fd0f0
add esp, 0x1c
test eax, eax
jne 0x511b36
mov edx, 0x5280b0
lea ecx, [ebp - 0x558]
xor esi, esi
call fcn.00509d60
mov byte [ebp - 4], 0x30
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x4a4], esi
mov dword [ebp - 0x4a0], 0xf
mov byte [ebp - 0x4b4], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x511600
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x4b4]
call fcn.0045e3d0
cmp dword [ebp - 0x4a0], 0x10
lea eax, [ebp - 0x4b4]
mov edi, dword [ebp - 0x218]
lea ecx, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x4b4]
cmp edi, 0x10
push dword [ebp - 0x4a4]
cmovae ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
push eax
call fcn.00471d80
add esp, 8
mov byte [ebp - 0x481], al
lea ecx, [ebp - 0x4b4]
call fcn.0045c500
lea ecx, [ebp - 0x558]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x481], 0
je 0x511689
mov esi, 3
jmp 0x511a4e
mov edx, 0x5280d0
lea ecx, [ebp - 0x55c]
call fcn.00509d60
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x244]
push dword [eax]
call fcn.0045e550
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x5116b4
mov edx, dword [eax]
push dword [eax + 0x10]
cmp edi, 0x10
lea ecx, [ebp - 0x22c]
push edx
cmovae ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
call fcn.00471d80
add esp, 8
mov byte [ebp - 0x481], al
lea ecx, [ebp - 0x244]
call fcn.0045c500
lea ecx, [ebp - 0x55c]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x481], 0
je 0x51170a
mov esi, 4
jmp 0x511a4e
mov edx, 0x5280f0
lea ecx, [ebp - 0x4fc]
call fcn.00509d60
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x244]
push dword [eax]
call fcn.0045e550
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x511735
mov edx, dword [eax]
push dword [eax + 0x10]
cmp edi, 0x10
lea ecx, [ebp - 0x22c]
push edx
cmovae ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
call fcn.00471d80
add esp, 8
mov byte [ebp - 0x481], al
lea ecx, [ebp - 0x244]
call fcn.0045c500
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x481], 0
je 0x51178b
mov esi, 5
jmp 0x511a4e
mov edx, 0x528120
lea ecx, [ebp - 0x500]
call fcn.00509d60
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x244]
push dword [eax]
call fcn.0045e550
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x5117b6
mov edx, dword [eax]
push dword [eax + 0x10]
cmp edi, 0x10
lea ecx, [ebp - 0x22c]
push edx
cmovae ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
call fcn.00471d80
add esp, 8
mov byte [ebp - 0x481], al
lea ecx, [ebp - 0x244]
call fcn.0045c500
lea ecx, [ebp - 0x500]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x481], 0
je 0x51180c
mov esi, 2
jmp 0x511a4e
mov edx, 0x528140
lea ecx, [ebp - 0x504]
call fcn.00509d60
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x244]
push dword [eax]
call fcn.0045e550
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x511837
mov edx, dword [eax]
push dword [eax + 0x10]
cmp edi, 0x10
lea ecx, [ebp - 0x22c]
push edx
cmovae ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
call fcn.00471d80
add esp, 8
mov byte [ebp - 0x481], al
lea ecx, [ebp - 0x244]
call fcn.0045c500
lea ecx, [ebp - 0x504]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x481], 0
je 0x51188d
mov esi, 6
jmp 0x511a4e
mov edx, 0x528160
lea ecx, [ebp - 0x508]
call fcn.00509d60
mov ecx, eax
mov byte [ebp - 4], 0x35
call dword [sym.imp.mfc140u.dll_Ordinal_1665]
push eax
lea ecx, [ebp - 0x244]
call fcn.0045e550
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x5118bf
mov edx, dword [eax]
push dword [eax + 0x10]
cmp edi, 0x10
lea ecx, [ebp - 0x22c]
push edx
cmovae ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
call fcn.00471d80
add esp, 8
mov byte [ebp - 0x481], al
lea ecx, [ebp - 0x244]
call fcn.0045c500
lea ecx, [ebp - 0x508]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x481], 0
je 0x511915
mov esi, 7
jmp 0x511a4e
mov edx, 0x528180
lea ecx, [ebp - 0x50c]
call fcn.00509d60
mov ecx, eax
mov byte [ebp - 4], 0x36
call dword [sym.imp.mfc140u.dll_Ordinal_1665]
push eax
lea ecx, [ebp - 0x244]
call fcn.0045e550
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x511947
mov edx, dword [eax]
push dword [eax + 0x10]
cmp edi, 0x10
lea ecx, [ebp - 0x22c]
push edx
cmovae ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
call fcn.00471d80
add esp, 8
mov byte [ebp - 0x481], al
lea ecx, [ebp - 0x244]
call fcn.0045c500
lea ecx, [ebp - 0x50c]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x481], 0
je 0x51199a
xor esi, esi
jmp 0x511a4e
mov edx, 0x5281a0
lea ecx, [ebp - 0x510]
call fcn.00509d60
mov ecx, eax
mov byte [ebp - 4], 0x37
call dword [sym.imp.mfc140u.dll_Ordinal_1665]
push eax
lea ecx, [ebp - 0x244]
call fcn.0045e550
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x5119cc
mov edx, dword [eax]
push dword [eax + 0x10]
cmp edi, 0x10
lea ecx, [ebp - 0x22c]
push edx
cmovae ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x21c]
call fcn.00471d80
add esp, 8
mov byte [ebp - 0x481], al
lea ecx, [ebp - 0x244]
call fcn.0045c500
lea ecx, [ebp - 0x510]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
cmp byte [ebp - 0x481], 0
je 0x511a1f
mov esi, 0xb
jmp 0x511a4e
mov edx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x22c]
cmp edi, 0x10
push 6
cmovae ecx, dword [ebp - 0x22c]
push 0x5281b8
call fcn.00471d80
add esp, 8
test al, al
mov eax, 1
cmovne esi, eax
mov eax, dword [ebp - 0x2a4]
lea ecx, [ebp - 0x514]
cmp dword [ebp - 0x2a0], 0x10
mov edx, 0x5297d0
mov dword [ebp - 0x4d8], eax
lea eax, [ebp - 0x2b4]
cmovae eax, dword [ebp - 0x2b4]
cmp dword [ebp - 0x2b8], 0x10
mov dword [ebp - 0x4c4], eax
lea eax, [ebp - 0x2cc]
cmovae eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x4cc], eax
call fcn.004c6fd0
mov ecx, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x514]
mov edi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test edi, edi
je 0x511b2b
mov edx, 0x52f180
lea ecx, [ebp - 0x4d0]
call fcn.00509d60
mov ecx, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1665]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 0x4d4], eax
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
mov eax, dword [ebp - 0x4d4]
test eax, eax
je 0x511b24
push dword [ebp - 0x4d8]
push dword [ebp - 0x4c4]
push esi
push 0
push dword [ebp - 0x4c8]
push dword [ebp - 0x4cc]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x480]
call fcn.00426b30
lea ecx, [ebp - 0x264]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push 0x1b
push ecx
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0x38
call fcn.004a2e70
xor esi, esi
nop word [eax + eax]
mov cl, byte [esi*2 + 0x528049]
mov al, byte [esi*2 + 0x528048]
add cl, 0x80
shl al, 4
or cl, al
movzx eax, cl
lea ecx, [ebp - 0x47c]
push eax
call fcn.00488490
mov byte [ebp - 0x4bc], al
test esi, esi
jle 0x511ba1
push dword [ebp - 0x4bc]
lea ecx, [ebp - 0x264]
call dword [sym.imp.mfc140u.dll_Ordinal_1697]
inc esi
cmp esi, 4
jl 0x511b60
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x4b8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__4]
lea ecx, [ebp - 0x264]
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
lea ecx, [ebp - 0x4b8]
mov byte [ebp - 4], 0x39
call dword [sym.imp.mfc140u.dll_Ordinal_1665]
mov ecx, dword [ebp - 0x4ec]
push eax
call fcn.0047cad0
mov edi, eax
lea ecx, [ebp - 0x4b8]
mov dword [ebp - 0x4ec], edi
call dword [sym.imp.mfc140u.dll_Ordinal_1046]
lea ecx, [ebp - 0x2e4]
call fcn.0045c500
lea ecx, [ebp - 0x22c]
call fcn.0045c500
lea ecx, [ebp - 0x2b4]
call fcn.0045c500
lea ecx, [ebp - 0x2cc]
call fcn.0045c500
lea ecx, [ebp - 0x294]
call fcn.0045c500
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xb
call fcn.0045c500
mov eax, dword [ebp - 0x214]
or eax, 0x1fe
test edi, edi
jne 0x5104c0
lea ecx, [ebp - 0x374]
call fcn.0045c500
lea ecx, [ebp - 0x35c]
call fcn.0045c500
lea ecx, [ebp - 0x344]
call fcn.0045c500
lea ecx, [ebp - 0x32c]
call fcn.0045c500
lea ecx, [ebp - 0x314]
call fcn.0045c500
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0
call fcn.0045c500
mov edi, dword [ebp - 0x4c0]
test edi, edi
je 0x511ca7
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push 0
push str.SeRestorePrivilege
call fcn.004a5300
push 0
push str.SeBackupPrivilege
call fcn.004a5300
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
mov ecx, 0x56d704
push 0x100
push eax
push str.RestoreEndText
call fcn.004b3ed0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x29c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
push 0x100
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 0x3a
push eax
push str.RestoreEndCaption
mov ecx, 0x56d704
call fcn.004b3ed0
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x298]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
push 0x1040
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0x3b
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
lea ecx, [ebp - 0x29c]
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
mov edx, eax
xor ecx, ecx
call fcn.00495f20
add esp, 8
mov ecx, 0x56d130
call fcn.0043c8f0
test al, al
jne 0x51200c
mov ecx, 0x56d5e0
call fcn.004cfd50
push eax
lea ecx, [ebp - 0x244]
call fcn.0045b6f0
mov byte [ebp - 4], 0x3c
lea eax, [ebp - 0x244]
cmp dword [ebp - 0x230], 8
lea ecx, [ebp - 0x214]
cmovae eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
push 0x51a9b8
push str._clsid_
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 0x3d
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
push 0x51a9b8
push str._typelib_
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
mov edx, 0x527bf0
lea ecx, [ebp - 0x4bc]
call fcn.004c6fd0
push 0x51a9b8
mov ecx, eax
mov byte [ebp - 4], 0x3e
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 0x3d
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x51a9b8
push str._startup_
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
mov edx, 0x527c90
lea ecx, [ebp - 0x4cc]
call fcn.004c6fd0
push 0x51a9b8
mov ecx, eax
mov byte [ebp - 4], 0x3f
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x4cc]
mov byte [ebp - 4], 0x3d
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, 0x527ce0
lea ecx, [ebp - 0x4c8]
call fcn.004c6fd0
push 0x51a9b8
mov ecx, eax
mov byte [ebp - 4], 0x40
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x4c8]
mov byte [ebp - 4], 0x3d
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, 0x527d18
lea ecx, [ebp - 0x4c4]
call fcn.004c6fd0
push 0x51a9b8
mov ecx, eax
mov byte [ebp - 4], 0x41
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x4c4]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x51a9b8
push str._apppath_
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
mov edx, 0x527d90
lea ecx, [ebp - 0x4d8]
call fcn.004c6fd0
push 0x51a9b8
mov ecx, eax
mov byte [ebp - 4], 0x42
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 0x3d
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, 0x527960
lea ecx, [ebp - 0x4d4]
call fcn.004c6fd0
push 0x51a9b8
mov ecx, eax
mov byte [ebp - 4], 0x43
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x4d4]
mov byte [ebp - 4], 0x3d
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, 0x5279b0
lea ecx, [ebp - 0x4d0]
call fcn.004c6fd0
push 0x51a9b8
mov ecx, eax
mov byte [ebp - 4], 0x44
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 0x3d
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
sub esp, 0x18
lea ecx, [ebp - 0x214]
mov esi, esp
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
mov ecx, esi
call fcn.0045b6f0
mov ecx, 0x56d5e0
call fcn.004195f0
mov ecx, 0x56d5a8
call fcn.00438e80
mov ecx, 0x56d5e0
call fcn.00438e80
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x244]
call fcn.0045b090
lea ecx, [ebp - 0x298]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x29c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp + 8]
call fcn.0045b090
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00482396
mov esp, ebp
pop ebp
ret 0x18