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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x10333024
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx]
mov byte [ebp - 0x19], dl
mov eax, dword [ebp - 0x14]
cmp dl, byte [eax]
jne 0x1024fa77
cmp byte [ebp - 0x19], 0
je 0x1024fa6e
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x1a], dl
mov eax, dword [ebp - 0x14]
cmp dl, byte [eax + 1]
jne 0x1024fa77
add dword [ebp - 0x18], 2
add dword [ebp - 0x14], 2
cmp byte [ebp - 0x1a], 0
jne 0x1024fa3a
mov dword [ebp - 0x20], 0
jmp 0x1024fa7f
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x1024facc
mov eax, dword [ebp + 8]
cmp dword [eax + 0xa4], 0
je 0x1024fab4
cmp dword [ebp + 0x10], 0
je 0x1024faa6
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xa4]
jmp 0x1024fdd0
cmp dword [ebp + 0x10], 0
je 0x1024fac3
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
mov dword [ebp - 0xc], 0x10333028
jmp 0x1024fb3c
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add ecx, 8
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x38]
call ecx
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
je 0x1024fafb
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx], eax
cmp dword [ebp - 8], 0
jne 0x1024fb0c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xc]
jmp 0x1024fdd0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax + 0x30], 1
je 0x1024fb2d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
cmp dword [edx + 0x30], 0xffffffff
je 0x1024fb2d
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x28], eax
jmp 0x1024fb36
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
push 0xac
mov ecx, dword [0x103513c8]
mov edx, dword [ecx + 0x14]
call edx
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x80], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x84], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], 2
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x90], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x9c], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x94], 3
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0xa8], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
add eax, 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [edx + 0x40], eax
mov dword [ebp - 0x2c], 0x1033302c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx]
mov byte [ebp - 0x31], dl
mov eax, dword [ebp - 0x2c]
cmp dl, byte [eax]
jne 0x1024fd73
cmp byte [ebp - 0x31], 0
je 0x1024fd6a
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x32], dl
mov eax, dword [ebp - 0x2c]
cmp dl, byte [eax + 1]
jne 0x1024fd73
add dword [ebp - 0x30], 2
add dword [ebp - 0x2c], 2
cmp byte [ebp - 0x32], 0
jne 0x1024fd36
mov dword [ebp - 0x38], 0
jmp 0x1024fd7b
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
jne 0x1024fda7
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x16c]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x16c], eax
jmp 0x1024fdb0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
push 0x103186f0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
push edx
call sym.tk85.dll_Tk_CreateOptionTable
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret