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

Disassembly:
push 0xffffffffffffffff
push 0x10052274
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x10080e78]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x84]
call sub.mfc90.dll_Ordinal_524
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x14]
push eax
xor edi, edi
push ecx
mov dword [esp + 0xe8], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esi + 0x68]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], vtable.CBrush.0
mov byte [esp + 0xe0], 1
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorXP_void_
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x40]
call sub.mfc90.dll_Ordinal_1358
lea ecx, [esp + 0x24]
call sub.mfc90.dll_Ordinal_367
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], vtable.CBitmap.0
mov edx, dword [esp + 0x84]
push edx
mov byte [esp + 0xe4], 3
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call sub.mfc90.dll_Ordinal_1357
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x88]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x38]
call sub.mfc90.dll_Ordinal_1358
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
push ecx
push edx
call sub.mfc90.dll_Ordinal_6074
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x54]
cmp eax, 0x8001
jne 0x1002db25
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x1002dbc3
cmp eax, 0x8002
jne 0x1002dbc3
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.1001d3d0
mov byte [esp + 0xe0], 4
push 0x1e
cmp dword [sym.GuiTk115d.dll_int_GuiDrawLayer::m_Theme], edi
je 0x1002db70
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorTabs_void_
push eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBPressBXP_void_
push eax
lea eax, [esp + 0x30]
push eax
jmp 0x1002db80
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorTabs_void_
push eax
push 0x8001
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x54]
call fcn.1001d410
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
push 0xcc0020
push edx
push eax
push edi
push edi
push edi
push edi
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x64]
call fcn.1001dca0
lea ecx, [esp + 0x44]
mov byte [esp + 0xe0], 3
call fcn.1001d3f0
push 1
lea ecx, [esp + 0x28]
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 + 0x28]
call sub.mfc90.dll_Ordinal_6079
mov dword [esp + 0x7c], eax
test ebx, ebx
jle 0x1002dc95
test edi, edi
jl 0x1002dd77
cmp edi, dword [esi + 0x68]
jge 0x1002dd77
mov edx, dword [esi + 0x64]
mov ebp, dword [edx + edi*4]
mov ecx, dword [ebp + 0x20]
lea eax, [edx + edi*4]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6048
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], eax
add eax, 2
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
add eax, 0x10
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ecx
mov ebp, dword [ebp + 0x120]
mov eax, dword [ebp - 0xc]
push 0x25
lea edx, [esp + 0x58]
push edx
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x70]
push ebp
lea ecx, [esp + 0x34]
call edx
inc edi
cmp edi, ebx
jl 0x1002dbf6
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x28]
call sub.mfc90.dll_Ordinal_6170
mov ecx, dword [esp + 0x7c]
push ecx
lea ecx, [esp + 0x28]
call sub.mfc90.dll_Ordinal_6079
mov edi, dword [sym.imp.USER32.dll_DrawFrameControl]
mov ebx, 1
cmp dword [esi + 0xb4], ebx
jne 0x1002dcfc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push 0
add eax, 0xfffffffb
lea ecx, [esi + 0x94]
push 3
mov dword [esi + 0x9c], eax
push ecx
add eax, 0xfffffff0
push edx
mov dword [esi + 0x98], 5
mov dword [esi + 0xa0], 0x15
mov dword [ecx], eax
call edi
cmp dword [esi + 0xb8], ebx
jne 0x1002dd3d
mov eax, dword [esp + 0x20]
add eax, 0xfffffffb
mov dword [esi + 0xb0], eax
add eax, 0xfffffff0
mov dword [esi + 0xa8], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffb
mov dword [esi + 0xac], eax
push ebx
add esi, 0xa4
add eax, 0xfffffff0
push 3
mov dword [esi], eax
mov eax, dword [esp + 0x30]
push esi
push eax
call edi
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x74]
push 0xcc0020
push edx
push ecx
sub ebp, ecx
mov ecx, dword [esp + 0x34]
push ecx
sub eax, edx
mov edx, dword [esp + 0x94]
push eax
push ebp
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x1002dd7c
jmp 0x1002dd7f
call sub.mfc90.dll_Ordinal_1252
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
call sub.mfc90.dll_Ordinal_6074
lea ecx, [esp + 0x34]
call sub.mfc90.dll_Ordinal_2106
lea ecx, [esp + 0x24]
call sub.mfc90.dll_Ordinal_2097
lea ecx, [esp + 0x34]
mov byte [esp + 0xe0], 2
mov dword [esp + 0x34], vtable.CBitmap.0
call fcn.10001760
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], bl
call sub.mfc90.dll_Ordinal_636
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 0
mov dword [esp + 0x3c], vtable.CBrush.0
call fcn.10001760
lea ecx, [esp + 0x80]
mov dword [esp + 0xe0], 0xffffffff
call sub.mfc90.dll_Ordinal_744
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.1004da1e
add esp, 0xd0
ret