Function at 0x4db16b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6224ac
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push esi
mov esi, ecx
mov eax, dword [esi + 0x160]
test eax, eax
je 0x4db188
mov ecx, dword [eax + 8]
cmp dword [ecx + 0xc], 3
je 0x4db18f
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4db178
xor al, al
jmp 0x4db591
mov eax, dword [esi]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x21c]
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x40]
push eax
push ecx
call fcn.0050dd90
add esp, 8
lea ecx, [esp + 0xa4]
push esi
call fcn.0046d7b0
lea edx, [esp + 0x58]
mov ecx, esi
push edx
mov dword [esp + 0x1b0], 0
call fcn.00461160
push 0x64
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b4], 1
call fcn.004768f0
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1b0], 2
call fcn.00471690
lea ecx, [esp + 0x38]
mov byte [esp + 0x1ac], 1
call fcn.0047d2b0
lea ecx, [esp + 0x58]
mov byte [esp + 0x1ac], 0
call fcn.0047d2b0
push 0x20
call fcn.0046afd0
add esp, 4
lea ecx, [esp + 0xa4]
push eax
call fcn.004715d0
mov eax, dword [esi + 0x114]
lea ecx, [esp + 0x80]
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
jne 0x4db274
lea ecx, [esp + 0xa4]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.0046d830
xor al, al
jmp 0x4db591
lea edx, [esp + 0x80]
push edi
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.004db840
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
add esp, 8
push eax
push edi
push edx
mov edx, dword [esp + 0xb4]
push ecx
lea ecx, [esp + 0xb8]
call dword [edx + 0x130]
mov eax, dword [esp + 0x1bc]
mov ecx, dword [esp + 0x1b8]
push eax
push ecx
push 0xf
mov ecx, esi
call fcn.00458aa0
mov eax, dword [esi + 0x160]
test eax, eax
mov dword [esp + 0xc], eax
je 0x4db577
push ebx
push ebp
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
cmp dword [eax + 0xc], 3
jne 0x4db562
mov ebx, dword [eax + 0x18]
lea ecx, [esp + 0x58]
lea edx, [esp + 0x54]
push ecx
mov eax, dword [ebx]
push edx
mov ecx, ebx
call dword [eax + 0x210]
mov eax, dword [ebx]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x60]
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x218]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x114]
push 0
push 0
push 0x418
push eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
call edi
xor ebp, ebp
mov dword [esp + 0x44], eax
test eax, eax
mov dword [esp + 0x18], ebp
jle 0x4db562
jmp 0x4db371
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x114]
lea ecx, [esp + 0x9c]
push ecx
push ebp
push 0x417
push eax
call edi
test eax, eax
jne 0x4db39e
push str.TB_GETBUTTON_failed_
call fcn.0045dbf0
add esp, 4
jmp 0x4db551
cmp byte [esp + 0xa5], 1
jne 0x4db551
mov eax, dword [esi + 0x114]
lea edx, [esp + 0x1c]
push edx
push ebp
push 0x41d
push eax
call edi
test eax, eax
jne 0x4db3d6
push str.TB_GETITEMRECT_failed_
call fcn.0045dbf0
add esp, 4
jmp 0x4db551
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
sub eax, edx
sub ecx, edi
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edx
call fcn.0046a070
test al, al
je 0x4db551
mov al, byte [esi + 0xc8]
mov byte [esp + 0x13], 0
shr al, 4
and al, 1
jne 0x4db432
mov ecx, dword [esi + 0x2c]
test byte [ecx + 0xc8], 0x10
je 0x4db515
test al, al
jne 0x4db515
cmp dword [esp + 0x4c], 6
jl 0x4db515
call fcn.0049ffc0
mov ebp, eax
test ebp, ebp
je 0x4db511
call dword [ebp + 0x94]
test eax, eax
je 0x4db511
call dword [ebp + 0x90]
test eax, eax
je 0x4db511
call fcn.0049ffc0
test eax, eax
je 0x4db48b
mov ecx, dword [esi + 0x114]
push str.REBAR
push ecx
call dword [eax]
mov edi, eax
jmp 0x4db48d
xor edi, edi
mov dword [esp + 0x5c], edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x64]
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x1c]
xor eax, eax
push edx
mov edx, dword [esp + 0x19c]
push ecx
push eax
push eax
push edx
push edi
mov byte [esp + 0x1d0], 3
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call dword [ebp + 8]
test eax, eax
jne 0x4db4f4
mov byte [esp + 0x13], 1
test edi, edi
mov byte [esp + 0x1b8], 0
je 0x4db509
call fcn.0049ffc0
push edi
call dword [eax + 4]
mov al, byte [esp + 0x13]
test al, al
jne 0x4db53f
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
mov edx, dword [esp + 0xbc]
push eax
lea ecx, [esp + 0xc0]
call dword [edx + 0xf0]
jmp 0x4db543
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx]
push 0
push 0
mov ecx, ebx
call dword [eax + 0x118]
mov eax, dword [esp + 0x44]
inc ebp
cmp ebp, eax
mov dword [esp + 0x18], ebp
jl 0x4db36b
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4db2da
pop ebp
pop ebx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.0046d830
mov al, 1
pop edi
mov ecx, dword [esp + 0x1a4]
pop esi
mov dword fs:[0], ecx
add esp, 0x1ac
ret 8