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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
add ebx, 0xfffffffc
xor eax, eax
push ebp
push 0x642c23
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebx]
mov esi, dword [eax + 0x2c]
sub ecx, esi
mov edx, esi
mov eax, dword [ebx]
mov eax, dword [eax + 4]
call fcn.004c31b4
cmp dword [ebp - 4], 0
je 0x642c01
mov eax, dword [ebx]
mov eax, dword [eax + 0x68]
call fcn.00502d6c
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x68]
call fcn.00502d6c
call fcn.004fdd24
mov edx, dword [ebx]
mov ecx, dword [edx + 0x88]
mov edx, dword [ebp - 4]
call fcn.0064061c
mov esi, dword [ebp - 0x14]
mov eax, dword [ebx]
mov edx, dword [eax + 0x80]
test edx, edx
jle 0x642a10
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
test eax, eax
jge 0x642a06
xor eax, eax
lea eax, [esi + eax]
cmp edx, eax
setl al
jmp 0x642a12
xor eax, eax
test al, al
je 0x642be0
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x642a3b
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x642a3b
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004c1d4c
mov edi, 0x642c38
cmp word [eax], 0x100
jae 0x642a52
movzx eax, byte [eax]
movzx eax, al
bt dword [edi], eax
jb 0x642a56
xor eax, eax
jmp 0x642a58
mov al, 1
test al, al
je 0x642a66
mov eax, dword [ebx]
inc dword [eax + 0x34]
mov eax, dword [ebx]
inc dword [eax + 0x2c]
mov eax, dword [ebx]
add eax, 0x78
xor edx, edx
call sym.StartupControl.exe__Acntutils_WidthOf_qqrrx11Types_TRectxo
cmp esi, eax
jle 0x642a9d
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov eax, dword [ebx]
call sym.StartupControl.exe__Shtmlparse_TsHtml_ShowPiece_qqrii
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
mov edx, dword [ebx]
mov dword [edx + 0x2c], eax
mov eax, dword [ebx]
call sym.StartupControl.exe__Shtmlparse_TsHtml_NewRow_qqrv
jmp 0x642c05
mov eax, dword [ebx]
cmp byte [eax + 0x60], 0
je 0x642b8c
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
call fcn.004c44b4
test eax, eax
jle 0x642b8c
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x642ace
mov eax, dword [ebx]
call sym.StartupControl.exe__Shtmlparse_TsHtml_NewRow_qqrv
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
call fcn.004c44b4
mov esi, eax
dec esi
lea edi, [esi + esi*2]
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 0xc]
mov dword [eax + edi*8 + 8], edx
mov eax, dword [ebx]
call sym.StartupControl.exe__Shtmlparse_TsHtml_UpdateRowHeight_qqrv
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
mov eax, dword [eax + edi*8 + 4]
mov edx, dword [ebx]
add eax, dword [edx + 0x58]
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
mov dword [edx + edi*8 + 0xc], eax
inc esi
lea eax, [esi + 1]
push eax
mov eax, dword [ebx]
add eax, 0x64
mov ecx, 1
mov edx, dword [sym.StartupControl.exe___xp_19Shtmlparse_TacLinks]
call fcn.004c467c
add esp, 4
lea edi, [esi + esi*2]
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
mov edx, dword [ebx]
mov edx, dword [edx + 0x20]
mov dword [eax + edi*8], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
mov dword [eax + edi*8 + 4], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
lea eax, [eax + edi*8 + 0x14]
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
mov edx, dword [edx + edi*8 - 4]
call fcn.004c29f8
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
mov eax, dword [eax + edi*8 - 4]
lea edx, [ebp - 0x18]
call fcn.00640890
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
lea eax, [eax + edi*8 - 4]
call fcn.004c29f8
mov eax, dword [ebx]
mov eax, dword [eax + 0x64]
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
mov dword [eax + edi*8 + 0x10], edx
jmp 0x642b9b
mov eax, dword [ebx]
cmp dword [eax + 0x20], 0
jle 0x642b9b
mov eax, dword [ebx]
call sym.StartupControl.exe__Shtmlparse_TsHtml_NewRow_qqrv
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov eax, dword [ebx]
call sym.StartupControl.exe__Shtmlparse_TsHtml_ShowPiece_qqrii
mov eax, dword [ebx]
mov eax, dword [eax + 0x34]
mov edx, dword [ebx]
mov dword [edx + 0x28], eax
mov eax, dword [ebx]
add eax, 0x10
mov edx, dword [ebx]
mov edx, dword [edx + 8]
call fcn.004c29f8
mov eax, dword [ebx]
add eax, 0x14
mov edx, dword [ebx]
mov edx, dword [edx + 0xc]
call fcn.004c29f8
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
mov edx, dword [ebx]
mov dword [edx + 0x2c], eax
jmp 0x642c05
mov byte [ebp - 5], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov eax, dword [ebx]
call sym.StartupControl.exe__Shtmlparse_TsHtml_ShowPiece_qqrii
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
mov edx, dword [ebx]
mov dword [edx + 0x2c], eax
jmp 0x642c05
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x642c2a
lea eax, [ebp - 0x18]
call fcn.004c29e8
lea eax, [ebp - 4]
call fcn.004c29e8
ret