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

Disassembly:
push 0xffffffffffffffff
push 0x488960
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [ecx + 0x1c]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push 0x1200
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.DLL_SendMessageA]
mov edi, eax
or esi, 0xffffffff
cmp edi, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], esi
jle 0x40dd4a
mov ecx, dword [0x4acaa4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0xa0], ebx
cmp ebp, ebx
jl 0x40d9a4
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x54]
push edx
push ebp
mov ecx, dword [eax + 0x1c]
push 0x1203
push ecx
mov dword [esp + 0x64], pe_nt_image_headers32
call dword [sym.imp.USER32.DLL_SendMessageA]
mov esi, dword [esp + 0x74]
lea edx, [edi - 1]
cmp esi, edx
mov dword [esp + 0x10], esi
jne 0x40d9a4
or ebp, 0xffffffff
or esi, 0xffffffff
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], 0x490fdc
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov eax, edi
mov byte [esp + 0xa0], 1
shl eax, 4
push eax
call fcn.00467914
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], eax
push edi
push eax
call fcn.00410ba0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
lea edi, [esi + 1]
cmp edi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], edi
jge 0x40dab0
mov eax, dword [esp + 0x14]
mov ebp, edi
shl ebp, 4
add ebp, eax
mov ebx, dword [esp + 0x18]
push 0
push edi
push 0x120f
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [sym.imp.USER32.DLL_SendMessageA]
lea edx, [esp + 0x54]
mov esi, eax
mov eax, dword [ebx + 0x1c]
push edx
push esi
push 0x1203
push eax
mov dword [esp + 0x64], 1
call dword [sym.imp.USER32.DLL_SendMessageA]
lea ecx, [esp + 0x30]
push ecx
push esi
mov ecx, ebx
call fcn.0040d4a0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ebx, ebp
mov dword [ebx], esi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], eax
mov ebx, dword [esp + 0x1c]
add ebx, ecx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x28]
add ebx, edx
test eax, eax
mov dword [esp + 0x28], ebx
jg 0x40da8b
mov eax, 0x4000
mov esi, dword [esp + 0x2c]
add ebp, 0x10
add esi, eax
mov eax, dword [esp + 0x20]
inc edi
mov dword [esp + 0x2c], esi
cmp edi, eax
jl 0x40da13
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0xa8]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.DLL_GetParent]
push eax
call fcn.00463a73
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x78]
push ecx
push edx
call dword [sym.imp.USER32.DLL_GetClientRect]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
sub eax, edx
test eax, eax
jg 0x40db05
mov dword [esp + 0x40], 0x490fdc
mov eax, dword [esp + 0x14]
mov byte [esp + 0xa0], 2
test eax, eax
je 0x40dd36
jmp 0x40dd2d
cmp eax, ebx
jle 0x40db11
mov edi, eax
mov dword [esp + 0x10], edi
jmp 0x40db17
mov dword [esp + 0x10], ebx
mov edi, ebx
test ebp, ebp
jl 0x40db42
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x88]
push eax
push ebp
mov edx, dword [ecx + 0x1c]
push 0x1207
push edx
call dword [sym.imp.USER32.DLL_SendMessageA]
sub edi, dword [esp + 0x90]
mov dword [esp + 0x10], edi
test esi, esi
jl 0x40db97
mov eax, dword [esp + 0x14]
shl esi, 4
add esi, eax
mov eax, edi
sub eax, ebx
mov ecx, dword [esi + 4]
cmp ecx, eax
jge 0x40db5c
mov eax, ecx
mov ecx, dword [esi + 8]
cmp ecx, eax
jle 0x40db65
mov eax, ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov edx, ecx
jg 0x40db73
mov edx, 0x4000
cmp edx, eax
jge 0x40db82
test ecx, ecx
mov eax, ecx
jg 0x40db82
mov eax, 0x4000
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
sub edi, eax
sub ecx, eax
mov dword [esi + 4], eax
mov dword [esp + 0x10], ecx
jmp 0x40db9b
mov edi, dword [esp + 0x1c]
cmp edi, 1
jge 0x40dbac
mov dword [esp + 0x1c], 1
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xor ebp, ebp
cmp esi, ebx
jge 0x40dc08
mov edx, dword [esp + 0x14]
mov ecx, esi
shl ecx, 4
sub ebx, esi
lea ecx, [ecx + edx + 0xc]
mov eax, dword [ecx - 8]
imul eax, dword [esp + 0x10]
cdq
idiv edi
mov edx, dword [ecx - 4]
cmp edx, eax
jle 0x40dbdd
mov eax, edx
mov edx, dword [ecx]
test edx, edx
mov esi, edx
jg 0x40dbea
mov esi, 0x4000
cmp esi, eax
jge 0x40dbf9
test edx, edx
mov eax, edx
jg 0x40dbf9
mov eax, 0x4000
mov dword [ecx - 8], eax
add ebp, eax
add ecx, 0x10
dec ebx
jne 0x40dbc9
mov esi, dword [esp + 0x24]
cmp ebp, dword [esp + 0x10]
je 0x40dcb0
or ecx, 0xffffffff
mov edi, esi
cmp ebp, ecx
je 0x40dcb0
mov ecx, dword [esp + 0x14]
mov eax, edi
shl eax, 4
mov ebx, dword [eax + ecx + 4]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x10]
mov eax, ebx
cmp ebp, ecx
jge 0x40dc7c
mov ecx, dword [edx + 0xc]
test ecx, ecx
mov esi, ecx
jg 0x40dc47
mov esi, 0x4000
cmp eax, esi
jge 0x40dc72
test ecx, ecx
mov esi, ecx
jg 0x40dc56
mov esi, 0x4000
inc eax
cmp eax, esi
jl 0x40dc66
test ecx, ecx
mov eax, ecx
jg 0x40dc66
mov eax, 0x4000
mov esi, dword [esp + 0x24]
mov ecx, eax
sub ecx, ebx
add ebp, ecx
jmp 0x40dc92
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
cmp ebp, ecx
jle 0x40dc92
mov ecx, dword [edx + 8]
cmp eax, ecx
jle 0x40dc92
dec eax
cmp eax, ecx
jg 0x40dc8c
mov eax, ecx
mov ecx, eax
sub ecx, ebx
add ebp, ecx
mov dword [edx + 4], eax
mov edx, dword [esp + 0x20]
lea eax, [edi + 1]
mov ecx, ebp
cmp eax, edx
mov edi, eax
jl 0x40dca6
mov edi, esi
cmp ebp, dword [esp + 0x10]
jne 0x40dc17
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
cmp esi, eax
mov dword [edx + 0x118], 1
jge 0x40dd07
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x24]
shl esi, 4
add esi, ecx
sub edi, eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], 1
mov eax, dword [esi + 4]
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], eax
mov eax, dword [esi]
push ecx
push eax
mov eax, dword [edx + 0x1c]
push 0x1204
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
add esi, 0x10
dec edi
jne 0x40dcd7
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], 0x490fdc
mov dword [ecx + 0x118], 0
mov eax, dword [esp + 0x14]
mov byte [esp + 0xa0], 3
test eax, eax
je 0x40dd36
push eax
call fcn.0046793d
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0046741f
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 4