Function at 0x102011e0
Capabilities:
Enumerate gui resources
Print debug messages

Disassembly:
sub esp, 0x110
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [0x102053a4]
push ebx
push ebp
mov ebp, dword [esp + 0x11c]
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 0x4cc]
xor esi, esi
push 8
push 0x10205398
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], esi
call ecx
mov ebx, eax
mov edx, dword [ebx + 4]
mov eax, edx
add esp, 8
xor ecx, ecx
mov dword [esp + 0x34], ebx
cmp eax, esi
je 0x1020124d
jmp 0x10201240
cmp dword [eax + 0xc], edi
je 0x1020125b
mov ecx, eax
mov eax, dword [eax]
cmp eax, esi
jne 0x10201240
cmp ebp, esi
jne 0x10201278
mov eax, 0x102041d4
jmp 0x102015bd
cmp ebp, esi
je 0x10201270
cmp ecx, esi
jne 0x1020126a
mov edx, dword [edx]
mov dword [ebx + 4], edx
jmp 0x1020124d
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x1020124d
mov eax, dword [eax + 4]
jmp 0x102015bd
mov edx, dword [0x102053a4]
mov eax, dword [edx + 0x1f0]
lea ecx, [esp + 0x40]
push ecx
call eax
add esp, 4
test byte [esp + 0x128], 4
jne 0x102014ba
push str.TclEval
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov edx, dword [0x102053a4]
xor ecx, ecx
mov word [esp + 0x20], ax
mov word [esp + 0x22], cx
mov eax, dword [edx + 0x36c]
push edi
call eax
add esp, 4
lea esi, [esp + 0x18]
call fcn.10201f00
mov ecx, esi
push ecx
push 0x10202140
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x102012fe
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp word [esp + 0x20], 0
mov esi, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
je 0x10201313
mov ecx, dword [esp + 0x20]
push ecx
call esi
cmp word [esp + 0x22], 0
je 0x10201322
mov edx, dword [esp + 0x22]
push edx
call esi
cmp dword [esp + 0x1c], 0
jne 0x1020135b
mov eax, dword [0x102053a4]
mov ecx, dword [eax + 0x2a0]
push edi
call ecx
add esp, 4
lea edx, [esp + 0x28]
push edx
mov edx, dword [0x102053a4]
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [edx + 0xbc]
push edi
call eax
add esp, 0x10
test eax, eax
je 0x1020137b
mov ecx, dword [0x102053a4]
mov edx, dword [ecx + 0x2c0]
push edi
call edx
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x102015bd
xor ebx, ebx
mov edi, 1
cmp edi, 1
mov dword [esp + 0x3c], edi
jle 0x10201403
cmp edi, 2
jne 0x102013ed
mov eax, dword [esp + 0x38]
mov edx, dword [0x102053a4]
push 0xffffffffffffffff
push eax
mov eax, dword [edx + 0x1dc]
lea ecx, [esp + 0x48]
push ecx
call eax
mov edx, dword [0x102053a4]
mov eax, dword [edx + 0x1dc]
add esp, 0xc
push edi
lea ecx, [esp + 0x44]
push 0x102041d8
push ecx
call eax
mov eax, dword [esp + 0x50]
mov edx, dword [0x102053a4]
mov ebx, eax
add eax, 0x18
add esp, 0xc
push eax
mov eax, dword [edx + 0x1f8]
lea ecx, [esp + 0x44]
push ecx
call eax
mov ebp, dword [esp + 0x48]
add esp, 8
mov ecx, dword [esp + 0x40]
push edi
add ecx, ebx
push 0x102041dc
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
xor esi, esi
cmp dword [esp + 0x14], esi
jle 0x10201485
jmp 0x10201410
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + esi*4]
mov eax, dword [0x102053a4]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push 1
push ecx
mov ecx, dword [eax + 0xc0]
push edx
call ecx
mov edx, dword [esp + 0x40]
mov eax, dword [0x102053a4]
mov ecx, dword [eax + 0x558]
push edx
call ecx
add esp, 0x14
mov ecx, ebp
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10201468
test dl, dl
je 0x10201464
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10201468
add ecx, 2
add eax, 2
test dl, dl
jne 0x10201448
xor eax, eax
jmp 0x1020146d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1020147a
inc esi
cmp esi, dword [esp + 0x14]
jl 0x10201410
jmp 0x10201485
inc edi
cmp edi, dword [esp + 0x3c]
jne 0x10201382
mov edx, dword [esp + 0x40]
lea eax, [edx + ebx]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10201490
mov ecx, dword [0x102053a4]
sub eax, edx
mov edx, dword [ecx + 0x1f8]
add eax, ebx
push eax
lea eax, [esp + 0x44]
push eax
call edx
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
add esp, 8
mov eax, dword [0x102053a4]
mov ecx, dword [eax + 0x14]
push 0x10
call ecx
mov esi, eax
mov eax, ebp
add esp, 4
mov dword [esi + 0xc], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x102014d3
sub eax, edx
mov edx, dword [0x102053a4]
inc eax
push eax
mov eax, dword [edx + 0x14]
call eax
mov dword [esi + 4], eax
mov eax, dword [esp + 0x130]
mov ecx, dword [ebx + 4]
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], eax
test eax, eax
je 0x10201504
inc dword [eax]
mov dword [ebx + 4], esi
mov edx, dword [esi + 4]
mov ecx, ebp
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10201510
mov edx, dword [0x102053a4]
mov eax, dword [edx + 0x2ec]
push edi
call eax
add esp, 4
test eax, eax
je 0x1020154c
mov ecx, dword [0x102053a4]
mov edx, dword [ecx + 0x220]
push 0x102041c0
push 0x102041c0
push edi
call edx
add esp, 0xc
mov eax, dword [0x102053a4]
mov ecx, dword [eax + 0x188]
push 0x102015e0
push esi
push 0x102022c0
push 0x102041c0
push edi
call ecx
mov edx, dword [0x102053a4]
mov eax, dword [edx + 0x2ec]
add esp, 0x14
push edi
call eax
add esp, 4
test eax, eax
je 0x1020159f
mov ecx, dword [0x102053a4]
mov edx, dword [ecx + 0x2d4]
push 0x102041c0
push 0x102041c0
push edi
call edx
add esp, 0xc
mov ecx, dword [0x102053a4]
mov edx, dword [ecx + 0x1e8]
lea eax, [esp + 0x40]
push eax
call edx
add esp, 4
call fcn.102010b0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10203336
add esp, 0x110
ret