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

Disassembly:
push 0xffffffffffffffff
push 0x471d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xbc]
mov eax, dword [ebp + 0xd4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push eax
call edi
mov ecx, dword [ebp + 0xd4]
push 0
push 0
push 0x1009
push ecx
call edi
lea edx, [esp + 0x14]
push edx
mov ebx, 0x490c04
mov dword [esp + 0x18], 8
call fcn.00431420
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
jbe 0x402137
mov ebx, dword [0x49189c]
lea edi, [ebp + 0xd0]
lea esi, [edi + 0xd4]
mov dword [edi + 0xcc], ecx
mov dword [edi + 0xd0], ecx
call fcn.004546d0
push 0
mov dword [edi + 0xd8], ebx
push 0
mov esi, edi
mov dword [edi + 0xdc], 0x666666
call fcn.00429f80
mov eax, dword [0x490ba8]
test eax, eax
je 0x401df3
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x18], eax
jmp 0x401dfb
mov dword [esp + 0x18], 0
lea eax, [esp + 0x14]
push eax
lea ebx, [ebp + 0x210]
mov dword [esp + 0x18], 0xfffffff6
call fcn.00427710
cmp byte [eax], 0
je 0x402131
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x18], ecx
jbe 0x402131
mov eax, dword [0x490ba8]
xor ebx, ebx
cmp eax, ebx
je 0x40211e
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x10]
call eax
mov edi, eax
cmp edi, ebx
je 0x402119
cmp dword [edi + 8], 8
jne 0x402119
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x402119
push 0x4c
mov dword [esp + 0x28], ebx
call fcn.004607ac
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0xb4], ebx
cmp eax, ebx
je 0x401e8f
push eax
call fcn.004563e0
jmp 0x401e91
xor eax, eax
mov dword [esp + 0xb4], 0xffffffff
mov esi, 3
push 0x4c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 1
call fcn.004607ac
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0xb4], 1
cmp eax, ebx
je 0x401ef2
push eax
call fcn.004563e0
jmp 0x401ef4
xor eax, eax
mov dword [esp + 0xb4], 0xffffffff
push 0x50
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0xc
mov dword [esp + 0x54], 6
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], 2
call fcn.004607ac
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0xb4], 2
cmp eax, ebx
je 0x401f56
mov esi, eax
call fcn.004025d0
mov esi, 3
jmp 0x401f58
xor eax, eax
mov dword [esp + 0xb4], 0xffffffff
push 0x4c
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0xc
mov dword [esp + 0x74], 6
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
call fcn.004607ac
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0xb4], 3
cmp esi, ebx
je 0x401fc3
push esi
call fcn.004563e0
mov dword [esi], vtable.CLfTextWndAsUnderline.0
mov eax, esi
jmp 0x401fc5
xor eax, eax
mov dword [esp + 0xb4], 0xffffffff
mov edx, dword [ebp + 0xd4]
push ebx
push ebx
push 0x1004
push edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0xc
mov dword [esp + 0xa0], 6
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], 3
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi]
push ecx
push 4
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [ebp + 0xd0]
call fcn.00454020
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call fcn.00452eb0
mov edx, dword [edi + 0x14]
mov eax, dword [esp + 0x48]
push edx
push eax
call fcn.00452eb0
mov ecx, dword [edi + 0x1c]
mov ebx, dword [esp + 0x68]
push ecx
push ebx
call fcn.00452eb0
mov esi, dword [edi + 0x1c]
mov eax, ebx
call fcn.004277b0
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x9cb5
mov dword [esp + 0xb8], 4
call fcn.00454940
mov byte [esp + 0xb4], 5
mov eax, dword [eax]
push 0x800e
push eax
lea edi, [esp + 0x24]
call fcn.004543e0
mov byte [esp + 0xbc], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4020e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
push esi
push ecx
call fcn.00452eb0
lea eax, [esi - 0x10]
mov dword [esp + 0xb4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402119
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x490ba8]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x18]
jb 0x401e31
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0
push 0
mov ebx, 6
mov dword [esp + 0xbc], ebx
mov ecx, dword [ebp + 0xd4]
push 0x1004
push ecx
call edi
mov ecx, 0x48e57c
test eax, eax
jne 0x402284
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0x9d79
mov byte [esp + 0xb8], 7
call fcn.00454520
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4021b9
lea edx, [esp + 0x14]
push edx
mov eax, 0x9d79
call fcn.00454600
mov edi, dword [esp + 0x14]
mov byte [esp + 0xb4], 8
mov eax, dword [0x49189c]
push 0x666666
push eax
lea ecx, [ebp + 0xd0]
mov eax, 0x491bc0
call fcn.00427650
add edi, 0xfffffff0
mov byte [esp + 0xb4], bl
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4021ff
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x9d7a
mov byte [esp + 0xb8], 9
call fcn.00454520
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x402243
lea eax, [esp + 0x14]
push eax
mov eax, 0x9d7a
call fcn.00454600
mov esi, dword [esp + 0x14]
push esi
lea edi, [esp + 0x1c]
mov byte [esp + 0xb8], 0xa
call fcn.004543e0
add esi, 0xfffffff0
add esp, 4
mov byte [esp + 0xb4], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40230e
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x40230e
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x9d46
mov byte [esp + 0xb8], 0xb
call fcn.00454520
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4022c3
lea eax, [esp + 0x14]
push eax
mov eax, 0x9d46
call fcn.00454600
mov esi, dword [esp + 0x14]
push 0
push 0
mov byte [esp + 0xbc], 0xc
mov ecx, dword [ebp + 0xd4]
push 0x1004
push ecx
call edi
push eax
push esi
lea edi, [esp + 0x20]
call fcn.004543e0
lea eax, [esi - 0x10]
add esp, 8
mov byte [esp + 0xb4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40230e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push esi
lea ecx, [ebp + 0x1c0]
push ecx
call fcn.00452eb0
mov eax, dword [ebp + 0x238]
mov ecx, dword [ebp + 0x234]
mov edx, dword [ebp + 0x94]
push 1
push 0
push edx
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xbc], ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp + 0xd4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x4018c0
push ebp
push 0x1051
push eax
call ebx
mov edi, ebp
call fcn.004023e0
mov ecx, dword [ebp + 0xd4]
push 0
push 1
push 0xb
push ecx
call ebx
lea edx, [ebp + 0xd0]
push edx
call fcn.00454ad0
mov eax, dword [ebp + 0xd4]
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
lea eax, [esi - 0x10]
mov dword [esp + 0xb4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4023c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 4