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

Disassembly:
push 0xffffffffffffffff
push 0x10053224
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0xb8]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x68], ecx
push 0x100578a4
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
call dword [sym.imp.mfc90.dll_Ordinal_310]
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], vtable.CBrush.0
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb4], 1
call sub.mfc90.dll_Ordinal_337
push 0xf
mov byte [esp + 0xb4], 2
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea ecx, [esp + 0x50]
call sub.mfc90.dll_Ordinal_1358
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
inc dword [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0xbc]
test eax, eax
jne 0x1003d1df
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
call sub.mfc90.dll_Ordinal_2263
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorFace_unsigned_long_int_
add esp, 4
push eax
lea eax, [esp + 0x24]
push eax
jmp 0x1003d21d
cmp eax, 2
jne 0x1003d1ff
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
lea ecx, [esp + 0x24]
push ecx
jmp 0x1003d21d
cmp eax, 1
jne 0x1003d226
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorBTNHigh_void_
push eax
push 0x8001
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call sub.mfc90.dll_Ordinal_2263
push 1
lea ecx, [esp + 0x3c]
call sub.mfc90.dll_Ordinal_6170
push 0x11
mov dword [esp + 0x68], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call sub.mfc90.dll_Ordinal_2588
push eax
lea ecx, [esp + 0x3c]
call sub.mfc90.dll_Ordinal_6079
mov dword [ebp + 0xe8], eax
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
mov byte [esp + 0xc0], 3
mov dword [esp + 0x24], ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
xor eax, eax
cmp ebx, 0xffffffff
je 0x1003d319
mov eax, dword [ebp + 0x110]
lea ecx, [esp + 0x88]
push ecx
push ebx
push eax
call sub.mfc90.dll_Ordinal_1137
mov edx, dword [eax + 0x94]
mov ecx, dword [edx]
call fcn.10001650
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x3c]
mov ebp, dword [ebp + 0x110]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
push 1
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
add eax, 3
push eax
add ecx, 2
push ecx
push edx
push ebx
push ebp
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.10001230
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + eax + 4]
mov eax, dword [esp + 0x24]
sub eax, 8
mov dword [esp + 0x24], eax
sub eax, ecx
cmp dword [esp + 0x54], eax
mov dword [esp + 0x1c], ecx
mov ebx, 5
jle 0x1003d430
mov esi, dword [esp + 0x14]
inc ecx
cmp esi, 1
mov dword [esp + 0x1c], ecx
jle 0x1003d3fd
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.100378c0
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x54]
push edx
push ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
mov byte [esp + 0xc0], 4
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
cmp dword [esp + 0x54], ecx
jle 0x1003d3eb
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
dec eax
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], bl
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
dec esi
mov byte [esp + 0xb0], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp esi, 1
jg 0x1003d353
jmp 0x1003d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], 3
mov ecx, dword [eax - 0xc]
push 0x24
lea edx, [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x48]
call edx
jmp 0x1003d475
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push 0x35
lea edx, [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x48]
mov byte [esp + 0xc0], 6
call edx
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ebp, dword [esp + 0x74]
add edi, ebx
mov ebx, dword [esp + 0x70]
sub ebp, 4
mov dword [esp + 0x74], ebp
sub ebp, edi
sub ebx, 4
xor esi, esi
test ebp, ebp
jle 0x1003d52b
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], vtable.CBrush.0
push 0x10
mov byte [esp + 0xb4], 7
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90.dll_Ordinal_1358
mov ecx, dword [esp + 0x30]
lea eax, [ebx - 3]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x60], eax
lea eax, [esi + edi]
mov dword [esp + 0x58], edi
mov dword [esp + 0x58], eax
inc eax
push ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x40]
push edx
push eax
mov dword [esp + 0x68], ebx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x2c]
call sub.mfc90.dll_Ordinal_2106
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 3
mov dword [esp + 0x2c], vtable.CBrush.0
call fcn.10001760
add esi, 2
cmp esi, ebp
jl 0x1003d495
lea ecx, [esp + 0x4c]
call sub.mfc90.dll_Ordinal_2106
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x3c]
call sub.mfc90.dll_Ordinal_6166
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x38]
mov byte [esp + 0xb0], 1
call sub.mfc90.dll_Ordinal_613
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb0], 0
mov dword [esp + 0x4c], vtable.CBrush.0
call fcn.10001760
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 8