Function at 0x408ee0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498a66
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4c56f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x250], eax
xor eax, eax
mov dword [ebp - 0x234], eax
mov ebx, ecx
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x230]
push ecx
mov dword [ebp - 4], 1
call fcn.00408e10
lea ebx, [ebp - 0x1e8]
mov byte [ebp - 4], 2
call fcn.00429f30
push str.channels.xml
mov ecx, ebx
mov byte [ebp - 4], 3
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::Append_char_const__]
xor esi, esi
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], esi
mov byte [ebp - 0x154], 0
push 0x10
mov byte [ebp - 4], 4
call fcn.0046eb72
add esp, 4
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 5
cmp eax, esi
je 0x408f9f
mov edi, eax
mov byte [ebp - 0x247], 0
call fcn.0040f040
jmp 0x408fa1
xor eax, eax
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 6
call dword [sym.imp.DuiLib.dll_public:_char_const____thiscall_DuiLib::CDuiString::GetData_void_const]
mov ecx, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
lea edi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x408fd0
sub ecx, edi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040c230
mov byte [ebp - 4], 7
call fcn.0046d42f
mov dword [ebp - 0x244], eax
call fcn.0046d1ee
push esi
lea ecx, [ebp - 0x240]
mov edi, eax
call fcn.0046d5f5
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x409011
inc eax
mov dword [edi + 4], eax
lea ecx, [ebp - 0x240]
call fcn.0046d61d
lea edx, [ebp - 0x154]
push edx
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0040e680
mov byte [ebp - 4], 7
mov ebx, dword [ebp - 0x244]
add esp, 4
cmp ebx, esi
je 0x409086
push esi
lea ecx, [ebp - 0x240]
call fcn.0046d5f5
mov eax, dword [ebx + 4]
cmp eax, esi
jbe 0x409062
cmp eax, 0xffffffff
jae 0x409062
dec eax
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
neg edi
sbb edi, edi
not edi
lea ecx, [ebp - 0x240]
and edi, ebx
call fcn.0046d61d
cmp edi, esi
je 0x409086
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov edi, 0x10
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], edi
jb 0x4090a0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0046ead2
add esp, 4
push 7
push str.FM_list
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x104], 0xf
mov dword [ebp - 0x108], esi
mov byte [ebp - 0x118], 0
call fcn.0040c230
mov eax, dword [ebp - 0x118]
mov byte [ebp - 0xfc], 0x2e
cmp dword [ebp - 0x104], edi
jae 0x4090e4
lea eax, [ebp - 0x118]
mov dword [ebp - 0xf8], eax
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 0xc
call fcn.0040e550
cmp dword [ebp - 0x104], 0x10
mov edi, eax
jb 0x40911c
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.0046ead2
add esp, 4
mov eax, dword [edi + 0x1c]
add eax, 9
cmp eax, esi
je 0x40912b
add eax, 0xfffffff7
jmp 0x40912d
xor eax, eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x4c]
cmp eax, esi
je 0x40913c
add eax, 0xffffffb8
jmp 0x40913e
xor eax, eax
mov dword [ebp - 0x244], eax
mov eax, dword [edi + 0x1c]
add eax, 9
cmp eax, esi
je 0x409153
add eax, 0xfffffff7
jmp 0x409155
xor eax, eax
mov edx, dword [eax + 4]
mov dword [ebp - 0x254], edx
mov edi, edi
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x254]
mov esi, dword [ebp - 0x234]
setne bl
test esi, 0x10000
je 0x4091b3
and esi, 0xfffeffff
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x234], esi
jb 0x40919e
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.0046ead2
add esp, 4
xor edi, edi
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x88], 0
jmp 0x4091b5
xor edi, edi
mov dword [ebp - 4], 6
test esi, 0x8000
je 0x4091e8
and esi, 0xffff7fff
cmp dword [ebp - 0xbc], 0x10
mov dword [ebp - 0x234], esi
jb 0x4091e8
mov edx, dword [ebp - 0xd0]
push edx
call fcn.0046ead2
add esp, 4
test bl, bl
je 0x409dce
test esi, 0x40000
je 0x409213
and dword [ebp - 0x234], 0xfffbffff
lea esi, [ebp - 0xd0]
call fcn.00406de0
mov esi, dword [ebp - 0x234]
mov dword [ebp - 4], 6
test esi, 0x20000
je 0x409237
and dword [ebp - 0x234], 0xfffdffff
lea esi, [ebp - 0xf4]
call fcn.00406de0
mov eax, dword [ebp - 0x244]
add eax, 0x1c
push eax
lea ecx, [ebp - 0x114]
call fcn.0040e3b0
mov byte [ebp - 4], 0x1d
push 6
mov esi, 0xf
push str.GB2312
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.0040c230
mov byte [ebp - 4], 0x1e
push 2
push 0x4a2068
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x9c], edi
mov byte [ebp - 0xac], 0
call fcn.0040c230
cmp dword [ebp - 0x98], 0x10
mov eax, dword [ebp - 0xac]
mov byte [ebp - 0x90], 0x2e
jae 0x4092b3
lea eax, [ebp - 0xac]
mov dword [ebp - 0x8c], eax
lea edx, [ebp - 0xac]
lea esi, [ebp - 0x48]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x1f
call fcn.0040e8c0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
lea edi, [ebp - 0x64]
mov byte [ebp - 4], 0x20
call fcn.00405840
add esp, 4
mov edi, eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x21
call dword [sym.imp.DuiLib.dll_public:_char_const____thiscall_DuiLib::CDuiString::GetData_void_const]
mov ecx, eax
call fcn.0040eb60
cmp dword [ebp - 0x50], 0x10
mov bl, al
jb 0x409313
mov edx, dword [ebp - 0x64]
push edx
call fcn.0046ead2
add esp, 4
xor esi, esi
cmp dword [ebp - 0x34], 0x10
mov edi, 0xf
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x64], 0
jb 0x409336
mov eax, dword [ebp - 0x48]
push eax
call fcn.0046ead2
add esp, 4
cmp dword [ebp - 0x98], 0x10
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
jb 0x409358
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.0046ead2
add esp, 4
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x9c], esi
mov byte [ebp - 0xac], 0
jb 0x409381
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0046ead2
add esp, 4
test bl, bl
je 0x409bbe
push 0xc
push str.channel_list
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x258], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
call fcn.0040c230
mov dword [ebp - 4], 0x28
mov eax, dword [ebp - 0x258]
push eax
lea eax, [ebp - 0x2c]
lea esi, [ebp - 0xac]
call fcn.0040e880
mov edx, esi
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x29
call fcn.0040e550
mov ebx, 0x10
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x98], ebx
jb 0x4093f8
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.0046ead2
add esp, 4
xor esi, esi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x9c], esi
mov byte [ebp - 0xac], 0
cmp dword [ebp - 0x18], ebx
jb 0x40941e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x234]
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x2c], 0
test esi, 0x1000000
je 0x409467
and esi, 0xfeffffff
mov dword [ebp - 0x234], esi
cmp dword [ebp - 0x74], ebx
jb 0x409456
mov eax, dword [ebp - 0x88]
push eax
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
test esi, 0x800000
je 0x40949a
and esi, 0xff7fffff
mov dword [ebp - 0x234], esi
cmp dword [ebp - 0x34], ebx
jb 0x40948c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
test esi, 0x400000
je 0x4094dc
and esi, 0xffbfffff
mov dword [ebp - 0x234], esi
cmp dword [ebp - 0xe0], ebx
jb 0x4094c5
mov edx, dword [ebp - 0xf4]
push edx
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xf4], 0
test esi, 0x200000
je 0x40950f
and esi, 0xffdfffff
mov dword [ebp - 0x234], esi
cmp dword [ebp - 0x50], ebx
jb 0x409501
mov eax, dword [ebp - 0x64]
push eax
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
test esi, 0x100000
je 0x409551
and esi, 0xffefffff
mov dword [ebp - 0x234], esi
cmp dword [ebp - 0xbc], ebx
jb 0x40953a
mov ecx, dword [ebp - 0xd0]
push ecx
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
test esi, 0x80000
je 0x40957c
and esi, 0xfff7ffff
mov dword [ebp - 0x234], esi
cmp dword [ebp - 0x120], ebx
jb 0x40957c
mov edx, dword [ebp - 0x134]
push edx
call fcn.0046ead2
add esp, 4
mov eax, dword [ebp - 0x240]
mov eax, dword [eax + 0x1c]
add eax, 9
je 0x40958f
add eax, 0xfffffff7
jmp 0x409591
xor eax, eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x4095a0
add eax, 0xffffffb8
jmp 0x4095a2
xor eax, eax
mov ebx, dword [ebp - 0x238]
mov dword [ebp - 0x248], eax
test bl, 4
je 0x4095c7
and ebx, 0xfffffffb
lea esi, [ebp - 0xd0]
mov dword [ebp - 0x238], ebx
call fcn.00406de0
test bl, 2
je 0x4095e0
and ebx, 0xfffffffd
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x238], ebx
call fcn.00409f10
test bl, 1
je 0x4095f9
and ebx, 0xfffffffe
lea esi, [ebp - 0xf4]
mov dword [ebp - 0x238], ebx
call fcn.00406de0
mov edi, dword [ebp - 0x234]
test edi, edi
jns 0x409617
and edi, 0x7fffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x234], edi
call fcn.00409f10
test edi, 0x40000000
je 0x409636
and edi, 0xbfffffff
lea esi, [ebp - 0x88]
mov dword [ebp - 0x234], edi
call fcn.00406de0
test edi, 0x20000000
je 0x409652
and edi, 0xdfffffff
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x234], edi
call fcn.00409f10
test edi, 0x10000000
je 0x409671
and edi, 0xefffffff
lea esi, [ebp - 0x19c]
mov dword [ebp - 0x234], edi
call fcn.00406de0
test edi, 0x8000000
je 0x40968d
and edi, 0xf7ffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x234], edi
call fcn.00409f10
test edi, 0x4000000
je 0x4096ac
and edi, 0xfbffffff
lea esi, [ebp - 0x178]
mov dword [ebp - 0x234], edi
call fcn.00406de0
test edi, 0x2000000
je 0x4096cb
and edi, 0xfdffffff
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x234], edi
call fcn.00409f10
mov ecx, dword [ebp - 0x240]
mov eax, dword [ecx + 0x1c]
add eax, 9
je 0x4096de
add eax, 0xfffffff7
jmp 0x4096e0
xor eax, eax
mov edx, dword [eax + 4]
mov dword [ebp - 0x240], edx
test ebx, 0x1000
je 0x409708
and ebx, 0xffffefff
lea esi, [ebp - 0x178]
mov dword [ebp - 0x238], ebx
call fcn.00406de0
test ebx, 0x800
je 0x409727
and ebx, 0xfffff7ff
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x238], ebx
call fcn.00409f10
test ebx, 0x400
je 0x409746
and ebx, 0xfffffbff
lea esi, [ebp - 0x19c]
mov dword [ebp - 0x238], ebx
call fcn.00406de0
test ebx, 0x200
je 0x409765
and ebx, 0xfffffdff
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x238], ebx
call fcn.00409f10
test ebx, 0x100
je 0x409784
and ebx, 0xfffffeff
lea esi, [ebp - 0xd0]
mov dword [ebp - 0x238], ebx
call fcn.00406de0
test bl, bl
jns 0x40979c
and ebx, 0xffffff7f
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x238], ebx
call fcn.00409f10
test bl, 0x40
je 0x4097b5
and ebx, 0xffffffbf
lea esi, [ebp - 0xf4]
mov dword [ebp - 0x238], ebx
call fcn.00406de0
test bl, 0x20
je 0x4097cb
and ebx, 0xffffffdf
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x238], ebx
call fcn.00409f10
test bl, 0x10
je 0x4097e4
and ebx, 0xffffffef
lea esi, [ebp - 0x88]
mov dword [ebp - 0x238], ebx
call fcn.00406de0
test bl, 8
je 0x409800
and ebx, 0xfffffff7
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x238], ebx
call fcn.00409f10
lea ebx, [ebx]
mov eax, dword [ebp - 0x240]
cmp dword [ebp - 0x248], eax
setne byte [ebp - 0x239]
test ebx, 0x100000
je 0x40985b
and ebx, 0xffefffff
cmp dword [ebp - 0xbc], 0x10
mov dword [ebp - 0x238], ebx
jb 0x40983f
mov ecx, dword [ebp - 0xd0]
push ecx
call fcn.0046ead2
add esp, 4
mov esi, 0xf
xor edi, edi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc0], edi
mov byte [ebp - 0xd0], 0
jmp 0x409860
xor edi, edi
lea esi, [edi + 0xf]
test ebx, 0x80000
je 0x409890
and ebx, 0xfff7ffff
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x238], ebx
jb 0x409886
mov edx, dword [ebp - 0x48]
push edx
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
test ebx, 0x40000
je 0x4098cf
and ebx, 0xfffbffff
cmp dword [ebp - 0xe0], 0x10
mov dword [ebp - 0x238], ebx
jb 0x4098bc
mov eax, dword [ebp - 0xf4]
push eax
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xe4], edi
mov byte [ebp - 0xf4], 0
mov dword [ebp - 4], 0x1d
test ebx, 0x20000
je 0x409902
and ebx, 0xfffdffff
cmp dword [ebp - 0x120], 0x10
mov dword [ebp - 0x238], ebx
jb 0x409902
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.0046ead2
add esp, 4
cmp byte [ebp - 0x239], 0
je 0x409bbe
test ebx, 0x1000000
je 0x40992e
and ebx, 0xfeffffff
lea esi, [ebp - 0x178]
mov dword [ebp - 0x238], ebx
call fcn.00406de0
test ebx, 0x800000
je 0x40994d
and ebx, 0xff7fffff
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x238], ebx
call fcn.00409f10
test ebx, 0x400000
je 0x40996c
and ebx, 0xffbfffff
lea esi, [ebp - 0x19c]
mov dword [ebp - 0x238], ebx
call fcn.00406de0
mov dword [ebp - 4], 0x1d
test ebx, 0x200000
je 0x409992
and ebx, 0xffdfffff
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x238], ebx
call fcn.00409f10
push 6
push str.GB2312
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0040c230
mov byte [ebp - 4], 0x4a
mov byte [ebp - 0x24c], 0
mov edx, dword [ebp - 0x24c]
push edx
mov edx, 0x4a2068
lea esi, [ebp - 0x88]
call fcn.0040e830
mov byte [ebp - 4], 0x4b
mov ecx, dword [ebp - 0x248]
mov edx, esi
add ecx, 0x1c
lea esi, [ebp - 0x64]
call fcn.0040e8c0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 0x4c
call fcn.00405840
add esp, 4
mov edi, eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x4d
call dword [sym.imp.DuiLib.dll_public:_char_const____thiscall_DuiLib::CDuiString::GetData_void_const]
mov ecx, eax
call fcn.0040eb60
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 0x239], al
jb 0x409a2f
mov edx, dword [ebp - 0x48]
push edx
call fcn.0046ead2
add esp, 4
xor esi, esi
mov edi, 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x50], edi
jb 0x409a55
mov eax, dword [ebp - 0x64]
push eax
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x74], edi
jb 0x409a77
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.0046ead2
add esp, 4
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], esi
mov byte [ebp - 0x88], 0
cmp dword [ebp - 0x18], edi
jb 0x409a9d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0046ead2
add esp, 4
cmp byte [ebp - 0x239], 0
jne 0x409c77
mov eax, dword [ebp - 0x248]
cmp eax, esi
je 0x409ab9
add eax, 0x48
jmp 0x409abb
xor eax, eax
mov eax, dword [eax + 4]
cmp eax, esi
je 0x409ac7
add eax, 0xffffffb8
jmp 0x409ac9
xor eax, eax
mov dword [ebp - 0x248], eax
test ebx, 0x10000
je 0x409b11
and ebx, 0xfffeffff
mov dword [ebp - 0x238], ebx
cmp dword [ebp - 0xbc], edi
jb 0x409afa
mov eax, dword [ebp - 0xd0]
push eax
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], esi
mov byte [ebp - 0xd0], 0
test ebx, 0x8000
je 0x409b44
and ebx, 0xffff7fff
mov dword [ebp - 0x238], ebx
cmp dword [ebp - 0x34], edi
jb 0x409b36
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x48], 0
test ebx, 0x4000
je 0x409b86
and ebx, 0xffffbfff
mov dword [ebp - 0x238], ebx
cmp dword [ebp - 0xe0], edi
jb 0x409b6f
mov edx, dword [ebp - 0xf4]
push edx
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], esi
mov byte [ebp - 0xf4], 0
test ebx, 0x2000
je 0x409800
and ebx, 0xffffdfff
mov dword [ebp - 0x238], ebx
cmp dword [ebp - 0x120], edi
jb 0x409800
mov eax, dword [ebp - 0x134]
push eax
call fcn.0046ead2
add esp, 4
jmp 0x409800
lea ecx, [ebp - 0x114]
push ecx
mov byte [ebp - 4], 6
call fcn.0040e4c0
mov eax, dword [ebp - 0x244]
test eax, eax
je 0x409bdd
add eax, 0x48
jmp 0x409bdf
xor eax, eax
mov eax, dword [eax + 4]
test eax, eax
je 0x409beb
add eax, 0xffffffb8
jmp 0x409bed
xor eax, eax
mov esi, dword [ebp - 0x234]
mov dword [ebp - 0x244], eax
test esi, 0x4000
je 0x409c40
and esi, 0xffffbfff
cmp dword [ebp - 0xbc], 0x10
mov dword [ebp - 0x234], esi
jb 0x409c25
mov edx, dword [ebp - 0xd0]
push edx
call fcn.0046ead2
add esp, 4
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
test esi, 0x2000
je 0x409160
and dword [ebp - 0x234], 0xffffdfff
cmp dword [ebp - 0xe0], 0x10
jb 0x409160
mov eax, dword [ebp - 0xf4]
push eax
call fcn.0046ead2
add esp, 4
jmp 0x409160
push 6
push str.GB2312
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
call fcn.0040c230
mov byte [ebp - 4], 0x4e
mov byte [ebp - 0x24c], 0
mov ecx, dword [ebp - 0x24c]
push ecx
mov edx, str.name
lea esi, [ebp - 0x88]
call fcn.0040e830
mov byte [ebp - 4], 0x4f
mov ecx, dword [ebp - 0x248]
mov edx, esi
add ecx, 0x1c
lea esi, [ebp - 0x64]
call fcn.0040e8c0
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 0x50
call fcn.00405840
add esp, 4
mov byte [ebp - 4], 0x51
cmp dword [eax + 0x14], 0x10
jb 0x409cee
mov eax, dword [eax]
mov edi, dword [ebp - 0x250]
push 0xffffffffffffffff
push eax
mov ecx, edi
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_char_const___int_]
or ebx, 0x2000000
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x238], ebx
jb 0x409d1d
mov eax, dword [ebp - 0x48]
push eax
call fcn.0046ead2
add esp, 4
xor ebx, ebx
cmp dword [ebp - 0x50], 0x10
mov esi, 0xf
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x409d3f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0046ead2
add esp, 4
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
jb 0x409d5d
mov edx, dword [ebp - 0x88]
push edx
call fcn.0046ead2
add esp, 4
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x88], bl
jb 0x409d7b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0046ead2
add esp, 4
lea ecx, [ebp - 0x114]
push ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 6
call fcn.0040e4c0
lea edx, [ebp - 0x154]
push edx
mov byte [ebp - 4], 3
call fcn.0040e4c0
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0x1e8]
call esi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call esi
mov eax, edi
jmp 0x409e28
mov ecx, dword [ebp - 0x250]
push 0xffffffffffffffff
push 0x4a1520
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_char_const___int_]
or dword [ebp - 0x238], 0x2000000
lea eax, [ebp - 0x154]
push eax
mov byte [ebp - 4], 3
call fcn.0040e4c0
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0x1e8]
call esi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call esi
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046eadd
mov esp, ebp
pop ebp
ret 0x48