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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.10263f50
add esp, 0xc
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x100], 0xffffffff
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x124], 0xffffffff
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], 0xffffffff
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 8], 0xffffffff
mov edx, dword [ebp - 8]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xf8], 0xffffffff
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x94], 0xffffffff
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10c], edx
push 0x54
push 0
lea eax, [ebp - 0xf0]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0xe8], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x64]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x70]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x10], 0
jmp 0x10257f78
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x11c]
jge 0x102583e8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0xa4]
jne 0x10257fdb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x164]
and eax, 4
jne 0x10257fdb
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xac], 0
jne 0x10257fcc
jmp 0x10257f6f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xac]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x1025800a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0x118]
jle 0x1025800a
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1c], 0
je 0x10258057
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [0x103513c8]
mov ecx, dword [eax + 0x558]
call ecx
add esp, 4
movsx edx, byte [eax]
test edx, edx
je 0x10258057
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x128]
jle 0x10258057
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x20], 0
je 0x10258095
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0x20]
jle 0x10258095
cmp dword [ebp - 0xf0], 0
jne 0x10258080
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x28], 0
je 0x102580c4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0x100]
jle 0x102580c4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x2c], 0
je 0x102580f3
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x110]
jle 0x102580f3
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x30], 0
je 0x10258122
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x130]
jle 0x10258122
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x34], 0
je 0x10258151
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0x124]
jle 0x10258151
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x38], 0
je 0x1025817a
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
jle 0x1025817a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x40], 0
je 0x102581a3
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x1c]
jle 0x102581a3
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x44]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x48], 0
je 0x102581d2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xfc]
jle 0x102581d2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x50], 0
je 0x10258201
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x114]
jle 0x10258201
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x58], 0
je 0x10258230
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10c]
jle 0x10258230
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x60], 0
je 0x10258259
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 8]
jle 0x10258259
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x68], 0
je 0x10258288
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x120]
jle 0x10258288
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x6c]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x70], 0
je 0x102582b7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x8c]
jle 0x102582b7
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x74]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x78], 0
je 0x102582e6
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xf8]
jle 0x102582e6
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x80], 0
je 0x10258315
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 4]
jle 0x10258315
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x84]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x88], 2
je 0x1025834a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0xf4]
jle 0x1025834a
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x88]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x8c], 0
je 0x1025837f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0x90]
jle 0x1025837f
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x90]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x98], 0
je 0x102583ae
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x18]
jle 0x102583ae
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x9c]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x94], 3
je 0x102583e3
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x94]
jle 0x102583e3
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x94]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x94], edx
jmp 0x10257f6f
cmp dword [ebp - 0x108], 0
je 0x10258406
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [0x103513c8]
mov edx, dword [ecx + 0x18]
call edx
add esp, 4
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa0]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa0]
mov eax, dword [edx + 0x30]
call eax
add esp, 0xc
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x98], 0
jne 0x1025846b
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0x104]
mov dword [edx], ecx
mov eax, dword [ebp - 0x104]
jmp 0x102585eb
push 0x14
mov eax, dword [0x103513c8]
mov ecx, dword [eax + 0x14]
call ecx
add esp, 4
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [edx], 1
cmp dword [ebp - 0xf0], 0
je 0x102584f9
mov eax, dword [ebp - 0xf0]
push eax
call sym.tk85.dll_Tk_3DBorderColor
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x24], 4
cmp dword [ebp - 0xe4], 0
je 0x102584d4
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x68], 2
mov eax, dword [ebp - 0x24]
or eax, 0x900
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call sym.tk85.dll_Tk_GetGC
add esp, 0xc
mov edx, dword [ebp - 0x104]
mov dword [edx + 4], eax
jmp 0x10258506
mov eax, dword [ebp - 0x104]
mov dword [eax + 4], 0
mov dword [ebp - 0x24], 0x4000
mov ecx, dword [ebp - 0xdc]
push ecx
call sym.tk85.dll_Tk_FontId
add esp, 4
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x24]
or edx, 4
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0xd8], 0
je 0x10258557
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x68], 2
mov eax, dword [ebp - 0x24]
or eax, 0x900
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
call sym.tk85.dll_Tk_GetGC
add esp, 0xc
mov edx, dword [ebp - 0x104]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa0]
cmp dword [ecx + 0x28], 1
je 0x102585a9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa0]
cmp dword [eax + 0x28], 0xffffffff
je 0x102585a9
mov ecx, dword [ebp - 0x12c]
add ecx, 0x10
mov dword [ebp - 0x138], ecx
jmp 0x102585b8
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x138]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x12c]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x104]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x104]
mov esp, ebp
pop ebp
ret