Function at 0x40db6a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x6e4d8c], eax
je 0x40db90
mov eax, 0x10dd
jmp 0x40ddd5
mov eax, dword [0x6dd27c]
test eax, eax
jne 0x40ddd5
mov ecx, dword [0x6d2c54]
test ecx, ecx
jne 0x40dbb4
push 6
pop eax
mov dword [0x6dd27c], eax
jmp 0x40ddcb
mov ebx, edi
mov esi, edi
call fcn.0040d6ec
mov ecx, sym.360huabao.exe_public_virtual:_int___thiscall_DuiLib::CListUI::CheckColumComboBoxable_int_
mov dword [esp + 0x10], eax
call fcn.0040d6ec
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x10]
jne 0x40dbe6
cmp dword [0x6cfb10], ebx
jne 0x40ddc9
jmp 0x40ddaa
push 0x18
call fcn.005926f7
pop ecx
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x1c], esi
call fcn.0040d564
mov ebx, eax
push 8
test ebx, ebx
jne 0x40dc0b
pop edi
jmp 0x40ddaa
lea eax, [ebx + 0x38]
push edi
push eax
call fcn.005aa3d0
mov esi, dword [esp + 0x1c]
mov eax, ebx
add esp, 0xc
mov dword [esp + 0x18], eax
mov ecx, esi
mov dword [esp + 0x20], edi
jmp 0x40dc2e
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x24]
mov dword [esp + 0x28], ecx
push edx
push ecx
push ecx
mov ecx, eax
mov dword [esp + 0x30], edi
call fcn.0040def5
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x2c], ecx
add edx, eax
sub ecx, esi
mov dword [esp + 0x18], edx
mov al, cl
sub dl, bl
mov dword [esp + 0x14], ecx
and al, 7
shl dl, 3
or dl, al
mov eax, dword [esp + 0x20]
mov byte [ebx + eax + 0x38], dl
inc eax
mov dword [esp + 0x20], eax
cmp eax, 8
jae 0x40dc9b
mov ecx, dword [esp + 0x28]
call fcn.0040d150
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x40dc9b
mov eax, dword [esp + 0x18]
cmp ecx, 5
jb 0x40dc2a
mov esi, dword [esp + 0x1c]
cmp ecx, 5
jae 0x40dcdc
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.0040d1a9
test eax, eax
je 0x40dcc8
add edi, eax
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x14], ecx
cmp ecx, 5
jb 0x40dcac
jmp 0x40dccc
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push 0
pop edi
cmp ecx, 5
jb 0x40dd9e
cmp dword [esp + 0x20], 8
ja 0x40dd9e
mov eax, dword [esp + 0x18]
lea edx, [ebx + 0x1e]
cmp eax, edx
jbe 0x40dcf3
int3
sub al, bl
mov byte [ebx + 0x36], cl
push ecx
push dword [esp + 0x14]
mov byte [edx], al
lea eax, [ebx + 0x20]
push eax
call fcn.005aa530
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 0x19
jbe 0x40dd1b
push 6
jmp 0x40dc05
mov esi, dword [esp + 0x10]
lea edx, [ebx + 0x1e]
movzx ecx, byte [edx]
add esi, eax
mov eax, dword [esp + 0x34]
add ecx, ebx
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], esi
lea eax, [ecx + 5]
mov byte [ecx], 0xe9
sub esi, eax
mov dword [ecx + 1], esi
add ecx, 5
call fcn.0040d0b0
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
push 0x40
push dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40dd72
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x1c]
mov edi, eax
jmp 0x40ddaa
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], edi
mov dword [ecx + 8], 0x6d2c54
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0xc], esi
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x14], eax
mov eax, dword [0x6e4da0]
mov dword [ecx], eax
xor eax, eax
mov dword [0x6e4da0], ecx
jmp 0x40ddd5
cmp dword [0x6cfb10], 0
push 9
pop edi
jne 0x40ddb0
mov dword [0x6dd27c], edi
test ebx, ebx
je 0x40ddbb
mov ecx, ebx
call fcn.0040d64d
test esi, esi
je 0x40ddc9
push 0x18
push esi
call fcn.005926e9
pop ecx
pop ecx
mov eax, edi
mov dword [0x6e4d94], 0x6d2c54
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc