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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10052d3d
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call esi
push eax
push 1
push 0
lea ecx, [esp + 0x94]
call sub.mfc90.dll_Ordinal_525
mov eax, dword [ebx + 0x54]
push eax
mov dword [esp + 0x144], 0
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorShadow_unsigned_long_int_
add esp, 4
push eax
push 1
push 0
lea ecx, [esp + 0x64]
call sub.mfc90.dll_Ordinal_525
push 7
mov byte [esp + 0x144], 1
call esi
push eax
push 1
push 0
lea ecx, [esp + 0xb8]
call sub.mfc90.dll_Ordinal_525
mov byte [esp + 0x140], 2
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBCaptionXP_void_
push eax
push 1
push 0
lea ecx, [esp + 0xb0]
call sub.mfc90.dll_Ordinal_525
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea eax, [ebx + 0x124]
push eax
mov ecx, esi
mov byte [esp + 0x144], 3
call edx
mov dword [esp + 0x90], eax
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
push 0x100578a4
lea ecx, [esp + 0x58]
mov dword [esp + 0x84], eax
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0xcc]
push ecx
push edx
mov byte [esp + 0x148], 4
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebx + 0x54], 0x8002
jne 0x10037ba9
mov eax, dword [ebx + 0x88]
test eax, eax
jl 0x10037bba
cmp eax, dword [ebx + 0x68]
jge 0x10037bba
mov ecx, dword [ebx + 0x64]
mov edi, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x14]
mov ecx, dword [ebx + 0xa4]
sub ecx, dword [ebx + 0x9c]
inc eax
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.1001d3d0
mov byte [esp + 0x140], 5
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorTabs_void_
mov edx, dword [ebx + 0x54]
push eax
push edx
push esi
lea ecx, [esp + 0x7c]
call fcn.1001d580
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x14]
mov ecx, dword [ebx + 0xa4]
sub ecx, dword [ebx + 0x9c]
mov edx, dword [edi + 0x14]
sub edx, dword [edi + 0x1c]
push 0xcc0020
add edx, dword [ebx + 0xa8]
push eax
push ecx
push 0
push 0
push edx
push 0
push esi
lea ecx, [esp + 0x90]
call fcn.1001dca0
mov eax, dword [ebx + 0xa8]
mov ecx, dword [ebx + 0x9c]
add eax, 3
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov edx, dword [ebx + 0xa8]
mov eax, dword [ebx + 0xa4]
add edx, 3
push edx
push eax
lea ecx, [esp + 0xa4]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 4
call fcn.1001d3f0
xor eax, eax
cmp dword [ebx + 0x7c], eax
mov dword [esp + 0x18], eax
jle 0x100382dc
jmp 0x10037bc4
call sub.mfc90.dll_Ordinal_1252
nop
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x10037bba
cmp eax, dword [ebx + 0x68]
jge 0x10037bba
cmp dword [ebx + 0x54], 0x8002
mov edx, dword [ebx + 0x64]
mov edi, dword [edx + eax*4]
lea ecx, [edx + eax*4]
jne 0x10037dfb
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x30], eax
sub eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
sub ecx, edx
push eax
mov dword [esp + 0x18], ecx
push ecx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], eax
call fcn.1001d3d0
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
push ecx
push edx
push 0x8002
push esi
lea ecx, [esp + 0xcc]
mov byte [esp + 0x150], 6
call fcn.1001d690
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
push 0xcc0020
dec ecx
push ecx
mov ecx, dword [esp + 0x30]
dec edx
push edx
push 0
push 0
push ecx
inc eax
push eax
push esi
lea ecx, [esp + 0xdc]
call fcn.1001dca0
lea edx, [esp + 0x58]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
cmp dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
jne 0x10037cae
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0xec]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add eax, 0xfffffffe
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add edx, 0xfffffffe
push edx
push eax
lea ecx, [esp + 0xf4]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x30]
dec eax
push eax
mov eax, dword [esp + 0x28]
inc eax
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x30]
dec eax
push eax
mov eax, dword [esp + 0x28]
inc eax
push eax
lea edx, [esp + 0x104]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
dec eax
add ecx, 0xfffffffe
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x30]
dec eax
push eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffffe
push eax
lea eax, [esp + 0x114]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add eax, 0xfffffffd
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], eax
call sub.mfc90.dll_Ordinal_4396
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x10c]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
dec eax
push eax
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x88]
jne 0x10037dd7
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xcc]
push ecx
push edx
lea eax, [esp + 0x124]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x134]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xd4]
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
lea ecx, [esp + 0xbc]
mov byte [esp + 0x140], 4
call fcn.1001d3f0
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0x54], 0x8001
jne 0x10037fa9
mov ecx, dword [ebx + 0x88]
cmp eax, ecx
jne 0x10037f5a
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], vtable.CBrush.0
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
push 0xffffffffffffffff
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x1c]
push 0xffffffffffffffff
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x14c], 7
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x64]
sub eax, 4
mov dword [esp + 0x64], eax
add eax, 4
push 0xf
mov dword [esp + 0x70], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea ecx, [esp + 0x4c]
call sub.mfc90.dll_Ordinal_1358
mov edx, dword [esp + 0x4c]
push edx
lea eax, [edi + 0x10]
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
sub ecx, 3
push ecx
push edx
lea eax, [esp + 0x12c]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
dec ecx
push ecx
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x4c]
mov edx, dword [esi + 4]
push eax
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push 7
mov ecx, esi
call edx
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x10]
dec eax
push eax
push ecx
lea edx, [esp + 0xfc]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
dec eax
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov edx, dword [esi]
push 7
mov ecx, esi
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
dec ecx
push ecx
dec edx
push edx
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
dec ecx
push ecx
dec edx
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
lea ecx, [esp + 0x48]
call sub.mfc90.dll_Ordinal_2106
lea ecx, [esp + 0x48]
mov byte [esp + 0x140], 4
mov dword [esp + 0x48], vtable.CBrush.0
call fcn.10001760
jmp 0x10037fa9
inc eax
cmp eax, ecx
je 0x10037fa9
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
add ecx, 2
push ecx
dec edx
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0xe4]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x18]
sub ecx, 2
push ecx
dec edx
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
push 1
mov ecx, esi
call sub.mfc90.dll_Ordinal_6170
mov ecx, dword [edi + 8]
mov dword [esp + 0x94], eax
lea eax, [edi + 8]
mov dword [esp + 0x34], eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10037fd0
sub eax, dword [esp + 0x20]
lea edx, [esp + 0xb4]
push edx
push eax
mov eax, dword [esi + 8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 0x88]
je 0x1003801b
mov eax, dword [esi]
add eax, 0x38
mov dword [esp + 0x20], eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorGrayText_void_
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [edx]
mov ecx, esi
call eax
mov dword [esp + 0x98], eax
mov edx, dword [edi + 0x18]
sub edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x74]
lea ecx, [edi + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xb4]
sub edx, 8
add ecx, eax
cmp ecx, edx
jge 0x100380f6
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov edi, dword [edi + 0xc]
mov edx, dword [ebx + 0x120]
push 1
add eax, 2
push eax
mov eax, dword [esi + 4]
add ecx, 2
push ecx
push eax
push edi
push edx
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.10001230
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x74]
lea ecx, [ecx + eax + 8]
sub edx, 2
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
push 0x24
lea edi, [esp + 0x3c]
push edi
push ecx
push eax
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ecx
xor eax, eax
inc edx
push edx
push ebx
lea ecx, [ebx + 0xac]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
call sub.mfc90.dll_Ordinal_6538
jmp 0x100382a2
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
sub edx, dword [ecx]
cmp eax, edx
jge 0x100382a2
mov eax, dword [edi + 0x14]
mov ecx, dword [ecx]
mov edi, dword [edi + 0xc]
mov edx, dword [ebx + 0x120]
push 1
add eax, 2
push eax
mov eax, dword [esi + 4]
add ecx, 2
push ecx
push eax
push edi
push edx
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 0x94]
mov ecx, dword [eax]
call fcn.10001230
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov dword [esp + 0x38], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [edi + 0xc]
sub ecx, 5
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 0x74]
lea eax, [eax + edx + 8]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
mov byte [esp + 0x140], 8
mov dword [esp + 0x14], eax
test eax, eax
jle 0x10038250
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.100378c0
add esp, 0xc
mov eax, dword [esp + 0x50]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x9c]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
mov byte [esp + 0x150], 9
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
cmp dword [esp + 0x9c], ecx
jle 0x1003823e
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 0xa
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_601]
sub dword [esp + 0x14], 2
lea ecx, [esp + 0x50]
mov byte [esp + 0x140], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x14], 0
jg 0x10038192
jmp 0x10038250
lea ecx, [esp + 0x50]
mov byte [esp + 0x140], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x40], 3
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
push 0x24
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
push edi
inc eax
push eax
push ebx
lea ecx, [ebx + 0xac]
call sub.mfc90.dll_Ordinal_6538
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 4
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edi, dword [esp + 0x18]
cmp edi, dword [ebx + 0x88]
je 0x100382bf
mov edx, dword [esi]
mov eax, dword [esp + 0x98]
mov edx, dword [edx + 0x38]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x94]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_6170
inc edi
cmp edi, dword [ebx + 0x7c]
mov dword [esp + 0x18], edi
jl 0x10037bc0
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
mov edx, dword [esi]
mov eax, dword [esp + 0x90]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov esi, vtable.CPen.0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x140], 2
mov dword [esp + 0xa4], esi
call fcn.10001760
lea ecx, [esp + 0xac]
mov byte [esp + 0x140], 1
mov dword [esp + 0xac], esi
call fcn.10001760
lea ecx, [esp + 0x58]
mov byte [esp + 0x140], 0
mov dword [esp + 0x58], esi
call fcn.10001760
lea ecx, [esp + 0x88]
mov dword [esp + 0x140], 0xffffffff
mov dword [esp + 0x88], esi
call fcn.10001760
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4