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

Disassembly:
mov eax, 0x40e8
call fcn.00412900
mov eax, dword [0x43d68c]
xor eax, esp
mov dword [esp + 0x40e4], eax
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, dword [esp + 0x40f8]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 8]
push edi
lea ecx, [esp + 0x4c]
push ecx
xor ebx, ebx
push ebx
push 0x1005
push edx
mov dword [esp + 0x5c], 0xa
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
call ebp
mov edx, dword [esi + 8]
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x20b8]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [0x449850]
push 0x102d
push eax
mov dword [esp + 0x3c], 2
mov dword [esp + 0x4c], 0x2040
call ebp
test byte [esi + 0x10], 1
mov byte [esp + 0x40f3], bl
je 0x40dddd
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xe
call edi
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xd
call edi
mov edx, dword [esi + 0x18]
push eax
push edx
jmp 0x40de32
lea eax, [esp + 0x20b4]
push eax
call fcn.0040bb20
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x40de14
mov ecx, dword [edi*4 + 0x4490a0]
mov edx, dword [esi + 0x18]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi*4 + 0x44f420]
mov ecx, dword [esi + 0x18]
push eax
push ecx
jmp 0x40de32
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 8
call edi
mov edx, dword [esi + 0x18]
push eax
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call edi
push eax
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [0x449850]
push 0
push edi
push 0x101d
push ecx
call ebp
mov ecx, eax
mov eax, dword [esi + 0x1c]
lea edx, [eax + ebx]
add eax, ecx
add eax, ebx
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp edi, 2
jne 0x40de8f
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20b8]
push eax
push ecx
jmp 0x40df06
mov ecx, dword [esi + 8]
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x78]
push ecx
mov dword [esp + 0x40], edx
mov edx, dword [0x449850]
push 0x102d
mov dword [esp + 0x48], 0x2040
push edx
test edi, edi
jne 0x40def2
mov dword [esp + 0x3c], edi
call ebp
xor eax, eax
cmp byte [esp + 0x74], 0x30
jne 0x40decf
inc eax
cmp byte [esp + eax + 0x74], 0x30
je 0x40dec7
cmp byte [esp + eax + 0x74], 0
jne 0x40dee2
mov ecx, 0x30
xor eax, eax
mov word [esp + 0x74], cx
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + eax + 0x78]
push eax
push ecx
jmp 0x40df06
mov dword [esp + 0x3c], edi
call ebp
mov edx, dword [esi + 0x18]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x78]
push ecx
push edx
call fcn.0040dc90
add ebx, dword [esp + 0x20]
inc edi
cmp edi, 3
jl 0x40de40
test byte [esi + 0x10], 1
je 0x40df43
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 8
call edi
push eax
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call edi
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetBkColor]
test byte [esi + 0x10], 0x10
je 0x40df74
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x28]
push eax
push ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov ecx, dword [esp + 0x40f4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004126a4
add esp, 0x40e8
ret