Function at 0x40db67
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 [0x6e1d3c], eax
je 0x40db8d
mov eax, 0x10dd
jmp 0x40ddd2
mov eax, dword [0x6da22c]
test eax, eax
jne 0x40ddd2
mov ecx, dword [0x6cfc10]
test ecx, ecx
jne 0x40dbb1
push 6
pop eax
mov dword [0x6da22c], eax
jmp 0x40ddc8
mov ebx, edi
mov esi, edi
call fcn.0040d6e9
mov ecx, sym.360huabao.exe_public_virtual:_int___thiscall_DuiLib::CListUI::CheckColumComboBoxable_int_
mov dword [esp + 0x10], eax
call fcn.0040d6e9
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x10]
jne 0x40dbe3
cmp dword [0x6ccac0], ebx
jne 0x40ddc6
jmp 0x40dda7
push 0x18
call fcn.00590c07
pop ecx
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x1c], esi
call fcn.0040d561
mov ebx, eax
push 8
test ebx, ebx
jne 0x40dc08
pop edi
jmp 0x40dda7
lea eax, [ebx + 0x38]
push edi
push eax
call fcn.005a88e0
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 0x40dc2b
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.0040def2
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 0x40dc98
mov ecx, dword [esp + 0x28]
call fcn.0040d14d
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x40dc98
mov eax, dword [esp + 0x18]
cmp ecx, 5
jb 0x40dc27
mov esi, dword [esp + 0x1c]
cmp ecx, 5
jae 0x40dcd9
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.0040d1a6
test eax, eax
je 0x40dcc5
add edi, eax
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x14], ecx
cmp ecx, 5
jb 0x40dca9
jmp 0x40dcc9
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push 0
pop edi
cmp ecx, 5
jb 0x40dd9b
cmp dword [esp + 0x20], 8
ja 0x40dd9b
mov eax, dword [esp + 0x18]
lea edx, [ebx + 0x1e]
cmp eax, edx
jbe 0x40dcf0
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.005a8a40
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 0x19
jbe 0x40dd18
push 6
jmp 0x40dc02
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.0040d0ad
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 0x40dd6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x1c]
mov edi, eax
jmp 0x40dda7
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], edi
mov dword [ecx + 8], 0x6cfc10
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0xc], esi
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x14], eax
mov eax, dword [0x6e1d50]
mov dword [ecx], eax
xor eax, eax
mov dword [0x6e1d50], ecx
jmp 0x40ddd2
cmp dword [0x6ccac0], 0
push 9
pop edi
jne 0x40ddad
mov dword [0x6da22c], edi
test ebx, ebx
je 0x40ddb8
mov ecx, ebx
call fcn.0040d64a
test esi, esi
je 0x40ddc6
push 0x18
push esi
call fcn.00590bf9
pop ecx
pop ecx
mov eax, edi
mov dword [0x6e1d44], 0x6cfc10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc