Function at 0x40db75
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 [0x6f0dfc], eax
je 0x40db9b
mov eax, 0x10dd
jmp 0x40dde0
mov eax, dword [0x6e92ec]
test eax, eax
jne 0x40dde0
mov ecx, dword [0x6decc4]
test ecx, ecx
jne 0x40dbbf
push 6
pop eax
mov dword [0x6e92ec], eax
jmp 0x40ddd6
mov ebx, edi
mov esi, edi
call fcn.0040d6f7
mov ecx, sym.360huabao.exe_public_virtual:_int___thiscall_DuiLib::CListUI::CheckColumComboBoxable_int_
mov dword [esp + 0x10], eax
call fcn.0040d6f7
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x10]
jne 0x40dbf1
cmp dword [0x6dbb80], ebx
jne 0x40ddd4
jmp 0x40ddb5
push 0x18
call fcn.0059a7c1
pop ecx
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 0x1c], esi
call fcn.0040d56f
mov ebx, eax
push 8
test ebx, ebx
jne 0x40dc16
pop edi
jmp 0x40ddb5
lea eax, [ebx + 0x38]
push edi
push eax
call fcn.005b24a0
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 0x40dc39
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.0040df00
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 0x40dca6
mov ecx, dword [esp + 0x28]
call fcn.0040d15b
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x40dca6
mov eax, dword [esp + 0x18]
cmp ecx, 5
jb 0x40dc35
mov esi, dword [esp + 0x1c]
cmp ecx, 5
jae 0x40dce7
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.0040d1b4
test eax, eax
je 0x40dcd3
add edi, eax
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x14], ecx
cmp ecx, 5
jb 0x40dcb7
jmp 0x40dcd7
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push 0
pop edi
cmp ecx, 5
jb 0x40dda9
cmp dword [esp + 0x20], 8
ja 0x40dda9
mov eax, dword [esp + 0x18]
lea edx, [ebx + 0x1e]
cmp eax, edx
jbe 0x40dcfe
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.005b2600
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 0x19
jbe 0x40dd26
push 6
jmp 0x40dc10
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.0040d0bb
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 0x40dd7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x1c]
mov edi, eax
jmp 0x40ddb5
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], edi
mov dword [ecx + 8], 0x6decc4
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0xc], esi
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x14], eax
mov eax, dword [0x6f0e10]
mov dword [ecx], eax
xor eax, eax
mov dword [0x6f0e10], ecx
jmp 0x40dde0
cmp dword [0x6dbb80], 0
push 9
pop edi
jne 0x40ddbb
mov dword [0x6e92ec], edi
test ebx, ebx
je 0x40ddc6
mov ecx, ebx
call fcn.0040d658
test esi, esi
je 0x40ddd4
push 0x18
push esi
call fcn.0059a7b3
pop ecx
pop ecx
mov eax, edi
mov dword [0x6f0e04], 0x6decc4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc